/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --pink: #f5f5f5;
  --pink-dark: #2b2b2b;
  --gold: #e2e2e2;
  --cream: #ffffff;
  --cream-dark: #f2f2f2;
  --brown: #1a1a1a;
  --text: #333333;
  --text-light: #888888;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --font-title: 'Cormorant Garamond', serif;
  --font-body: 'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }

/* ===== Intro splash ===== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  clip-path: circle(150% at var(--rx, 50%) var(--ry, 50%));
  transition: clip-path 0.9s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: clip-path;
}
.intro--reveal {
  clip-path: circle(0% at var(--rx, 50%) var(--ry, 50%));
  pointer-events: none;
}
.intro__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intro__banner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  background-image: radial-gradient(ellipse at center, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.25) 65%, rgba(0,0,0,0.1) 85%), url('../images/just-beauty-banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.intro__banner.show { opacity: 1; pointer-events: auto; }
.intro__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
}
.intro__logo {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.intro__content h1 {
  color: var(--white);
  font-size: 2.6rem;
  margin-bottom: 10px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 4px 20px rgba(0,0,0,0.5);
}
.intro__content p {
  margin-bottom: 30px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 4px 20px rgba(0,0,0,0.5);
}
.intro__btn { padding: 16px 40px; transition: all 0.3s ease, transform 0.15s ease; }
.intro__btn:active { transform: scale(0.94); }

body.intro-active { overflow: hidden; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-title); color: var(--brown); font-weight: 600; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pink-dark);
  font-weight: 500;
  margin-bottom: 10px;
}
.eyebrow.center { display: block; text-align: center; }

.section-title { font-size: 2.4rem; margin-bottom: 50px; }
.section-title.center { text-align: center; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--pink-dark);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--brown);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.btn--ghost {
  border-color: var(--brown);
  color: var(--brown);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--brown);
  color: var(--white);
}

/* ===== Announcement bar ===== */
.announce {
  background: var(--white);
  color: var(--text);
  text-align: center;
  font-size: 0.82rem;
  padding: 9px 16px;
  letter-spacing: 0.2px;
  border-bottom: 1px solid var(--cream-dark);
}
.announce strong { color: var(--brown); }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.header__icons {
  display: flex;
  align-items: center;
  gap: 6px;
}
.icon-btn {
  position: relative;
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s ease;
}
.icon-btn:hover { background: var(--cream); }
.cart-count {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--pink-dark);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 600;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.logo--lg img {
  height: 62px;
  width: 62px;
}

.nav { display: flex; gap: 36px; }
.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--pink-dark);
  transition: width 0.3s ease;
}
.nav a:hover::after { width: 100%; }
.nav a.active { color: var(--pink-dark); }
.nav a.active::after { width: 100%; }

/* ===== Page hero (inner pages) ===== */
.page-hero {
  padding: 70px 0 50px;
  text-align: center;
  background: var(--cream);
}
.page-hero h1 { font-size: 2.8rem; margin: 10px 0 16px; }
.page-hero__text { color: var(--text-light); max-width: 560px; margin: 0 auto; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--brown);
  transition: all 0.3s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0) 75%), url('../images/hero-pro.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}
.hero__inner {
  padding-top: 78px;
  max-width: 720px;
}
.hero .eyebrow { color: var(--white); }
.hero h1 {
  font-size: 3.6rem;
  line-height: 1.15;
  margin: 16px 0 20px;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 4px 20px rgba(0,0,0,0.5);
}
.hero h1 span { color: var(--white); }
.hero__text {
  font-size: 1.1rem;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 4px 20px rgba(0,0,0,0.5);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero__actions { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 24px; }
.hero .btn--ghost { border-color: var(--white); color: var(--white); }
.hero .btn--ghost:hover { background: var(--white); color: var(--brown); }
.hero__rating {
  font-size: 0.9rem;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 4px 20px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}
.stars { color: #e0a83d; letter-spacing: 2px; }

/* ===== Trust badges ===== */
.badges { padding: 40px 0; border-bottom: 1px solid var(--cream-dark); }
.badges__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}
.badge span { font-size: 1.3rem; }

/* ===== Features ===== */
.features { padding: 90px 0 60px; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  background: var(--cream);
  transition: transform 0.3s ease;
}
.feature:hover { transform: translateY(-6px); }
.feature__icon { font-size: 2.4rem; margin-bottom: 16px; }
.feature h3 { font-size: 1.3rem; margin-bottom: 8px; }
.feature p { color: var(--text-light); font-size: 0.95rem; }

/* ===== About ===== */
.about { padding: 100px 0; }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about__media {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about__content p { color: var(--text-light); margin-bottom: 16px; }
.about h2 { font-size: 2.2rem; margin-bottom: 20px; }

/* ===== Products ===== */
.products { padding: 90px 0; background: var(--cream); }
.products--alt { background: var(--white); }
.products__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.products__head .section-title { margin-bottom: 0; }
.link-more {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--pink-dark);
  white-space: nowrap;
}
.link-more:hover { text-decoration: underline; }

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.products--alt .card { background: var(--cream); box-shadow: none; }
.card:hover { transform: translateY(-8px); }
.card__media {
  font-size: 3rem;
  width: 90px; height: 90px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream-dark);
  overflow: hidden;
}
.card__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 16px; min-height: 45px; }

