/* ============================================================
   Rayamina — habillage « application » : blanc + beige
   Chargé après style.css sur toutes les pages publiques.
   Fond blanc, surfaces beige très clair, boutons beige (texte noir),
   cartes arrondies, barre d'onglets flottante sur téléphone.
   ============================================================ */

/* ============ Couleurs ============ */
:root {
  --ivory: #FFFFFF;          /* fond principal */
  --card: #FAF6F1;           /* champs, cartes */
  --oat: #F3EBE1;            /* fonds doux */
  --beige: #F3EBE1;
  --sand: #F3EBE1;
  --sand-light: #F3EBE1;
  --blush: #F3EBE1;
  --text-2: #6A5D54;
  --line: #ECE2D6;
  --gold-line: #ECE2D6;
  --icon-bg: #F3EBE1;

  --ap-primary: #DDD0C2;     /* boutons, éléments choisis */
  --ap-primary-h: #CFBFAE;
  --ap-soft: #F3EBE1;
  --ap-line: #ECE2D6;
  --ap-ring: #B79C8A;        /* contours de sélection, icônes */
  --ap-link: #8A7566;
  --ap-photo: #F1E9DF;

  /* le filet doré devient un simple filet beige, sans halo */
  --gold-grad: linear-gradient(var(--ap-line), var(--ap-line));
  --gold-halo: none;

  --header-h: 68px;
}
@media (min-width: 900px) { :root { --header-h: 76px; } }

