:root {
  --ink: #052b69;
  --muted: #60789d;
  --paper: #ffffff;
  --cream: #edf6ff;
  --orange: #0758c9;
  --yellow: #d9ecff;
  --blue: #0758c9;
  --green: #13b981;
  --purple: #3978d4;
  --line: #dbe8f7;
  --shadow: 0 20px 55px rgba(4, 49, 112, .13);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.announcement {
  background: var(--ink);
  color: white;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 18px;
  font-size: 13px;
  text-align: center;
}
.announcement b { color: #bfe0ff; }
.store-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(210,228,247,.88);
}
.header-inner { height: 86px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; justify-content: center; min-width: max-content; }
.site-logo { width: auto; height: 72px; object-fit: contain; }
.brand-on-dark { background: transparent; padding: 0; }
.brand-on-dark .site-logo { height: 76px; }
.main-nav { display: flex; align-items: center; gap: 27px; margin-left: 20px; font-weight: 700; font-size: 14px; }
.main-nav a:hover, .main-nav a.active { color: var(--orange); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn, .btn {
  border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 800; transition: .2s ease;
}
.icon-btn { width: 46px; height: 46px; background: white; color: var(--ink); border: 1px solid var(--line); position: relative; }
.icon-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20,33,61,.1); }
.cart-count { position: absolute; top: -5px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--orange); color: white; font-size: 11px; display: grid; place-items: center; }
.btn { min-height: 48px; padding: 0 22px; }
.btn-primary { color: white; background: var(--orange); box-shadow: 0 11px 24px rgba(7,88,201,.25); }
.btn-primary:hover { transform: translateY(-2px); background: #034aa9; }
.btn-dark { color: white; background: var(--ink); }
.btn-soft { color: var(--ink); background: var(--cream); }
.btn-outline { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.btn-whatsapp { color: white; background: #18a96b; width: 100%; }
.btn-danger { color: #bd2b22; background: #ffe9e5; }

.hero { overflow: hidden; background: linear-gradient(135deg, #f8fcff 0%, #e4f2ff 48%, #c7e2ff 100%); min-height: 590px; position: relative; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.34); }
.hero::before { width: 340px; height: 340px; right: -80px; top: -80px; }
.hero::after { width: 190px; height: 190px; left: 43%; bottom: -90px; background: rgba(7,88,201,.08); }
.hero-grid { min-height: 590px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 42px; padding-block: 54px; position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.65); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, .display { font-family: "Baloo 2", sans-serif; }
h1 { font-size: clamp(56px, 7vw, 92px); line-height: .89; letter-spacing: -3px; margin: 23px 0 20px; max-width: 680px; }
h1 em { font-style: normal; color: var(--orange); -webkit-text-stroke: 1px rgba(255,255,255,.5); }
.hero-copy p { font-size: 18px; line-height: 1.7; max-width: 570px; color: #3e4654; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 13px; font-weight: 700; }
.avatars { display: flex; }
.avatars span { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; background: white; border: 2px solid #c7e2ff; margin-left: -7px; font-size: 16px; }
.avatars span:first-child { margin-left: 0; }
.hero-art { height: 460px; position: relative; display: grid; place-items: center; perspective: 900px; }
.art-blob { position: absolute; width: 410px; height: 410px; border-radius: 50%; background: radial-gradient(circle at 37% 32%, #ffffff 0 17%, #e6f3ff 48%, #b8dcff 78%, #87bef7 100%); border: 1px solid rgba(255,255,255,.9); transform: rotate(-7deg); box-shadow: 0 28px 75px rgba(3,74,159,.18), inset 0 0 55px rgba(255,255,255,.75); }
.mascot-stage {
  --mx: 0px; --my: 0px;
  position: relative; z-index: 2; width: 470px; height: 440px;
  display: grid; place-items: end center; padding: 0; border: 0; background: transparent;
  transform: translate3d(var(--mx), var(--my), 0); transition: transform .24s ease-out, opacity .18s ease;
}
.mascot-stage.journey-hidden { opacity: 0; }
.mascot-arrival { width: 100%; height: 100%; display: grid; place-items: end center; animation: mascot-arrive .9s cubic-bezier(.2,1.28,.4,1) both; }
.rocket-rider-wrap { position: relative; isolation: isolate; }
.mascot-bear {
  width: 100%; max-height: 430px; object-fit: contain; transform-origin: 52% 92%;
  mix-blend-mode: normal; filter: drop-shadow(0 25px 14px rgba(3,43,105,.18));
  animation: mascot-idle 4.4s ease-in-out 1s infinite; user-select: none; pointer-events: none;
}
.launch-flame { position: absolute; z-index: -1; left: -1%; bottom: 6%; width: 40%; height: 28%; border-radius: 50%; background: radial-gradient(ellipse at right, rgba(255,247,116,.95) 0 12%, rgba(255,130,17,.82) 30%, rgba(0,139,255,.62) 58%, transparent 74%); filter: blur(10px); transform-origin: right center; animation: launch-glow .42s ease-in-out infinite alternate; }
.mascot-stage:hover .mascot-bear { animation-duration: 2.2s; }
.mascot-stage.celebrate .mascot-bear { animation: mascot-celebrate .75s cubic-bezier(.2,.9,.3,1); }
.mascot-speech {
  position: absolute; z-index: 6; right: -8px; top: 68px; padding: 12px 16px; border-radius: 18px 18px 18px 4px;
  background: white; box-shadow: 0 13px 30px rgba(20,33,61,.14); animation: speech-pop .6s 1.05s cubic-bezier(.2,1.3,.4,1) both, speech-bob 3.2s 1.8s ease-in-out infinite;
}
.hero-art.journey-active .mascot-speech { opacity: 0; transform: translateY(10px) scale(.92); animation: none; transition: .18s ease; }
.mascot-speech b, .mascot-speech span { display: block; }
.mascot-speech b { font-family: "Baloo 2"; font-size: 18px; color: var(--orange); line-height: 1; }
.mascot-speech span { font-size: 11px; font-weight: 700; color: var(--muted); margin-top: 3px; }
.mascot-spark { position: absolute; z-index: 5; color: white; text-shadow: 0 3px 8px rgba(20,33,61,.18); pointer-events: none; animation: sparkle 1.8s ease-in-out infinite; }
.spark-one { left: 14%; top: 17%; font-size: 24px; }
.spark-two { right: 11%; top: 39%; color: var(--blue); font-size: 20px; animation-delay: -.6s; }
.spark-three { left: 25%; bottom: 8%; color: var(--blue); font-size: 18px; animation-delay: -1.1s; }
.mascot-confetti { position: absolute; z-index: 9; left: 50%; top: 45%; width: 10px; height: 16px; border-radius: 3px; pointer-events: none; animation: confetti-pop .9s ease-out forwards; }
.toy-float { position: absolute; z-index: 3; width: 85px; height: 85px; display: grid; place-items: center; font-size: 48px; border-radius: 25px; background: white; box-shadow: var(--shadow); animation: float 4s ease-in-out infinite; }
.toy-float.one { left: 2%; top: 12%; transform: rotate(-12deg); }
.toy-float.two { right: 2%; top: 6%; animation-delay: -.7s; transform: rotate(12deg); }
.toy-float.three { right: 4%; bottom: 4%; animation-delay: -1.3s; }
.toy-float.four { left: 10%; bottom: 0; animation-delay: -2s; }
@keyframes float { 50% { translate: 0 -12px; } }
@keyframes mascot-arrive { from { opacity: 0; transform: translateY(85px) scale(.74) rotate(5deg); } 70% { transform: translateY(-10px) scale(1.03) rotate(-2deg); } to { opacity: 1; transform: none; } }
@keyframes mascot-idle { 0%,100% { transform: translateY(0) rotate(-1.3deg); } 50% { transform: translateY(-12px) rotate(1.5deg); } }
@keyframes mascot-celebrate { 0%,100% { transform: translateY(0) rotate(0); } 35% { transform: translateY(-28px) rotate(-5deg) scale(1.04); } 65% { transform: translateY(-9px) rotate(5deg) scale(1.02); } }
@keyframes launch-glow { from { transform: scaleX(.83) scaleY(.82); opacity: .68; } to { transform: scaleX(1.13) scaleY(1.04); opacity: 1; } }
@keyframes speech-pop { from { opacity: 0; transform: translateY(12px) scale(.72); } to { opacity: 1; transform: none; } }
@keyframes speech-bob { 50% { translate: 0 -5px; } }
@keyframes sparkle { 0%,100% { opacity: .35; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1.2) rotate(35deg); } }
@keyframes confetti-pop { from { opacity: 1; transform: translate(-50%,-50%) rotate(0); } to { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r)); } }

.benefits { margin-top: -28px; position: relative; z-index: 5; padding-bottom: 24px; }
.benefit-bar { display: grid; grid-template-columns: repeat(3, 1fr); background: white; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.benefit { min-height: 104px; display: flex; align-items: center; gap: 15px; padding: 22px 30px; border-right: 1px solid var(--line); }
.benefit:last-child { border: 0; }
.benefit-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; background: var(--cream); }
.benefit strong { display: block; margin-bottom: 4px; }
.benefit small { color: var(--muted); }
.delivery-flight-lane {
  position: relative; min-height: 190px; margin-top: 18px; overflow: hidden; border: 1px solid #cfe4fa; border-radius: 28px;
  background:
    linear-gradient(118deg, transparent 0 15%, rgba(7,88,201,.045) 15% 16%, transparent 16% 43%, rgba(7,88,201,.045) 43% 44%, transparent 44%),
    linear-gradient(24deg, transparent 0 28%, rgba(7,88,201,.04) 28% 29%, transparent 29% 73%, rgba(7,88,201,.04) 73% 74%, transparent 74%),
    linear-gradient(135deg, #f9fcff, #e8f4ff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 15px 35px rgba(7,88,201,.07);
}
.delivery-flight-lane::before, .delivery-flight-lane::after { content: ""; position: absolute; border-radius: 50%; background: rgba(78,159,239,.08); }
.delivery-flight-lane::before { width: 190px; height: 190px; left: -66px; bottom: -116px; }
.delivery-flight-lane::after { width: 240px; height: 240px; right: -70px; top: -160px; }
.delivery-route-line { position: absolute; z-index: 1; left: 9%; right: 9%; top: 45px; height: 72px; border-top: 3px dashed #84bdf2; border-radius: 50%; transform: rotate(-1deg); opacity: .85; transition: border-color .3s ease, filter .3s ease; }
.delivery-route-line::after { content: ""; position: absolute; left: 50%; top: -7px; width: 11px; height: 11px; border-radius: 50%; background: white; border: 3px solid #68abec; transform: translateX(-50%); box-shadow: 0 0 0 0 rgba(7,88,201,.18); animation: route-beacon 2s ease-in-out infinite; }
.delivery-flight-lane.flight-active .delivery-route-line { border-color: #167ce3; filter: drop-shadow(0 0 7px rgba(48,149,242,.34)); }
.delivery-flight-anchor { position: absolute; z-index: 2; top: 48px; width: 12px; height: 12px; border-radius: 50%; opacity: 0; pointer-events: none; }
.delivery-flight-anchor.anchor-left { left: 9%; }
.delivery-flight-anchor.anchor-right { right: 9%; }
.delivery-map-pin { position: absolute; z-index: 3; left: 50%; top: 82px; width: 54px; height: 70px; transform: translateX(-50%); display: grid; justify-items: center; }
.delivery-map-pin svg { width: 44px; height: 44px; overflow: visible; fill: #0758c9; filter: drop-shadow(0 9px 9px rgba(3,66,145,.22)); }
.delivery-map-pin svg circle { fill: white; }
.delivery-map-pin i { width: 38px; height: 10px; margin-top: 4px; border-radius: 50%; background: rgba(7,88,201,.13); filter: blur(1px); animation: pin-shadow 2.1s ease-in-out infinite; }
.delivery-flight-copy { position: absolute; z-index: 4; left: 26px; bottom: 21px; display: grid; gap: 1px; }
.delivery-flight-copy span { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.delivery-flight-copy strong { font-family: "Baloo 2"; font-size: 24px; line-height: 1; }
.delivery-flight-copy small { color: var(--muted); font-size: 12px; }

.packs-section { padding: 76px 0; color: white; background: linear-gradient(135deg, #052b69 0%, #064596 58%, #0875d6 100%); position: relative; overflow: hidden; }
.packs-section::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -250px; border-radius: 50%; border: 70px solid rgba(255,255,255,.06); }
.packs-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; position: relative; z-index: 2; }
.packs-heading .eyebrow { color: var(--ink); }
.packs-heading h2 { font-size: clamp(38px,5vw,58px); line-height: .95; margin: 12px 0 0; }
.promo-highlight { min-width: 205px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; background: rgba(255,255,255,.12); backdrop-filter: blur(12px); display: grid; }
.promo-highlight span { font-size: 10px; letter-spacing: .14em; font-weight: 900; color: #bfe0ff; }
.promo-highlight b { font-family: "Baloo 2"; font-size: 28px; line-height: 1.05; }
.promo-highlight small { color: rgba(255,255,255,.76); }
.pack-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; position: relative; z-index: 2; }
.pack-card { min-height: 325px; display: grid; grid-template-columns: .82fr 1.18fr; color: var(--ink); background: white; border-radius: 28px; overflow: hidden; box-shadow: 0 26px 55px rgba(1,25,67,.24); }
.pack-images { position: relative; min-height: 300px; background: radial-gradient(circle at 50% 40%, #fff 0 12%, #d8ecff 56%, #a8d2fb 100%); overflow: hidden; }
.pack-images img { position: absolute; width: 72%; height: 64%; left: 14%; top: calc(14% + var(--pack-index) * 9%); border: 5px solid white; border-radius: 22px; object-fit: cover; box-shadow: 0 16px 30px rgba(3,43,105,.2); transform: translateX(calc((var(--pack-index) - .5) * 18px)) rotate(calc((var(--pack-index) - .5) * 7deg)); }
.pack-images img:nth-child(1) { z-index: 3; }
.pack-images img:nth-child(2) { z-index: 2; }
.pack-images img:nth-child(3) { z-index: 1; }
.pack-body { padding: 27px 25px; display: flex; flex-direction: column; align-items: flex-start; }
.pack-badge { display: inline-flex; padding: 6px 9px; border-radius: 999px; color: #0758c9; background: #e6f3ff; font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.pack-body h3 { font-size: 27px; line-height: 1; margin: 12px 0 8px; }
.pack-body p { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0 0 13px; }
.pack-products { display: flex; flex-wrap: wrap; gap: 6px; }
.pack-products span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; font-weight: 700; }
.pack-price { width: 100%; margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pack-price > div { display: grid; }
.pack-price strong { font-family: "Baloo 2"; font-size: 27px; line-height: 1; }
.pack-price del { color: var(--muted); font-size: 11px; }
.pack-price .btn { min-height: 42px; padding-inline: 16px; font-size: 12px; }

.shop-section { padding: 68px 0 96px; position: relative; background: linear-gradient(180deg, #fff 0%, #f8fbff 100%); }
.mascot-flight { position: fixed; z-index: 78; left: 0; top: 0; width: 300px; pointer-events: none; opacity: 0; transform-origin: center; will-change: transform, opacity; transition: opacity .12s linear; isolation: isolate; }
.mascot-flight.in-flight { opacity: 1; }
.mascot-flight img { position: relative; z-index: 3; width: 100%; height: auto; mix-blend-mode: normal; filter: drop-shadow(0 24px 17px rgba(3,43,105,.24)); }
.rocket-exhaust { position: absolute; z-index: 1; left: -18%; bottom: 6%; width: 49%; height: 29%; transform: rotate(7deg); transform-origin: right center; filter: drop-shadow(0 0 14px rgba(0,140,255,.52)); }
.rocket-exhaust i { position: absolute; right: 0; top: 50%; border-radius: 70% 8% 8% 70%; transform-origin: right center; animation: exhaust-flicker calc(.23s / var(--flight-speed, 1)) ease-in-out infinite alternate; }
.rocket-exhaust i:nth-child(1) { width: 100%; height: 72%; margin-top: -36%; background: linear-gradient(90deg, transparent 0%, #087dff 31%, #05c7ff 68%, rgba(230,249,255,.98) 100%); filter: blur(6px); }
.rocket-exhaust i:nth-child(2) { width: 76%; height: 48%; margin-top: -24%; background: linear-gradient(90deg, transparent 0%, #ff681b 35%, #ffbd16 75%, #fff9a3 100%); animation-delay: -.11s; }
.rocket-exhaust i:nth-child(3) { width: 48%; height: 22%; margin-top: -11%; background: linear-gradient(90deg, transparent, white); animation-delay: -.18s; }
.rocket-particles { position: absolute; z-index: 0; left: -18%; bottom: 10%; width: 35%; height: 28%; }
.rocket-particles i { position: absolute; right: 0; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: #65d8ff; box-shadow: 0 0 10px #078cff; animation: rocket-particle .82s linear infinite; }
.rocket-particles i:nth-child(2) { animation-delay: -.16s; top: 30%; width: 6px; height: 6px; }
.rocket-particles i:nth-child(3) { animation-delay: -.32s; top: 70%; background: #ffc228; }
.rocket-particles i:nth-child(4) { animation-delay: -.48s; top: 12%; width: 5px; height: 5px; }
.rocket-particles i:nth-child(5) { animation-delay: -.66s; top: 84%; background: #ff781e; width: 5px; height: 5px; }
.flight-ring { position: absolute; z-index: 0; left: 10%; right: 13%; bottom: 2%; height: 24%; border: 3px solid rgba(7,88,201,.3); border-radius: 50%; box-shadow: 0 0 0 11px rgba(123,187,250,.1); animation: flight-ring 1s ease-in-out infinite; }
.mascot-dock {
  position: fixed; z-index: 82; left: 22px; bottom: 22px; width: 96px; height: 96px; padding: 0; border: 3px solid white; border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #fff 0 12%, #d9eeff 46%, #75b8f6 100%); box-shadow: 0 18px 38px rgba(3,43,105,.25), 0 0 0 1px rgba(7,88,201,.16);
  opacity: 0; pointer-events: none; transform: translate3d(-34px, 22px, 0) scale(.64); transition: opacity .28s ease, transform .48s cubic-bezier(.2,1.25,.35,1); isolation: isolate;
}
.mascot-dock.visible { opacity: 1; pointer-events: auto; transform: translate3d(0,0,0) scale(1); }
.mascot-dock img { position: absolute; z-index: 2; width: 118px; max-width: none; left: -14px; top: -8px; transform: scaleX(-1); transform-origin: center; filter: drop-shadow(0 9px 8px rgba(3,43,105,.22)); }
.mascot-dock-pulse { position: absolute; z-index: -1; inset: 8px; border: 2px solid rgba(7,88,201,.34); border-radius: 50%; animation: dock-pulse 2.2s ease-out infinite; }
.mascot-dock-label { position: absolute; left: 82px; top: 19px; width: max-content; padding: 9px 13px; border-radius: 4px 14px 14px 14px; color: white; background: var(--ink); box-shadow: 0 10px 24px rgba(3,43,105,.2); text-align: left; font-size: 11px; line-height: 1.15; opacity: 0; transform: translateX(-8px); transition: .2s ease; pointer-events: none; }
.mascot-dock-label b { display: block; color: #bfe0ff; font-family: "Baloo 2"; font-size: 16px; }
.mascot-dock:hover .mascot-dock-label, .mascot-dock:focus-visible .mascot-dock-label { opacity: 1; transform: none; }
.mascot-dock.cheer img { animation: dock-cheer .7s cubic-bezier(.2,1.25,.4,1); }
@keyframes route-beacon { 50% { transform: translateX(-50%) scale(1.42); box-shadow: 0 0 0 11px rgba(7,88,201,0); border-color: #0758c9; } }
@keyframes pin-shadow { 50% { transform: scale(.72); opacity: .52; } }
@keyframes dock-pulse { 70%,100% { transform: scale(1.55); opacity: 0; } }
@keyframes dock-cheer { 0%,100% { transform: scaleX(-1); } 35% { transform: translateY(-10px) rotate(8deg) scaleX(-1) scale(1.07); } 68% { transform: translateY(2px) rotate(-5deg) scaleX(-1); } }
@keyframes flight-ring { 50% { transform: scale(1.13); opacity: .42; } }
@keyframes exhaust-flicker { from { transform: scaleX(.72) scaleY(.82); opacity: .72; } to { transform: scaleX(1.16) scaleY(1.08); opacity: 1; } }
@keyframes rocket-particle { from { opacity: 1; transform: translate(0,0) scale(1); } to { opacity: 0; transform: translate(-95px, var(--particle-y, 12px)) scale(.2); } }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(38px, 5vw, 58px); line-height: 1; letter-spacing: -1.5px; margin: 10px 0 0; }
.section-head p { max-width: 410px; color: var(--muted); line-height: 1.65; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter { border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 999px; padding: 11px 17px; font-weight: 700; }
.filter.active { background: var(--ink); color: white; border-color: var(--ink); }
.search-wrap { margin-left: auto; position: relative; flex: 1 1 230px; max-width: 320px; }
.search-wrap input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px 0 42px; background: white; outline: 0; }
.search-wrap span { position: absolute; left: 16px; top: 11px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { border: 1px solid var(--line); background: white; border-radius: 24px; overflow: hidden; transition: .25s ease; position: relative; }
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.product-image { height: 250px; position: relative; overflow: hidden; background: #edf6ff; cursor: pointer; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-badge { position: absolute; left: 14px; top: 14px; z-index: 2; border-radius: 999px; padding: 7px 10px; background: var(--orange); color: white; font-size: 11px; font-weight: 800; }
.wish { position: absolute; right: 14px; top: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); font-size: 17px; }
.wish.active { color: var(--orange); }
.product-body { padding: 18px; }
.product-category { color: var(--blue); font-size: 11px; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.product-body h3 { margin: 6px 0 6px; font-size: 20px; line-height: 1.15; }
.rating { color: #f4a600; font-size: 12px; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.price { font-family: "Baloo 2"; font-size: 23px; font-weight: 800; }
.add-cart { width: 42px; height: 42px; border: 0; border-radius: 14px; background: var(--ink); color: white; font-size: 20px; }
.add-cart:hover { background: var(--orange); }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 70px 20px; background: var(--cream); border-radius: 24px; }

.story { background: #eaf5ff; overflow: hidden; }
.story-grid { min-height: 425px; display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; }
.story h2 { font-size: 50px; line-height: 1; margin: 12px 0 18px; }
.story p { color: var(--muted); line-height: 1.75; }
.story-art { min-height: 360px; display: grid; place-items: center; position: relative; }
.story-card { width: 320px; height: 285px; border-radius: 35px; background: white; transform: rotate(-5deg); display: grid; place-items: end center; box-shadow: var(--shadow); overflow: hidden; position: relative; }
.story-card img { width: 115%; height: 108%; object-fit: contain; mix-blend-mode: multiply; transform-origin: bottom center; animation: mascot-idle 4.4s ease-in-out infinite; }
.story-card.logo-showcase { place-items: center; padding: 10px; background: transparent; box-shadow: none; overflow: visible; }
.story-card.logo-showcase img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; animation: logo-float 4s ease-in-out infinite; }
@keyframes logo-float { 50% { transform: translateY(-7px) rotate(1deg); } }
.story-orbit { position: absolute; right: 25px; top: 25px; width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: white; font-size: 20px; animation: orbit-star 3s linear infinite; }
@keyframes orbit-star { to { transform: rotate(360deg); } }
.story-sticker { position: absolute; right: 6%; top: 20%; background: var(--yellow); border: 5px solid white; border-radius: 50%; width: 105px; height: 105px; display: grid; place-items: center; text-align: center; font-family: "Baloo 2"; font-weight: 800; transform: rotate(9deg); }
.footer { background: var(--ink); color: white; padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 60px; }
.footer .brand { margin-bottom: 15px; }
.footer p, .footer a { color: #bdc5d6; line-height: 1.8; font-size: 14px; }
.footer h4 { margin: 7px 0 14px; }
.copyright { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #8f9ab0; font-size: 12px; display: flex; justify-content: space-between; }

.overlay { position: fixed; inset: 0; background: rgba(8,16,32,.48); backdrop-filter: blur(4px); z-index: 60; opacity: 0; pointer-events: none; transition: .2s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; right: 0; top: 0; width: min(460px, 100%); height: 100%; background: white; z-index: 70; transform: translateX(100%); transition: .28s ease; display: flex; flex-direction: column; box-shadow: -24px 0 60px rgba(20,33,61,.18); }
.drawer.open { transform: translateX(0); }
.drawer-head { padding: 25px 26px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.drawer-head h2 { margin: 0; font-size: 28px; }
.close { border: 0; background: var(--cream); border-radius: 50%; width: 40px; height: 40px; font-size: 20px; }
.cart-list { padding: 20px 26px; overflow: auto; flex: 1; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 76px; height: 76px; object-fit: cover; border-radius: 15px; }
.cart-item h4 { margin: 0 0 5px; font-size: 15px; }
.cart-item small { color: var(--muted); }
.cart-kind { display: block; color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .1em; margin-bottom: 3px; }
.qty { display: flex; align-items: center; gap: 9px; margin-top: 10px; }
.qty button { width: 27px; height: 27px; border: 1px solid var(--line); background: white; border-radius: 8px; }
.remove { border: 0; background: transparent; color: #c3372d; font-size: 18px; }
.cart-foot { border-top: 1px solid var(--line); padding: 22px 26px 28px; }
.promo-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 10px; }
.promo-form .field { min-height: 42px; text-transform: uppercase; font-weight: 800; letter-spacing: .06em; }
.promo-form .btn { min-height: 42px; padding-inline: 15px; }
.promo-applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; margin-bottom: 13px; border-radius: 11px; color: #08764d; background: #e4f8ef; font-size: 11px; font-weight: 800; }
.promo-applied button { border: 0; color: #08764d; background: transparent; font-size: 10px; font-weight: 800; text-decoration: underline; }
.cart-summary { display: grid; gap: 8px; padding: 13px 0; border-top: 1px solid var(--line); }
.cart-summary > div { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.cart-summary .discount { color: #08764d; }
.total-row { display: flex; justify-content: space-between; font-weight: 800; font-size: 20px; margin-bottom: 16px; }
.cart-empty { display: grid; place-items: center; text-align: center; height: 100%; color: var(--muted); }
.cart-empty span { font-size: 70px; display: block; margin-bottom: 10px; }

.modal { position: fixed; z-index: 80; left: 50%; top: 50%; width: min(860px, calc(100% - 28px)); max-height: 90vh; overflow: auto; transform: translate(-50%, -45%) scale(.97); background: white; border-radius: 28px; opacity: 0; pointer-events: none; transition: .2s; box-shadow: var(--shadow); }
.modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.product-modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal-image { min-height: 430px; background: var(--cream); }
.modal-image img { width: 100%; height: 100%; object-fit: cover; }
.modal-copy { padding: 40px; position: relative; }
.modal-copy .close { position: absolute; right: 20px; top: 20px; }
.modal-copy h2 { font-size: 38px; line-height: 1; margin: 18px 0 10px; padding-right: 35px; }
.modal-copy p { color: var(--muted); line-height: 1.7; }
.modal-price { font-family: "Baloo 2"; font-size: 32px; font-weight: 800; margin: 24px 0 17px; }
.checkout-form { display: grid; gap: 13px; margin-top: 16px; }
.checkout-form label { font-size: 12px; font-weight: 800; color: var(--muted); }
.checkout-total { display: flex; align-items: center; justify-content: space-between; padding: 15px 17px; border-radius: 14px; color: white; background: var(--ink); }
.checkout-total span { font-size: 12px; }
.checkout-total b { font-size: 20px; }
.field { width: 100%; border: 1px solid var(--line); border-radius: 13px; min-height: 48px; padding: 12px 14px; outline: 0; background: #fff; }
.field:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(57,120,246,.1); }
textarea.field { min-height: 85px; resize: vertical; }
.product-card.sold-out img { filter: grayscale(.6); opacity: .7; }
.add-cart:disabled, .btn:disabled { opacity: .45; cursor: not-allowed; }

/* Admin */
.admin-app { min-height: 100vh; background: #f4f6fa; display: grid; grid-template-columns: 258px 1fr; }
.admin-side { background: var(--ink); color: white; padding: 24px 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .brand { padding: 0; margin-bottom: 38px; background: transparent; width: 100%; }
.admin-side .site-logo { height: 62px; max-width: 180px; }
.admin-nav { display: grid; gap: 7px; padding-bottom: 86px; }
.admin-nav button { width: 100%; border: 0; background: transparent; color: #bdc5d6; border-radius: 13px; padding: 13px 14px; display: flex; gap: 12px; align-items: center; font-weight: 700; text-align: left; }
.admin-nav button.active, .admin-nav button:hover { background: rgba(255,255,255,.1); color: white; }
.admin-store-link { position: absolute; left: 18px; right: 18px; bottom: 22px; }
.admin-store-link .btn { width: 100%; background: white; color: var(--ink); }
.admin-main { min-width: 0; }
.admin-top { height: 82px; border-bottom: 1px solid #e5e8ef; background: rgba(255,255,255,.86); backdrop-filter: blur(16px); padding: 0 32px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 20; }
.admin-top h1 { font-family: "DM Sans"; font-size: 21px; letter-spacing: -.5px; margin: 0; }
.admin-kicker { display: block; color: var(--blue); font-size: 9px; line-height: 1; letter-spacing: .14em; font-weight: 900; margin-bottom: 6px; }
.admin-user { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.admin-avatar { width: 39px; height: 39px; border-radius: 12px; background: var(--yellow); display: grid; place-items: center; }
.logout-btn { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: white; font-weight: 800; }
.admin-content { padding: 30px 32px 70px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card, .panel { background: white; border: 1px solid #e6e9ef; border-radius: 18px; box-shadow: 0 8px 30px rgba(20,33,61,.04); }
.stat-card { padding: 21px; }
.stat-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; font-weight: 700; }
.stat-icon { width: 38px; height: 38px; border-radius: 12px; background: #eef3ff; display: grid; place-items: center; font-size: 18px; }
.stat-value { font-size: 28px; font-weight: 800; margin-top: 14px; letter-spacing: -.8px; }
.stat-change { color: var(--green); font-size: 12px; font-weight: 700; margin-top: 6px; }
.admin-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 18px; margin-top: 18px; }
.panel { padding: 22px; overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 15px; }
.panel-head h2 { font-family: "DM Sans"; font-size: 17px; margin: 0; }
.panel-head p { color: var(--muted); margin: 4px 0 0; font-size: 12px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { color: var(--muted); text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 11px 10px; border-bottom: 1px solid #e8ebf0; }
.admin-table td { padding: 14px 10px; border-bottom: 1px solid #eff1f5; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.table-product { display: flex; gap: 11px; align-items: center; min-width: 180px; }
.table-product img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.status { display: inline-flex; padding: 6px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.status-new { background: #eef3ff; color: #2d62cb; }
.status-confirmed { background: #fff4d8; color: #9a6800; }
.status-preparing { background: #eee8ff; color: #6545ad; }
.status-shipping { background: #dff3ff; color: #086eaa; }
.status-delivered { background: #def8ec; color: #08764d; }
.status-cancelled { background: #ffe7e4; color: #ae3128; }
.mini-select { border: 1px solid #dde2ea; border-radius: 9px; padding: 7px 8px; background: white; }
.actions { display: flex; gap: 6px; }
.action-btn { width: 33px; height: 33px; border: 1px solid #e1e5ec; background: white; border-radius: 9px; }
.action-btn:hover { background: var(--cream); }
.action-btn.danger { color: #b9362d; }
.chart { height: 230px; display: flex; align-items: end; gap: 13px; padding: 18px 4px 0; }
.bar-wrap { flex: 1; text-align: center; font-size: 10px; color: var(--muted); }
.bar { width: 100%; border-radius: 8px 8px 3px 3px; background: linear-gradient(var(--blue), #8caeff); margin-bottom: 7px; min-height: 10px; }
.inventory-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 14px 0; }
.inventory-item strong { font-size: 13px; }
.inventory-item span { color: var(--muted); font-size: 12px; }
.progress { grid-column: 1 / -1; height: 7px; border-radius: 99px; background: #edf0f4; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--orange); border-radius: inherit; }
.admin-toolbar { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 18px; flex-wrap: wrap; }
.admin-toolbar .search-wrap { margin-left: 0; max-width: 390px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-grid .full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 12px; font-weight: 800; margin-bottom: 7px; color: var(--muted); }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.admin-modal { width: min(900px, calc(100% - 28px)); }
.modal-kicker { display: block; color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .14em; margin-bottom: 8px; }
.table-scroll { width: 100%; overflow-x: auto; }
.admin-empty { padding: 30px 15px; color: var(--muted); text-align: center; }
.order-link { border: 0; padding: 0; color: var(--blue); background: transparent; font-weight: 900; }
.text-button { border: 0; padding: 0; color: var(--blue); background: transparent; font-size: 12px; font-weight: 800; }
.quick-actions { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 18px; }
.quick-actions button { min-height: 112px; padding: 18px; border: 1px solid #e3e8ef; border-radius: 17px; background: white; text-align: left; box-shadow: 0 8px 24px rgba(20,33,61,.035); transition: .2s ease; }
.quick-actions button:hover { transform: translateY(-3px); border-color: #c8dcf4; box-shadow: 0 14px 30px rgba(20,33,61,.08); }
.quick-actions span { float: right; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--blue); background: #edf6ff; font-weight: 900; }
.quick-actions b, .quick-actions small { display: block; }
.quick-actions b { margin-top: 8px; font-size: 14px; }
.quick-actions small { max-width: 150px; margin-top: 6px; color: var(--muted); line-height: 1.35; }
.mini-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 18px; }
.mini-stats.three { grid-template-columns: repeat(3,1fr); }
.mini-stats > div { padding: 17px 19px; border: 1px solid #e3e8ef; border-radius: 15px; background: white; }
.mini-stats span, .mini-stats b { display: block; }
.mini-stats span { color: var(--muted); font-size: 11px; font-weight: 700; }
.mini-stats b { margin-top: 6px; font-size: 20px; }
.segmented { display: inline-flex; max-width: 100%; padding: 4px; gap: 3px; border: 1px solid #e1e6ed; border-radius: 12px; background: white; overflow-x: auto; }
.segmented button { flex: none; min-height: 34px; padding: 0 12px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 800; }
.segmented button.active { color: white; background: var(--ink); }
.order-filters { flex: 1 1 520px; justify-content: flex-start; }
.stock-stepper { display: inline-flex; align-items: center; gap: 7px; padding: 4px; border: 1px solid #e1e5ec; border-radius: 10px; }
.stock-stepper button { width: 26px; height: 26px; border: 0; border-radius: 7px; color: var(--ink); background: #f1f5f9; font-weight: 900; }
.stock-stepper b { min-width: 24px; text-align: center; }
.stock-stepper b.low { color: #b9362d; }
.toggle-chip { display: inline-flex; align-items: center; gap: 7px; border: 0; color: #7c8798; background: transparent; font-size: 11px; font-weight: 800; }
.toggle-chip i { width: 30px; height: 18px; padding: 3px; border-radius: 99px; background: #dfe4eb; transition: .2s ease; }
.toggle-chip i::after { content: ""; display: block; width: 12px; height: 12px; border-radius: 50%; background: white; box-shadow: 0 2px 5px rgba(20,33,61,.2); transition: .2s ease; }
.toggle-chip.on { color: #08764d; }
.toggle-chip.on i { background: var(--green); }
.toggle-chip.on i::after { transform: translateX(12px); }
.switch-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; cursor: pointer; }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch-row > span { width: 42px; height: 24px; padding: 3px; border-radius: 99px; background: #dfe4eb; transition: .2s ease; }
.switch-row > span i { display: block; width: 18px; height: 18px; border-radius: 50%; background: white; box-shadow: 0 2px 5px rgba(20,33,61,.2); transition: .2s ease; }
.switch-row input:checked + span { background: var(--green); }
.switch-row input:checked + span i { transform: translateX(18px); }
.switch-row b { font-size: 12px; }
.status-select { font-weight: 800; }
.delivery-timeline { display: grid; grid-template-columns: repeat(4,1fr); margin: 24px 0; position: relative; }
.delivery-timeline::before { content: ""; position: absolute; left: 10%; right: 10%; top: 15px; height: 3px; background: #e5eaf0; }
.delivery-timeline > div { position: relative; z-index: 1; display: grid; justify-items: center; gap: 7px; color: #9aa5b5; font-size: 10px; font-weight: 800; }
.delivery-timeline i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 3px solid white; background: #dfe5ec; font-style: normal; }
.delivery-timeline .done i, .delivery-timeline .current i { color: white; background: var(--blue); }
.delivery-timeline .current i { box-shadow: 0 0 0 6px rgba(7,88,201,.12); }
.delivery-timeline .done, .delivery-timeline .current { color: var(--ink); }
.delivery-timeline.cancelled { opacity: .45; filter: grayscale(1); }
.order-summary-box { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 18px 0; }
.order-summary-box > div { padding: 13px; border-radius: 13px; background: #f4f7fb; }
.order-summary-box span, .order-summary-box b { display: block; }
.order-summary-box span { color: var(--muted); font-size: 10px; }
.order-summary-box b { margin-top: 4px; font-size: 14px; }
.order-lines { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.order-lines span { padding: 7px 10px; border-radius: 99px; color: #426080; background: #edf5fc; font-size: 11px; }
.customer-tier { display: inline-flex; padding: 6px 9px; border-radius: 99px; font-size: 10px; font-weight: 900; }
.tier-nouveau { color: #47637f; background: #edf2f7; }
.tier-fidèle { color: #704ba5; background: #f0e9fa; }
.tier-vip { color: #966300; background: #fff1c7; }
.customer-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; padding: 16px; border-radius: 16px; background: linear-gradient(135deg,#edf6ff,#f8fbff); }
.customer-avatar { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; color: white; background: var(--blue); font-weight: 900; }
.customer-hero span { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.customer-hero > strong { font-size: 18px; }
.client-orders { margin-top: 18px; }
.client-orders h3 { margin: 0 0 8px; font-size: 14px; }
.client-orders button { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.promo-code { display: inline-flex; padding: 7px 10px; border-radius: 8px; color: #0758c9; background: #eaf4ff; font-family: ui-monospace,monospace; font-weight: 900; letter-spacing: .08em; }
.code-input { text-transform: uppercase; font-family: ui-monospace,monospace; font-weight: 900; letter-spacing: .08em; }
.admin-section-title { margin: 0; font-family: "DM Sans"; font-size: 18px; }
.admin-section-copy { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.admin-pack-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.admin-pack-card { display: grid; grid-template-columns: 170px 1fr; min-height: 255px; border: 1px solid #e2e7ee; border-radius: 19px; background: white; overflow: hidden; box-shadow: 0 8px 30px rgba(20,33,61,.04); }
.admin-pack-visual { position: relative; background: #e9f5ff; overflow: hidden; }
.admin-pack-visual img { position: absolute; width: 74%; height: 62%; left: 13%; top: 18%; border: 4px solid white; border-radius: 15px; object-fit: cover; box-shadow: 0 12px 24px rgba(3,43,105,.18); }
.admin-pack-visual img:nth-child(1) { z-index: 3; transform: translate(-9px,-8px) rotate(-4deg); }
.admin-pack-visual img:nth-child(2) { z-index: 2; transform: translate(12px,22px) rotate(5deg); }
.admin-pack-visual img:nth-child(3) { z-index: 1; transform: translate(-2px,48px); }
.admin-pack-copy { padding: 20px; min-width: 0; }
.admin-pack-copy .panel-head { align-items: flex-start; }
.admin-pack-copy h2 { margin-top: 8px; }
.admin-pack-copy > p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.pack-product-list { display: flex; flex-wrap: wrap; gap: 5px; }
.pack-product-list span { padding: 5px 7px; border-radius: 99px; color: #47637f; background: #edf5fc; font-size: 9px; font-weight: 700; }
.admin-pack-foot { display: flex; justify-content: space-between; align-items: end; margin-top: 18px; }
.admin-pack-foot > div:first-child { display: grid; }
.admin-pack-foot b { font-size: 20px; }
.admin-pack-foot small { color: var(--muted); }
.product-picker { max-height: 285px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #f8fafc; overflow-y: auto; display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; }
.product-picker label { padding: 8px; border: 1px solid transparent; border-radius: 11px; background: white; display: grid; grid-template-columns: auto 42px 1fr; gap: 8px; align-items: center; cursor: pointer; }
.product-picker label:has(input:checked) { border-color: var(--blue); background: #edf6ff; }
.product-picker img { width: 42px; height: 42px; border-radius: 9px; object-fit: cover; }
.product-picker b, .product-picker small { display: block; }
.product-picker b { font-size: 11px; }
.product-picker small { color: var(--muted); font-size: 9px; margin-top: 3px; }
.settings-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.settings-wide { grid-column: 1 / -1; }
.settings-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.color-field { display: grid; grid-template-columns: 50px 1fr; gap: 8px; }
.color-field input[type="color"] { width: 50px; height: 48px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.theme-preview { align-self: end; min-height: 68px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; display: flex; align-items: center; gap: 12px; }
.theme-preview > span { width: 42px; height: 42px; border-radius: 12px; }
.theme-preview b, .theme-preview small { display: block; }
.theme-preview small { color: var(--muted); margin-top: 3px; }
.login-screen { min-height: 100vh; display: grid; grid-template-columns: 1.1fr .9fr; background: var(--cream); }
.login-art { background: var(--yellow); display: grid; place-items: center; position: relative; overflow: hidden; }
.login-art span { font-size: min(24vw, 250px); filter: drop-shadow(0 25px 25px rgba(20,33,61,.15)); }
.login-art::after { content: "La boutique qui fait sourire"; position: absolute; bottom: 9%; font-family: "Baloo 2"; font-size: 35px; font-weight: 800; color: var(--ink); }
.login-card-wrap { display: grid; place-items: center; padding: 30px; background: white; }
.login-card { width: min(390px, 100%); }
.login-card h1 { font-family: "Baloo 2"; font-size: 42px; letter-spacing: -1px; line-height: 1; margin: 30px 0 8px; }
.login-card > p { color: var(--muted); margin-bottom: 28px; }
.login-hint { padding: 13px; background: #eef3ff; border-radius: 12px; margin-top: 15px; font-size: 12px; color: #3c5a91; }
.mobile-menu { display: none; }

/* Dedicated storefront pages */
.account-shortcut.active { color: white; background: var(--blue); border-color: var(--blue); }
.home-products .section-head > div:last-child { display: grid; justify-items: start; gap: 12px; }
.storefront-cutout-stage { min-height: 360px; position: relative; display: grid; place-items: center; isolation: isolate; }
.storefront-cutout-stage::before { content: ""; position: absolute; z-index: -1; width: 88%; height: 78%; border-radius: 45% 55% 49% 51% / 54% 44% 56% 46%; background: radial-gradient(circle at 35% 28%,#fff 0 12%,#d9ecff 43%,#a8d4ff 100%); box-shadow: 0 24px 60px rgba(3,74,159,.14); transform: rotate(-4deg); }
.storefront-cutout-stage img { width: 116%; max-width: none; filter: drop-shadow(0 24px 18px rgba(3,43,105,.22)); animation: storefront-float 5s ease-in-out infinite; }
.storefront-orbit { position: absolute; z-index: 3; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; color: white; background: var(--blue); border: 4px solid white; box-shadow: 0 12px 24px rgba(3,43,105,.18); font-size: 20px; animation: float 3.8s ease-in-out infinite; }
.storefront-orbit.orbit-one { right: 4%; top: 12%; }
.storefront-orbit.orbit-two { left: 6%; bottom: 16%; color: var(--ink); background: #d9ecff; animation-delay: -1.6s; }
@keyframes storefront-float { 50% { transform: translateY(-8px) rotate(.6deg); } }
.section-more { display: flex; justify-content: center; margin-top: 30px; }
.packs-section .section-more .btn { color: white; border-color: rgba(255,255,255,.42); }
.pack-body h3 a:hover, .product-body h3 a:hover { color: var(--blue); }
.pack-detail-link, .product-detail-link { display: inline-flex; margin-top: 12px; color: var(--blue); font-size: 12px; font-weight: 800; }
.pack-detail-link { color: #cfe7ff; }
.product-brand { display: block; margin-bottom: 4px; color: #6d5aa9; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.catalog-taxonomy { display: grid; grid-template-columns: minmax(0,1fr) 190px minmax(220px,290px); gap: 14px; align-items: end; margin-bottom: 30px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: #f8fbff; }
.catalog-taxonomy > div:first-child { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.catalog-taxonomy > div:first-child > span, .brand-filter label { width: 100%; margin-bottom: 2px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.catalog-taxonomy .filter { padding: 9px 13px; font-size: 11px; }
.catalog-taxonomy .search-wrap { width: 100%; max-width: none; }
.brand-filter { display: grid; gap: 5px; }
.brand-filter .field { height: 44px; padding-block: 0; }
.page-hero { overflow: hidden; background: linear-gradient(135deg,#f6fbff,#dfefff); }
.page-hero-grid { min-height: 360px; display: grid; grid-template-columns: 1fr 300px; align-items: center; gap: 30px; padding: 55px 0; }
.page-hero h1 { margin: 14px 0; font-size: clamp(54px,7vw,82px); }
.page-hero p { max-width: 640px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.page-hero img { max-height: 300px; margin-inline: auto; object-fit: contain; filter: drop-shadow(0 24px 22px rgba(3,43,105,.16)); }
.products-hero { background: linear-gradient(135deg,#f8fcff 0%,#e4f2ff 48%,#c7e2ff 100%); }
.page-mascot-stage { min-height: 310px; position: relative; display: grid; place-items: center; perspective: 900px; }
.page-mascot-stage .art-blob { width: 290px; height: 290px; }
.page-mascot-stage > img { position: relative; z-index: 2; width: 330px; max-width: 118%; max-height: 315px; animation: mascot-idle 4.4s ease-in-out infinite; }
.page-toy { position: absolute; z-index: 3; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: white; box-shadow: var(--shadow); font-size: 30px; animation: float 4s ease-in-out infinite; }
.page-toy.one { left: -2%; top: 16%; transform: rotate(-10deg); }
.page-toy.two { right: -2%; top: 10%; animation-delay: -1.2s; transform: rotate(8deg); }
.page-toy.three { right: 3%; bottom: 7%; color: #f3b20b; animation-delay: -2.1s; }
.page-hero.compact .page-hero-grid { min-height: 310px; }
.page-shop { padding-top: 64px; }
.packs-page { min-height: 560px; }

.detail-page { min-height: 70vh; padding: 42px 0 90px; background: #f8fbff; }
.breadcrumbs { display: flex; align-items: center; gap: 9px; margin-bottom: 26px; color: var(--muted); font-size: 12px; }
.breadcrumbs a:hover { color: var(--blue); }
.product-detail-grid { display: grid; grid-template-columns: minmax(0,1.03fr) minmax(360px,.97fr); gap: 56px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 32px; background: white; box-shadow: 0 18px 50px rgba(4,49,112,.08); }
.detail-image { position: relative; min-height: 520px; overflow: hidden; border-radius: 24px; background: var(--cream); }
.detail-image > img { width: 100%; height: 520px; object-fit: cover; }
.detail-copy h1 { margin: 12px 0; font-size: clamp(46px,5vw,68px); line-height: .95; }
.detail-brand { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.detail-meta span { padding: 8px 11px; border-radius: 99px; color: #456486; background: #edf5fc; font-size: 11px; font-weight: 800; }
.detail-meta .in-stock { color: #08764d; background: #e7f8f1; }
.detail-meta .out-stock { color: #ac352d; background: #ffebe8; }
.detail-copy > p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.detail-price { margin: 24px 0 14px; font-family: "Baloo 2"; font-size: 38px; font-weight: 800; }
.detail-price del { margin-left: 8px; color: #9aa7b7; font-family: "DM Sans"; font-size: 16px; font-weight: 600; }
.detail-add { min-width: 230px; }
.detail-copy > small { display: block; margin-top: 13px; color: var(--muted); }
.related-products { padding-top: 70px; }
.pack-detail-images { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; padding: 14px; }
.pack-detail-images > img { width: 100%; height: 240px; border-radius: 16px; object-fit: cover; }
.pack-detail-images > img:only-child { grid-column: 1 / -1; height: 490px; }
.pack-includes { display: grid; gap: 7px; margin: 20px 0; }
.pack-includes > b { margin-bottom: 3px; }
.pack-includes a { display: flex; justify-content: space-between; gap: 14px; padding: 11px 13px; border-radius: 12px; background: #f1f7fd; font-size: 12px; }
.pack-includes a:hover { color: var(--blue); }
.pack-includes small { color: var(--muted); }
.empty-page { min-height: 65vh; display: grid; place-items: center; padding: 80px 0; text-align: center; background: var(--cream); }
.empty-page h1 { margin-inline: auto; font-size: 58px; }

.about-hero { padding: 80px 0; background: linear-gradient(135deg,#f8fcff,#e5f2ff); }
.about-hero-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 60px; align-items: center; }
.about-hero h1 { margin: 18px 0; font-size: clamp(58px,7vw,88px); }
.about-hero p { color: var(--muted); font-size: 17px; line-height: 1.75; }
.about-hero figure { margin: 0; }
.about-store-stage { min-height: 430px; position: relative; display: grid; place-items: center; padding: 45px 0 25px; isolation: isolate; }
.about-store-stage::before { content: ""; position: absolute; z-index: -1; width: 92%; height: 83%; border-radius: 47% 53% 54% 46% / 56% 44% 56% 44%; background: radial-gradient(circle at 35% 28%,#fff 0 10%,#dceeff 45%,#a9d4ff 100%); box-shadow: 0 28px 65px rgba(3,74,159,.14); transform: rotate(3deg); }
.about-store-stage img { width: 128%; max-width: none; filter: drop-shadow(0 26px 18px rgba(3,43,105,.24)); animation: storefront-float 5s ease-in-out infinite; }
.about-store-stage figcaption { position: absolute; right: 4%; bottom: 2%; padding: 10px 14px; border-radius: 999px; color: var(--ink); background: white; box-shadow: 0 10px 25px rgba(3,43,105,.12); font-size: 12px; font-weight: 800; }
.about-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 28px; }
.about-points span { padding: 15px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.72); color: var(--muted); font-size: 11px; line-height: 1.45; }
.about-points b { display: block; margin-bottom: 5px; color: var(--ink); font-size: 12px; }
.about-video { padding: 80px 0; background: #041e4d; color: white; }
.about-video .section-head p { color: #bfd4ee; }
.about-video-frame { position: relative; border-radius: 30px; background: #020c1b; box-shadow: 0 24px 65px rgba(0,0,0,.25); overflow: hidden; }
.about-video video { width: 100%; max-height: 680px; display: block; border: 1px solid rgba(255,255,255,.15); border-radius: 28px; background: #020c1b; }
.video-scroll-cue { position: absolute; left: 20px; top: 20px; display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: white; background: rgba(3,25,59,.72); backdrop-filter: blur(10px); font-size: 12px; font-weight: 800; transition: .3s ease; pointer-events: none; }
.video-scroll-cue i { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: white; font-size: 9px; font-style: normal; }
.about-video-frame.is-playing .video-scroll-cue { opacity: 0; transform: translateY(-8px); }
.about-values { padding: 90px 0; background: white; }
.about-values-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.about-values h2 { margin: 15px 0; font-size: 50px; line-height: 1; }
.about-values p { color: var(--muted); line-height: 1.75; }
.about-value-list { display: grid; gap: 12px; }
.about-value-list article { display: grid; grid-template-columns: 58px 1fr; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 19px; background: #f8fbff; }
.about-value-list article > span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; color: white; background: var(--blue); font-family: "Baloo 2"; font-size: 22px; font-weight: 800; }
.about-value-list b { font-family: "Baloo 2"; font-size: 22px; }
.about-value-list p { margin: 3px 0 0; font-size: 13px; }

.account-page, .client-portal { min-height: 68vh; padding: 80px 0; background: linear-gradient(135deg,#f8fcff,#e7f3ff); }
.account-grid { display: grid; grid-template-columns: 1fr 430px; gap: 70px; align-items: center; }
.account-grid h1, .client-welcome h1 { margin: 18px 0; font-size: clamp(54px,7vw,78px); }
.account-grid > div > p { max-width: 520px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.account-grid > div > img { max-height: 250px; margin-top: 24px; filter: drop-shadow(0 20px 18px rgba(3,43,105,.15)); }
.account-login-card, .account-panel { padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: var(--shadow); }
.account-login-card { display: grid; gap: 15px; }
.account-login-card h2 { margin: 0; font-size: 32px; }
.account-panel { width: min(720px,100%); margin-inline: auto; text-align: center; }
.account-panel h1 { max-width: none; margin-inline: auto; font-size: 62px; }
.account-panel .btn { margin: 10px 5px 0; }
.client-welcome { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 36px; }
.client-welcome > div:last-child { display: flex; gap: 9px; flex-wrap: wrap; }
.client-order-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.client-order-card { padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 12px 35px rgba(4,49,112,.06); }
.client-order-card > div:first-child { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; font-weight: 800; }
.client-order-card h2 { margin: 22px 0 4px; font-family: "DM Sans"; font-size: 25px; }
.client-order-card p, .client-order-card > small { color: var(--muted); font-size: 11px; }
.account-empty { grid-column: 1 / -1; padding: 55px; border-radius: 24px; background: white; text-align: center; }

/* Roles and user management */
.admin-user > span:first-child small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 700; }
.brand-chip, .role-badge { display: inline-flex; padding: 6px 9px; border-radius: 99px; color: #345a86; background: #edf5fc; font-size: 10px; font-weight: 900; }
.role-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 18px; }
.role-card { min-height: 175px; padding: 22px; border: 1px solid #e0e8f2; border-radius: 20px; background: white; box-shadow: 0 8px 28px rgba(4,49,112,.04); }
.role-card > span { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.role-card h2 { margin: 8px 0 5px; font-size: 25px; }
.role-card p { min-height: 48px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.role-card > b { font-size: 11px; }
.role-card.role-admin { border-top: 4px solid #0758c9; }
.role-card.role-commercial { border-top: 4px solid #13a778; }
.role-card.role-client { border-top: 4px solid #7658c9; }
.role-badge.role-admin { color: #0758c9; background: #e7f1ff; }
.role-badge.role-commercial { color: #087450; background: #e4f8f0; }
.role-badge.role-client { color: #6844a4; background: #f0eafa; }
.user-cell { display: flex; align-items: center; gap: 10px; }
.user-cell > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: white; background: var(--blue); font-size: 11px; font-weight: 900; }
.user-cell small { display: block; margin-top: 2px; color: var(--muted); }
.permission-preview { margin-top: 14px; padding: 14px; border-radius: 14px; background: #edf6ff; }
.permission-preview b { font-size: 12px; }
.permission-preview p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

/* Stock, Excel import and Moroccan billing */
.toolbar-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sku-code { display: inline-flex; padding: 5px 8px; border-radius: 7px; color: #315b87; background: #edf5fc; font: 800 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.admin-modal.erp-modal { width: min(1180px, calc(100% - 28px)); }
.erp-tabs { display: flex; gap: 5px; margin: 0 0 18px; padding: 5px; border: 1px solid #e1e6ed; border-radius: 14px; background: white; overflow-x: auto; }
.erp-tabs button { flex: 1 0 auto; min-height: 39px; padding: 0 14px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 900; }
.erp-tabs button.active { color: white; background: var(--ink); box-shadow: 0 7px 16px rgba(4,32,78,.15); }
.erp-action-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; margin-bottom: 18px; }
.erp-action-grid > button { min-height: 145px; padding: 20px; border: 1px solid #e1e7ef; border-radius: 18px; background: white; text-align: left; box-shadow: 0 8px 28px rgba(4,49,112,.04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.erp-action-grid > button:hover { transform: translateY(-3px); border-color: #bdd8f4; box-shadow: 0 15px 32px rgba(4,49,112,.09); }
.erp-action-grid b, .erp-action-grid small { display: block; }
.erp-action-grid b { margin-top: 14px; font-size: 14px; }
.erp-action-grid small { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.erp-action-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; font-size: 20px; font-weight: 900; }
.erp-action-icon.blue { color: #0758c9; background: #e7f1ff; }
.erp-action-icon.green { color: #08764d; background: #def8ec; }
.erp-action-icon.purple { color: #6844a4; background: #f0eafa; }
.erp-action-icon.orange { color: #a25a00; background: #fff0d9; }
.stock-balance { display: inline-grid; min-width: 42px; height: 30px; padding: 0 9px; place-items: center; border-radius: 9px; color: #08764d; background: #e4f8ef; font-weight: 900; }
.stock-balance.low { color: #ae3128; background: #ffe7e4; }
.inventory-sessions { margin-top: 18px; }
.session-row { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; padding: 13px 2px; border-bottom: 1px solid #eff2f6; font-size: 12px; }
.session-row:last-child { border-bottom: 0; }
.session-row small { display: block; margin-top: 3px; color: var(--muted); }
.session-row span { color: var(--muted); }
.movement-badge, .document-status, .import-action { display: inline-flex; padding: 6px 9px; border-radius: 999px; font-size: 10px; font-weight: 900; white-space: nowrap; }
.movement-purchase { color: #08764d; background: #def8ec; }
.movement-sale { color: #0758c9; background: #e7f1ff; }
.movement-credit { color: #8c4b00; background: #fff0d9; }
.movement-return { color: #8c4b00; background: #fff0d9; }
.movement-inventory { color: #6844a4; background: #f0eafa; }
.movement-adjustment { color: #536276; background: #edf1f5; }
.movement-import { color: #096b81; background: #e3f7fb; }

.cart-stock-warning {
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 12px;
  color: #8a3500;
  background: #fff2df;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}
.movement-qty { font-weight: 900; }
.movement-qty.in { color: #08764d; }
.movement-qty.out { color: #ae3128; }

.excel-import-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 22px 0; }
.excel-drop, .excel-help { min-height: 205px; padding: 24px; border-radius: 18px; }
.excel-drop { position: relative; display: grid; place-items: center; align-content: center; gap: 7px; border: 2px dashed #9dc4ea; color: #315b87; background: #f2f8ff; text-align: center; overflow: hidden; transition: .2s ease; }
.excel-drop:hover { border-color: var(--blue); background: #eaf5ff; }
.excel-drop > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: white; background: var(--blue); font-size: 24px; font-weight: 900; }
.excel-drop b, .excel-drop small { display: block; }
.excel-drop small { color: var(--muted); font-size: 10px; }
.excel-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.excel-help { border: 1px solid #e1e7ef; background: #fff; }
.excel-help > b { display: block; margin-bottom: 8px; }
.excel-help p { min-height: 72px; margin: 0 0 16px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.import-preview { border-top: 1px solid var(--line); padding-top: 18px; }
.import-summary { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 9px; margin-bottom: 14px; }
.import-summary > div { min-width: 0; padding: 13px; border-radius: 13px; background: #f4f7fb; }
.import-summary span, .import-summary b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.import-summary span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .05em; }
.import-summary b { margin-top: 4px; font-size: 13px; }
.import-summary .has-errors { color: #a1261c; background: #fff0ee; }
.import-action.create { color: #08764d; background: #def8ec; }
.import-action.update { color: #0758c9; background: #e7f1ff; }
.import-errors { display: grid; gap: 5px; margin-top: 14px; padding: 14px; border: 1px solid #ffd2cc; border-radius: 13px; color: #9b3027; background: #fff5f3; font-size: 11px; }

.entry-lines-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 25px 0 11px; }
.entry-lines-head b, .entry-lines-head small { display: block; }
.entry-lines-head small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.entry-lines { display: grid; gap: 8px; overflow-x: auto; }
.entry-line-labels, .entry-line { display: grid; align-items: center; gap: 7px; min-width: 760px; }
.entry-line-labels { grid-template-columns: 2fr .58fr .75fr .75fr 38px; padding: 0 3px; color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.entry-line { grid-template-columns: 2fr .58fr .75fr .75fr 38px; padding: 8px; border: 1px solid #e4e9f0; border-radius: 13px; background: #f8fafc; }
.entry-line .field { min-height: 42px; padding: 9px 10px; border-radius: 9px; font-size: 11px; }
.line-remove { width: 34px; height: 34px; border: 0; border-radius: 9px; color: #ae3128; background: #ffe8e5; font-size: 20px; }
.document-live-total { margin: 14px 0 0 auto; width: max-content; max-width: 100%; padding: 13px 16px; border-radius: 13px; color: white; background: var(--ink); font-size: 13px; font-weight: 900; }
.inventory-count-list { max-height: 430px; margin-top: 22px; border: 1px solid var(--line); border-radius: 15px; overflow: auto; }
.inventory-count-head, .inventory-count-row { display: grid; grid-template-columns: 1fr 105px 130px; gap: 10px; align-items: center; padding: 10px 14px; }
.inventory-count-head { position: sticky; top: 0; z-index: 1; color: white; background: var(--ink); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.inventory-count-row { border-bottom: 1px solid #edf0f4; }
.inventory-count-row:last-child { border-bottom: 0; }
.inventory-count-row b, .inventory-count-row small { display: block; }
.inventory-count-row small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.inventory-count-row .field { min-height: 39px; }

.compliance-alert { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 14px 16px; border: 1px solid #ffd894; border-radius: 15px; color: #815100; background: #fff8e8; }
.compliance-alert > span { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 10px; color: white; background: #e4971c; font-weight: 900; }
.compliance-alert b, .compliance-alert p { display: block; }
.compliance-alert p { margin: 3px 0 0; font-size: 11px; }
.compliance-alert button { margin-left: auto; border: 0; color: inherit; background: transparent; font-size: 11px; font-weight: 900; text-decoration: underline; }
.compliance-alert.ready { color: #08764d; border-color: #aee8d2; background: #edfbf5; }
.compliance-alert.ready > span { background: #13a778; }
.document-status.status-brouillon { color: #536276; background: #edf1f5; }
.document-status.status-envoye, .document-status.status-envoyee { color: #0758c9; background: #e7f1ff; }
.document-status.status-emise, .document-status.status-emis { color: #8a5800; background: #fff0d9; }
.document-status.status-payee { color: #08764d; background: #def8ec; }
.document-status.status-accepte { color: #6844a4; background: #f0eafa; }
.billing-form-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 22px; margin-top: 20px; }
.billing-form-grid section { padding: 17px; border: 1px solid #e3e8ef; border-radius: 16px; background: #f8fafc; }
.billing-form-grid h3 { margin: 0 0 14px; font-size: 13px; }
.billing-labels, .billing-line { grid-template-columns: 1.05fr 1.4fr .5fr .7fr .55fr .58fr 38px; min-width: 990px; }
.billing-footer-form { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end; margin-top: 16px; }
.billing-footer-form .document-live-total { min-width: 300px; display: grid; gap: 6px; }
.document-live-total span { display: flex; justify-content: space-between; gap: 24px; color: #cfdbeb; font-size: 11px; }
.document-live-total strong { display: block; padding-top: 7px; border-top: 1px solid rgba(255,255,255,.2); font-size: 16px; }
.credit-source-list { display: grid; gap: 8px; margin-top: 20px; }
.credit-source-list > button { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 15px; border: 1px solid #e1e7ef; border-radius: 14px; background: white; text-align: left; }
.credit-source-list > button:hover { border-color: #aacbea; background: #f4f9ff; }
.credit-source-list b, .credit-source-list small { display: block; }
.credit-source-list small { margin-top: 4px; color: var(--muted); }

.document-modal { width: min(1220px, calc(100% - 24px)); }
.document-modal-copy { padding: 26px; background: #eef3f8; }
.invoice-sheet { max-width: 1020px; margin: 0 auto; padding: 32px; color: var(--ink); background: white; border-radius: 18px; box-shadow: 0 14px 40px rgba(4,49,112,.08); }
.invoice-sheet header { display: flex; justify-content: space-between; gap: 28px; padding-bottom: 20px; border-bottom: 3px solid var(--blue); }
.invoice-brand { display: flex; align-items: flex-start; gap: 16px; }
.invoice-brand img { width: 170px; max-height: 72px; object-fit: contain; object-position: left center; }
.invoice-brand b, .invoice-brand span, .invoice-title span, .invoice-title small { display: block; }
.invoice-brand b { font-size: 13px; }
.invoice-brand span, .invoice-title span, .invoice-title small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.invoice-title { min-width: 190px; text-align: right; }
.invoice-title > span { color: var(--blue); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.invoice-title > b { display: block; margin: 5px 0; font-size: 21px; }
.invoice-warning { margin: 15px 0; padding: 11px 13px; border-radius: 10px; color: #815100; background: #fff4d8; font-size: 11px; }
.invoice-parties { display: grid; grid-template-columns: 1fr 1fr .82fr; gap: 12px; margin: 22px 0; }
.invoice-parties > div { min-width: 0; padding: 14px; border: 1px solid #dce7f2; border-radius: 12px; background: #fbfdff; }
.invoice-parties span, .invoice-notes > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.invoice-parties b { font-size: 12px; }
.invoice-parties p, .invoice-notes p { margin: 6px 0 0; color: #536b87; font-size: 10px; line-height: 1.55; }
.invoice-lines { overflow-x: auto; }
.invoice-lines table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 10px; }
.invoice-lines th { padding: 10px; color: white; background: var(--ink); text-align: left; }
.invoice-lines td { padding: 10px; border-bottom: 1px solid #e7edf4; }
.invoice-bottom { display: grid; grid-template-columns: 1fr 330px; gap: 25px; margin-top: 23px; }
.invoice-totals > div { display: flex; justify-content: space-between; gap: 15px; padding: 6px 0; color: #536b87; font-size: 10px; }
.invoice-totals .grand { margin-top: 3px; padding-top: 9px; border-top: 1px solid #c9d7e6; color: var(--ink); }
.invoice-totals .total { margin-top: 4px; border-top: 2px solid var(--blue); font-size: 15px; }
.invoice-sheet footer { margin-top: 25px; padding-top: 13px; border-top: 1px solid #dfe7f0; color: var(--muted); font-size: 9px; text-align: center; }
.document-actions { max-width: 1020px; margin: 14px auto 0; display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.settings-note { margin-top: 16px; padding: 13px 15px; border-radius: 12px; color: #526b88; background: #edf5fc; font-size: 11px; line-height: 1.55; }

.toast { position: fixed; z-index: 200; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: white; border-radius: 999px; padding: 12px 20px; font-size: 13px; font-weight: 700; opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 70px; text-align: center; }
  .hero-copy p { margin-inline: auto; }
  .hero-actions, .hero-note { justify-content: center; }
  .hero-art { height: 380px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .admin-app { grid-template-columns: 78px 1fr; }
  .admin-nav button span:last-child, .admin-store-link .btn span { display: none; }
  .admin-side .brand { display: none; }
  .admin-nav button { justify-content: center; font-size: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
  .quick-actions { grid-template-columns: repeat(2,1fr); }
  .admin-pack-grid { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
  .settings-wide { grid-column: auto; }
  .erp-action-grid { grid-template-columns: repeat(2,1fr); }
  .billing-form-grid { grid-template-columns: 1fr; }
  .invoice-parties { grid-template-columns: 1fr 1fr; }
  .invoice-parties > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1180px); }
  .header-inner { height: 72px; }
  .site-logo { height: 57px; }
  .header-actions .admin-shortcut { display: none; }
  .hero, .hero-grid { min-height: auto; }
  .hero-grid { padding: 58px 0 30px; gap: 14px; }
  h1 { font-size: 54px; letter-spacing: -2px; }
  .hero-copy p { font-size: 16px; }
  .hero-art { height: 315px; }
  .art-blob { width: 280px; height: 280px; }
  .mascot-stage { width: 315px; height: 300px; }
  .mascot-bear { max-height: 295px; }
  .mascot-speech { right: -1px; top: 30px; padding: 9px 12px; }
  .mascot-speech b { font-size: 15px; }
  .toy-float { width: 60px; height: 60px; font-size: 33px; border-radius: 18px; }
  .benefit-bar { grid-template-columns: 1fr; }
  .benefit { border-right: 0; border-bottom: 1px solid var(--line); }
  .delivery-flight-lane { min-height: 174px; margin-top: 14px; border-radius: 22px; }
  .delivery-route-line { left: 7%; right: 7%; top: 38px; height: 62px; }
  .delivery-flight-anchor { top: 41px; }
  .delivery-flight-anchor.anchor-left { left: 7%; }
  .delivery-flight-anchor.anchor-right { right: 7%; }
  .delivery-map-pin { top: 67px; transform: translateX(-50%) scale(.86); }
  .delivery-flight-copy { left: 18px; bottom: 15px; }
  .delivery-flight-copy strong { font-size: 21px; }
  .delivery-flight-copy small { font-size: 11px; }
  .packs-section { padding: 55px 0; }
  .packs-heading { display: grid; align-items: start; }
  .promo-highlight { min-width: 0; width: 100%; }
  .pack-grid { grid-template-columns: 1fr; }
  .pack-card { grid-template-columns: 1fr; }
  .pack-images { min-height: 225px; }
  .pack-images img { width: 58%; height: 70%; left: 21%; }
  .pack-price { align-items: end; }
  .shop-section { padding: 52px 0 70px; }
  .mascot-dock { left: 14px; bottom: 14px; width: 80px; height: 80px; }
  .mascot-dock img { width: 99px; left: -12px; top: -7px; }
  .mascot-dock-label { left: 68px; top: 13px; }
  .section-head { display: block; }
  .section-head h2 { font-size: 43px; }
  .filters { align-items: center; }
  .search-wrap { order: -1; max-width: none; flex-basis: 100%; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .product-image { height: 170px; }
  .product-body { padding: 13px; }
  .product-body h3 { font-size: 17px; }
  .product-category, .rating { font-size: 10px; }
  .price { font-size: 19px; }
  .add-cart { width: 37px; height: 37px; }
  .story-grid { grid-template-columns: 1fr; padding: 55px 0; }
  .story-art { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .copyright { display: block; }
  .product-modal-grid { grid-template-columns: 1fr; }
  .modal-image { min-height: 270px; max-height: 310px; }
  .modal-copy { padding: 28px 24px 30px; }
  .modal-copy h2 { font-size: 30px; }
  .login-screen { grid-template-columns: 1fr; }
  .login-art { display: none; }
  .admin-app { display: block; }
  .admin-side { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; top: auto; height: 74px; padding: 7px 8px; overflow-x: auto; overflow-y: hidden; }
  .admin-side .brand, .admin-store-link { display: none; }
  .admin-nav { display: flex; gap: 3px; padding: 0; min-width: max-content; }
  .admin-nav button { width: 72px; min-width: 72px; padding: 8px; font-size: 20px; justify-content: center; }
  .admin-top { height: 68px; padding: 0 16px; }
  .admin-top .admin-user span { display: none; }
  .admin-top h1 { font-size: 17px; }
  .admin-kicker { display: none; }
  .logout-btn { width: 34px; height: 34px; }
  .admin-content { padding: 18px 14px 105px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 15px; }
  .stat-value { font-size: 22px; }
  .panel { padding: 15px; overflow-x: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .quick-actions { grid-template-columns: 1fr 1fr; gap: 9px; }
  .quick-actions button { min-height: 122px; padding: 14px; }
  .mini-stats, .mini-stats.three { grid-template-columns: 1fr 1fr; gap: 8px; }
  .admin-toolbar { align-items: stretch; }
  .admin-toolbar .search-wrap { max-width: none; }
  .segmented { width: 100%; }
  .order-filters { flex-basis: 100%; }
  .delivery-timeline span { font-size: 8px; }
  .order-summary-box { grid-template-columns: 1fr 1fr 1fr; }
  .customer-hero { grid-template-columns: auto 1fr; }
  .customer-hero > strong { grid-column: 1 / -1; }
  .admin-pack-card { grid-template-columns: 115px 1fr; }
  .admin-pack-copy { padding: 15px; }
  .product-picker { grid-template-columns: 1fr; }
  .settings-actions { flex-direction: column-reverse; }
  .settings-actions .btn { width: 100%; }
  .erp-tabs button { padding-inline: 11px; }
  .erp-action-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .erp-action-grid > button { min-height: 155px; padding: 15px; }
  .toolbar-actions { width: 100%; }
  .toolbar-actions .btn { flex: 1; }
  .excel-import-grid { grid-template-columns: 1fr; }
  .excel-drop, .excel-help { min-height: 180px; padding: 19px; }
  .import-summary { grid-template-columns: 1fr 1fr; }
  .entry-lines-head { align-items: flex-end; }
  .entry-lines-head .btn { padding-inline: 12px; }
  .inventory-count-head, .inventory-count-row { grid-template-columns: 1fr 65px 100px; padding-inline: 10px; }
  .session-row { grid-template-columns: 1fr auto; gap: 7px 12px; }
  .session-row strong { grid-column: 2; }
  .compliance-alert { align-items: flex-start; }
  .compliance-alert button { align-self: center; }
  .billing-footer-form { grid-template-columns: 1fr; }
  .billing-footer-form .document-live-total { width: 100%; min-width: 0; }
  .document-modal-copy { padding: 16px; }
  .invoice-sheet { padding: 18px; border-radius: 14px; }
  .invoice-sheet header { display: block; }
  .invoice-brand img { width: 135px; }
  .invoice-title { margin-top: 18px; text-align: left; }
  .invoice-parties { grid-template-columns: 1fr; }
  .invoice-parties > div:last-child { grid-column: auto; }
  .invoice-bottom { grid-template-columns: 1fr; }
  .document-actions .btn { flex: 1 1 145px; }
}

@media (max-width: 980px) {
  .header-inner { height: auto; min-height: 76px; flex-wrap: wrap; padding: 6px 0 10px; gap: 8px 18px; }
  .header-inner .main-nav { order: 3; width: 100%; display: flex; justify-content: center; gap: 22px; margin: 0; padding-top: 8px; border-top: 1px solid var(--line); overflow-x: auto; }
  .catalog-taxonomy { grid-template-columns: 1fr 190px; }
  .catalog-taxonomy .search-wrap { grid-column: 1 / -1; }
  .page-hero-grid { grid-template-columns: 1fr 230px; }
  .page-mascot-stage { min-height: 260px; }
  .page-mascot-stage .art-blob { width: 235px; height: 235px; }
  .page-mascot-stage > img { width: 275px; }
  .page-toy { width: 48px; height: 48px; border-radius: 15px; font-size: 24px; }
  .product-detail-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .detail-image, .detail-image > img { min-height: 420px; height: 420px; }
  .about-hero-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-points { grid-template-columns: 1fr; }
  .about-store-stage { min-height: 360px; }
  .about-values-grid { gap: 35px; }
  .account-grid { grid-template-columns: 1fr 390px; gap: 35px; }
  .client-order-grid { grid-template-columns: repeat(2,1fr); }
  .role-card-grid { grid-template-columns: 1fr; }
  .role-card { min-height: auto; }
  .role-card p { min-height: 0; }
}

@media (max-width: 680px) {
  .header-inner .main-nav { justify-content: flex-start; gap: 8px; padding-bottom: 2px; }
  .header-inner .main-nav a { flex: none; padding: 7px 11px; border-radius: 99px; background: #f0f6fc; font-size: 11px; }
  .header-inner .main-nav a.active { color: white; background: var(--blue); }
  .catalog-taxonomy { grid-template-columns: 1fr; padding: 13px; }
  .catalog-taxonomy .search-wrap { grid-column: auto; }
  .page-hero-grid { min-height: auto; grid-template-columns: 1fr; padding: 45px 0; text-align: center; }
  .page-hero h1 { font-size: 50px; }
  .page-hero p { font-size: 15px; }
  .page-hero img { max-height: 190px; }
  .page-mascot-stage { min-height: 225px; width: min(310px,100%); margin-inline: auto; }
  .page-mascot-stage .art-blob { width: 215px; height: 215px; }
  .page-mascot-stage > img { width: 255px; max-height: 230px; }
  .page-toy { width: 44px; height: 44px; font-size: 22px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 25px; padding: 15px; }
  .detail-image, .detail-image > img { min-height: 310px; height: 310px; }
  .detail-copy { padding: 0 5px 15px; }
  .detail-copy h1 { font-size: 45px; }
  .detail-add { width: 100%; }
  .pack-detail-images { min-height: auto; }
  .pack-detail-images > img { height: 150px; }
  .related-products { padding-top: 45px; }
  .about-hero { padding: 50px 0; }
  .about-hero-grid { grid-template-columns: 1fr; }
  .about-hero h1 { font-size: 52px; }
  .about-store-stage { min-height: 300px; margin-top: 10px; }
  .about-store-stage img { width: 118%; }
  .about-store-stage figcaption { right: 0; bottom: -2px; font-size: 10px; }
  .about-video { padding: 55px 0; }
  .about-video-frame, .about-video video { border-radius: 18px; }
  .video-scroll-cue { left: 10px; top: 10px; padding: 7px 10px; font-size: 10px; }
  .about-values { padding: 55px 0; }
  .about-values-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-values h2 { font-size: 40px; }
  .about-value-list article { grid-template-columns: 48px 1fr; padding: 14px; }
  .about-value-list article > span { width: 48px; height: 48px; border-radius: 14px; font-size: 19px; }
  .account-page, .client-portal { padding: 48px 0; }
  .account-grid { grid-template-columns: 1fr; }
  .account-grid > div { text-align: center; }
  .account-grid > div > img { max-height: 180px; margin-inline: auto; }
  .account-login-card { padding: 24px; }
  .account-panel { padding: 25px; }
  .account-panel h1 { font-size: 48px; }
  .client-welcome { display: block; }
  .client-welcome h1 { font-size: 50px; }
  .client-welcome > div:last-child { margin-top: 18px; }
  .client-order-grid { grid-template-columns: 1fr; }
  .role-card-grid { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .mascot-stage { transform: none !important; }
  .mascot-flight { display: none !important; }
}

/* 2026 cloud, discovery, loyalty and operations upgrade */
.lang-switch { min-width: 58px; height: 38px; padding: 0 12px; border: 1px solid #cfe1f6; border-radius: 999px; color: var(--blue); background: #f4f9ff; font: 800 12px "DM Sans", sans-serif; cursor: pointer; }
.lang-switch:hover { color: white; background: var(--blue); }
.hero-art, .page-mascot-stage { perspective: 1100px; transform-style: preserve-3d; }
.mascot-stage { transform-style: preserve-3d; transition: transform .22s cubic-bezier(.2,.8,.2,1); }
.mascot-stage::before, .mascot-stage::after { content: ""; position: absolute; left: 50%; top: 51%; z-index: 0; width: 71%; aspect-ratio: 1; border: 2px solid rgb(255 255 255 / 48%); border-radius: 50%; transform: translate(-50%,-50%) rotateX(70deg) translateZ(-35px); box-shadow: 0 0 45px rgb(21 147 255 / 25%); pointer-events: none; }
.mascot-stage::after { width: 91%; opacity: .45; transform: translate(-50%,-50%) rotateX(73deg) translateZ(-75px); animation: mondo-depth-ring 4.8s linear infinite; }
.rocket-rider-wrap { transform: translate3d(var(--mx,0),var(--my,0),32px); transform-style: preserve-3d; }
.mascot-bear { filter: drop-shadow(0 35px 25px rgb(3 43 105 / 25%)); }
.mascot-flight { transform-style: preserve-3d; }
.mascot-flight::after { content:""; position:absolute; z-index:-1; inset:20% 8% 3%; border-radius:50%; background:radial-gradient(circle,#59b9ff55,transparent 68%); transform:translateZ(-30px); filter:blur(8px); }
@keyframes mondo-depth-ring { to { rotate: 360deg; } }

.gift-finder-strip { position: relative; overflow: hidden; padding: 28px 0 34px; background: #fff; }
.gift-finder-strip .shell { min-height: 240px; position: relative; display: flex; align-items: center; gap: 34px; padding: 34px 260px 34px 40px; border-radius: 32px; color: white; background: linear-gradient(125deg,#052b69,#0758c9 58%,#1593ff); box-shadow: 0 24px 55px rgb(3 43 105 / 18%); }
.gift-finder-strip .shell::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 75% 20%,rgb(255 255 255 / 18%),transparent 28%), repeating-radial-gradient(circle at 90% 90%,transparent 0 24px,rgb(255 255 255 / 5%) 25px 27px); }
.gift-finder-strip .shell > * { position: relative; z-index: 2; }
.gift-finder-strip h2 { margin: 5px 0; font-size: clamp(31px,4vw,49px); line-height: 1; }
.gift-finder-strip p { max-width: 650px; margin: 7px 0 0; color: #d9edff; }
.gift-finder-strip .btn { margin-left: auto; flex: 0 0 auto; color: var(--ink); background: white; }
.mondo-gift-scene { position:absolute !important; z-index:1 !important; right:-56px; bottom:-23px; width:365px; height:270px; pointer-events:none; perspective:900px; transform-style:preserve-3d; }
.mondo-gift-scene::after { content:""; position:absolute; left:15%; right:9%; bottom:10px; height:28px; border-radius:50%; background:rgb(0 20 60 / 30%); filter:blur(17px); animation:gift-shadow 4.2s ease-in-out infinite; }
.mondo-gift-scene img { position:absolute; z-index:2; inset:auto 0 0 auto; width:100%; max-height:100%; object-fit:cover; border-radius:38% 28% 22% 35%; -webkit-mask-image:radial-gradient(ellipse 78% 82% at 55% 54%,#000 62%,transparent 100%); mask-image:radial-gradient(ellipse 78% 82% at 55% 54%,#000 62%,transparent 100%); transform-origin:55% 80%; filter:drop-shadow(0 23px 20px rgb(0 20 60 / 26%)); animation:mondo-gift-float 4.2s cubic-bezier(.4,0,.2,1) infinite; }
.gift-spark { position:absolute; z-index:3; color:#ffd43b; text-shadow:0 0 16px rgb(255 220 65 / 85%); animation:gift-spark 2.4s ease-in-out infinite; }
.gift-spark.spark-one { left:8%; top:20%; font-size:28px; }
.gift-spark.spark-two { left:33%; top:2%; font-size:20px; animation-delay:-.8s; }
.gift-spark.spark-three { right:8%; top:14%; font-size:24px; animation-delay:-1.5s; }
@keyframes mondo-gift-float { 0%,100% { transform:translate3d(0,0,0) rotateY(-4deg) rotateZ(-1deg); } 48% { transform:translate3d(-7px,-14px,24px) rotateY(3deg) rotateZ(1deg); } 62% { transform:translate3d(-3px,-11px,16px) rotateY(1deg) rotateZ(-.4deg); } }
@keyframes gift-shadow { 0%,100% { transform:scaleX(1); opacity:.65; } 50% { transform:scaleX(.86); opacity:.38; } }
@keyframes gift-spark { 0%,100% { transform:scale(.55) rotate(0); opacity:.28; } 50% { transform:scale(1.2) rotate(90deg); opacity:1; } }
.gift-finder-modal { max-width: 980px; }
.gift-finder { max-width: 920px; margin: auto; padding: 34px; }
.gift-finder-head { display: flex; align-items: center; gap: 22px; }
.gift-finder-head img { width: 230px; max-height:170px; object-fit:contain; filter: drop-shadow(0 16px 14px rgb(3 43 105 / 18%)); animation:mondo-gift-modal 3.8s ease-in-out infinite; }
@keyframes mondo-gift-modal { 0%,100% { transform:translateY(0) rotate(-1deg); } 50% { transform:translateY(-7px) rotate(1deg); } }
.gift-finder-head h2 { margin: 5px 0; font-size: 38px; }
.gift-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 22px 0; }
.gift-steps label { display: grid; gap: 8px; padding: 18px; border: 1px solid #dce9f8; border-radius: 20px; background: #f8fbff; }
.gift-steps label > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; color: white; background: var(--blue); font-weight: 900; font-size: 11px; }
.gift-submit { width: 100%; }
.gift-result-title { margin: 28px 0 13px; display: flex; align-items: center; gap: 12px; }
.gift-result-title > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; background: #eaf5ff; font-size: 22px; }
.gift-result-title b,.gift-result-title small { display:block; }
.gift-result-title small { color:var(--muted); }
.gift-result-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }
.gift-result-grid article { position: relative; overflow: hidden; border: 1px solid #dce9f8; border-radius: 20px; background: white; }
.gift-result-grid img { width:100%; height:140px; object-fit:cover; }
.gift-result-grid article > div { display:grid; gap:6px; padding:14px; }
.gift-result-grid small { color:var(--muted); }
.gift-result-grid strong { color:var(--blue); font-family:"Baloo 2"; font-size:20px; }
.gift-rank { position:absolute; z-index:2; left:10px; top:10px; width:30px; height:30px; display:grid; place-items:center; color:white; background:var(--blue); border:3px solid white; border-radius:50%; font-weight:900; }
.gift-no-result { margin-top:20px; padding:22px; border-radius:18px; text-align:center; background:#fff5dd; }

.catalog-smart-filters { width:100%; display:grid; grid-template-columns: repeat(4,minmax(130px,1fr)) minmax(240px,1.5fr); gap:10px; align-items:end; margin-top:14px; }
.catalog-smart-filters label { display:grid; gap:5px; color:var(--muted); font-size:11px; font-weight:800; }
.catalog-smart-filters .field { min-width:0; }
.catalog-smart-filters .search-wrap { max-width:none; margin:0; }
.catalog-smart-filters .stock-only { grid-column: 1/-1; display:flex; align-items:center; gap:8px; width:max-content; padding:8px 12px; border-radius:999px; color:var(--blue); background:#edf6ff; }
.catalog-count { width:100%; display:flex; align-items:center; gap:6px; padding-top:12px; color:var(--muted); font-size:12px; }
.catalog-count button { margin-left:auto; border:0; color:var(--blue); background:transparent; font-weight:800; cursor:pointer; }
.stock-line { margin-top:9px; color:#198754; font-size:11px; font-weight:800; }
.stock-line.low { color:#d77a00; }

.rich-detail { align-items:start; }
.detail-gallery { min-width:0; }
.detail-thumbnails { display:flex; gap:10px; margin-top:12px; overflow:auto; padding-bottom:4px; }
.detail-thumbnails button { flex:0 0 78px; height:70px; padding:3px; overflow:hidden; border:2px solid transparent; border-radius:14px; background:#eef6ff; cursor:pointer; }
.detail-thumbnails button.active { border-color:var(--blue); }
.detail-thumbnails img { width:100%; height:100%; object-fit:cover; border-radius:9px; }
.product-benefit-list { display:grid; gap:8px; margin:18px 0; padding:17px; border:1px solid #dce9f8; border-radius:18px; background:#f8fbff; color:#31537d; font-size:13px; }
.detail-actions { display:flex; gap:9px; align-items:center; flex-wrap:wrap; margin-bottom:12px; }
.detail-actions .detail-add { margin:0; }
.detail-share { width:46px; height:46px; border:1px solid #d4e3f5; border-radius:14px; background:white; color:var(--blue); font-size:20px; cursor:pointer; }
.product-information { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; margin-top:22px; }
.product-information article { display:flex; gap:13px; padding:20px; border:1px solid #dce9f8; border-radius:20px; background:white; }
.product-information article > span { font-size:25px; }
.product-information b { display:block; margin-bottom:5px; }
.product-information p { margin:0; color:var(--muted); font-size:12px; line-height:1.5; }

.checkout-pro { max-height:min(90vh,850px); overflow:auto; }
.checkout-methods { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:17px 0; }
.checkout-methods label { position:relative; }
.checkout-methods input { position:absolute; opacity:0; }
.checkout-methods label > span { min-height:90px; display:grid; grid-template-columns:auto 1fr; align-content:center; column-gap:10px; padding:15px; border:2px solid #dce9f8; border-radius:18px; cursor:pointer; }
.checkout-methods b,.checkout-methods small { display:block; }
.checkout-methods small { grid-column:2; color:var(--muted); }
.checkout-methods input:checked + span { border-color:var(--blue); background:#edf6ff; box-shadow:0 0 0 3px rgb(7 88 201 / 8%); }
.checkout-consent { display:flex!important; flex-direction:row!important; gap:8px; align-items:flex-start; margin:14px 0; font-size:12px; }
.checkout-security { display:block; margin-top:10px; color:var(--muted); text-align:center; }
.is-hidden { display:none!important; }

.loyalty-banner { display:grid; grid-template-columns:125px 1fr minmax(200px,.65fr); gap:22px; align-items:center; margin:20px 0 30px; padding:24px 30px; overflow:hidden; border-radius:28px; color:white; background:linear-gradient(120deg,#052b69,#0758c9 65%,#1593ff); }
.loyalty-banner img { width:145px; margin:-30px 0 -40px -15px; transform:rotate(-8deg); }
.loyalty-banner span,.loyalty-banner b,.loyalty-banner small { display:block; }
.loyalty-banner b { font:800 32px "Baloo 2"; }
.loyalty-banner small { color:#d7ecff; }
.loyalty-progress i { display:block; height:9px; margin-bottom:8px; border-radius:99px; background:linear-gradient(90deg,#fff,#79ccff); }
.client-account-tabs { display:grid; gap:30px; }
.account-section-head h2 { margin:4px 0 14px; }
.account-favorites { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.account-favorites a { display:flex; gap:10px; align-items:center; padding:10px; border:1px solid #dce9f8; border-radius:16px; color:var(--ink); background:white; }
.account-favorites img { width:62px; height:62px; object-fit:cover; border-radius:12px; }
.account-favorites b,.account-favorites small { display:block; }
.account-favorites small { color:var(--blue); margin-top:3px; }
.account-settings-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.account-card { padding:24px; border:1px solid #dce9f8; border-radius:24px; background:white; }
.account-card h2 { margin:5px 0 10px; }
.account-card p { color:var(--muted); line-height:1.55; }
.account-card .field { width:100%; margin:6px 0; }
.saved-addresses { display:grid; gap:8px; margin:12px 0; }
.saved-addresses > div { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px; border-radius:13px; background:#f4f9ff; }
.saved-addresses b,.saved-addresses small { display:block; }
.saved-addresses small { color:var(--muted); }
.saved-addresses button { border:0; color:#c53030; background:transparent; font-size:20px; cursor:pointer; }

.cloud-status { display:inline-flex; margin-left:9px; padding:4px 7px; border-radius:999px; color:#147a47; background:#e2f8ec; font-style:normal; font-size:9px; letter-spacing:.04em; }
.cloud-status.error { color:#9d3d00; background:#fff0df; }
.security-note { margin:0 0 15px; padding:13px 16px; border:1px solid #cfe3fa; border-radius:14px; color:#31537d; background:#eff7ff; font-size:12px; }
.barcode-modal form { display:grid; grid-template-columns:1fr auto; gap:8px; margin:18px 0 10px; }
.barcode-capture { font:700 20px ui-monospace,monospace; letter-spacing:.08em; }
.camera-scan { width:100%; }
#barcodeVideo { display:none; width:100%; max-height:320px; margin-top:14px; object-fit:cover; border-radius:18px; background:#061b36; }
#barcodeVideo.active { display:block; }
#barcodeStatus { margin-top:10px; color:var(--muted); font-size:12px; text-align:center; }

.supplier-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.supplier-card { padding:20px; border:1px solid #dce9f8; border-radius:22px; background:white; box-shadow:0 10px 25px rgb(3 43 105 / 5%); }
.supplier-card > div:first-child,.supplier-card footer { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.supplier-mark { width:44px; height:44px; display:grid; place-items:center; border-radius:14px; color:white; background:var(--blue); font:800 15px "Baloo 2"; }
.supplier-card h2 { margin:15px 0 7px; }
.supplier-card p { min-height:44px; color:var(--muted); line-height:1.55; }
.supplier-card > small { display:block; color:#7890af; }
.supplier-card footer { margin-top:17px; padding-top:14px; border-top:1px solid #edf2f8; }
.supplier-card footer b,.supplier-card footer small { display:block; }
.report-actions { display:flex; justify-content:flex-end; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
.report-grid { margin-top:18px; align-items:start; }
.report-bars { display:grid; gap:13px; }
.report-bars > div { display:grid; grid-template-columns:150px 1fr; align-items:center; gap:12px; }
.report-bars span,.report-bars small { display:block; }
.report-bars small { color:var(--muted); }
.report-bars i { height:10px; overflow:hidden; border-radius:99px; background:#eaf1f9; }
.report-bars i b { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--blue),#45b8ff); }
.report-alert,.birthday-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px solid #edf2f8; }
.report-alert span,.report-alert small,.birthday-row b,.birthday-row small { display:block; }
.report-alert small,.birthday-row small { color:var(--muted); }
.report-alert strong { color:#b96900; }
.birthday-row > span { font-size:22px; }
.birthday-row > div { flex:1; }
.birthday-row > strong { color:var(--blue); }
.finance-summary { display:grid; gap:5px; }
.finance-summary > div { display:flex; justify-content:space-between; gap:15px; padding:12px; border-radius:12px; background:#f7faff; }

.rtl { font-family:Tahoma,"Segoe UI",Arial,sans-serif; text-align:right; }
.rtl button,.rtl input,.rtl select,.rtl textarea { font-family:inherit; }
.rtl input,.rtl select,.rtl textarea { direction:rtl; text-align:right; }
.rtl .header-inner,.rtl .hero-actions,.rtl .benefit,.rtl .section-head,.rtl .panel-head,.rtl .admin-toolbar,.rtl .client-welcome,.rtl .footer-grid,.rtl .page-hero-grid,.rtl .story-grid,.rtl .about-hero-grid,.rtl .product-detail-grid,.rtl .gift-finder-head,.rtl .checkout-form,.rtl .account-grid { direction:rtl; }
.rtl .mascot-flight,.rtl .mascot-dock { direction:ltr; }
.rtl .main-nav,.rtl .header-actions { flex-direction:row-reverse; }
.rtl .main-nav { margin-left:0; margin-right:20px; }
.rtl .header-actions { margin-left:0; margin-right:auto; }
.rtl .hero-copy,.rtl .page-hero-grid > div,.rtl .detail-copy,.rtl .about-hero-grid > div,.rtl .account-card,.rtl .gift-finder { text-align:right; }
.rtl .product-card,.rtl .pack-card,.rtl .cart-item,.rtl .gift-steps label,.rtl .gift-result-grid article { direction:rtl; text-align:right; }
.rtl .footer,.rtl .copyright,.rtl .drawer,.rtl .modal-copy { direction:rtl; }
.rtl .detail-share,.rtl .close { margin-left:0; }
.rtl .mondo-gift-scene { right:auto; left:-56px; transform:scaleX(-1); }
.rtl .gift-finder-strip .shell { padding:34px 40px 34px 260px; }
.rtl .gift-finder-strip .btn { margin-left:0; margin-right:auto; }
.rtl .search-wrap span { left:auto; right:16px; }
.rtl .search-wrap input { padding-left:18px; padding-right:42px; }
.rtl .admin-kicker .cloud-status { margin-left:0; margin-right:9px; }
.rtl .breadcrumbs,.rtl .detail-actions,.rtl .catalog-smart-filters,.rtl .checkout-methods,.rtl .account-settings-grid { direction:rtl; }
.rtl .qty,.rtl .rating,.rtl .detail-price,.rtl .cart-count,.rtl .invoice-sheet { direction:ltr; }

@media (max-width: 980px) {
  .catalog-smart-filters { grid-template-columns:repeat(2,1fr); }
  .catalog-smart-filters .search-wrap { grid-column:1/-1; }
  .gift-finder-strip .shell { padding-right:210px; }
  .mondo-gift-scene { width:310px; height:235px; right:-45px; }
  .product-information,.supplier-grid { grid-template-columns:1fr 1fr; }
  .account-favorites { grid-template-columns:1fr 1fr; }
  .loyalty-banner { grid-template-columns:100px 1fr; }
  .loyalty-progress { grid-column:1/-1; }
}
@media (max-width: 680px) {
  .lang-switch { min-width:48px; padding:0 8px; }
  .gift-finder-strip .shell { display:block; padding:28px 24px 190px; text-align:center; }
  .gift-finder-strip .btn { margin:18px auto 0; }
  .mondo-gift-scene { right:50%; bottom:-42px; width:285px; height:215px; transform:translateX(50%); }
  .gift-steps,.gift-result-grid,.product-information,.account-settings-grid,.supplier-grid { grid-template-columns:1fr; }
  .gift-finder-head { display:block; text-align:center; }
  .gift-finder-head img { width:210px; margin:auto; }
  .catalog-smart-filters { grid-template-columns:1fr; }
  .catalog-smart-filters .search-wrap,.catalog-smart-filters .stock-only { grid-column:auto; }
  .checkout-methods { grid-template-columns:1fr; }
  .loyalty-banner { display:block; text-align:center; }
  .loyalty-banner img { margin:-38px auto -15px; }
  .account-favorites { grid-template-columns:1fr; }
  .report-bars > div { grid-template-columns:110px 1fr; }
  .rtl .gift-finder-strip .shell { padding:28px 24px 190px; }
  .rtl .mondo-gift-scene { left:50%; right:auto; transform:translateX(-50%) scaleX(-1); }
}

@media (prefers-reduced-motion: reduce) {
  .mondo-gift-scene img, .mondo-gift-scene::after, .gift-spark, .gift-finder-head img { animation:none !important; }
}

/* Classification controls share the existing catalogue panel without overflow. */
.catalog-taxonomy{grid-template-columns:minmax(0,1fr)}.catalog-smart-filters{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));min-width:0}.catalog-smart-filters label{min-width:0}.catalog-smart-filters .search-wrap{grid-column:1/-1}.catalog-smart-filters .stock-only{grid-column:auto}@media(max-width:640px){.catalog-smart-filters{grid-template-columns:minmax(0,1fr)}}

.detail-meta .availability-unknown { background: #fff4d6; color: #805400; }
.product-image { display: block; }

.stock-line.availability-unknown { color: #805400; }