.badge-sale, .badge-new {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  color: var(--white);
}
.badge-sale { background: #d1554b; }
.badge-new { background: var(--brown); }

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}
.price { font-weight: 600; color: var(--pink-dark); font-size: 1.15rem; }
.price-old { font-size: 0.9rem; color: var(--text-light); text-decoration: line-through; }

.btn--small {
  width: 100%;
  padding: 11px 20px;
  font-size: 0.88rem;
  background: var(--brown);
  color: var(--white);
  border-radius: 8px;
}
.btn--small:hover { background: var(--pink-dark); }
.admin__table .btn--small {
  width: auto;
  padding: 6px 14px;
  font-size: 0.78rem;
  margin: 2px 4px 2px 0;
}

/* ===== Promo banner ===== */
.promo {
  padding: 70px 0;
  background: linear-gradient(120deg, var(--pink) 0%, var(--gold) 100%);
  text-align: center;
}
.promo__inner h2 { font-size: 2rem; margin-bottom: 10px; }
.promo__inner p { margin-bottom: 22px; color: var(--brown); }
.promo .btn--primary { background: var(--brown); }

.promo--photo, .promo--palette, .promo--tubes, .promo--banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 130px 0;
  text-align: center;
}
.promo--photo .promo__inner, .promo--palette .promo__inner, .promo--tubes .promo__inner, .promo--banner .promo__inner {
  max-width: 560px;
  margin: 0 auto;
}
.promo--photo h2, .promo--palette h2, .promo--tubes h2, .promo--banner h2,
.promo--photo p, .promo--palette p, .promo--tubes p, .promo--banner p {
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 4px 20px rgba(0,0,0,0.5);
}
.promo--photo .btn--primary, .promo--palette .btn--primary, .promo--tubes .btn--primary, .promo--banner .btn--primary {
  background: var(--white); color: var(--brown);
}
.promo--photo .btn--primary:hover, .promo--palette .btn--primary:hover, .promo--tubes .btn--primary:hover, .promo--banner .btn--primary:hover {
  background: var(--pink-dark); color: var(--white);
}

.promo--photo { background-image: radial-gradient(ellipse at center, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.2) 65%, rgba(0,0,0,0) 85%), url('../images/avis-promo.png'); }
.promo--palette { background-image: radial-gradient(ellipse at center, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.2) 65%, rgba(0,0,0,0) 85%), url('../images/avis-palette.png'); }
.promo--tubes { background-image: radial-gradient(ellipse at center, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.2) 65%, rgba(0,0,0,0) 85%), url('../images/about-tubes.png'); }
.promo--banner { background-image: radial-gradient(ellipse at center, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.2) 65%, rgba(0,0,0,0) 85%), url('../images/just-beauty-banner.png'); }

/* ===== Testimonials ===== */
.testimonials { padding: 100px 0; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  background: var(--cream);
  padding: 34px 28px;
  border-radius: var(--radius);
  font-style: italic;
  color: var(--text);
}
.testimonial .stars { display: block; margin-bottom: 12px; }
.testimonial p { margin-bottom: 16px; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--pink-dark); }

/* ===== FAQ ===== */
.faq { padding: 100px 0; background: var(--cream); }
.faq__list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: var(--white);
  border-radius: 12px;
  padding: 18px 24px;
  box-shadow: var(--shadow);
}
.faq__item summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--brown);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--pink-dark);
  margin-left: 12px;
}
.faq__item[open] summary::after { content: '−'; }
.faq__item p { color: var(--text-light); margin-top: 12px; font-size: 0.95rem; }

/* ===== Contact ===== */
.contact { padding: 100px 0; background: var(--white); color: var(--text); border-top: 1px solid var(--cream-dark); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact h2 { color: var(--brown); font-size: 2.2rem; margin-bottom: 20px; }
.contact__info p { color: var(--text-light); margin-bottom: 24px; }
.contact__list { list-style: none; }
.contact__list li { margin-bottom: 14px; color: var(--text-light); }

.contact__form { display: flex; flex-direction: column; gap: 16px; }
.form__row { display: flex; gap: 16px; }
.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--cream-dark);
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: var(--text-light); }
.contact__form textarea { resize: vertical; }
.form__note { font-size: 0.9rem; color: var(--brown); min-height: 20px; }

