/* =========================================================
   VivaModa — thème YouCan (RTL natif, mobile-first)
   Mode femme marocaine. Dégradé bleu → violet, fond clair, animations légères.
   ========================================================= */

:root {
  --vm-grad: linear-gradient(135deg, var(--vm-g1), var(--vm-g2));
  --vm-grad-soft: linear-gradient(135deg, color-mix(in srgb, var(--vm-g1) 10%, #fff), color-mix(in srgb, var(--vm-g2) 12%, #fff));
  --vm-tint: color-mix(in srgb, var(--vm-g2) 8%, #fff);
  --vm-wrap: 1280px;
  --vm-gutter: 16px;
  --vm-header-h: 64px;
  --vm-promo-h: 36px;
  --vm-shadow-sm: 0 2px 8px -2px rgba(17, 24, 39, .08);
  --vm-shadow: 0 18px 40px -18px rgba(49, 46, 129, .35);
  --vm-ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.vm-body {
  margin: 0;
  font-family: var(--vm-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--vm-text);
  background: var(--vm-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.has-sticky { padding-bottom: 84px; }
body.vm-lock { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.3; font-family: var(--vm-font-head); font-weight: 600; }
p { margin: 0; }
[hidden] { display: none !important; }

.vm-wrap { width: 100%; max-width: var(--vm-wrap); margin-inline: auto; padding-inline: var(--vm-gutter); }
.vm-center { text-align: center; margin-top: 32px; }
.vm-ico { width: 22px; height: 22px; flex: none; }
.vm-flip { transform: scaleX(-1); }
.vm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.vm-skip { position: absolute; inset-inline-start: -999px; top: 0; z-index: 200; background: var(--vm-text); color: #fff; padding: 8px 14px; }
.vm-skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 2px solid var(--vm-g2); outline-offset: 2px; }

.vm-grad-text { background: var(--vm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Boutons ---------- */
.vm-btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 28px;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--vm-ease), box-shadow .25s var(--vm-ease), background-color .2s, color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.vm-btn:active { transform: scale(.97); }
.vm-btn--block { width: 100%; }
.vm-btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.vm-btn--grad { background: var(--vm-grad); color: #fff; box-shadow: 0 10px 24px -12px var(--vm-g2); }
.vm-btn--grad:hover { box-shadow: 0 16px 32px -12px var(--vm-g2); transform: translateY(-1px); }
.vm-btn--grad::after { /* reflet qui traverse le bouton */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--vm-ease);
}
.vm-btn--grad:hover::after { transform: translateX(120%); }
.vm-btn--white { background: #fff; color: var(--vm-text); box-shadow: var(--vm-shadow-sm); }
.vm-btn--white:hover { transform: translateY(-1px); box-shadow: var(--vm-shadow); }
.vm-btn--ghost { background: transparent; border-color: var(--vm-line); color: var(--vm-text); }
.vm-btn--ghost:hover { border-color: var(--vm-g2); color: var(--vm-g2); }
.vm-btn--glass { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.45); color: #fff; backdrop-filter: blur(6px); }
.vm-btn--glass:hover { background: rgba(255,255,255,.28); }
.vm-btn--wa { background: #22C55E; color: #fff; }
.vm-btn--wa:hover { background: #16A34A; }
.vm-btn--cta { flex-direction: column; gap: 0; min-height: 58px; font-size: 18px; border-radius: 16px; animation: vm-pulse 2.8s ease-in-out infinite; }
.vm-btn--cta:disabled { opacity: .55; cursor: not-allowed; animation: none; }
.vm-btn__sub { font-weight: 500; font-size: 12px; opacity: .9; }
@keyframes vm-pulse { 0%, 100% { box-shadow: 0 10px 24px -12px var(--vm-g2); } 50% { box-shadow: 0 12px 34px -6px var(--vm-g2); } }

.vm-spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: vm-spin .7s linear infinite; }
@keyframes vm-spin { to { transform: rotate(360deg); } }

/* ---------- Titres de section ---------- */
.vm-section { padding-block: 48px; }
.vm-head { text-align: center; margin-bottom: 28px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.vm-head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; text-align: start; }
.vm-head__kicker { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--vm-tint); color: var(--vm-g2); font-size: 13px; font-weight: 700; }
.vm-head__title { font-size: 26px; }
.vm-head__title::after { content: ''; display: block; width: 44px; height: 3px; margin: 10px auto 0; border-radius: 3px; background: var(--vm-grad); }
.vm-head--row .vm-head__title::after { margin-inline: 0; }
.vm-head__sub { color: var(--vm-muted); max-width: 560px; }
.vm-link { display: inline-flex; align-items: center; gap: 6px; color: var(--vm-g2); font-weight: 700; text-decoration: none; white-space: nowrap; }
.vm-link .vm-ico { width: 18px; height: 18px; transition: transform .2s; }
.vm-link:hover .vm-ico { transform: translateX(-4px); }
@media (min-width: 990px) {
  .vm-section { padding-block: 72px; }
  .vm-head__title { font-size: 34px; }
}

/* ---------- Apparition au scroll ---------- */
.js .vm-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--vm-ease), transform .7s var(--vm-ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .vm-reveal.is-in { opacity: 1; transform: none; }
.vm-no-anim .vm-reveal { opacity: 1 !important; transform: none !important; }

/* ---------- Toast ---------- */
.vm-toast { position: fixed; z-index: 300; inset-inline: 16px; bottom: 24px; margin-inline: auto; max-width: 420px; padding: 14px 18px; border-radius: 14px; background: var(--vm-text); color: #fff; font-weight: 500; text-align: center; box-shadow: var(--vm-shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s; }
.vm-toast.is-visible { opacity: 1; transform: none; }
.vm-toast.error { background: #B91C1C; }
.vm-toast.success { background: #15803D; }

/* ---------- Barre promo ---------- */
.vm-promo { background: var(--vm-grad); background-size: 200% 100%; color: #fff; font-size: 13px; font-weight: 500; text-align: center; animation: vm-grad-move 12s ease infinite; }
@keyframes vm-grad-move { 0%, 100% { background-position: 0 50%; } 50% { background-position: 100% 50%; } }
.vm-promo__track { position: relative; height: var(--vm-promo-h); overflow: hidden; }
.vm-promo__item { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-inline: 12px; opacity: 0; transform: translateY(100%); transition: opacity .5s var(--vm-ease), transform .5s var(--vm-ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vm-promo__item.is-active { opacity: 1; transform: none; }
.vm-promo__item.is-out { opacity: 0; transform: translateY(-100%); }
.vm-promo__item a { text-decoration: none; }

/* ---------- Header ---------- */
.vm-header { position: relative; z-index: 60; background: rgba(255,255,255,.88); border-bottom: 1px solid color-mix(in srgb, var(--vm-line) 70%, transparent); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); transition: box-shadow .3s; }
.vm-header.is-sticky { position: sticky; top: 0; }
.vm-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(17,24,39,.25); }
.vm-header__inner { height: var(--vm-header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.vm-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; text-decoration: none; cursor: pointer; background: none; border: 0; position: relative; transition: background-color .2s; }
.vm-iconbtn:hover { background: var(--vm-tint); }
.vm-header__actions { display: flex; justify-content: flex-end; gap: 2px; }
.vm-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--vm-text); }
.vm-logo img { width: var(--logo-w, 46px); height: auto; transition: transform .4s var(--vm-ease); }
.vm-logo:hover img { transform: rotate(-8deg) scale(1.04); }
.vm-logo__name { font-family: var(--vm-font-head); font-weight: 700; font-size: 20px; letter-spacing: .02em; }
.vm-cart__count { position: absolute; top: 3px; inset-inline-end: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--vm-grad); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; border: 2px solid #fff; }
.vm-cart__count.is-empty { display: none; }
.vm-cart__count.is-bump { animation: vm-bump .5s var(--vm-ease); }
@keyframes vm-bump { 40% { transform: scale(1.35); } }

.vm-nav-desktop { display: none; }
.vm-hide-mobile { display: none; }

/* Menu mobile : panneau qui glisse depuis la droite */
.vm-menu { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.vm-menu.is-open { visibility: visible; }
.vm-menu__overlay { position: absolute; inset: 0; background: rgba(17,24,39,.45); opacity: 0; transition: opacity .35s; }
.vm-menu.is-open .vm-menu__overlay { opacity: 1; }
.vm-menu__panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(86vw, 360px); background: var(--vm-surface); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s var(--vm-ease); box-shadow: var(--vm-shadow); }
.vm-menu.is-open .vm-menu__panel { transform: none; }
.vm-menu__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--vm-line); }
.vm-menu__head img { width: 42px; }
.vm-menu__links { padding: 8px 16px; overflow-y: auto; flex: 1; }
.vm-menu__links a { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--vm-line); font-size: 17px; font-weight: 500; text-decoration: none; opacity: 0; transform: translateX(16px); transition: opacity .4s, transform .4s var(--vm-ease); transition-delay: calc(var(--i, 0) * 50ms + 120ms); }
.vm-menu.is-open .vm-menu__links a { opacity: 1; transform: none; }
.vm-menu__links a .vm-ico { width: 18px; height: 18px; color: var(--vm-g2); }
.vm-menu__foot { padding: 16px; }

@media (min-width: 990px) {
  :root { --vm-header-h: 76px; --vm-gutter: 32px; }
  .vm-menu-btn { display: none; }
  .vm-hide-mobile { display: inline-grid; }
  .vm-header__inner { grid-template-columns: auto 1fr auto; gap: 40px; }
  .vm-logo img { width: var(--logo-w-d, 54px); }
  .vm-nav-desktop { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
  .vm-nav-desktop a { position: relative; text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 999px; transition: background-color .2s, color .2s; }
  .vm-nav-desktop a:hover, .vm-nav-desktop a[aria-current] { background: var(--vm-tint); color: var(--vm-g2); }
}

/* ---------- Slider (hero) ---------- */
.vm-hero { position: relative; overflow: hidden; background: var(--vm-text); }
.vm-hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.vm-hero__track::-webkit-scrollbar { display: none; }
.vm-hero__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; height: var(--hero-h-m, 78svh); min-height: 460px; max-height: 760px; overflow: hidden; display: flex; align-items: flex-end; }
.vm-hero__bg { position: absolute; inset: 0; }
.vm-hero__bg--violet { background: radial-gradient(circle at 80% 15%, #A78BFA 0, transparent 45%), radial-gradient(circle at 10% 90%, #312E81 0, transparent 55%), linear-gradient(135deg, var(--vm-g1), var(--vm-g2)); }
.vm-hero__bg--rose { background: radial-gradient(circle at 15% 20%, #F9A8D4 0, transparent 45%), radial-gradient(circle at 90% 85%, #6D28D9 0, transparent 50%), linear-gradient(135deg, #DB2777, var(--vm-g2)); }
.vm-hero__bg--night { background: radial-gradient(circle at 75% 25%, color-mix(in srgb, var(--vm-g2) 70%, transparent) 0, transparent 50%), radial-gradient(circle at 20% 80%, color-mix(in srgb, var(--vm-g1) 60%, transparent) 0, transparent 50%), #0F0B2E; }
.vm-hero__bg--sand { background: radial-gradient(circle at 80% 20%, #FDE68A 0, transparent 40%), radial-gradient(circle at 10% 90%, var(--vm-g2) 0, transparent 55%), linear-gradient(135deg, #F59E0B, #DB2777); }
.vm-hero__blob { position: absolute; border-radius: 50%; filter: blur(2px); background: rgba(255,255,255,.12); animation: vm-float 9s ease-in-out infinite; }
.vm-hero__blob--1 { width: 46vmin; height: 46vmin; top: -10%; inset-inline-end: -12%; }
.vm-hero__blob--2 { width: 24vmin; height: 24vmin; bottom: 18%; inset-inline-start: 6%; animation-delay: -3s; background: rgba(255,255,255,.08); }
.vm-hero__ring { position: absolute; width: 60vmin; height: 60vmin; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); top: 12%; inset-inline-start: 50%; transform: translateX(50%); animation: vm-spin 60s linear infinite; }
.vm-hero__ring::before { content: ''; position: absolute; top: -6px; inset-inline-start: 50%; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 20px #fff; }
@keyframes vm-float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-18px) scale(1.04); } }
.vm-hero__mono { position: absolute; top: 50%; inset-inline-end: 6%; transform: translateY(-62%); font-family: 'Times New Roman', serif; font-size: 34vmin; line-height: 1; letter-spacing: -.04em; color: rgba(255,255,255,.09); user-select: none; pointer-events: none; }
.vm-hero__media { position: absolute; inset: 0; }
.vm-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.vm-hero__slide.is-active .vm-hero__media img { transform: scale(1); }
.vm-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,11,46,var(--hero-overlay, .55)) 0%, rgba(15,11,46,calc(var(--hero-overlay, .55) * .4)) 45%, transparent 75%); }
.vm-hero__content { position: relative; z-index: 2; width: 100%; padding: 0 20px 76px; color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.vm-hero__slide--center .vm-hero__content { align-items: center; text-align: center; }
.vm-hero__kicker { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); font-size: 13px; font-weight: 700; }
.vm-hero__title { font-size: var(--hero-title-m, 34px); line-height: 1.2; max-width: 16ch; text-wrap: balance; }
.vm-hero__text { font-size: 16px; opacity: .92; max-width: 46ch; }
.vm-hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
/* Animation du texte à l'arrivée de la slide */
.js .vm-hero__content > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--vm-ease), transform .6s var(--vm-ease); }
.js .vm-hero__slide.is-active .vm-hero__content > * { opacity: 1; transform: none; }
.js .vm-hero__slide.is-active .vm-hero__content > :nth-child(2) { transition-delay: .12s; }
.js .vm-hero__slide.is-active .vm-hero__content > :nth-child(3) { transition-delay: .24s; }
.js .vm-hero__slide.is-active .vm-hero__content > :nth-child(4) { transition-delay: .36s; }
.vm-hero__nav { position: absolute; z-index: 3; bottom: 24px; inset-inline: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; pointer-events: none; }
.vm-hero__dots { display: flex; gap: 8px; pointer-events: auto; }
.vm-hero__dot { position: relative; width: 28px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.35); cursor: pointer; overflow: hidden; }
.vm-hero__dot::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: right; }
.vm-hero__dot.is-active { width: 48px; }
.vm-hero__dot.is-active::after { animation: vm-progress var(--hero-delay, 5s) linear forwards; }
.vm-hero.is-paused .vm-hero__dot.is-active::after, .vm-no-anim .vm-hero__dot.is-active::after { animation: none; transform: none; }
@keyframes vm-progress { to { transform: scaleX(1); } }
.vm-hero__arrows { display: none; gap: 8px; pointer-events: auto; }
.vm-hero__arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; backdrop-filter: blur(6px); transition: background-color .2s; }
.vm-hero__arrow:hover { background: rgba(255,255,255,.28); }
@media (min-width: 750px) {
  .vm-hero__slide { height: var(--hero-h-d, 86vh); }
  .vm-hero__content { padding: 0 6vw 96px; }
  .vm-hero__title { font-size: var(--hero-title-d, 56px); }
  .vm-hero__text { font-size: 18px; }
  .vm-hero__nav { inset-inline: 6vw; bottom: 36px; }
  .vm-hero__arrows { display: flex; }
}

/* ---------- Bandeau confiance ---------- */
.vm-trust { background: var(--vm-surface); border-bottom: 1px solid var(--vm-line); }
.vm-trust__list { list-style: none; margin: 0 auto; padding-block: 18px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(78%, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.vm-trust__list::-webkit-scrollbar { display: none; }
.vm-trust__item { scroll-snap-align: start; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--vm-radius); background: var(--vm-bg); border: 1px solid var(--vm-line); }
.vm-trust__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--vm-grad); color: #fff; flex: none; box-shadow: 0 8px 18px -10px var(--vm-g2); }
.vm-trust__txt { display: flex; flex-direction: column; line-height: 1.35; }
.vm-trust__txt strong { font-size: 15px; }
.vm-trust__txt small { color: var(--vm-muted); font-size: 13px; }
@media (min-width: 750px) {
  .vm-trust__list { grid-auto-flow: row; grid-template-columns: repeat(var(--trust-cols, 3), 1fr); overflow: visible; padding-block: 24px; gap: 20px; }
  .vm-trust__item { background: transparent; border: 0; justify-content: center; }
}

/* ---------- Catégories ---------- */
.vm-cats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.vm-cat { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: calc(var(--vm-radius) + 6px); overflow: hidden; text-decoration: none; color: #fff; background: var(--vm-grad); isolation: isolate; box-shadow: var(--vm-shadow-sm); }
.vm-cat--hero { grid-column: span 2; aspect-ratio: 16 / 10; }
.vm-cat__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .9s var(--vm-ease); }
.vm-cat:hover .vm-cat__img { transform: scale(1.07); }
.vm-cat__ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--vm-font-head); font-size: 72px; color: rgba(255,255,255,.22); }
.vm-cat::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(17,12,46,.78) 0%, rgba(17,12,46,.15) 50%, transparent 70%); transition: opacity .3s; }
.vm-cat__body { position: absolute; z-index: 2; inset-inline: 14px; bottom: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.vm-cat__name { font-family: var(--vm-font-head); font-size: 20px; line-height: 1.2; }
.vm-cat__count { display: block; font-size: 12px; opacity: .85; margin-top: 2px; }
.vm-cat__go { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); flex: none; transition: background-color .3s, transform .3s var(--vm-ease); }
.vm-cat__go .vm-ico { width: 18px; height: 18px; }
.vm-cat:hover .vm-cat__go { background: #fff; color: var(--vm-g2); transform: translateX(-4px); }
@media (min-width: 750px) {
  .vm-cats__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .vm-cat--hero { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .vm-cat__name { font-size: 24px; }
  .vm-cat--hero .vm-cat__name { font-size: 32px; }
  .vm-cat__body { inset-inline: 20px; bottom: 20px; }
}

/* ---------- Grille produits + carte ---------- */
.vm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
@media (min-width: 750px) { .vm-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; } }
@media (min-width: 990px) { .vm-grid { grid-template-columns: repeat(var(--cols-d, 4), 1fr); } }

.vm-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.vm-card__media { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--vm-radius); overflow: hidden; background: var(--vm-grad-soft); }
.vm-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--vm-ease), opacity .5s; }
.vm-card__img--alt { opacity: 0; }
@media (hover: hover) {
  .vm-card:hover .vm-card__img { transform: scale(1.05); }
  .vm-card:hover .vm-card__img--alt { opacity: 1; }
}
.vm-card__badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.vm-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--vm-grad); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.4; box-shadow: 0 6px 14px -8px var(--vm-g2); }
.vm-badge--light { background: rgba(255,255,255,.92); color: var(--vm-text); box-shadow: var(--vm-shadow-sm); }
.vm-badge--sale { background: var(--vm-sale); }
.vm-card__quick { position: absolute; z-index: 2; inset-inline: 10px; bottom: 10px; }
.vm-card__quick .vm-btn { width: 100%; min-height: 42px; font-size: 14px; }
@media (hover: hover) {
  .vm-card__quick { opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .35s var(--vm-ease); }
  .vm-card:hover .vm-card__quick { opacity: 1; transform: none; }
}
@media (hover: none) { .vm-card__quick { display: none; } }
.vm-card__body { padding: 10px 2px 0; display: flex; flex-direction: column; gap: 4px; }
.vm-card__title { font-family: var(--vm-font-body); font-size: 15px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vm-card__title a { text-decoration: none; }
.vm-card__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.vm-dots { display: flex; gap: 4px; align-items: center; }
.vm-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(17,24,39,.15); box-shadow: inset 0 0 0 1.5px #fff; }
.vm-dots__more { font-size: 12px; color: var(--vm-muted); margin-inline-start: 2px; }

.vm-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.vm-price__now { font-weight: 800; font-size: 16px; color: var(--vm-text); }
.vm-price__was { color: var(--vm-muted); font-size: 13px; }
.vm-price__save { padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--vm-sale) 12%, #fff); color: var(--vm-sale); font-size: 12px; font-weight: 700; }
.vm-price--lg .vm-price__now { font-size: 26px; background: var(--vm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vm-price--lg .vm-price__was { font-size: 16px; }

/* Placeholder visuel quand la boutique n'a pas encore de produits */
.vm-ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.75); background: var(--vm-grad); font-family: var(--vm-font-head); font-size: 40px; }
.vm-ph--soft { background: var(--vm-grad-soft); color: color-mix(in srgb, var(--vm-g2) 40%, #fff); }

/* Carrousel horizontal (mobile) pour les grilles « défilement » */
.vm-grid--scroll { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; margin-inline: calc(var(--vm-gutter) * -1); padding-inline: var(--vm-gutter); }
.vm-grid--scroll::-webkit-scrollbar { display: none; }
.vm-grid--scroll > * { scroll-snap-align: start; }
@media (min-width: 750px) { .vm-grid--scroll { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding-inline: 0; } }
@media (min-width: 990px) { .vm-grid--scroll { grid-template-columns: repeat(var(--cols-d, 4), 1fr); } }

/* ---------- Pourquoi VivaModa ---------- */
.vm-why__box { position: relative; overflow: hidden; border-radius: calc(var(--vm-radius) + 10px); background: var(--vm-grad); color: #fff; padding: 36px 20px; isolation: isolate; }
.vm-why__box::before, .vm-why__box::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; background: rgba(255,255,255,.1); }
.vm-why__box::before { width: 340px; height: 340px; top: -140px; inset-inline-start: -100px; animation: vm-float 10s ease-in-out infinite; }
.vm-why__box::after { width: 220px; height: 220px; bottom: -90px; inset-inline-end: -60px; animation: vm-float 12s ease-in-out infinite reverse; }
.vm-why__top { display: grid; gap: 24px; align-items: center; }
.vm-why__kicker { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.18); font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.vm-why__title { font-size: 28px; margin-bottom: 10px; }
.vm-why__text { opacity: .92; }
.vm-why__text p + p { margin-top: 8px; }
.vm-why__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vm-stat { padding: 14px 8px; border-radius: 16px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); text-align: center; backdrop-filter: blur(4px); }
.vm-stat strong { display: block; font-family: var(--vm-font-head); font-size: 26px; line-height: 1.1; }
.vm-stat span { font-size: 12px; opacity: .9; }
.vm-why__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.vm-why__item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.95); color: var(--vm-text); transition: transform .35s var(--vm-ease), box-shadow .35s; }
.vm-why__item:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(0,0,0,.5); }
.vm-why__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--vm-tint); color: var(--vm-g2); flex: none; }
.vm-why__item h3 { font-family: var(--vm-font-body); font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.vm-why__item p { color: var(--vm-muted); font-size: 14px; }
@media (min-width: 990px) {
  .vm-why__box { padding: 56px; }
  .vm-why__top { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .vm-why__title { font-size: 40px; }
  .vm-why__list { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
  .vm-why__item { flex-direction: column; }
}

/* ---------- Avis clientes ---------- */
.vm-reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--vm-gutter) 14px; margin-inline: calc(var(--vm-gutter) * -1); }
.vm-reviews__track::-webkit-scrollbar { display: none; }
.vm-review { scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: calc(var(--vm-radius) + 4px); background: var(--vm-surface); border: 1px solid var(--vm-line); box-shadow: var(--vm-shadow-sm); transition: transform .35s var(--vm-ease), box-shadow .35s; }
.vm-review:hover { transform: translateY(-4px); box-shadow: var(--vm-shadow); }
.vm-stars { display: flex; gap: 2px; color: #F59E0B; }
.vm-stars .vm-ico { width: 18px; height: 18px; }
.vm-stars .is-off { color: var(--vm-line); }
.vm-review__text { font-size: 15px; flex: 1; }
.vm-review__who { display: flex; align-items: center; gap: 10px; }
.vm-review__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--vm-grad); color: #fff; font-weight: 800; flex: none; }
.vm-review__who strong { display: block; font-size: 15px; }
.vm-review__who small { color: var(--vm-muted); font-size: 13px; }
.vm-review__product { font-size: 12px; color: var(--vm-g2); font-weight: 700; }
@media (min-width: 750px) { .vm-reviews__track { grid-auto-columns: calc((100% - 28px) / 3); margin-inline: 0; padding-inline: 0; } }

/* ---------- Footer ---------- */
.vm-footer { background: var(--vm-dark); color: #D1D5DB; margin-top: 24px; position: relative; }
.vm-footer::before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 4px; background: var(--vm-grad); }
.vm-footer__grid { display: grid; gap: 32px; padding-block: 48px 32px; }
.vm-footer__brand img { width: 72px; margin-bottom: 14px; }
.vm-footer__brand p { font-size: 14px; max-width: 34ch; }
.vm-footer h3 { font-family: var(--vm-font-body); font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.vm-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.vm-footer a { text-decoration: none; transition: color .2s; }
.vm-footer a:hover { color: #fff; }
.vm-footer__contact li { display: flex; gap: 8px; align-items: center; }
.vm-footer__contact .vm-ico { width: 18px; height: 18px; color: #A5B4FC; }
.vm-social { display: flex; gap: 8px; margin-top: 18px; }
.vm-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); transition: background .25s, transform .25s var(--vm-ease); }
.vm-social a:hover { background: var(--vm-grad); color: #fff; transform: translateY(-3px); }
.vm-social .vm-ico { width: 18px; height: 18px; }
.vm-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 18px; font-size: 13px; }
.vm-footer__bottom .vm-wrap { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.vm-footer__cod { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; }
.vm-footer__cod .vm-ico { width: 18px; height: 18px; }
@media (min-width: 750px) { .vm-footer__grid { grid-template-columns: 1.5fr repeat(var(--foot-cols, 2), 1fr); padding-block: 64px 40px; } }

/* ---------- Bouton WhatsApp flottant ---------- */
.vm-wa-float { position: fixed; z-index: 70; bottom: 20px; inset-inline-end: 16px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #22C55E; color: #fff; box-shadow: 0 12px 26px -10px rgba(22,163,74,.8); transition: transform .25s var(--vm-ease), bottom .3s; }
.vm-wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #22C55E; animation: vm-ping 2.4s ease-out infinite; }
.vm-wa-float:hover { transform: scale(1.06); }
.vm-wa-float .vm-ico { width: 28px; height: 28px; }
@keyframes vm-ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
body.has-sticky .vm-wa-float { bottom: 96px; }

/* ---------- Tiroir panier ---------- */
.vm-drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.vm-drawer.is-open { visibility: visible; }
.vm-drawer__overlay { position: absolute; inset: 0; background: rgba(17,24,39,.5); opacity: 0; transition: opacity .35s; }
.vm-drawer.is-open .vm-drawer__overlay { opacity: 1; }
.vm-drawer__panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(92vw, 420px); background: var(--vm-surface); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .45s var(--vm-ease); box-shadow: var(--vm-shadow); }
.vm-drawer.is-open .vm-drawer__panel { transform: none; }
.vm-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--vm-line); }
.vm-drawer__head h2 { font-size: 20px; }
.vm-drawer__head h2 span { color: var(--vm-muted); font-family: var(--vm-font-body); font-size: 15px; font-weight: 400; }
.vm-drawer__items { flex: 1; overflow-y: auto; padding: 8px 18px; }
.vm-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--vm-line); align-items: start; animation: vm-slide-in .5s var(--vm-ease) both; animation-delay: calc(var(--i, 0) * 60ms + 150ms); }
@keyframes vm-slide-in { from { opacity: 0; transform: translateX(-20px); } }
.vm-line img { width: 76px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; background: var(--vm-grad-soft); }
.vm-line__name { font-weight: 700; font-size: 14px; line-height: 1.4; }
.vm-line__var { color: var(--vm-muted); font-size: 13px; }
.vm-line__price { font-weight: 800; font-size: 14px; margin-top: 4px; }
.vm-line__qty { display: inline-flex; align-items: center; border: 1px solid var(--vm-line); border-radius: 999px; margin-top: 8px; }
.vm-line__qty button { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; font-size: 16px; }
.vm-line__qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.vm-line__rm { border: 0; background: none; color: var(--vm-muted); cursor: pointer; padding: 4px; border-radius: 8px; }
.vm-line__rm:hover { color: var(--vm-sale); background: color-mix(in srgb, var(--vm-sale) 8%, #fff); }
.vm-line__rm .vm-ico { width: 18px; height: 18px; }
.vm-drawer__foot { padding: 16px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--vm-line); display: grid; gap: 10px; background: var(--vm-bg); }
.vm-drawer__total { display: flex; justify-content: space-between; font-weight: 800; font-size: 18px; }
.vm-drawer__note { display: flex; align-items: center; gap: 6px; justify-content: center; color: var(--vm-muted); font-size: 13px; }
.vm-drawer__note .vm-ico { width: 16px; height: 16px; }
.vm-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; color: var(--vm-muted); }
.vm-drawer__empty-ico { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--vm-tint); color: var(--vm-g2); }
.vm-drawer__empty-ico .vm-ico { width: 36px; height: 36px; }
.vm-drawer.is-busy .vm-drawer__items { opacity: .5; pointer-events: none; }

