/* =====================================================================
   Tijaro — styles propres aux boutiques Tijaro (chargés après store.css)
   Slider animé, bannière, grille de collection, fiche produit, formulaire
   intégré, barre de commande fixe, remerciement.
   ===================================================================== */

/* ---------------- boutons des sections ---------------- */
.tj-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px 0 26px; overflow: hidden; border-radius: 999px; font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: .01em; text-decoration: none; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s; }
.tj-btn .icon { transition: transform .35s var(--ease); }
.tj-btn::after { content: ""; position: absolute; inset: 0 auto 0 -70%; z-index: -1; width: 50%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: tj-shine 3.6s ease-in-out infinite; }
.tj-btn:hover { transform: translateY(-3px); }
.tj-btn:hover .icon { transform: translateX(4px); }
.tj-btn--accent { background: var(--yellow); color: #111; box-shadow: 0 16px 34px -14px rgba(247, 181, 0, .95); }
.tj-btn--dark { background: var(--navy); color: #fff; box-shadow: 0 16px 34px -16px rgba(2, 36, 70, .9); }
.tj-btn--light { background: #fff; color: var(--navy); box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .45); }
.tj-btn--outline { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tj-btn--outline:hover { background: #fff; color: var(--navy); }
@keyframes tj-shine { 0%, 55% { left: -70%; } 100% { left: 140%; } }

/* ---------------- slider d'images ---------------- */
.tj-hero { --tj-r: 28px; position: relative; margin: 16px 16px 0; border-radius: var(--tj-r); overflow: hidden; background: var(--navy-deep); box-shadow: 0 30px 60px -38px rgba(2, 36, 70, .7); isolation: isolate; }
.tj-hero__stage { position: relative; width: 100%; aspect-ratio: 3 / 1; max-height: 560px; }
.tj-hero[data-h="s"] .tj-hero__stage { aspect-ratio: auto; height: clamp(220px, 30vw, 360px); }
.tj-hero[data-h="m"] .tj-hero__stage { aspect-ratio: auto; height: clamp(280px, 38vw, 480px); }
.tj-hero[data-h="l"] .tj-hero__stage { aspect-ratio: auto; height: clamp(360px, 50vw, 640px); max-height: none; }
.tj-slide { position: absolute; inset: 0; display: flex; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 0s 1s; }
.tj-slide.is-active { z-index: 2; opacity: 1; visibility: visible; transition: opacity 1s var(--ease), visibility 0s; }
.tj-slide.is-leaving { z-index: 1; opacity: 1; visibility: visible; }
.tj-slide__link { position: absolute; inset: 0; z-index: 3; }
.tj-slide__media { position: absolute; inset: 0; overflow: hidden; }
.tj-slide__media picture, .tj-slide__media img { display: block; width: 100%; height: 100%; }
.tj-slide__media img { object-fit: cover; object-position: var(--fx, 50%) 50%; transform: scale(1.14) translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .6s ease-out; will-change: transform; }
.tj-hero[data-effect="zoom"] .tj-slide.is-active .tj-slide__media img { animation: tj-kenburns calc(var(--tj-sec, 5s) + 1.4s) cubic-bezier(.25, .46, .45, .94) both; }
.tj-hero[data-effect="fade"] .tj-slide__media img { transform: scale(1.02) translate3d(var(--px, 0), var(--py, 0), 0); }
.tj-hero[data-effect="slide"] .tj-slide { transition: transform 1s var(--ease), opacity 1s var(--ease), visibility 0s 1s; transform: translateX(8%); }
.tj-hero[data-effect="slide"] .tj-slide.is-active { transform: none; transition: transform 1s var(--ease), opacity 1s var(--ease), visibility 0s; }
.tj-hero[data-effect="slide"] .tj-slide.is-leaving { transform: translateX(-8%); opacity: 0; }
.tj-hero[data-effect="slide"] .tj-slide__media img { transform: scale(1.04) translate3d(var(--px, 0), var(--py, 0), 0); }
.tj-slide.is-leaving .tj-slide__media img { animation: tj-leave 1s var(--ease) both; }
@keyframes tj-kenburns { from { transform: scale(1.16) translate3d(var(--px, 0), var(--py, 0), 0); filter: saturate(1.25) brightness(1.08); } to { transform: scale(1.02) translate3d(var(--px, 0), var(--py, 0), 0); filter: none; } }
@keyframes tj-leave { to { transform: scale(1.08); filter: blur(6px); } }
.tj-slide__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(1, 16, 32, var(--tj-ov, 0)) 0%, rgba(1, 16, 32, calc(var(--tj-ov, 0) * .55)) 45%, transparent 80%); pointer-events: none; }
.tj-slide[data-align="right"] .tj-slide__shade { transform: scaleX(-1); }
.tj-slide[data-align="center"] .tj-slide__shade { background: rgba(1, 16, 32, var(--tj-ov, 0)); }
.tj-slide__content { position: relative; z-index: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: min(560px, 86%); margin: auto auto auto clamp(22px, 6vw, 84px); padding: 24px 0; color: #fff; pointer-events: none; }
.tj-slide__content > * { pointer-events: auto; }
.tj-slide[data-valign="top"] .tj-slide__content { margin-top: clamp(18px, 4vw, 52px); }
.tj-slide[data-valign="bottom"] .tj-slide__content { margin-bottom: clamp(26px, 5vw, 64px); }
.tj-slide[data-align="center"] .tj-slide__content { align-items: center; margin-left: auto; margin-right: auto; text-align: center; }
.tj-slide[data-align="right"] .tj-slide__content { align-items: flex-end; margin-left: auto; margin-right: clamp(22px, 6vw, 84px); text-align: right; }
.tj-slide[data-tone="dark"] .tj-slide__content { color: var(--ink); }
.tj-slide__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.tj-slide__eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(247, 181, 0, .7); animation: tj-ping 1.8s infinite; }
.tj-slide[data-tone="dark"] .tj-slide__eyebrow { background: rgba(2, 36, 70, .08); box-shadow: inset 0 0 0 1px rgba(2, 36, 70, .18); }
.tj-slide__title { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 4.4vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; text-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.tj-slide[data-tone="dark"] .tj-slide__title { text-shadow: none; }
.tj-slide__text { max-width: 460px; margin: 0; font-size: clamp(14px, 1.4vw, 18px); line-height: 1.55; opacity: .9; }
/* entrée des textes : en cascade, avec un léger flou */
.tj-slide.is-active .tj-slide__content > * { animation: tj-rise .9s var(--ease) both; }
.tj-slide.is-active .tj-slide__content > :nth-child(1) { animation-delay: .25s; }
.tj-slide.is-active .tj-slide__content > :nth-child(2) { animation-delay: .4s; }
.tj-slide.is-active .tj-slide__content > :nth-child(3) { animation-delay: .55s; }
.tj-slide.is-active .tj-slide__content > :nth-child(4) { animation-delay: .7s; }
@keyframes tj-rise { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes tj-ping { 70%, 100% { box-shadow: 0 0 0 8px rgba(247, 181, 0, 0); } }
.tj-hero__nav { position: absolute; top: 50%; z-index: 6; display: grid; place-items: center; width: 50px; height: 50px; margin-top: -25px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: pointer; opacity: 0; transition: opacity .3s, transform .35s var(--ease), background .25s; }
.tj-hero__nav--prev { left: 18px; transform: translateX(-12px); }
.tj-hero__nav--next { right: 18px; transform: translateX(12px); }
.tj-hero:hover .tj-hero__nav, .tj-hero:focus-within .tj-hero__nav { opacity: 1; transform: none; }
.tj-hero__nav:hover { background: var(--yellow); color: #111; }
.tj-hero__dots { position: absolute; left: 50%; bottom: 16px; z-index: 6; display: flex; gap: 8px; padding: 7px 10px; border-radius: 999px; background: rgba(1, 16, 32, .32); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transform: translateX(-50%); }
.tj-dot { position: relative; width: 10px; height: 10px; padding: 0; overflow: hidden; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .5s var(--ease), background .3s; }
.tj-dot.is-active { width: 42px; background: rgba(255, 255, 255, .3); }
.tj-dot i { position: absolute; inset: 0; width: 0; border-radius: inherit; background: var(--yellow); }
.tj-dot.is-active i { width: 100%; }
.tj-hero.is-playing .tj-dot.is-active i { width: 0; animation: tj-progress var(--tj-sec, 5s) linear forwards; }
.tj-hero.is-paused .tj-dot.is-active i { animation-play-state: paused; }
@keyframes tj-progress { to { width: 100%; } }
.tj-hero__count { position: absolute; right: 22px; bottom: 20px; z-index: 6; color: rgba(255, 255, 255, .8); font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.tj-hero__count b { color: #fff; font-size: 15px; }
@media (max-width: 749px) {
  .tj-hero { --tj-r: 20px; margin: 10px 10px 0; }
  .tj-hero__stage { aspect-ratio: 2.6 / 1; min-height: 160px; }
  .tj-hero__nav, .tj-hero__count { display: none; }
  .tj-hero__dots { bottom: 9px; padding: 5px 8px; gap: 6px; }
  .tj-dot { width: 7px; height: 7px; } .tj-dot.is-active { width: 28px; }
  .tj-slide__content { gap: 8px; padding: 14px 0; }
  .tj-slide__text { display: none; }
  .tj-btn { min-height: 40px; padding: 0 16px 0 18px; font-size: 13px; }
}

/* ---------------- bannière ---------------- */
.tj-banner { padding: 28px 16px; }
.tj-banner[data-layout="full"] { padding-left: 0; padding-right: 0; }
.tj-banner__wrap { position: relative; display: flex; min-height: 260px; overflow: hidden; border-radius: var(--radius-lg); background: var(--tj-bg, var(--navy)); color: #fff; box-shadow: 0 30px 60px -40px rgba(2, 36, 70, .75); isolation: isolate; }
.tj-banner[data-layout="full"] .tj-banner__wrap { border-radius: 0; }
.tj-banner[data-h="s"] .tj-banner__wrap { min-height: clamp(180px, 22vw, 260px); }
.tj-banner[data-h="m"] .tj-banner__wrap { min-height: clamp(240px, 30vw, 380px); }
.tj-banner[data-h="l"] .tj-banner__wrap { min-height: clamp(320px, 42vw, 540px); }
.tj-banner__link { position: absolute; inset: 0; z-index: 3; }
.tj-banner__media { position: absolute; inset: 0; z-index: -2; }
.tj-banner__media picture, .tj-banner__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tj-banner__media img { transform: scale(1.06); transition: transform 1.6s var(--ease); }
.tj-banner.is-in .tj-banner__media img { transform: scale(1); }
.tj-banner__wrap:hover .tj-banner__media img { transform: scale(1.04); }
.tj-banner[data-h="auto"] .tj-banner__media { position: relative; flex: 1 0 100%; }
.tj-banner[data-h="auto"] .tj-banner__media img { height: auto; }
.tj-banner[data-h="auto"] .tj-banner__content { position: absolute; inset: 0; }
.tj-banner__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1, 16, 32, var(--tj-ov)) 0%, rgba(1, 16, 32, calc(var(--tj-ov) * .4)) 55%, transparent 85%); }
.tj-banner[data-align="right"] .tj-banner__shade { transform: scaleX(-1); }
.tj-banner[data-align="center"] .tj-banner__shade { background: rgba(1, 16, 32, var(--tj-ov)); }
.tj-banner__glow { position: absolute; inset: -40%; z-index: -1; background: radial-gradient(circle at 20% 30%, rgba(247, 181, 0, .35), transparent 40%), radial-gradient(circle at 85% 70%, rgba(120, 160, 255, .25), transparent 45%); animation: tj-drift 14s ease-in-out infinite alternate; }
@keyframes tj-drift { to { transform: translate3d(6%, -4%, 0) rotate(8deg); } }
.tj-banner__content { position: relative; z-index: 4; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; width: min(620px, 100%); padding: clamp(26px, 5vw, 64px); pointer-events: none; }
.tj-banner__content > * { pointer-events: auto; }
.tj-banner[data-valign="top"] .tj-banner__content { justify-content: flex-start; }
.tj-banner[data-valign="bottom"] .tj-banner__content { justify-content: flex-end; }
.tj-banner[data-align="center"] .tj-banner__content { align-items: center; margin: 0 auto; text-align: center; }
.tj-banner[data-align="right"] .tj-banner__content { align-items: flex-end; margin-left: auto; text-align: right; }
.tj-banner[data-h="auto"][data-align="right"] .tj-banner__content { left: auto; }
.tj-banner[data-h="auto"][data-align="center"] .tj-banner__content { margin: 0 auto; }
.tj-banner[data-tone="dark"] .tj-banner__wrap { color: var(--ink); }
.tj-banner__eyebrow { margin: 0; color: var(--yellow); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.tj-banner__title { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 3.8vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.tj-banner__text { max-width: 480px; margin: 0; font-size: clamp(14px, 1.3vw, 17px); line-height: 1.6; opacity: .9; }
.tj-banner.is-in .tj-banner__content > * { animation: tj-rise .9s var(--ease) both; }
.tj-banner.is-in .tj-banner__content > :nth-child(2) { animation-delay: .12s; }
.tj-banner.is-in .tj-banner__content > :nth-child(3) { animation-delay: .24s; }
.tj-banner.is-in .tj-banner__content > :nth-child(4) { animation-delay: .36s; }
@media (max-width: 749px) {
  .tj-banner { padding: 14px 10px; }
  .tj-banner__wrap { min-height: 200px; border-radius: 20px; }
  .tj-banner[data-h="auto"] .tj-banner__content { padding: 16px; }
  .tj-banner[data-h="auto"] .tj-banner__text { display: none; }
}

/* ---------------- collection en vedette : grille + options des cartes ---------------- */
.tj-fcg__sub { margin: -8px 0 18px; color: var(--muted); }
.tj-grid { display: grid; grid-template-columns: repeat(var(--cols-m, 2), minmax(0, 1fr)); gap: 12px; margin: 0; padding: 4px 0 8px; list-style: none; }
.tj-grid__item.reveal { transition-delay: calc(min(var(--i, 0), 8) * 60ms); }
@media (min-width: 750px) { .tj-grid { grid-template-columns: repeat(min(3, var(--cols, 4)), minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .tj-grid { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .fc__track[style*="--fc-cols"] .fc__slide { flex-basis: calc((100% - (var(--fc-cols) - 1) * 16px) / var(--fc-cols)); } }
.pcard__form--solo .pcard__add { flex: 1 1 100%; }
a.pcard__add { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.pcard__add--order { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--yellow), #ffd45c 60%, var(--yellow)); border-color: transparent; color: #111; }
.pcard__add--order::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent); transform: skewX(-20deg); animation: tj-shine 3.4s ease-in-out infinite; pointer-events: none; }

/* ---------------- fiche produit ---------------- */
.tj-gal { position: relative; }
/* image principale : grande, arrondie, flèches rondes sombres */
.tj-gal__main { position: relative; overflow: hidden; border-radius: 26px; background: #f1f2f5; box-shadow: 0 30px 60px -40px rgba(2, 36, 70, .55); touch-action: pan-y; }
.tj-gal__track { display: flex; aspect-ratio: 1 / 1; transition: transform .75s var(--ease); will-change: transform; }
.tj-gal__slide { position: relative; flex: 0 0 100%; margin: 0; overflow: hidden; }
.tj-gal__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.tj-gal__slide.is-active img { transform: scale(1); }
.tj-gal__nav, .tj-gal__snav { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 50px; height: 50px; margin-top: -25px; border: 0; border-radius: 50%; background: rgba(17, 17, 17, .88); color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .55); cursor: pointer; transition: transform .25s var(--ease), background .2s; }
.tj-gal__nav:hover, .tj-gal__snav:hover { background: #000; transform: scale(1.08); }
.tj-gal__nav:active, .tj-gal__snav:active { transform: scale(.94); }
.tj-gal__nav--prev { left: 12px; } .tj-gal__nav--next { right: 12px; }
/* bande de miniatures : 2 grandes miniatures visibles, flèches à cheval sur les bords */
.tj-gal__strip { position: relative; margin-top: 14px; }
.tj-gal__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 14px) / 2); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.tj-gal__thumbs::-webkit-scrollbar { display: none; }
.tj-gal__thumb { position: relative; display: block; aspect-ratio: 1 / 1; padding: 0; overflow: hidden; border: 0; border-radius: 24px; background: #f1f2f5; cursor: pointer; scroll-snap-align: start; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .3s, transform .3s var(--ease); }
.tj-gal__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; filter: saturate(.85) brightness(.92); }
.tj-gal__thumb:hover img { transform: scale(1.05); }
.tj-gal__thumb.is-active img { filter: none; }
.tj-gal__thumb.is-active { box-shadow: inset 0 0 0 3px var(--yellow); }
.tj-gal__tbar { position: absolute; left: 14px; right: 14px; bottom: 10px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); overflow: hidden; opacity: 0; transition: opacity .3s; }
.tj-gal__tbar::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--yellow); border-radius: inherit; }
.tj-gal__thumb.is-active .tj-gal__tbar { opacity: 1; }
.tj-gal.is-playing .tj-gal__thumb.is-active .tj-gal__tbar::after { animation: tj-progress var(--tj-gsec, 4s) linear forwards; }
.tj-gal.is-paused .tj-gal__thumb.is-active .tj-gal__tbar::after { animation-play-state: paused; }
.tj-gal__snav--prev { left: -14px; } .tj-gal__snav--next { right: -14px; }
@media (min-width: 990px) {
  .tj-gal__thumbs { grid-auto-columns: calc((100% - 42px) / 4); }
  .tj-gal__thumb { border-radius: 18px; }
  .tj-gal__snav { width: 42px; height: 42px; margin-top: -21px; }
  .tj-pp[data-layout="split"] .tj-gal { position: sticky; top: 120px; }
}
@media (max-width: 749px) {
  .tj-gal__main { border-radius: 22px; }
  .tj-gal__nav { width: 46px; height: 46px; margin-top: -23px; }
  .tj-gal__snav { width: 46px; height: 46px; margin-top: -23px; }
  .tj-gal__snav--prev { left: -10px; } .tj-gal__snav--next { right: -10px; }
}
/* titre + flèches produit précédent / suivant */
.tj-pp__trow { display: flex; align-items: flex-start; gap: 12px; }
.tj-pp__trow .product__title { flex: 1; min-width: 0; }
.tj-pp__pnav { display: flex; gap: 2px; margin-top: 4px; flex-shrink: 0; }
.tj-pp__pnav a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--ink); opacity: .65; transition: opacity .2s, background .2s, transform .2s; }
.tj-pp__pnav a:hover { opacity: 1; background: rgba(2, 36, 70, .06); }
.tj-pp__pnav a:first-child:hover { transform: translateX(-3px); } .tj-pp__pnav a:last-child:hover { transform: translateX(3px); }

/* ---------------- offres groupées (bundle) ---------------- */
.tj-bundle { --tj-ba: var(--yellow); position: relative; display: grid; gap: 10px; margin: 6px 0 14px; }
.tj-bundle__head { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.tj-bundle__head b { font-family: var(--font-display); font-size: 16.5px; color: var(--ink); }
.tj-bundle__head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--tj-ba) 60%, transparent), transparent); }
.tj-bundle__spark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, var(--tj-ba), color-mix(in srgb, var(--tj-ba) 60%, #ec4899)); color: #111; box-shadow: 0 8px 18px -8px var(--tj-ba); animation: tj-wiggle 3.2s ease-in-out infinite; }
@keyframes tj-wiggle { 0%, 80%, 100% { transform: none; } 85% { transform: rotate(-12deg) scale(1.08); } 92% { transform: rotate(10deg) scale(1.08); } }
.tj-bo { position: relative; display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: #fff; border: 2px solid #e6e8ee; cursor: pointer; isolation: isolate; transition: border-color .3s, box-shadow .35s, transform .35s var(--spring), background .3s; }
.tj-bo:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--tj-ba) 55%, #e6e8ee); }
.tj-bo input { position: absolute; opacity: 0; pointer-events: none; }
.tj-bo__radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cbd2dc; display: grid; place-items: center; transition: border-color .25s; }
.tj-bo__radio::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--tj-ba); transform: scale(0); transition: transform .35s var(--spring); }
.tj-bo__imgs { position: relative; display: flex; align-items: center; height: 46px; padding-right: 4px; }
.tj-bo__imgs img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; border: 2px solid #fff; box-shadow: 0 4px 12px -6px rgba(2, 36, 70, .5); margin-left: calc(var(--k) * -30px); transform: rotate(calc((var(--k) - 1) * 6deg)); transition: transform .4s var(--spring); }
.tj-bo__imgs img:first-child { margin-left: 0; }
.tj-bo:hover .tj-bo__imgs img { transform: rotate(calc((var(--k) - 1) * 10deg)) translateY(-2px); }
.tj-bo__imgs em { position: absolute; right: -6px; bottom: -6px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: var(--navy); color: #fff; font: 800 11px var(--font); font-style: normal; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.tj-bo__txt { display: grid; gap: 3px; min-width: 0; }
.tj-bo__txt b { font-size: 15px; color: var(--ink); line-height: 1.25; }
.tj-bo__txt small { display: flex; align-items: center; gap: 5px; color: #16a34a; font-size: 12.5px; font-weight: 700; }
.tj-bo__save { justify-self: start; padding: 3px 9px; border-radius: 99px; background: #fee2e2; color: #b91c1c; font-size: 11.5px; font-weight: 800; font-style: normal; }
.tj-bo__price { display: grid; justify-items: end; gap: 1px; }
.tj-bo__price b { font-family: var(--font-display); font-size: 17px; color: var(--ink); white-space: nowrap; }
.tj-bo__price s { color: #9ca3af; font-size: 12.5px; white-space: nowrap; }
.tj-bo__badge { position: absolute; top: -11px; right: 14px; padding: 4px 11px; border-radius: 99px; background: linear-gradient(120deg, #ec4899, #f97316, var(--tj-ba), #ec4899); background-size: 220% 100%; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 8px 18px -8px rgba(236, 72, 153, .9); animation: tj-badge 3s linear infinite; }
@keyframes tj-badge { to { background-position: -220% 0; } }
/* offre choisie : contour lumineux animé, halo, coche */
.tj-bo.is-on { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--tj-ang, 0deg), var(--tj-ba), #ec4899, #6366f1, var(--tj-ba)) border-box; box-shadow: 0 18px 36px -20px color-mix(in srgb, var(--tj-ba) 85%, transparent), 0 0 0 4px color-mix(in srgb, var(--tj-ba) 16%, transparent); animation: tj-ang 4s linear infinite; }
.tj-bo.is-on .tj-bo__radio { border-color: var(--tj-ba); }
.tj-bo.is-on .tj-bo__radio::after { transform: scale(1); }
.tj-bo.is-on .tj-bo__save { animation: tj-pop .5s var(--spring); }
.tj-bo.is-pop:not(.is-on)::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 19px; background: color-mix(in srgb, var(--tj-ba) 14%, transparent); animation: tj-glow 2.4s ease-in-out infinite; }
@keyframes tj-glow { 50% { opacity: .3; } }
@keyframes tj-pop { 0% { transform: scale(.6); } 70% { transform: scale(1.12); } }
.tj-bo.is-on::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 16px; background: linear-gradient(110deg, transparent 35%, color-mix(in srgb, var(--tj-ba) 14%, transparent) 50%, transparent 65%); background-size: 250% 100%; animation: tj-sweep 3s ease-in-out infinite; pointer-events: none; }
@keyframes tj-sweep { from { background-position: 150% 0; } to { background-position: -100% 0; } }
@media (max-width: 420px) { .tj-bo { grid-template-columns: auto 1fr auto; } .tj-bo__imgs { display: none; } }
.tj-iform .tj-bundle { margin-top: 0; }
.tj-pp__block + .tj-pp__block { margin-top: 2px; }
.tj-pp__block { animation: tj-rise .7s calc(.1s + min(var(--i, 0), 8) * 70ms) var(--ease) both; }
.tj-pp__short { margin: 0 0 16px; color: #374151; font-size: 15px; line-height: 1.65; }
.tj-pp__info .pp-desc { margin-top: 18px; padding: 18px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; animation: none; }
.tj-pp__alt { margin-top: 10px; }
.tj-express[data-anim="pulse"] { animation: tj-pulse 2.2s infinite; }
.tj-express[data-anim="none"]::after { display: none; }
.tj-express[style*="--tj-sbg"] { background: var(--tj-sbg); border-color: var(--tj-sbg); }
.tj-express[style*="--tj-sfg"] { color: var(--tj-sfg); }
@keyframes tj-pulse { 0% { box-shadow: 0 0 0 0 rgba(247, 181, 0, .55); } 70% { box-shadow: 0 0 0 14px rgba(247, 181, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(247, 181, 0, 0); } }
@media (min-width: 990px) {
  .product.product--stack.tj-pp[data-layout="split"] { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; gap: 34px; max-width: 1280px; }
  .tj-pp[data-layout="split"] .tj-gal { position: sticky; top: 120px; }
  .tj-pp[data-layout="split"] ~ .rv-block, .tj-pp[data-layout="split"] ~ .related { max-width: 1280px; }
}

/* ---------------- formulaire de commande intégré à la fiche ---------------- */
.tj-iform { position: relative; margin: 4px 0 0; padding: 18px; border-radius: 24px; background: linear-gradient(180deg, #fff, #f8fafc); box-shadow: 0 26px 50px -34px rgba(2, 36, 70, .55), inset 0 0 0 1px rgba(2, 36, 70, .08); overflow: hidden; isolation: isolate; }
.tj-iform::before { content: ""; position: absolute; inset: 0; z-index: -1; padding: 2px; border-radius: inherit; background: conic-gradient(from var(--tj-ang, 0deg), var(--yellow), transparent 25%, transparent 50%, var(--navy) 75%, var(--yellow)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: tj-ang 6s linear infinite; opacity: .8; }
@property --tj-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes tj-ang { to { --tj-ang: 360deg; } }
.tj-iform__head { display: grid; gap: 2px; margin-bottom: 14px; padding-left: 28px; position: relative; }
.tj-iform__head strong { color: var(--ink); font-family: var(--font-display); font-size: 17px; line-height: 1.3; }
.tj-iform__head small { color: var(--muted); font-size: 13px; }
.tj-iform__spark { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: ppPing 1.8s infinite; }
.tj-iform__qty { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 8px 8px 8px 14px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tj-iform__qty > span { color: var(--ink); font-size: 13.5px; font-weight: 700; }
.tj-iform__qty .qty { width: 128px; height: 42px; }
.tj-iform__total { margin-left: auto; padding: 8px 12px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 15px; font-variant-numeric: tabular-nums; }
.tj-iform__fields .cod-field { margin-bottom: 10px; }
.tj-iform__pay { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; padding: 12px 14px; border-radius: 16px; background: #ecfdf5; color: #065f46; box-shadow: inset 0 0 0 1.5px #10b981; }
.tj-iform__pay span { display: grid; } .tj-iform__pay strong { font-size: 14px; } .tj-iform__pay small { color: #047857; font-size: 12.5px; }
.tj-iform .cod__reassure, .tj-iform .cod__legal { text-align: center; }
.tj-iform .form-error { margin: 0 0 10px; }
.tj-iform.is-done { padding: 0; background: none; box-shadow: none; }
.tj-iform.is-done::before { display: none; }

/* bouton de confirmation : couleurs et effet réglables */
.cod-submit[style*="--tj-sbg"] { background: var(--tj-sbg); }
.cod-submit[style*="--tj-sfg"] { color: var(--tj-sfg); }
.cod-submit[data-anim="none"]::after { display: none; }
.cod-submit[data-anim="pulse"] { animation: tj-pulse 2.2s infinite; }

/* ---------------- barre de commande fixe ---------------- */
.tj-pbar[style*="--tj-pbg"] { background: var(--tj-pbg); }
.tj-pbar[style*="--tj-pbtn"] .pbar__btn { background: var(--tj-pbtn); }
.tj-pbar[style*="--tj-pfg"] .pbar__btn { color: var(--tj-pfg); }
.tj-pbar[data-anim="none"] .pbar__btn::after { display: none; }
.tj-pbar[data-anim="pulse"].is-visible .pbar__btn { animation: tj-pulse 2.2s infinite; }
.tj-pbar[data-anim="bounce"].is-visible .pbar__btn { animation: tj-bounce 2.8s infinite; }
.tj-pbar[data-anim="pulse"] .pbar__btn::after, .tj-pbar[data-anim="bounce"] .pbar__btn::after { display: none; }
@keyframes tj-bounce { 0%, 70%, 100% { transform: none; } 76% { transform: translateY(-5px) scale(1.02); } 84% { transform: none; } 90% { transform: translateY(-2px); } }
.tj-pbar[data-style="bar"] { left: 0; right: 0; bottom: 0; width: auto; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; }
@media (min-width: 750px) {
  .tj-pbar[data-style="bar"] { left: 0; width: 100%; transform: translateY(calc(100% + 30px)); padding-left: max(12px, calc(50% - 380px)); padding-right: max(12px, calc(50% - 380px)); }
  .tj-pbar[data-style="bar"].is-visible { transform: none; }
  .tj-pbar[data-mobile-only] { display: none !important; }
}

/* ---------------- remerciement ---------------- */
.tj-confetti { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
.tj-thanks .cod-thanks__hero h3 { animation: tj-rise .8s .2s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  .tj-btn::after, .tj-banner__glow, .tj-iform::before, .pcard__add--order::after { animation: none; }
  .tj-slide.is-active .tj-slide__content > *, .tj-banner.is-in .tj-banner__content > *, .tj-pp__block { animation: none; }
  .tj-hero[data-effect] .tj-slide.is-active .tj-slide__media img { animation: none; transform: none; }
  .tj-gal__track, .tj-slide { transition: none; }
}

/* en-tête non fixe (Thème › En-tête) */
.tj-hdr-static .site-header { position: relative; }

/* visuels de catégories carrés (boutiques Tijaro) : coins arrondis */
.cat__clip img { border-radius: 22px; }

/* formulaire avec offres groupées : pleine largeur (plus de colonne « quantité ») */
.product__form[data-bundle] { display: block !important; }
.product__form[data-bundle] > .btn { width: 100%; margin-top: 10px; }

/* =====================================================================
   Fiche produit : prix, variantes, WhatsApp, blocs de confiance (FR / darija), galerie, aperçu plein écran
   ===================================================================== */
.tj-pp { --tj-tc: #1d5b45; }
[lang="ar"], [lang="ar"] * { font-family: 'Tajawal', var(--font); }
[dir="rtl"] { text-align: right; }

/* prix */
.tj-price { display: grid; gap: 8px; margin: 2px 0 4px; }
.tj-price__row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; }
.tj-price__now { font-family: var(--font-display); font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--red); background: linear-gradient(100deg, var(--red), #f97316 60%, var(--red)); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: tj-pshine 5s linear infinite; }
@keyframes tj-pshine { to { background-position: -220% 0; } }
.tj-price__old { position: relative; color: #9ca3af; font-size: 18px; font-weight: 600; text-decoration: none; }
.tj-price__old::after { content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 2px; border-radius: 2px; background: #ef4444; transform: rotate(-8deg); transform-origin: left; animation: tj-strike .7s .4s var(--ease) both; }
@keyframes tj-strike { from { transform: rotate(-8deg) scaleX(0); } }
.tj-price__pct { padding: 6px 11px; border-radius: 11px; background: linear-gradient(135deg, #ef4444, #f97316); color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 10px 20px -10px rgba(239, 68, 68, .9); animation: tj-pop .6s .3s var(--spring) both; }
.tj-price__save { justify-self: start; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 99px; background: #ecfdf5; color: #047857; font-size: 13.5px; font-weight: 800; box-shadow: inset 0 0 0 1px #a7f3d0; }
.tj-price__save .tj-ic { animation: tj-wiggle 3s ease-in-out infinite; }

/* variantes */
.tj-var { display: grid; gap: 16px; margin: 6px 0 16px; }
.tj-var__lbl { margin-bottom: 9px; font-size: 14px; color: #4b5563; }
.tj-var__lbl b { color: var(--ink); }
.tj-var__vals { display: flex; flex-wrap: wrap; gap: 10px; }
.tj-var__v { position: relative; display: inline-flex; align-items: center; gap: 8px; border: 2px solid #e6e8ee; background: #fff; color: var(--ink); cursor: pointer; font: 700 14px var(--font); transition: border-color .25s, box-shadow .3s, transform .3s var(--spring); }
.tj-var__v:hover { transform: translateY(-2px); border-color: #c8ced8; }
.tj-var__v em { font-style: normal; font-size: 11.5px; font-weight: 800; color: #047857; }
.tj-var__v.is-on { border-color: var(--navy); box-shadow: 0 10px 22px -14px rgba(2, 36, 70, .8), 0 0 0 3px color-mix(in srgb, var(--navy) 12%, transparent); }
.tj-var--button .tj-var__v { min-height: 46px; padding: 0 18px; border-radius: 14px; }
.tj-var--button .tj-var__v.is-on { background: var(--navy); color: #fff; }
.tj-var--button .tj-var__v.is-on em { color: #86efac; }
.tj-var--color .tj-var__v { width: 46px; height: 46px; padding: 4px; border-radius: 50%; justify-content: center; }
.tj-var__sw { width: 100%; height: 100%; border-radius: 50%; background: var(--c, #ddd); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), inset 0 6px 10px rgba(255, 255, 255, .35); }
.tj-var--color .tj-var__v.is-on::after { content: ""; position: absolute; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px); filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5)); animation: tj-pop .35s var(--spring); }
.tj-var--image .tj-var__v { flex-direction: column; gap: 5px; padding: 6px 6px 8px; border-radius: 16px; font-size: 12.5px; }
.tj-var--image img { width: 64px; height: 64px; border-radius: 11px; object-fit: cover; }

/* WhatsApp */
.tj-wa { position: relative; display: flex; align-items: center; gap: 12px; margin: 10px 0 4px; padding: 8px 10px 8px 8px; border-radius: 18px; background: linear-gradient(120deg, #25d366, #128c7e); color: #fff; font: 800 16px var(--font-display); text-decoration: none; overflow: hidden; isolation: isolate; box-shadow: 0 18px 34px -16px rgba(18, 140, 126, .9); transition: transform .3s var(--spring), box-shadow .3s; }
.tj-wa:hover { transform: translateY(-2px); box-shadow: 0 24px 40px -16px rgba(18, 140, 126, 1); }
.tj-wa::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: tj-shine 3.6s ease-in-out infinite; z-index: -1; }
.tj-wa__ic { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(255, 255, 255, .2); flex-shrink: 0; }
.tj-wa__ic i { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); animation: tj-ring 2.2s infinite; }
@keyframes tj-ring { 70% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.tj-wa__t { flex: 1; text-align: center; }
.tj-wa__go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: rgba(0, 0, 0, .14); transition: transform .3s var(--ease); }
.tj-wa:hover .tj-wa__go { transform: translateX(4px); }
[dir="rtl"].tj-wa:hover .tj-wa__go { transform: translateX(-4px); }

/* carte « ouvrez votre colis avant de payer » */
.tj-openbox { --ob: #1d3b2c; position: relative; display: flex; align-items: flex-start; gap: 14px; margin: 14px 0; padding: 16px 18px; border-radius: 18px; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--ob) 80%, #fff), var(--ob) 55%, color-mix(in srgb, var(--ob) 80%, #000)); box-shadow: 0 22px 44px -26px color-mix(in srgb, var(--ob) 90%, #000), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.tj-openbox::before { content: ""; position: absolute; top: 10px; bottom: 10px; inset-inline-start: 0; width: 4px; border-radius: 4px; background: linear-gradient(#f7d77a, #d4a017); }
.tj-openbox__ic { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; color: #f3d27a; background: rgba(243, 210, 122, .12); box-shadow: inset 0 0 0 1.5px rgba(243, 210, 122, .55); animation: tj-wiggle 3.4s ease-in-out infinite; }
.tj-openbox__tx b { display: block; margin-bottom: 4px; font-size: 17px; color: #f6dc8c; letter-spacing: -.01em; }
.tj-openbox__tx p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.tj-openbox__shine { position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .1) 50%, transparent 65%); background-size: 260% 100%; animation: tj-sweep 4.5s ease-in-out infinite; }

/* blocs de confiance : en-tête commun */
.tj-tb { position: relative; margin: 20px 0; padding: 30px 16px 18px; border-radius: 26px; background: linear-gradient(180deg, #f7f4ed, #f2eee4); box-shadow: inset 0 0 0 1px rgba(29, 59, 44, .06); }
.tj-tb__head { text-align: center; margin-bottom: 20px; }
.tj-kick { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 99px; background: color-mix(in srgb, var(--tj-tc) 12%, #fff); color: var(--tj-tc); font-size: 14px; font-weight: 800; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tj-tc) 22%, transparent), 0 8px 20px -14px var(--tj-tc); }
.tj-kick i { font-style: normal; color: #c9a227; font-size: 12px; animation: tj-twinkle 2.4s ease-in-out infinite; }
.tj-kick i:last-child { animation-delay: -1.2s; }
@keyframes tj-twinkle { 50% { opacity: .35; transform: scale(.7) rotate(45deg); } }
.tj-tb__head h2 { margin: 14px 0 0; font-family: var(--font-display); font-size: clamp(22px, 3vw, 27px); font-weight: 800; color: #14231c; letter-spacing: -.02em; }
[lang="ar"] .tj-tb__head h2 { letter-spacing: 0; }
.tj-tile { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 16px; color: var(--tj-tc); background: linear-gradient(145deg, color-mix(in srgb, var(--tj-tc) 10%, #fff), color-mix(in srgb, var(--tj-tc) 18%, #fff)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tj-tc) 16%, transparent); transition: transform .45s var(--spring), background .3s, color .3s; }
.tj-tb .reveal { transition-delay: calc(min(var(--i, 0), 6) * 80ms); }

/* garanties */
.tj-guar__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tj-gcard { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 20px 12px 18px; border-radius: 20px; background: #fff; text-align: center; box-shadow: 0 14px 30px -24px rgba(20, 35, 28, .6); transition: transform .4s var(--spring), box-shadow .3s; }
.tj-gcard:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -24px rgba(20, 35, 28, .6); }
.tj-gcard:hover .tj-tile, .tj-why__row:hover .tj-tile { transform: rotate(-8deg) scale(1.08); background: var(--tj-tc); color: #fff; }
.tj-gcard b { font-size: 15.5px; color: #14231c; }
.tj-gcard p { margin: 0; color: #6b7a72; font-size: 13px; line-height: 1.55; }

/* pourquoi nous */
.tj-why__list { display: grid; gap: 12px; }
.tj-why__row { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 14px 30px -24px rgba(20, 35, 28, .6); transition: transform .4s var(--spring), box-shadow .3s; }
.tj-why__row:hover { transform: translateX(4px); }
[dir="rtl"] .tj-why__row:hover { transform: translateX(-4px); }
.tj-why__row b { display: block; font-size: 15.5px; color: #14231c; }
.tj-why__row p { margin: 3px 0 0; color: #6b7a72; font-size: 13.5px; }

/* FAQ */
.tj-faq__list { display: grid; gap: 10px; }
.tj-faq__it { border-radius: 18px; background: #fff; box-shadow: 0 10px 24px -20px rgba(20, 35, 28, .6), inset 0 0 0 1px rgba(20, 35, 28, .05); transition: box-shadow .3s; overflow: hidden; }
.tj-faq__it[open] { box-shadow: 0 18px 34px -22px rgba(20, 35, 28, .6), inset 0 0 0 1.5px color-mix(in srgb, var(--tj-tc) 35%, transparent); }
.tj-faq__it summary { display: flex; align-items: center; gap: 12px; padding: 16px; list-style: none; cursor: pointer; font-weight: 700; font-size: 15px; color: #14231c; }
.tj-faq__it summary::-webkit-details-marker { display: none; }
.tj-faq__q { flex: 1; }
.tj-faq__chev { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: #efebe2; color: #4b5563; transition: transform .4s var(--spring), background .3s, color .3s; }
.tj-faq__it[open] .tj-faq__chev { transform: rotate(180deg); background: var(--tj-tc); color: #fff; }
.tj-faq__a { overflow: hidden; }
.tj-faq__a p { margin: 0; padding: 0 16px 16px; color: #5b6b63; font-size: 14px; line-height: 1.7; }

/* galerie de la description */
.tj-gl__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tj-gl__it { position: relative; display: block; aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; border-radius: 20px; background: #eee; cursor: zoom-in; box-shadow: 0 14px 30px -22px rgba(20, 35, 28, .7); }
.tj-gl__it img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tj-gl__it:hover img { transform: scale(1.07); }
.tj-gl__eye { position: absolute; top: 10px; inset-inline-end: 10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(17, 17, 17, .45); color: #fff; backdrop-filter: blur(6px); transition: transform .3s var(--spring), background .3s; }
.tj-gl__it:hover .tj-gl__eye { transform: scale(1.12); background: var(--tj-tc); }

/* aperçu plein écran (bouton fermer très visible) */
.tj-lb { position: fixed; inset: 0; z-index: 9990; display: grid; place-items: center; background: rgba(8, 10, 14, .92); backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s; }
.tj-lb.is-on { opacity: 1; }
.tj-lb__img { max-width: min(94vw, 1100px); max-height: 80vh; border-radius: 18px; box-shadow: 0 40px 90px -30px #000; transform: scale(.94); transition: transform .45s var(--spring), opacity .25s; }
.tj-lb.is-on .tj-lb__img { transform: none; }
.tj-lb__close { position: fixed; top: max(14px, env(safe-area-inset-top)); right: 14px; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 14px; border: 0; border-radius: 99px; background: #fff; color: #111; font: 800 15px var(--font); cursor: pointer; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .7); animation: tj-pop .45s var(--spring); }
.tj-lb__close:hover { background: #fde047; }
.tj-lb__nav { position: fixed; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; transition: background .2s; }
.tj-lb__nav:hover { background: rgba(255, 255, 255, .3); }
.tj-lb__nav--p { left: 14px; } .tj-lb__nav--n { right: 14px; }
.tj-lb__count { position: fixed; bottom: max(18px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); padding: 7px 14px; border-radius: 99px; background: rgba(255, 255, 255, .14); color: #fff; font: 700 13px var(--font); }
.tj-gal__slide { cursor: zoom-in; }
@media (max-width: 749px) { .tj-lb__nav { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .tj-price__now, .tj-openbox__shine, .tj-wa::after, .tj-wa__ic i, .tj-kick i { animation: none; } }

/* menu latéral : icônes des liens sans visuel (accueil, tous les produits, contact…) */
.menu-drawer .tj-mdi { display: grid; place-items: center; flex: 0 0 50px; width: 50px; height: 50px; border-radius: 14px; padding: 0; color: #031a33; background: linear-gradient(145deg, #ffd45c, var(--yellow)); }
.menu-drawer .tj-mdi--grid { background: linear-gradient(145deg, #c4b5fd, #8b5cf6); color: #fff; }
.menu-drawer .tj-mdi--phone { background: linear-gradient(145deg, #6ee7b7, #10b981); color: #fff; }
.menu-drawer .tj-mdi--route, .menu-drawer .tj-mdi--user { background: linear-gradient(145deg, #7dd3fc, #0ea5e9); color: #fff; }
.menu-drawer .tj-mdi--doc, .menu-drawer .tj-mdi--link { background: linear-gradient(145deg, #e2e8f0, #94a3b8); color: #0f172a; }
.menu-drawer a:hover .tj-mdi { transform: scale(1.06) rotate(-6deg); }

/* en-tête mobile : « Se connecter » en icône seule (ne chevauche plus le logo) */
@media (max-width: 640px) {
  .hdr__login { width: 44px; padding: 0; border: 0; background: transparent; gap: 0; }
  .hdr__login .hdr__action-text { display: none !important; }
  .hdr__login .hdr__action-icon { width: 40px; height: 40px; }
  .hdr__logo img { width: min(40vw, 150px); }
}

/* Tijaro : contenu riche des descriptions (vidéos, tableaux, citations, images alignées) */
.rte .tj-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 16px 0; border-radius: 14px; overflow: hidden; background: #000; }
.rte .tj-embed iframe, .rte .tj-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rte .tj-embed--file { aspect-ratio: auto; background: none; }
.rte .tj-embed--file video { position: static; height: auto; border-radius: 14px; }
.rte iframe { max-width: 100%; }
.rte img { max-width: 100%; height: auto; border-radius: 12px; }
.rte table, .rte .tj-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .95em; }
.rte th, .rte td { padding: 10px 12px; border: 1px solid rgba(0,0,0,.1); text-align: start; vertical-align: top; }
.rte th { background: rgba(0,0,0,.04); font-weight: 700; }
.rte blockquote { margin: 16px 0; padding: 12px 18px; border-inline-start: 4px solid currentColor; border-radius: 0 12px 12px 0; background: rgba(0,0,0,.035); font-style: italic; }
.rte hr { border: 0; height: 1px; margin: 22px 0; background: rgba(0,0,0,.12); }
.rte pre { padding: 12px 14px; border-radius: 10px; background: #0f172a; color: #e2e8f0; overflow-x: auto; font-size: .88em; }
@media (max-width: 640px) { .rte img[style*="float"] { float: none !important; width: 100% !important; margin: 10px 0 !important; } .rte table { display: block; overflow-x: auto; } }
.rte ul { list-style: disc; padding-inline-start: 1.4em; } .rte ol { list-style: decimal; padding-inline-start: 1.4em; } .rte li { margin: .2em 0; }

/* ---------------------------------------------------------------- Tijaro : page collection (en-tête compact, barre filtrer / trier, feuille mobile) */
.template-collection .coll-hero { display: none; }
.tj-ch { max-width: 1440px; margin: 0 auto; padding: 22px 24px 4px; }
.tj-ch__crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted, #6b7280); }
.tj-ch__crumbs a { color: inherit; } .tj-ch__crumbs a:hover { color: var(--ink, #0b1324); }
.tj-ch__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.tj-ch__t { margin: 0; padding: 0; font-size: clamp(22px, 3vw, 32px); line-height: 1.15; letter-spacing: -.02em; color: var(--ink, #0b1324); }
.tj-ch__n { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 99px; background: color-mix(in srgb, var(--yellow, #f7b500) 22%, #fff); color: var(--ink, #0b1324); font-size: 12.5px; font-weight: 700; }
.tj-ch__d { max-width: 760px; margin: 6px 0 0; padding: 0; color: var(--muted, #6b7280); font-size: 14px; }
.tj-cbar, .tj-sheet-h, .tj-sheet-f, .tj-sheet-bg { display: none; }
@media (max-width: 989px) {
  .coll { align-items: stretch; gap: 12px; padding-top: 10px; }
  .coll__main { width: 100%; }
  .coll__count { display: none; }
  .tj-ch { padding: 14px 16px 2px; }
  .tj-ch__t { font-size: 22px; }
  .tj-ch__d { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .tj-cbar { position: sticky; top: var(--tj-sticky-top, 0px); z-index: 20; display: flex; gap: 8px; padding: 10px 16px; background: color-mix(in srgb, var(--bg, #f5f6f8) 92%, transparent); backdrop-filter: blur(10px); }
  .tj-cbar__btn, .tj-cbar__sort { flex: 1; min-width: 0; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; border: 1.5px solid var(--line-2, #e3e5ea); background: #fff; color: var(--ink, #0b1324); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s; }
  .tj-cbar__btn:active, .tj-cbar__sort:active { transform: scale(.97); }
  .tj-cbar__btn b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; background: var(--ink, #0b1324); color: #fff; font-size: 11.5px; }
  .tj-cbar__sort { position: relative; padding: 0 12px; justify-content: flex-start; }
  .tj-cbar__sort select { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-weight: 700; color: inherit; appearance: none; -webkit-appearance: none; text-overflow: ellipsis; outline: none; cursor: pointer; }
  .tj-cbar__sort::after { content: ""; width: 7px; height: 7px; margin-left: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); flex-shrink: 0; opacity: .6; }
  .facets__toggle { display: none !important; }
  .facets { position: fixed !important; left: 0; right: 0; bottom: 0; top: auto !important; z-index: 1001; width: auto !important; max-height: 86vh !important; overflow: auto; border: 0; border-radius: 24px 24px 0 0; box-shadow: 0 -24px 60px rgba(0,0,0,.25); transform: translateY(105%); visibility: hidden; transition: transform .45s cubic-bezier(.22,1,.36,1), visibility 0s .45s; }
  .facets.is-open { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.22,1,.36,1); }
  .facets .facets__body { display: block !important; border-top: 0; }
  .tj-sheet-h { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 12px; background: #fff; border-bottom: 1px solid var(--line, #eceef2); }
  .tj-sheet-h::before { content: ""; position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--line-2, #d9dce3); }
  .tj-sheet-h b { font-size: 16px; }
  .tj-sheet-x { width: 36px; height: 36px; border-radius: 12px; border: 1px solid var(--line, #eceef2); background: none; display: grid; place-items: center; cursor: pointer; }
  .tj-sheet-f { position: sticky; bottom: 0; display: block; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line, #eceef2); }
  .tj-sheet-f .btn { width: 100%; }
  .tj-sheet-bg { position: fixed; inset: 0; z-index: 1000; display: block; background: rgba(6, 10, 20, .45); backdrop-filter: blur(3px); animation: tjFade .3s ease; }
  .tj-sheet-bg[hidden] { display: none; }
  body.tj-sheet-open { overflow: hidden; }
}
@keyframes tjFade { from { opacity: 0; } }
.template-collection .facet__price input { padding-left: 38px; } .template-collection .facet__price span { font-weight: 700; font-size: 12px; }