.contact__hero {
  background-image: radial-gradient(ellipse at center, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.2) 65%, rgba(0,0,0,0) 85%), url('../images/just-beauty-banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 130px 0;
  text-align: center;
}
.contact__hero .eyebrow { color: var(--white); }
.contact__hero h1 { color: var(--white); font-size: 2.8rem; margin: 10px 0 16px; text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 4px 20px rgba(0,0,0,0.5); }
.contact__hero .page-hero__text { color: var(--white); max-width: 560px; margin: 0 auto; text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 4px 20px rgba(0,0,0,0.5); }

.avis__hero {
  background-image: radial-gradient(ellipse at center, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.2) 65%, rgba(0,0,0,0) 85%), url('../images/avis-maqui.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 130px 0;
  text-align: center;
}
.avis__hero .eyebrow { color: var(--white); }
.avis__hero h1 { color: var(--white); font-size: 2.8rem; margin: 10px 0 16px; text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 4px 20px rgba(0,0,0,0.5); }
.avis__hero .page-hero__text { color: var(--white); max-width: 560px; margin: 0 auto; text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 4px 20px rgba(0,0,0,0.5); }

.about__hero {
  background-image: radial-gradient(ellipse at center, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.2) 65%, rgba(0,0,0,0) 85%), url('../images/about-ggg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 130px 0;
  text-align: center;
}
.about__hero .eyebrow { color: var(--white); }
.about__hero h1 { color: var(--white); font-size: 2.8rem; margin: 10px 0 16px; text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 4px 20px rgba(0,0,0,0.5); }
.about__hero .page-hero__text { color: var(--white); max-width: 560px; margin: 0 auto; text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 4px 20px rgba(0,0,0,0.5); }

.contact__map {
  margin-top: 50px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}

/* ===== Modals (search / account) ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 20px 20px;
  overflow-y: auto;
}
.modal.open { display: flex; }
.modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.modal__panel {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  padding: 36px 32px;
  width: 100%;
  max-width: 420px;
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text-light);
  width: 32px; height: 32px;
  border-radius: 50%;
  transition: background 0.2s ease;
}
.modal__close:hover { background: var(--cream-dark); }
.modal__panel h3 { font-size: 1.4rem; margin-bottom: 20px; text-align: center; }

.modal__search-form { display: flex; gap: 10px; }
.modal__search-form input {
  flex: 1;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--cream-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.account__guest .account__title {
  text-align: left;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 22px;
}
.account__form { display: flex; flex-direction: column; gap: 0; }
.account__form label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin: 16px 0 6px;
}
.account__form label:first-of-type { margin-top: 0; }
.account__form label span { color: var(--pink-dark); }
.account__form input {
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--cream-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.account__forgot {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
  padding: 0;
  margin-top: 12px;
  font-family: var(--font-body);
}
.account__forgot:hover { color: var(--brown); text-decoration: underline; }
.btn--block { width: 100%; margin-top: 18px; }
.account__switch {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 0.88rem;
  text-align: center;
  cursor: pointer;
  padding: 0;
  margin-top: 14px;
  font-family: var(--font-body);
}
.account__switch span { color: var(--pink-dark); font-weight: 600; text-decoration: underline; }
.account__hint { font-size: 0.9rem; color: var(--text-light); margin: 0; }
.account__msg { font-size: 0.85rem; min-height: 18px; color: #c0392b; margin: 8px 0 0; }
.account__msg.success { color: #2e7d4f; }

.account__user { text-align: center; }
.account__avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 auto 16px;
}
.account__info { list-style: none; margin: 20px 0; text-align: left; border-top: 1px solid var(--cream-dark); }
.account__info li {
  display: flex; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.92rem;
}
.account__info li span { color: var(--text-light); }
.account__user .btn { width: 100%; }

/* ===== Standalone auth pages (inscription / mot de passe oublié) ===== */
.auth-page {
  padding: 130px 0 100px;
  background: var(--cream);
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-page--photo {
  background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('../images/hero-pro.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.auth-page--photo-alt {
  background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('../images/avis-promo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  padding: 44px 40px;
  max-width: 440px;
  width: 100%;
}
@media (max-width: 480px) {
  .auth-card { padding: 32px 24px; }
}

/* ===== Admin dashboard ===== */
.admin__header { background: var(--white); border-bottom: 1px solid var(--cream-dark); padding: 16px 0; }
.admin__header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1180px; margin: 0 auto; padding: 0 24px; gap: 16px;
}
.admin__title { font-family: var(--font-title); font-size: 1.3rem; color: var(--brown); margin-right: auto; margin-left: 12px; }
.admin__tabs { display: flex; gap: 8px; max-width: 1180px; margin: 20px auto 0; padding: 0 24px; flex-wrap: wrap; }
.admin__tab {
  padding: 10px 22px; border: none; background: var(--cream); border-radius: 50px;
  font-family: var(--font-body); font-weight: 500; cursor: pointer; color: var(--text-light);
}
.admin__tab.active { background: var(--brown); color: var(--white); }
.admin__content { max-width: 1180px; margin: 0 auto; padding: 30px 24px 80px; }
.admin__panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.admin__filters { display: flex; gap: 8px; }
.admin__filter {
  padding: 8px 18px; border: 1px solid var(--cream-dark); background: var(--white);
  border-radius: 50px; cursor: pointer; font-size: 0.85rem; color: var(--text-light); font-family: var(--font-body);
}
.admin__filter.active { background: var(--brown); color: var(--white); border-color: var(--brown); }
.admin__table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.admin__table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin__table th, .admin__table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--cream-dark); white-space: nowrap; }
.admin__table th { color: var(--text-light); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; }
.admin__table tr:last-child td { border-bottom: none; }
.admin__status { padding: 4px 10px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; }
.admin__status--ok { background: #e3f5ea; color: #2e7d4f; }
.admin__status--pending { background: #fdf0e3; color: #b3651b; }
.account__form select {
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--cream-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
}
.account__form label:has(input[type="checkbox"]) {
  display: flex; align-items: center; gap: 8px; flex-direction: row; margin-top: 10px; font-weight: 500;
}
.account__form label:has(input[type="checkbox"]) input { width: auto; }

.account__success {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}
.account__success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2e7d4f;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 6px;
}
.account__success .account__msg.success { min-height: auto; }
.account__success .btn--ghost:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== Footer ===== */
.footer { padding: 70px 0 0; background: var(--white); border-top: 1px solid var(--cream-dark); }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--cream-dark);
}
.footer__col p { color: var(--text-light); font-size: 0.9rem; margin: 14px 0; }
.footer__col h4 { color: var(--brown); font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 16px; }
.footer__col a {
  display: block;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--pink-dark); }