/* ---------- Page collection ---------- */
.vm-coll-hero { position: relative; overflow: hidden; background: var(--vm-grad); color: #fff; padding-block: 36px 40px; text-align: center; isolation: isolate; }
.vm-coll-hero::before { content: ''; position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.1); top: -220px; inset-inline-end: -120px; animation: vm-float 10s ease-in-out infinite; }
.vm-coll-hero__crumbs { font-size: 13px; opacity: .85; margin-bottom: 8px; }
.vm-coll-hero__crumbs a { text-decoration: none; }
.vm-coll-hero h1 { font-size: 30px; }
.vm-coll-hero__sub { opacity: .9; margin-top: 6px; }
.vm-coll-hero__img { position: absolute; inset: 0; z-index: -2; }
.vm-coll-hero__img img { width: 100%; height: 100%; object-fit: cover; opacity: .25; mix-blend-mode: luminosity; }
.vm-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 16px var(--vm-gutter) 4px; margin-inline: calc(var(--vm-gutter) * -1); }
.vm-chips::-webkit-scrollbar { display: none; }
.vm-chip { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--vm-line); background: var(--vm-surface); text-decoration: none; font-size: 14px; font-weight: 500; transition: all .2s; white-space: nowrap; }
.vm-chip:hover { border-color: var(--vm-g2); color: var(--vm-g2); }
.vm-chip[aria-current] { background: var(--vm-grad); border-color: transparent; color: #fff; }
.vm-toolbar { position: sticky; top: var(--vm-header-h); z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; background: color-mix(in srgb, var(--vm-bg) 92%, transparent); backdrop-filter: blur(10px); margin-bottom: 16px; }
.vm-toolbar__count { color: var(--vm-muted); font-size: 14px; }
.vm-toolbar__actions { display: flex; gap: 8px; align-items: center; }
.vm-select { position: relative; }
.vm-select select { appearance: none; -webkit-appearance: none; min-height: 42px; padding: 8px 14px 8px 36px; border-radius: 999px; border: 1px solid var(--vm-line); background: var(--vm-surface); font-size: 14px; font-weight: 500; cursor: pointer; }
.vm-select .vm-ico { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%) rotate(90deg); pointer-events: none; }
.vm-filter-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--vm-line); background: var(--vm-surface); font-size: 14px; font-weight: 700; cursor: pointer; }
.vm-filter-btn .vm-ico { width: 18px; height: 18px; }
.vm-filter-btn__n { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--vm-grad); color: #fff; font-size: 11px; }
.vm-coll__layout { display: block; padding-bottom: 48px; }
.vm-facets { position: fixed; inset: 0; z-index: 140; visibility: hidden; }
.vm-facets.is-open { visibility: visible; }
.vm-facets__overlay { position: absolute; inset: 0; background: rgba(17,24,39,.45); opacity: 0; transition: opacity .3s; }
.vm-facets.is-open .vm-facets__overlay { opacity: 1; }
.vm-facets__panel { position: absolute; inset-inline: 0; bottom: 0; max-height: 86vh; display: flex; flex-direction: column; background: var(--vm-surface); border-radius: 24px 24px 0 0; transform: translateY(100%); transition: transform .4s var(--vm-ease); }
.vm-facets.is-open .vm-facets__panel { transform: none; }
.vm-facets__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--vm-line); }
.vm-facets__head h2 { font-size: 19px; }
.vm-facets__body { overflow-y: auto; padding: 4px 18px 18px; }
.vm-facet { padding: 16px 0; border-bottom: 1px solid var(--vm-line); }
.vm-facet:last-child { border-bottom: 0; }
.vm-facet h3 { font-family: var(--vm-font-body); font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.vm-facet__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.vm-facets__foot { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--vm-line); }
.vm-range { display: grid; gap: 12px; }
.vm-range__inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.vm-range__inputs input { width: 100%; min-height: 42px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--vm-line); background: var(--vm-bg); font-size: 14px; text-align: center; }
.vm-range__sliders { position: relative; height: 28px; }
.vm-range__sliders::before { content: ''; position: absolute; inset-inline: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--vm-line); }
.vm-range__fill { position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--vm-grad); }
.vm-range__sliders input[type=range] { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.vm-range__sliders input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--vm-g2); box-shadow: var(--vm-shadow-sm); cursor: pointer; }
.vm-range__sliders input[type=range]::-moz-range-thumb { pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--vm-g2); cursor: pointer; }
.vm-empty { text-align: center; padding: 48px 16px; color: var(--vm-muted); display: grid; justify-items: center; gap: 12px; }
.vm-card.is-hidden { display: none; }
.vm-grid .vm-card { animation: vm-fade-up .5s var(--vm-ease) both; }
@keyframes vm-fade-up { from { opacity: 0; transform: translateY(12px); } }
@media (min-width: 990px) {
  .vm-coll-hero { padding-block: 56px 60px; }
  .vm-coll-hero h1 { font-size: 42px; }
  .vm-coll__layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
  .vm-facets { position: sticky; top: calc(var(--vm-header-h) + 16px); inset: auto; visibility: visible; z-index: 1; }
  .vm-facets__overlay, .vm-facets__head .vm-iconbtn, .vm-filter-btn { display: none; }
  .vm-facets__panel { position: static; transform: none; max-height: calc(100vh - var(--vm-header-h) - 32px); border-radius: var(--vm-radius); border: 1px solid var(--vm-line); }
  .vm-facets__foot { grid-template-columns: 1fr; }
  .vm-facets__foot .vm-btn--grad { display: none; }
  .vm-toolbar { position: static; }
}