body { background: #fff; }
.gold::after { display: none; }

/* ============ Boutons, pastilles ============ */
.btn { border-radius: 16px; font-size: .92rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.btn:hover { transform: none; }
.btn--ink, .btn--dark { background: var(--ap-primary); color: var(--ink); border: 0; }
.btn--ink:hover, .btn--dark:hover { background: var(--ap-primary-h); }
.btn--light { background: #fff; color: var(--ink); }
.link-arrow { letter-spacing: 0; text-transform: none; font-size: .84rem; border-bottom: 0; padding-bottom: 0; color: var(--ap-link); }

.chip { min-width: 0; height: 40px; padding: 0 16px; border-radius: 13px; background: #fff; border: 1px solid var(--ap-line); font-size: .86rem; font-weight: 500; }
.chip:hover { border-color: var(--ap-ring); }
.chip.is-current { background: var(--ap-primary); color: var(--ink); border-color: var(--ap-primary); font-weight: 600; }
.swatches { gap: 11px; }
.swatch { width: 28px; height: 28px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.swatch.is-current { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px #fff, 0 0 0 3.5px var(--ap-ring); }
.langs button.is-current { background: var(--ap-primary); color: var(--ink); border-color: var(--ap-primary); }
.cart-btn__count { top: -3px; inset-inline-end: -3px; background: var(--ink); color: #fff; box-shadow: 0 0 0 2px #fff; }

/* ============ En-tête : nom à gauche, boutons ronds à droite ============ */
.header {
  display: flex; align-items: center; gap: 8px;
  padding: 0 var(--gutter);
  opacity: 1; transform: none; transition: none;
  pointer-events: auto;
}
.header::before { background: #fff !important; border-bottom-color: transparent !important; opacity: 1 !important; }
.header__logo { order: 0; justify-self: auto; margin-inline-end: auto; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.header__logo::before {
  content: "Boutique";
  font: 600 .62rem/1 "Manrope", system-ui, sans-serif;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ap-ring); direction: ltr;
}
html[dir="rtl"] .header__logo { align-items: flex-end; }
.header__wordmark { font-weight: 400; font-size: 1.66rem; letter-spacing: .07em; margin-right: 0; color: var(--ink) !important; }
.header__side { order: 2; flex: none; }
.header__side--end { order: 1; }
.header .pill { height: auto; padding: 0; gap: 8px; }
.header .pill.gold { border: 0; background: none; box-shadow: none; }
.pill__icon { width: 42px; height: 42px; background: var(--card); border: 1px solid var(--ap-line); }
.pill__icon:hover, .pill__links a:hover { background: var(--ap-soft); }
.pill__icon svg { width: 20px; height: 20px; stroke-width: 1.7; }
.lang__current span { font-size: .78rem; letter-spacing: .02em; }
.lang__list { inset-inline-end: 0; background: #fff; border-color: var(--ap-line); box-shadow: 0 18px 40px -18px rgba(90, 70, 55, .45); }
.lang__list button:hover, .lang__list button.is-current { background: var(--ap-soft); }
/* la recherche est déjà dans la page (accueil, collection) */
body[data-page="home"] #searchBtn, body[data-page="collection"] #searchBtn { display: none; }

@media (max-width: 899px) {
  /* panier et favoris : dans la barre d'onglets */
  .header #cartBtn, .header .fav-link, .header .pill__links { display: none !important; }
  .wa-float { display: none !important; }
}
@media (max-width: 380px) {
  .header { gap: 6px; }
  .header .pill { gap: 6px; }
  .pill__icon { width: 38px; height: 38px; }
  .header__wordmark { font-size: 1.44rem; }
}
@media (min-width: 900px) {
  .header__logo { margin-inline-end: 0; }
  .header__side { order: 1; margin-inline: 22px auto; }
  .header__side--end { order: 2; margin-inline: 0; }
  .header .wa-link { display: none; }           /* sur ordinateur : le bouton WhatsApp flottant */
  .pill__links a { height: 42px; font-size: .9rem; }
}

/* ============ Barre d'onglets flottante (téléphone) ============ */
.tabbar {
  position: fixed; z-index: 60;
  left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
  height: 64px; padding: 0 8px;
  display: flex; align-items: center; justify-content: space-around;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ap-line);
  box-shadow: 0 16px 30px -12px rgba(90, 70, 55, .38);
}
.tabbar__item { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #B4A192; transition: background .25s ease, color .25s ease; }
.tabbar__item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tabbar__item.is-current { background: var(--ap-primary); color: var(--ink); }
.tabbar__item.is-current[href*="favoris"] svg { fill: currentColor; }
.tabbar__count { position: absolute; top: 4px; inset-inline-end: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--ink); color: #fff; font: 600 10px/16px "Manrope", sans-serif; text-align: center; }
@media (min-width: 900px) { .tabbar { display: none; } }
@media (max-width: 899px) {
  .has-tabbar .footer__bottom { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
}

/* ============ Invitation à installer ============ */
.install {
  position: fixed; z-index: 64;
  left: 12px; right: 12px; bottom: calc(92px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px;
  padding: 12px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--ap-line);
  box-shadow: 0 20px 40px -16px rgba(90, 70, 55, .5);
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s ease, transform .4s var(--out);
}
.install.is-in { opacity: 1; transform: none; }
.install__icon { width: 48px; height: 48px; border-radius: 14px; flex: none; border: 1px solid var(--ap-line); }
.install__text { flex: 1; min-width: 0; }
.install__text b { display: block; font-size: .94rem; font-weight: 600; }
.install__text p { margin-top: 2px; font-size: .76rem; line-height: 1.35; color: var(--text-2); }
.install__btn { flex: none; min-height: 38px; padding: 0 14px; border-radius: 999px; font-size: .82rem; }
.install__close { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); }
.install__close svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (min-width: 900px) { .install { left: auto; right: 24px; bottom: 96px; width: 400px; } html[dir="rtl"] .install { right: auto; left: 24px; } }

/* ============ Accueil ============ */
.ah { padding-top: calc(var(--header-h) + 2px); padding-bottom: 34px; background: #fff; }
.ah, .ap-coll { max-width: 1440px; margin-inline: auto; }

/* Recherche + filtre (accueil, collection) */
.ah-search { display: flex; gap: 10px; }
.ah-search__in {
  flex: 1; min-width: 0; height: 50px;
  display: flex; align-items: center; gap: 10px;
  padding: 0 16px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--ap-line);
  color: var(--text-2);
  font-size: .92rem; text-align: start;
  cursor: pointer;
  transition: border-color .25s ease;
}
.ah-search__in:focus-within { border-color: var(--ap-ring); }
.ah-search__in > svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.ah-search__in input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 1rem; color: var(--ink); cursor: text; }
.ah-search__in input::placeholder { color: var(--text-2); font-size: .92rem; }
.ah-search__in input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.ah-search__clear { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ap-primary); color: var(--ink); }
.ah-search__clear svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ah-filter { position: relative; flex: none; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--ap-primary); color: var(--ink); transition: background .25s ease; }
.ah-filter:hover { background: var(--ap-primary-h); }
.ah-filter svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.ah-filter__count { position: absolute; top: -5px; inset-inline-end: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: #fff; font: 600 10.5px/18px "Manrope", sans-serif; text-align: center; box-shadow: 0 0 0 2px #fff; }

/* Bannière */
.ah-bannerwrap { margin-top: 14px; }
.ah-banner {
  position: relative; overflow: hidden;
  min-height: 178px; padding: 18px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  border-radius: 26px;
  background: linear-gradient(115deg, #F6EFE6 0%, #DDD0C2 100%);
}
html[dir="rtl"] .ah-banner { background: linear-gradient(245deg, #F6EFE6 0%, #DDD0C2 100%); }
.ah-banner__title { max-width: calc(100% - 128px); font-family: var(--f-display); font-weight: 500; font-size: 1.32rem; line-height: 1.14; }
html[lang="ar"] .ah-banner__title { line-height: 1.5; }
.ah-banner__text { max-width: calc(100% - 132px); margin-top: 5px; font-size: .74rem; line-height: 1.4; color: #5F5148; }
.btn.ah-banner__cta { margin-top: 10px; min-height: 34px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--ink); font-size: .76rem; }
.ah-banner__arch { position: absolute; bottom: 0; inset-inline-end: 16px; width: 112px; height: 150px; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--card); box-shadow: 0 0 0 3px #fff; }
.ah-banner__arch img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }

/* Titres de rangée, catégories, pastilles, grille */
.ah .latest { display: block; padding: 0; }
.ah-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 10px; }
.ah-head h2 { font-family: var(--f-display); font-weight: 500; font-size: 1.32rem; line-height: 1.25; }
.ah-head a { flex: none; font-size: .8rem; font-weight: 500; color: var(--ap-link); }
.ah-cats { display: flex; gap: clamp(10px, 4.4vw, 30px); overflow-x: auto; scrollbar-width: none; padding: 4px 4px 2px; }
.ah-cats::-webkit-scrollbar { display: none; }
.ah-cat { flex: none; display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: .78rem; }
.ah-cat__img { width: 62px; height: 62px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--ap-soft); border: 1px solid var(--ap-line); transition: box-shadow .25s ease; }
.ah-cat__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.ah-cat__img svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.ah-cat.is-current .ah-cat__img, .ah-cat:hover .ah-cat__img { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ap-ring); }
.ah-cat.is-current .ah-cat__img { background: var(--ap-primary); border-color: transparent; }
.ah-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; }
.ah-chips::-webkit-scrollbar { display: none; }
.ah-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 17px; border-radius: 999px; background: #fff; border: 1px solid var(--ap-line); color: var(--ink); font-size: .82rem; white-space: nowrap; transition: background .25s ease, border-color .25s ease; }
.ah-chip:hover { border-color: var(--ap-ring); }
.ah-chip.is-current { background: var(--ap-primary); border-color: var(--ap-primary); font-weight: 600; }
.ah-chip sup { font-size: .62rem; color: var(--text-2); }
.ah-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; padding-top: 14px; }
@media (min-width: 700px) { .ah-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; } }
@media (min-width: 1100px) { .ah-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 24px; } }

/* Vidéo de la maison : montrée telle quelle, dans un cadre, juste sous la bannière */
.ah-video { position: relative; margin-top: 12px; }
.ah-video__el { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 26px; background: var(--ap-soft); }
.ah-video__btn { position: absolute; bottom: 12px; inset-inline-end: 12px; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: .78rem; font-weight: 600; }
.ah-video__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ah-video__btn .i-wave, .ah-video__btn[aria-pressed="true"] .i-play { display: none; }
.ah-video__btn[aria-pressed="true"] .i-wave { display: block; }

/* ============ Carte produit ============ */
.pcard { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; align-content: start; }
.pcard__visual { grid-column: 1 / -1; border-radius: 20px; --fill: var(--ap-photo); }
.pcard__visual.gold { border: 0; box-shadow: none; background: var(--ap-photo); }
.pcard__media { border-radius: 20px; }
.pcard__badge { top: 10px; inset-inline-start: 10px; padding: 5px 9px; background: #fff; border-color: #fff; color: var(--ink); font-size: .59rem; letter-spacing: .1em; }
.pcard__badge--out { background: var(--ink); border-color: var(--ink); color: #fff; }
.pcard__fav, .pdp__round { display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .96); color: var(--ap-ring); }
.pcard__fav { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; width: 34px; height: 34px; transition: transform .3s var(--soft); }
.pcard__fav:active { transform: scale(.88); }
.pcard__fav svg, .pdp__round svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[data-fav].is-on svg { fill: currentColor; }
.pcard__add { bottom: 10px; inset-inline-end: 10px; width: 34px; height: 34px; }
.pcard__add.gold { border: 0; background: rgba(255, 255, 255, .96); box-shadow: none; }
.pcard__add svg { width: 16px; height: 16px; }
.pcard__info { grid-column: 1; margin-top: 9px; min-width: 0; }
.pcard__name { font-size: 1.12rem; font-weight: 500; line-height: 1.2; }
.pcard__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-top: 1px; }
.pcard__type { font-size: .76rem; }
.pcard__price { font-size: .9rem; font-weight: 600; }
.pcard__colors { grid-column: 2; align-self: end; gap: 4px; margin: 0 0 4px; flex-wrap: wrap; justify-content: flex-end; max-width: 76px; }
.pcard__colors li { width: 10px; height: 10px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16); }
.sold-count { margin-top: 3px; font-size: .72rem; }

/* ============ Accueil : sections d'information, en blocs arrondis ============ */
.ah .sec { min-height: 0; border-radius: 26px; box-shadow: none; background: none; }
.ah .atelier, .ah .how, .ah .services, .ah .faq, .ah .place, .ah .voices, .ah .social {
  display: block;
  margin: 22px var(--gutter) 0;
  padding: 22px 0 20px;
  overflow: hidden;
}
.ah .atelier, .ah .how, .ah .services, .ah .faq, .ah .place, .ah .voices, .ah .social { background: var(--ap-soft); }
.ah .how-card, .ah .svc-card, .ah .craft, .ah .voice { --fill: #fff; background-color: #fff; }
.ah .sec .wrap { padding-inline: 18px; }
.ah .display { font-size: 1.32rem; font-weight: 500; line-height: 1.25; letter-spacing: 0; }
.ah .eyebrow { font-size: .62rem; color: var(--ap-link); }
.ah .lead { max-width: 60ch; font-size: .86rem; line-height: 1.55; color: #4F443D; }
.ah .atelier__head, .ah .place__inner, .ah .place__head, .ah .faq__inner, .ah .social__inner { display: block; }
.ah .atelier__head .display { margin-top: 3px; }
.ah .atelier__intro, .ah .place__head .lead { margin-top: 6px; }
.ah .cards-row { gap: 12px; padding: 14px 18px 2px; scroll-padding-inline: 18px; grid-auto-columns: min(70vw, 270px); }
.ah .how-card, .ah .svc-card, .ah .craft { border-radius: 20px; }
.ah .how-card:hover, .ah .svc-card:hover, .ah .craft:hover { translate: none; }
.ah .how-card { min-height: 0; gap: 7px; padding: 16px; }
.ah .how-card__n { font-size: 1.4rem; color: var(--ap-ring); }
.ah .how-card__title { font-size: 1.08rem; font-weight: 500; }
.ah .how-card__text { font-size: .82rem; line-height: 1.5; }
.ah .services__list { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; }
.ah .svc-card { min-height: 0; gap: 12px; padding: 14px; }
.ah .svc-card__icon { width: 24px; height: 24px; stroke: var(--ap-ring); stroke-width: 1.5; }
.ah .svc-card__title { padding-inline-end: 0; font-family: var(--f-body); font-size: .84rem; font-weight: 600; line-height: 1.35; }
.ah .svc-card__arrow { display: none; }
.ah .craft__title { font-size: 1.16rem; font-weight: 500; }
.ah .craft__desc { font-size: .82rem; line-height: 1.55; }
.ah .craft__text { gap: 8px; padding: 0 16px 18px; }
.ah .craft__tags li { background: #fff; font-size: .7rem; padding: 5px 10px; }
.ah .craft__arrow { width: 34px; height: 34px; top: 12px; inset-inline-end: 12px; }
.ah .faq__list { margin-top: 8px; border-top: 0; }
.ah .faq__item { border-bottom-color: #E2D5C6; }
.ah .faq__item:last-child { border-bottom: 0; }
.ah .faq__q { padding: 14px 0; font-size: .9rem; }
.ah .faq__a p { font-size: .86rem; line-height: 1.6; }
.ah .place__body { margin-top: 14px; }
.ah .social__list { margin-top: 10px; border-top: 0; }
.ah .social__name { font-size: 1.2rem; }
.ah .social__icon { width: 44px; height: 44px; }
.ah .social__link { padding: 12px 0; column-gap: 14px; }
.ah .voices__head { margin-bottom: 14px; }
@media (min-width: 900px) {
  .ah .atelier, .ah .how, .ah .services, .ah .faq, .ah .place, .ah .voices, .ah .social { margin-top: 34px; padding: 40px 0 36px; border-radius: 34px; }
  .ah .sec .wrap { padding-inline: 44px; }
  .ah .display { font-size: 2rem; }
  .ah .lead { font-size: .98rem; }
  .ah .cards-row { gap: 20px; padding: 22px 44px 2px; }
  .ah .services__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ah .how-card { padding: 22px; }
  .ah .how-card__title { font-size: 1.3rem; }
  .ah .how-card__text, .ah .craft__desc { font-size: .9rem; }
  .ah .svc-card { padding: 20px; }
  .ah .svc-card__title { font-size: .95rem; }
  .ah .faq__inner { display: grid; }

  .ah-search { max-width: 620px; }
  .ah-bannerwrap.has-video { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; }
  .ah-bannerwrap.has-video .ah-video { margin-top: 0; }
  .ah-bannerwrap.has-video .ah-video__el { height: 100%; min-height: 360px; aspect-ratio: auto; border-radius: 36px; }
  .ah-bannerwrap.has-video .ah-banner { padding: 40px 44px; }
  .ah-bannerwrap.has-video .ah-banner__title { max-width: calc(100% - 250px); font-size: clamp(1.9rem, 2.7vw, 2.6rem); }
  .ah-bannerwrap.has-video .ah-banner__text { max-width: calc(100% - 260px); }
  .ah-bannerwrap.has-video .ah-banner__arch { inset-inline-end: 40px; width: 216px; height: 290px; }
  .ah-video__btn { bottom: 18px; inset-inline-end: 18px; }
  .ah-banner { min-height: 360px; padding: 48px 56px; border-radius: 36px; }
  .ah-banner__title { max-width: 56%; font-size: 3rem; line-height: 1.08; }
  .ah-banner__text { max-width: 46%; margin-top: 14px; font-size: 1.02rem; line-height: 1.55; }
  .btn.ah-banner__cta { margin-top: 24px; min-height: 50px; padding: 0 28px; font-size: .95rem; }
  .ah-banner__arch { inset-inline-end: 72px; width: 270px; height: 318px; box-shadow: 0 0 0 5px #fff; }
  .ah-head { padding-top: 34px; padding-bottom: 16px; }
  .ah-head h2 { font-size: 1.9rem; }
  .ah-head a { font-size: .9rem; }
  .ah-cats { gap: 40px; }
  .ah-cat { font-size: .9rem; gap: 10px; }
  .ah-cat__img { width: 92px; height: 92px; }
  .ah-chip { height: 40px; font-size: .88rem; }
  .pcard__name { font-size: 1.3rem; }
  .pcard__price { font-size: .98rem; }
  .pcard__colors li { width: 12px; height: 12px; }
  .pcard__colors { max-width: 110px; gap: 5px; }
}

/* ============ Collection, favoris ============ */
.coll.ap-coll { padding-top: calc(var(--header-h) + 2px); background: #fff; }
.ap-coll .coll__head { gap: 4px; padding: 4px var(--gutter) 12px; }
.ap-coll .coll__title { align-items: baseline; gap: 8px; font-weight: 500; font-size: 1.5rem; line-height: 1.25; }
.ap-coll .coll__count { margin-top: 0; font-size: .72rem; letter-spacing: 0; color: var(--text-2); }
.ap-coll .coll__text { max-width: 60ch; font-size: .84rem; line-height: 1.5; }
.ap-coll .ah-chips { margin-top: 12px; }
.ap-collbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.ap-collbar__found { font-size: .8rem; color: var(--text-2); }
.ap-coll .coll__sort { gap: 8px; font-size: .8rem; }
.ap-coll .coll__sort select {
  height: 36px; padding: 0 32px 0 14px;
  border: 1px solid var(--ap-line); box-shadow: none;
  font-size: .8rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111010' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 13px center / 11px;
}
html[dir="rtl"] .ap-coll .coll__sort select { padding: 0 14px 0 32px; background-position: left 13px center; }
.coll__grid.ah-grid { padding-top: 14px; padding-bottom: 120px; gap: 20px 14px; }
.ap-coll .coll__empty { padding: 34px var(--gutter) 120px; }
@media (min-width: 700px) { .coll__grid.ah-grid { gap: 28px 20px; } }
@media (min-width: 900px) {
  .ap-coll .coll__head { padding-top: 22px; padding-bottom: 20px; gap: 8px; }
  .ap-coll .coll__title { font-size: 2.5rem; }
  .ap-coll .coll__text { font-size: .98rem; }
  .ap-coll .ah-chips { margin-top: 18px; }
  .coll__grid.ah-grid { padding-bottom: 96px; }
}
@media (min-width: 1100px) { .coll__grid.ah-grid { gap: 34px 24px; } }

.ap-fav { min-height: 100svh; }
.ap-fav .coll__grid.ah-grid { padding-bottom: 0; }
.fav-note { display: flex; align-items: flex-start; gap: 11px; max-width: 520px; margin-top: 22px; margin-bottom: 120px; padding: 14px; border-radius: 18px; background: var(--ap-soft); }
.fav-note svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--ap-ring); stroke-width: 1.7; }
.fav-note p { font-size: .8rem; line-height: 1.45; color: #5F5148; }
.fav-empty { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 44px; padding-bottom: 120px; text-align: center; }
.fav-empty__icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--ap-soft); color: var(--ap-ring); }
.fav-empty__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.fav-empty p { max-width: 32ch; font-size: .92rem; line-height: 1.5; color: var(--text-2); }

/* Feuille de filtre */
.sheet { position: fixed; inset: 0; z-index: 88; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(40, 30, 22, .38); opacity: 0; transition: opacity .35s ease; }
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 88svh; overflow-y: auto;
  padding: 10px var(--gutter) calc(22px + env(safe-area-inset-bottom));
  border-radius: 30px 30px 0 0;
  background: #fff;
  transform: translateY(102%);
  transition: transform .42s var(--ease);
}
.sheet.is-open .sheet__panel { transform: none; }
.sheet__panel:focus { outline: 0; }
.sheet__grip { display: block; width: 44px; height: 5px; margin: 0 auto 14px; border-radius: 3px; background: var(--ap-primary); }
.sheet__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sheet__title { font-family: var(--f-display); font-weight: 500; font-size: 1.4rem; }
.sheet__reset { font-size: .8rem; font-weight: 500; color: var(--ap-link); }
.sheet__label { margin: 18px 0 10px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.sheet__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet__apply { margin-top: 22px; min-height: 54px; border-radius: 18px; font-size: .95rem; }
.range { position: relative; height: 28px; margin: 2px 4px 0; --a: 0%; --b: 100%; }
.range::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--ap-soft) var(--a), var(--ap-ring) var(--a), var(--ap-ring) var(--b), var(--ap-soft) var(--b)); }
.range input { position: absolute; top: 0; left: -11px; width: calc(100% + 22px); height: 28px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range input::-webkit-slider-runnable-track { height: 28px; background: none; }
.range input::-moz-range-track { background: none; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: #fff; border: 2px solid var(--ap-ring); box-shadow: 0 2px 6px rgba(60, 40, 30, .2); cursor: pointer; }
.range input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--ap-ring); box-shadow: 0 2px 6px rgba(60, 40, 30, .2); cursor: pointer; }
.range__vals { display: flex; justify-content: space-between; margin-top: 6px; font-size: .82rem; font-weight: 600; }
@media (min-width: 700px) {
  .sheet__panel { left: 50%; right: auto; bottom: auto; top: 50%; width: 440px; padding: 26px 28px 26px; border-radius: 28px; opacity: 0; transform: translate(-50%, -46%); transition: transform .35s var(--out), opacity .3s ease; }
  .sheet.is-open .sheet__panel { opacity: 1; transform: translate(-50%, -50%); }
  .sheet__grip { display: none; }
}

/* ============ Fiche produit ============ */
.co { padding-top: var(--header-h); background: #fff; }
.pdp__media { position: relative; }
.pdp__stage.gold { border: 0; box-shadow: none; background: var(--ap-photo); }
.pdp__stage { border-radius: 28px; overflow: hidden; }
.pdp__img { border-radius: 0; }
.pdp__thumb { border: 0; border-radius: 12px; }
.pdp__thumb.is-current { box-shadow: inset 0 0 0 2px var(--ap-ring); }
.pdp__top { position: absolute; top: 14px; left: 16px; right: 16px; z-index: 3; display: flex; justify-content: space-between; pointer-events: none; }
.pdp__round { pointer-events: auto; width: 42px; height: 42px; background: #fff; color: var(--ink); box-shadow: 0 6px 16px -6px rgba(60, 40, 30, .35); }
.pdp__round.pdp__fav { color: var(--ap-ring); margin-inline-start: auto; }
html[dir="rtl"] #pdpBack svg { transform: scaleX(-1); }
.pdp__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pdp__meta .eyebrow { color: var(--ap-link); }
.pdp__cod { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; color: var(--ap-link); }
.pdp__cod svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.pdp__barprice { display: none; }
.pdp__name { font-weight: 500; }
.acc, .acc__item { border-color: var(--ap-line); }
/* « Commander » est le bouton principal ; « Ajouter au panier » l'accompagne */
#pdpNow.btn { background: var(--ap-primary); border-color: transparent; color: var(--ink); }
#pdpNow.btn:hover { background: var(--ap-primary-h); }
#pdpAdd.btn { background: #fff; border: 1.5px solid var(--ap-primary); }
#pdpAdd.btn:hover { background: var(--ap-soft); }
.pdp__actions { flex-direction: column-reverse; }

@media (max-width: 899px) {
  .pdp { display: block; padding-block: 0 118px; }
  .pdp__media { margin-inline: calc(var(--gutter) * -1); }
  .pdp__stage { aspect-ratio: auto; height: min(112vw, 56svh); border-radius: 0 0 32px 32px; }
  .pdp__img { object-position: center 28%; }
  .pdp__thumbs { position: absolute; left: 50%; bottom: 14px; z-index: 3; max-width: calc(100% - 40px); padding: 7px; gap: 8px; border-radius: 18px; background: rgba(255, 255, 255, .97); box-shadow: 0 10px 24px -10px rgba(60, 40, 30, .4); transform: translateX(-50%); }
  .pdp__thumbs:empty { display: none; }
  .pdp__thumb { width: 44px; aspect-ratio: 1; }
  .pdp__info { gap: 0; padding-top: 16px; }
  .pdp__info .co__back, .pdp__price { display: none; }
  .pdp__name { margin-top: 3px; font-size: 1.95rem; line-height: 1.12; }
  .pdp__field { padding-top: 13px; }
  .pdp__label { margin-bottom: 8px; font-size: .8rem; }
  .pdp__info .co-alert { margin-top: 14px; }
  .acc { margin-top: 18px; }

  /* barre d'achat fixée en bas : prix, panier, Commander */
  .pdp__actions {
    position: fixed; z-index: 62; left: 0; right: 0; bottom: 0;
    flex-direction: row; align-items: center; gap: 10px;
    margin: 0; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--ap-line);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -12px 30px -18px rgba(90, 70, 55, .35);
  }
  .pdp__barprice { display: block; min-width: 0; margin-inline-end: auto; }
  .pdp__barprice small { display: block; font-size: .72rem; color: var(--text-2); }
  .pdp__barprice b { font-size: 1.18rem; font-weight: 600; white-space: nowrap; }
  #pdpAdd.btn {
    order: 2; flex: none; width: 52px; min-height: 52px; padding: 0;
    font-size: 0; border-radius: 17px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111010' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 8h13l-1 12.5h-11z'/%3E%3Cpath d='M9 10V7a3 3 0 0 1 6 0v3'/%3E%3C/svg%3E") center / 22px no-repeat;
  }
  #pdpNow.btn { order: 3; flex: 0 1 auto; width: auto; min-width: 132px; min-height: 52px; padding: 0 24px; border-radius: 17px; white-space: normal; line-height: 1.15; text-align: center; }
  body.is-pdp .footer__bottom { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
}
@media (min-width: 900px) {
  .pdp__media { position: sticky; }
  #pdpBack { display: none; }
  .pdp__name { font-size: clamp(2.2rem, 4vw, 3.2rem); }
}

/* ============ Commande ============ */
.co__progress span { background: var(--ap-ring); }
.co__steps li.is-current .co__dot { background: var(--ap-primary); color: var(--ink); border-color: var(--ap-primary); }
.co__steps li.is-done .co__dot { background: #fff; border-color: var(--ap-ring); color: var(--ink); }
.co-mode:has(input:checked) { border-color: var(--ap-ring); }
.saved-note { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 16px; padding: 13px 14px; border-radius: 18px; background: var(--ap-soft); }
.saved-note__icon { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.saved-note__icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.saved-note__text { flex: 1; min-width: 0; }
.saved-note__text b { display: block; font-size: .86rem; font-weight: 600; line-height: 1.3; }
.saved-note__text p { margin-top: 2px; font-size: .76rem; line-height: 1.4; color: #5F5148; }
.saved-note__links { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.saved-note__links button { font-size: .76rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.saved-note__links #savedClear { font-weight: 500; color: var(--text-2); }

/* ============ Pied de page : beige doux ============ */
.footer { background: var(--ap-soft); color: var(--ink); padding-top: clamp(40px, 6vw, 84px); }
.footer__news-text, .footer__col a, .trust li, .footer__form-msg { color: var(--ink); }
.footer__consent, .footer__col h3 { color: var(--text-2); }
.footer__form { background: #fff; border: 1px solid var(--ap-line); box-shadow: none; }
.footer__form:focus-within { box-shadow: 0 0 0 3px var(--ap-primary); }
.footer__form button { background: var(--ap-primary); color: var(--ink); font-size: .84rem; letter-spacing: 0; text-transform: none; }
.footer__form button:hover { transform: none; background: var(--ap-primary-h); }
.footer__social a { border-color: var(--ap-ring); }
.footer__social a:hover { background: var(--ap-primary); border-color: var(--ap-primary); }
.trust { border-top-color: var(--ap-primary); }
.trust svg { stroke: var(--ap-ring); }
.footer .langs button { border-color: var(--ap-primary); color: var(--ink); }
.footer .langs button.is-current { background: var(--ap-primary); border-color: var(--ap-primary); }
.footer__word { color: #E7DCCD; }
.footer__bottom { border-top-color: var(--ap-primary); color: var(--text-2); }
@media (max-width: 899px) { .footer__news-title { font-size: 1.6rem; } }

/* ============ Boutons des autres pages : même beige, mêmes arrondis ============ */
.nf__btn, .popup__submit, .lb__order, .panel__btn, .panel--dark .panel__btn {
  border-radius: 16px;
  background: var(--ap-primary); color: var(--ink);
  font-size: .92rem; font-weight: 600; letter-spacing: 0; text-transform: none;
}
.nf__btn:hover, .popup__submit:hover, .lb__order:hover, .panel__btn:hover { background: var(--ap-primary-h); }
.policy__toc a.is-current { background: var(--ap-primary); color: var(--ink); border-color: var(--ap-primary); }
.trk__steps li.is-now span { background: var(--ap-ring); border-color: var(--ap-ring); }
.direct__wa { border-radius: 20px; background: var(--ap-primary); color: var(--ink); }
.direct__wa small { color: #4F443D; }
.direct__wa-icon { background: #fff; color: var(--ink); }

/* ============ Écriture simple (demande d'Amine, 11/11/2026) ============ */
/* Toute l'écriture passe de Bodoni Moda à la police du texte (Manrope ; arabe : IBM Plex Sans Arabic),
   y compris le nom « Rayamina » de l'en-tête et du pied de page (choix « B »). */
.header__wordmark, .footer__word, .nf__word, .popup__word { font-family: "Manrope", system-ui, sans-serif; font-weight: 600; letter-spacing: .01em; }
.header__wordmark { font-size: 1.42rem; }
.footer__word { font-size: clamp(3.2rem, 13.5vw, 13rem); letter-spacing: 0; }
@media (max-width: 380px) { .header__wordmark { font-size: 1.28rem; } }
:root { --f-display: "Manrope", system-ui, sans-serif; }
html[lang="ar"] { --f-display: "IBM Plex Sans Arabic", system-ui, sans-serif; }
.display, .ah-banner__title, .ah-head h2, .pcard__name, .coll__title, .pdp__name, .sheet__title,
.how-card__title, .how-card__n, .craft__title, .svc-card__title, .social__name,
.cart__title, .cart__sum b, .citem__name, .cpick__name, .co-bar b, .co-done__title, .co-line__name, .co-sum__title, .co__h, .co__title,
.contact__title, .panel__title, .direct__wa b, .review__title,
.about__title, .about__vtitle, .value__title, .policy__title, .psec__title,
.footer__news-title, .popup__title, .nf__title, .lb__name, .menu__main a, .sres__name, .trk__state, .place__row dd {
  font-weight: 600; letter-spacing: -.01em;
}
.about__lead, .voice__text { font-weight: 500; }
html[lang="ar"] .display, html[lang="ar"] .ah-banner__title, html[lang="ar"] .pdp__name, html[lang="ar"] .coll__title { letter-spacing: 0; }
/* grands titres : un peu moins grands qu'en Bodoni, pour le même encombrement */
.pcard__name { font-size: 1rem; }
.ah-banner__title { font-size: 1.2rem; line-height: 1.2; }
.ah-head h2, .ah .display { font-size: 1.2rem; }
.ap-coll .coll__title { font-size: 1.36rem; }
.sheet__title { font-size: 1.24rem; }
.ah .how-card__title { font-size: 1rem; }
.ah .craft__title { font-size: 1.04rem; }
.search__bar input { font-size: clamp(1.1rem, 3vw, 1.5rem); }
.sres__name { font-size: 1.05rem; }
.menu__main a { letter-spacing: -.02em; }
@media (max-width: 899px) {
  .pdp__name { font-size: 1.7rem; }
  .co__title, .contact__title, .about__title, .policy__title, .nf__title { font-size: clamp(1.7rem, 7.4vw, 2.3rem); line-height: 1.15; }
  .display { font-size: clamp(1.7rem, 7.4vw, 2.3rem); line-height: 1.15; }
  .ah .display { font-size: 1.2rem; }
  .footer__news-title { font-size: 1.4rem; }
}
@media (min-width: 900px) {
  .pcard__name { font-size: 1.12rem; }
  .ah-head h2, .ah .display { font-size: 1.6rem; }
  .ah-banner__title { font-size: 2.5rem; line-height: 1.12; }
  .ah-bannerwrap.has-video .ah-banner__title { font-size: clamp(1.6rem, 2.3vw, 2.2rem); }
  .ap-coll .coll__title { font-size: 2.1rem; }
  .ah .how-card__title { font-size: 1.12rem; }
  .display { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.08; }
  .ah .display { font-size: 1.6rem; }
  .pdp__name { font-size: clamp(2rem, 3.4vw, 2.8rem); }
}

/* ============ Couleur épuisée (une seule couleur, pas tout le modèle) ============ */
.swatch.is-out, .pcard__colors li.is-out { position: relative; opacity: .45; }
.swatch.is-out::after, .pcard__colors li.is-out::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(135deg, transparent calc(50% - 1px), #fff calc(50% - 1px), #fff calc(50% + 1px), transparent calc(50% + 1px));
}
.swatch.is-out { position: relative; }
[data-pick-add][disabled] { opacity: .45; pointer-events: none; }