.footer__socials { display: flex; gap: 14px; margin-top: 10px; }
.footer__socials a {
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--cream-dark);
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0;
}
.footer__socials a:hover { background: var(--pink-dark); border-color: var(--pink-dark); color: var(--white); }

.newsletter { display: flex; gap: 8px; }
.newsletter input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--cream-dark);
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
}
.newsletter input::placeholder { color: var(--text-light); }
.newsletter button {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  background: var(--pink-dark);
  color: var(--white);
  cursor: pointer;
  font-weight: 500;
}
.newsletter button:hover { background: var(--brown); color: var(--white); }

.footer__bottom { padding: 22px 0; text-align: center; }
.footer__bottom p { color: var(--text-light); font-size: 0.85rem; }

/* ===== Cart page ===== */
.cart-page { padding: 60px 0 100px; }
.cart-page__inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.cart-page__items { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.cart-item:last-child { border-bottom: none; }
.cart-item__info h4 { font-size: 1rem; margin-bottom: 4px; }
.cart-item__info p { color: var(--text-light); font-size: 0.88rem; margin: 0; }
.cart-item__qty { display: flex; align-items: center; gap: 10px; }
.cart-qty-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--cream-dark);
  background: var(--white);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.cart-qty-btn:hover { background: var(--cream); }
.cart-item__total { font-weight: 600; color: var(--brown); min-width: 90px; text-align: right; }
.cart-item__remove { background: none; border: none; color: var(--text-light); cursor: pointer; font-size: 1rem; padding: 4px; }
.cart-item__remove:hover { color: #c0392b; }
.cart-page__total {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; margin-top: 10px; border-top: 2px solid var(--cream-dark); font-size: 1.2rem;
}
.cart-page__checkout { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav { position: fixed; top: 116px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px 24px; gap: 18px; transform: translateY(-150%); transition: transform 0.3s ease; box-shadow: var(--shadow); }
  .nav.open { transform: translateY(0); }
  .burger { display: flex; }
  .hero h1 { font-size: 2.6rem; }
  .about__inner, .contact__inner { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .features__grid { grid-template-columns: 1fr; }
  .badges__grid { grid-template-columns: repeat(2, 1fr); }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .products__head { flex-direction: column; align-items: flex-start; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .form__row { flex-direction: column; }
  .cart-page__inner { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 1fr; text-align: left; gap: 8px; }
  .cart-item__total { text-align: left; }
}

@media (max-width: 480px) {
  .products__grid { grid-template-columns: 1fr; }
  .badges__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
}