/* ---------- Pastilles (couleur / taille / filtres) ---------- */
.vm-pill { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 48px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--vm-line); background: var(--vm-surface); font-size: 14px; font-weight: 700; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s, transform .15s; -webkit-tap-highlight-color: transparent; }
.vm-pill:hover { border-color: color-mix(in srgb, var(--vm-g2) 50%, var(--vm-line)); }
.vm-pill:active { transform: scale(.95); }
.vm-pill[aria-pressed="true"] { border-color: transparent; background: var(--vm-grad); color: #fff; box-shadow: 0 8px 18px -10px var(--vm-g2); }
.vm-pill.is-unavailable { opacity: .45; text-decoration: line-through; }
.vm-swatch { position: relative; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.vm-swatch__c { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(17,24,39,.14); transition: transform .2s var(--vm-ease); }
.vm-swatch::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; transition: border-color .2s; }
.vm-swatch:hover .vm-swatch__c { transform: scale(.92); }
.vm-swatch[aria-pressed="true"]::after { border-color: var(--vm-g2); }
.vm-swatch[aria-pressed="true"] .vm-swatch__c { transform: scale(.78); }
.vm-swatch.is-unavailable .vm-swatch__c { opacity: .35; }
.vm-swatch.is-unavailable::before { content: ''; position: absolute; z-index: 1; width: 2px; height: 34px; background: var(--vm-muted); transform: rotate(45deg); border-radius: 2px; }

/* ---------- Fiche produit ---------- */
.vm-pdp { padding-bottom: 40px; }
.vm-pdp__grid { display: grid; gap: 0; }
.vm-gallery { position: relative; margin-inline: calc(var(--vm-gutter) * -1); }
.vm-gallery__track { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--vm-gutter); scroll-padding-inline: var(--vm-gutter); overscroll-behavior-x: contain; }
.vm-gallery__track::-webkit-scrollbar { display: none; }
.vm-gallery__slide { flex: 0 0 var(--g-slide, 62%); margin: 0; scroll-snap-align: start; aspect-ratio: 3 / 4; border-radius: var(--vm-radius); overflow: hidden; background: var(--vm-grad-soft); position: relative; }
.vm-gallery__slide:only-child { flex-basis: 74%; }
.vm-gallery__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--vm-ease); }
.vm-gallery__slide.is-flash img { animation: vm-flash .6s var(--vm-ease); }
@keyframes vm-flash { 0% { opacity: .3; transform: scale(1.04); } }
.vm-gallery__badge { position: absolute; top: 12px; inset-inline-start: calc(var(--vm-gutter) + 12px); z-index: 2; }
.vm-gallery__count { position: absolute; bottom: 12px; inset-inline-end: calc(var(--vm-gutter) + 12px); z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(17,24,39,.6); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(4px); }
.vm-gallery__thumbs { display: none; }
.vm-gallery__nav { display: none; }
.vm-pdp__info { padding-top: 14px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.vm-pdp__crumbs { display: none; font-size: 13px; color: var(--vm-muted); }
.vm-pdp__crumbs a { text-decoration: none; }
.vm-pdp__kicker { display: inline-flex; align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--vm-tint); color: var(--vm-g2); font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.vm-pdp__title { font-size: 22px; line-height: 1.35; }
.vm-pdp__note { display: flex; align-items: center; gap: 6px; color: var(--vm-muted); font-size: 13px; margin-top: 4px; }
.vm-pdp__note .vm-ico { width: 16px; height: 16px; color: var(--vm-g2); }
.vm-options { display: grid; gap: 14px; }
.vm-option { border: 0; padding: 0; margin: 0; min-width: 0; }
.vm-option__label { display: block; font-size: 14px; color: var(--vm-muted); margin-bottom: 8px; padding: 0; }
.vm-option__label b { color: var(--vm-text); }
.vm-option__values { display: flex; flex-wrap: wrap; gap: 8px; }
.vm-option__values--swatch { gap: 4px; }
.vm-pdp__hint { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--vm-muted); margin-top: 8px; }
.vm-pdp__hint .vm-ico { width: 16px; height: 16px; }
.vm-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vm-qty__ctrl { display: inline-flex; align-items: center; border: 1.5px solid var(--vm-line); border-radius: 999px; background: var(--vm-surface); }
.vm-qty__ctrl button { width: 42px; height: 42px; border: 0; background: none; font-size: 20px; cursor: pointer; border-radius: 50%; }
.vm-qty__ctrl button:hover { color: var(--vm-g2); }
.vm-qty__ctrl input { width: 40px; border: 0; background: none; text-align: center; font-weight: 800; font-size: 16px; -moz-appearance: textfield; }
.vm-qty__ctrl input::-webkit-outer-spin-button, .vm-qty__ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.vm-cod { position: relative; padding: 16px; border-radius: calc(var(--vm-radius) + 4px); background: var(--vm-surface); border: 1.5px solid transparent; background-image: linear-gradient(var(--vm-surface), var(--vm-surface)), var(--vm-grad); background-origin: border-box; background-clip: padding-box, border-box; box-shadow: var(--vm-shadow); display: grid; gap: 12px; }
.vm-cod__title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.vm-cod__title .vm-ico { color: var(--vm-g2); }
.vm-cod__fields { display: grid; gap: 10px; }
.vm-cod__field input, .vm-cod__field select, .vm-cod__field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--vm-line); background: var(--vm-bg); font-size: 16px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.vm-cod__field input:focus, .vm-cod__field select:focus, .vm-cod__field textarea:focus { outline: none; border-color: var(--vm-g2); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--vm-g2) 14%, transparent); }
.vm-cod__field .is-error { border-color: #DC2626; background: #FEF2F2; }
.vm-cod__err { display: block; color: #DC2626; font-size: 12px; margin-top: 4px; }
.vm-cod__err:empty { display: none; }
.vm-cod__row { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.vm-mini-trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vm-mini-trust li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; background: var(--vm-surface); border: 1px solid var(--vm-line); text-align: center; font-size: 12px; font-weight: 700; line-height: 1.35; }
.vm-mini-trust .vm-ico { color: var(--vm-g2); }
.vm-acc { border-radius: 14px; background: var(--vm-surface); border: 1px solid var(--vm-line); overflow: hidden; }
.vm-acc summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; cursor: pointer; font-weight: 700; list-style: none; }
.vm-acc summary::-webkit-details-marker { display: none; }
.vm-acc summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--vm-g2); transition: transform .3s; }
.vm-acc[open] summary::after { transform: rotate(45deg); }
.vm-acc__body { padding: 0 16px 16px; color: #374151; font-size: 15px; }
.vm-rte p + p { margin-top: 8px; }
.vm-rte ul { padding-inline-start: 20px; margin: 8px 0; }
.vm-rte img { border-radius: 12px; margin-block: 8px; }
.vm-sticky { position: fixed; z-index: 80; inset-inline: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--vm-line); box-shadow: 0 -10px 30px -18px rgba(17,24,39,.35); transform: translateY(110%); transition: transform .4s var(--vm-ease); }
.vm-sticky.is-visible { transform: none; }
.vm-sticky__info { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.vm-sticky__info img { width: 42px; height: 56px; object-fit: cover; border-radius: 8px; flex: none; }
.vm-sticky__name { font-size: 13px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vm-sticky__price { font-weight: 800; font-size: 15px; }
.vm-sticky .vm-btn { flex: none; min-height: 50px; padding-inline: 22px; animation: vm-pulse 2.8s ease-in-out infinite; }
.vm-related { padding-top: 24px; }
@media (min-width: 990px) {
  .vm-pdp { padding-top: 28px; padding-bottom: 72px; }
  .vm-pdp__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .vm-gallery { margin-inline: 0; position: sticky; top: calc(var(--vm-header-h) + 16px); display: grid; grid-template-columns: 84px 1fr; gap: 12px; }
  .vm-gallery__track { grid-column: 2; padding-inline: 0; gap: 0; border-radius: calc(var(--vm-radius) + 4px); scroll-padding-inline: 0; }
  .vm-gallery__slide, .vm-gallery__slide:only-child { flex-basis: 100%; border-radius: 0; }
  .vm-gallery__slide img { cursor: zoom-in; }
  .vm-gallery__slide:hover img { transform: scale(1.04); }
  .vm-gallery__thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 8px; max-height: calc(100vh - var(--vm-header-h) - 40px); overflow-y: auto; scrollbar-width: none; }
  .vm-gallery__thumb { flex: none; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: none; opacity: .6; transition: opacity .2s, border-color .2s; aspect-ratio: 3 / 4; }
  .vm-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .vm-gallery__thumb.is-active, .vm-gallery__thumb:hover { opacity: 1; border-color: var(--vm-g2); }
  .vm-gallery__badge { inset-inline-start: 108px; }
  .vm-gallery__count { inset-inline-end: 12px; }
  .vm-gallery__nav { display: flex; position: absolute; z-index: 2; bottom: 14px; inset-inline-start: 108px; gap: 8px; }
  .vm-gallery__nav button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); box-shadow: var(--vm-shadow-sm); cursor: pointer; }
  .vm-pdp__info { padding-top: 0; gap: 18px; }
  .vm-pdp__crumbs { display: block; }
  .vm-pdp__title { font-size: 32px; }
  .vm-sticky { display: none; }
}

/* ---------- Liste des catégories ---------- */
.vm-list-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 750px) { .vm-list-cats { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .vm-reveal, .js .vm-hero__content > * { opacity: 1; transform: none; }
  .vm-hero__media img { transform: none; }
}

/* ---------- Header : placement du logo (centré mobile, à droite desktop) ---------- */
.vm-header__start { display: flex; align-items: center; gap: 8px; }
.vm-logo--center { justify-self: center; }
@media (min-width: 990px) { .vm-logo--center { display: none; } }
.vm-line__img { width: 76px; aspect-ratio: 3 / 4; border-radius: 10px; background: var(--vm-grad-soft); }

/* ---------- Fiche produit mobile : formulaire COD visible sans scroller ---------- */
@media (max-width: 989px) {
  .vm-pdp__info { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px 10px; padding-top: 12px; }
  .vm-pdp__block { flex: 1 1 100%; min-width: 0; }
  .vm-pdp__block--product_title { flex: 1 1 0; min-width: 50%; }
  .vm-pdp__block--product_price { flex: 0 0 auto; }
  .vm-pdp__block--product_price .vm-price { flex-direction: column; align-items: flex-end; gap: 0; }
  .vm-pdp__kicker, .vm-pdp__note, .vm-pdp__hint { display: none; }
  .vm-pdp__title { font-size: 20px; }
  .vm-price--lg .vm-price__now { font-size: 22px; }
  .vm-options { gap: 10px; }
  .vm-option__label { margin-bottom: 6px; }
  .vm-option__values--swatch { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--vm-gutter) * -1); padding-inline: calc(var(--vm-gutter) - 4px); }
  .vm-option__values--swatch::-webkit-scrollbar { display: none; }
  .vm-option__values--swatch .vm-swatch { flex: none; }
  .vm-option__values:not(.vm-option__values--swatch) { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .vm-option__values:not(.vm-option__values--swatch)::-webkit-scrollbar { display: none; }
  .vm-pill { flex: none; min-height: 40px; }
  .vm-qty__ctrl button { width: 38px; height: 38px; }
  .vm-cod { padding: 14px; gap: 10px; }
}

/* ---------- Catégories : 3 colonnes quand leur nombre est un multiple de 3 ---------- */
@media (min-width: 750px) { .vm-cats__grid--3 { grid-template-columns: repeat(3, 1fr); } .vm-cats__grid--3 .vm-cat { aspect-ratio: 4 / 5; } }

/* ---------- Revue pré-lancement (v1.1.0) ---------- */
/* Contraste AA du bouton WhatsApp (texte blanc). */
.vm-btn--wa { background: #15803D; }
.vm-btn--wa:hover { background: #166534; }
.vm-wa-float { background: #15803D; }
.vm-wa-float::before { border-color: #16A34A; }
/* Page merci */
.vm-thanks { padding-block: 40px 64px; }
.vm-thanks__inner { max-width: 560px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.vm-thanks__ico { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--vm-grad); color: #fff; box-shadow: var(--vm-shadow); animation: vm-pop .6s var(--vm-ease) both; }
.vm-thanks__ico .vm-ico { width: 38px; height: 38px; }
@keyframes vm-pop { from { transform: scale(.6); opacity: 0; } }
.vm-thanks__title { font-size: 26px; }
.vm-thanks__text { color: var(--vm-muted); }
.vm-thanks__card { width: 100%; text-align: start; padding: 18px; border-radius: calc(var(--vm-radius) + 4px); background: var(--vm-surface); border: 1px solid var(--vm-line); box-shadow: var(--vm-shadow-sm); }
.vm-thanks__card h2 { font-family: var(--vm-font-body); font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.vm-thanks__lines { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.vm-thanks__lines li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.vm-thanks__lines small { color: var(--vm-muted); }
.vm-thanks__sum { margin: 0; display: grid; gap: 6px; border-top: 1px solid var(--vm-line); padding-top: 10px; font-size: 14px; }
.vm-thanks__sum div { display: flex; justify-content: space-between; }
.vm-thanks__sum dd { margin: 0; font-weight: 700; }
.vm-thanks__sum .is-total { font-size: 17px; }
.vm-thanks__sum .is-total dd { color: var(--vm-g2); }
.vm-thanks__actions { width: 100%; display: grid; gap: 10px; margin-top: 6px; }
.vm-thanks__ref { font-size: 14px; color: var(--vm-muted); }
.vm-thanks__ref b { color: var(--vm-text); }
