/* ════════════════════════════════════════════════════════════════════════════
   KMS — Polish Enhancements
   Page produit, contact, faq, panier, header, footer
   Tokens : terracotta #975136, dark #282c34, muted #6b645e, cream #fcfbfa
   ════════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   1. PAGE PRODUIT — DETAIL
   ───────────────────────────────────────────────────────────────────────────── */
.product-detail {
  padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.product-detail__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (min-width: 900px) {
  .product-detail__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 3.5rem;
  }
}

/* Gallery */
.product-gallery {
  position: relative;
}
.product-gallery__main {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f7f3ee;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(40, 44, 52, 0.08), 0 2px 6px rgba(40, 44, 52, 0.04);
  cursor: zoom-in;
  transition: box-shadow 0.3s ease;
}
.product-gallery__main:hover {
  box-shadow: 0 14px 40px rgba(151, 81, 54, 0.15), 0 4px 10px rgba(40, 44, 52, 0.06);
}
.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.product-gallery__main:hover img {
  transform: scale(1.04);
}
.product-gallery__zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(40, 44, 52, 0.78);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.product-gallery__main:hover .product-gallery__zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.product-gallery__thumb {
  aspect-ratio: 1;
  background: #f7f3ee;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.product-gallery__thumb:hover {
  border-color: rgba(151, 81, 54, 0.4);
  transform: translateY(-2px);
}
.product-gallery__thumb--active {
  border-color: #975136;
  box-shadow: 0 4px 10px rgba(151, 81, 54, 0.25);
}
.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product-info__category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #975136;
  text-decoration: none;
  align-self: flex-start;
  padding: 4px 10px;
  background: rgba(151, 81, 54, 0.08);
  border-radius: 999px;
  transition: background 0.2s ease;
}
.product-info__category:hover {
  background: rgba(151, 81, 54, 0.15);
}
.product-info__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.2;
  color: #282c34;
  margin: 0;
}
.product-info__rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}
.product-info__rating .stars {
  color: #f5a623;
  display: inline-flex;
  gap: 1px;
}
.product-info__rating .rating-count {
  color: #975136;
  text-decoration: underline;
}
.product-info__price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1rem 0;
  border-top: 1px solid #ece5dd;
  border-bottom: 1px solid #ece5dd;
}
.product-info__current-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #975136;
  letter-spacing: -0.01em;
}
.product-info__compare-price {
  font-size: 1.05rem;
  color: #6b645e;
  text-decoration: line-through;
}
.product-info__discount {
  display: inline-block;
  background: #d32f2f;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 6px;
}
.product-info__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: #6b645e;
}
.stock--in {
  color: #2e7d32;
  font-weight: 600;
}
.stock--out {
  color: #d32f2f;
  font-weight: 600;
}
.stock-urgency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}
.stock-urgency--critical {
  background: rgba(211, 47, 47, 0.1);
  color: #d32f2f;
  animation: pulseUrgent 1.8s ease-in-out infinite;
}
.stock-urgency--low {
  background: rgba(245, 166, 35, 0.12);
  color: #c97a00;
}
@keyframes pulseUrgent {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.product-info__short-desc {
  color: #6b645e;
  line-height: 1.6;
  font-size: 0.97rem;
}
.product-info__cart {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.quantity-selector {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quantity-selector label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #6b645e;
  letter-spacing: 0.05em;
}
.quantity-selector__input {
  width: 76px;
  padding: 0.7rem 0.5rem;
  border: 2px solid #ece5dd;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s ease;
}
.quantity-selector__input:focus {
  outline: none;
  border-color: #975136;
}
.product-info__cart .btn--lg {
  flex: 1;
  min-width: 200px;
  align-self: stretch;
  font-size: 1rem;
  padding: 0.95rem 1.5rem;
}
.btn--stock-alert {
  margin-top: 0.5rem;
}

/* Trust badges */
.product-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: #faf6f1;
  border-radius: 14px;
}
@media (min-width: 600px) {
  .product-trust {
    grid-template-columns: repeat(4, 1fr);
  }
}
.product-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #6b645e;
  font-weight: 500;
}
.product-trust__icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(151, 81, 54, 0.1);
  color: #975136;
  border-radius: 50%;
}

/* Tabs */
.product-tabs {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.product-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid #ece5dd;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.product-tabs__nav::-webkit-scrollbar { display: none; }
.product-tabs__btn {
  background: transparent;
  border: none;
  padding: 0.85rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b645e;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.product-tabs__btn:hover {
  color: #282c34;
}
.product-tabs__btn[aria-selected="true"] {
  color: #975136;
  border-bottom-color: #975136;
}
.product-tabs__panel {
  padding: 1rem 0;
  line-height: 1.7;
  color: #4a4540;
}
.product-tabs__panel[hidden] { display: none; }

.product-specs__dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.75rem 1.25rem;
  font-size: 0.95rem;
}
.product-specs__dl dt {
  font-weight: 600;
  color: #282c34;
}
.product-specs__dl dd {
  color: #6b645e;
  margin: 0;
}

/* Reviews */
.review-form-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid #ece5dd;
  margin-bottom: 1.5rem;
}
.review-form-card h3 {
  margin: 0 0 1rem;
  font-family: 'Playfair Display', Georgia, serif;
  color: #282c34;
}
.reviews-list {
  display: grid;
  gap: 1rem;
}
.review-card {
  background: #fff;
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px solid #ece5dd;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.review-card:hover {
  box-shadow: 0 6px 18px rgba(40, 44, 52, 0.06);
  transform: translateY(-1px);
}
.review-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.review-card__stars {
  color: #f5a623;
  display: inline-flex;
  gap: 1px;
}
.review-card__title {
  font-size: 1rem;
  color: #282c34;
}
.review-card__comment {
  margin: 0.5rem 0;
  color: #4a4540;
  line-height: 1.6;
}
.review-card__photo-img {
  max-width: 220px;
  border-radius: 8px;
  margin-top: 0.5rem;
}
.review-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f3eee7;
  font-size: 0.85rem;
  color: #6b645e;
}

/* Sticky add-to-cart */
.sticky-atc {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #ece5dd;
  box-shadow: 0 -8px 24px rgba(40, 44, 52, 0.08);
  padding: 0.7rem 0;
  z-index: 90;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-atc.is-visible {
  transform: translateY(0);
}
.sticky-atc__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.sticky-atc__info {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 1;
  min-width: 0;
}
.sticky-atc__image {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.sticky-atc__name {
  font-weight: 600;
  color: #282c34;
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sticky-atc__price {
  font-weight: 700;
  color: #975136;
  font-size: 0.95rem;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .sticky-atc__name { display: none; }
}
.sticky-atc__btn {
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   2. PAGE CONTACT
   ───────────────────────────────────────────────────────────────────────────── */
.page-contact .section { padding: clamp(1.5rem, 4vw, 3.5rem) 0; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

.contact-form-card {
  background: #fff;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(40, 44, 52, 0.06), 0 2px 6px rgba(40, 44, 52, 0.03);
  border: 1px solid #f3eee7;
}
.contact-form .form-group,
.contact-form > div {
  margin-bottom: 1rem;
}
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #282c34;
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #ece5dd;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: #975136;
  box-shadow: 0 0 0 3px rgba(151, 81, 54, 0.12);
}
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info-card {
  background: linear-gradient(150deg, #faf6f1 0%, #fff 100%);
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid #f3eee7;
}
.contact-info-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  color: #282c34;
}
.contact-info-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f3eee7;
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item__icon--primary { background: rgba(151, 81, 54, 0.12); color: #975136; }
.contact-info-item__icon--success { background: rgba(46, 125, 50, 0.12); color: #2e7d32; }
.contact-info-item__icon--info    { background: rgba(2, 136, 209, 0.12); color: #0288d1; }
.contact-info-item__content h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #282c34;
}
.contact-info-item__content p {
  margin: 0;
  font-size: 0.9rem;
  color: #6b645e;
  line-height: 1.5;
}
.contact-info-item__content a {
  color: #975136;
  text-decoration: none;
  font-weight: 500;
}
.contact-info-item__content a:hover { text-decoration: underline; }

.contact-hours {
  background: #fff;
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid #f3eee7;
  margin-top: 1rem;
}
.contact-hours__header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #975136;
  margin-bottom: 0.75rem;
}
.contact-hours__header h3 {
  margin: 0;
  font-size: 1rem;
  color: #282c34;
}
.contact-hours ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-hours li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.9rem;
  color: #4a4540;
  border-bottom: 1px dashed #f3eee7;
}
.contact-hours li:last-child { border-bottom: none; }
.contact-hours__time {
  font-weight: 600;
  color: #975136;
}
.contact-hours__time--closed {
  color: #d32f2f;
}

/* ─────────────────────────────────────────────────────────────────────────────
   3. PAGE FAQ
   ───────────────────────────────────────────────────────────────────────────── */
.faq-layout {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem) 0;
}
.faq-layout > h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  color: #282c34;
  margin: 0 0 0.5rem;
  text-align: center;
}
.faq-intro {
  text-align: center;
  color: #6b645e;
  margin: 0 0 2rem;
  font-size: 1rem;
}
.faq-intro a {
  color: #975136;
  font-weight: 600;
  text-decoration: none;
}
.faq-intro a:hover { text-decoration: underline; }

.faq-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  color: #975136;
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid rgba(151, 81, 54, 0.2);
}
.faq-section-title:first-of-type { margin-top: 0; }

.faq-item {
  background: #fff;
  border: 1px solid #ece5dd;
  border-radius: 12px;
  margin-bottom: 0.6rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item:hover {
  border-color: rgba(151, 81, 54, 0.3);
}
.faq-item.is-open {
  box-shadow: 0 6px 18px rgba(40, 44, 52, 0.06);
  border-color: rgba(151, 81, 54, 0.4);
}
.faq-item__question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1rem 1.2rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.97rem;
  color: #282c34;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s ease;
}
.faq-item__question:hover {
  background: #faf6f1;
}
.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(151, 81, 54, 0.1);
  color: #975136;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.2s ease;
}
.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  background: #975136;
  color: #fff;
}
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 1.2rem;
  color: #4a4540;
  line-height: 1.65;
}
.faq-item.is-open .faq-item__answer {
  max-height: 500px;
  padding: 0 1.2rem 1.1rem;
}
.faq-item__answer p { margin: 0; }
.faq-item__answer a { color: #975136; font-weight: 500; }

.faq-cta {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, #faf6f1 0%, #fff 100%);
  border-radius: 14px;
  text-align: center;
  border: 1px solid #f3eee7;
}
.faq-cta p {
  margin: 0 0 1rem;
  color: #4a4540;
  font-size: 1rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   4. PAGE PANIER
   ───────────────────────────────────────────────────────────────────────────── */
.page-cart .section { padding: clamp(1.5rem, 4vw, 3rem) 0; }
.page-cart h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #282c34;
  margin: 0 0 1.5rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 2rem);
}
@media (min-width: 900px) {
  .cart-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: start;
  }
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  grid-template-areas:
    "image info remove"
    "image qty   total";
  gap: 0.6rem 1rem;
  align-items: center;
  background: #fff;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid #ece5dd;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cart-item:hover {
  box-shadow: 0 6px 18px rgba(40, 44, 52, 0.05);
}
.cart-item.is-removing {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
@media (min-width: 600px) {
  .cart-item {
    grid-template-columns: 90px 1.5fr auto auto auto;
    grid-template-areas: "image info qty total remove";
    gap: 1rem;
  }
}

.cart-item__image {
  grid-area: image;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f3ee;
}
@media (min-width: 600px) {
  .cart-item__image { width: 90px; height: 90px; }
}
.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item__info {
  grid-area: info;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.cart-item__name {
  font-weight: 600;
  color: #282c34;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item__name:hover { color: #975136; }
.cart-item__price {
  font-size: 0.85rem;
  color: #6b645e;
}
.cart-item__quantity { grid-area: qty; }
.cart-item__total {
  grid-area: total;
  font-weight: 700;
  color: #975136;
  font-size: 1rem;
  white-space: nowrap;
}
.cart-item__remove {
  grid-area: remove;
  align-self: start;
  background: transparent;
  border: none;
  color: #6b645e;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}
.cart-item__remove:hover {
  background: rgba(211, 47, 47, 0.1);
  color: #d32f2f;
}

.quantity-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1.5px solid #ece5dd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.quantity-stepper__btn {
  background: #faf6f1;
  border: none;
  width: 32px;
  font-size: 1rem;
  font-weight: 700;
  color: #975136;
  cursor: pointer;
  transition: background 0.15s ease;
}
.quantity-stepper__btn:hover { background: #f0e6d8; }
.quantity-stepper__input {
  width: 44px;
  border: none;
  text-align: center;
  font-weight: 600;
  background: #fff;
  -moz-appearance: textfield;
}
.quantity-stepper__input::-webkit-outer-spin-button,
.quantity-stepper__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-summary {
  background: #fff;
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid #ece5dd;
  position: sticky;
  top: 1rem;
}
.cart-summary h2 {
  margin: 0 0 1rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  color: #282c34;
}
.cart-summary__lines {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  margin: 0 0 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid #f3eee7;
  border-bottom: 1px solid #f3eee7;
}
.cart-summary__lines dt,
.cart-summary__lines dd { margin: 0; font-size: 0.95rem; color: #4a4540; }
.cart-summary__total-label,
.cart-summary__total-value {
  font-size: 1.15rem !important;
  color: #975136 !important;
  padding-top: 0.5rem;
  border-top: 1px dashed #ece5dd;
  margin-top: 0.25rem !important;
}
.cart-summary__promo-amount { color: #2e7d32 !important; font-weight: 600; }
.cart-summary__promo-remove {
  background: transparent;
  border: none;
  color: #6b645e;
  cursor: pointer;
  margin-left: 6px;
  vertical-align: middle;
}
.cart-summary__promo-remove:hover { color: #d32f2f; }
.cart-summary .btn--full {
  width: 100%;
  margin-top: 0.5rem;
}

/* Free shipping progress */
.free-shipping-progress {
  background: #faf6f1;
  padding: 0.75rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.free-shipping-progress__message {
  font-size: 0.85rem;
  color: #4a4540;
  margin-bottom: 6px;
  font-weight: 500;
}
.free-shipping-progress__track {
  height: 8px;
  background: #ece5dd;
  border-radius: 999px;
  overflow: hidden;
}
.free-shipping-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, #975136 0%, #d8a285 100%);
  border-radius: 999px;
  transition: width 0.5s ease;
  width: 0;
}

/* Promo form */
.promo-form {
  margin: 0.5rem 0 1rem;
}
.promo-form__row {
  display: flex;
  gap: 0.5rem;
}
.promo-form__input {
  flex: 1;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid #ece5dd;
  border-radius: 8px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.promo-form__input:focus {
  outline: none;
  border-color: #975136;
}
.promo-form__applied {
  background: rgba(46, 125, 50, 0.08);
  padding: 8px 12px;
  border-radius: 8px;
  margin: 0.5rem 0;
}
.promo-form__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2e7d32;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   5. HEADER POLISH
   ───────────────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #f0e9df;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header--sticky {
  box-shadow: 0 4px 14px rgba(40, 44, 52, 0.08);
  background: rgba(255, 255, 255, 0.98);
}
.site-header--hidden {
  transform: translateY(-100%);
}

/* Search overlay */
.search-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #f0e9df;
  padding: 1.25rem 1rem;
  box-shadow: 0 12px 28px rgba(40, 44, 52, 0.08);
  animation: dropDown 0.25s ease;
}
@keyframes dropDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.search-overlay__form {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
  position: relative;
}
.search-overlay__input {
  flex: 1;
  padding: 0.85rem 1rem;
  border: 2px solid #ece5dd;
  border-radius: 12px;
  font-size: 1rem;
  background: #fff;
}
.search-overlay__input:focus {
  outline: none;
  border-color: #975136;
  box-shadow: 0 0 0 3px rgba(151, 81, 54, 0.12);
}

/* ─────────────────────────────────────────────────────────────────────────────
   6. FOOTER POLISH
   ───────────────────────────────────────────────────────────────────────────── */
.newsletter-bar {
  background: linear-gradient(135deg, #975136 0%, #b56a48 60%, #d8a285 100%);
  color: #fff;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
  position: relative;
  overflow: hidden;
}
.newsletter-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(255, 255, 255, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.newsletter-bar__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  position: relative;
}
@media (min-width: 800px) {
  .newsletter-bar__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
  }
}
.newsletter-bar__text h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  margin: 0 0 4px;
  color: #fff;
}
.newsletter-bar__text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}
.newsletter-bar__form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.newsletter-bar__input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.95);
  color: #282c34;
}
.newsletter-bar__input:focus {
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}
.newsletter-bar__form .btn--primary {
  background: #fff !important;
  color: #975136 !important;
  font-weight: 700;
  border: none;
  padding: 0.85rem 1.4rem;
}
.newsletter-bar__form .btn--primary:hover {
  background: #faf6f1 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.site-footer {
  background: #1f1c1a;
  color: #d4cdc6;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}
.site-footer__brand img {
  filter: brightness(0) invert(1);
  margin-bottom: 0.85rem;
  opacity: 0.95;
}
.site-footer__tagline {
  color: #a39a92;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}
.site-footer__heading {
  font-family: 'Playfair Display', Georgia, serif;
  color: #fff;
  font-size: 1rem;
  margin: 0 0 0.85rem;
  position: relative;
  padding-bottom: 6px;
}
.site-footer__heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: #d8a285;
  border-radius: 2px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.site-footer ul a {
  color: #a39a92;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}
.site-footer ul a:hover {
  color: #d8a285;
  padding-left: 4px;
}
.site-footer address {
  font-style: normal;
  color: #a39a92;
  font-size: 0.88rem;
  line-height: 1.7;
}
.site-footer address a {
  color: #d4cdc6;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer address a:hover { color: #d8a285; }

.site-footer .social-links--footer {
  margin-top: 0.75rem;
}
.site-footer .social-links a,
.site-footer .social-links button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(216, 162, 133, 0.15);
  color: #d4cdc6;
  margin-right: 6px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.site-footer .social-links a:hover,
.site-footer .social-links button:hover {
  background: #975136;
  color: #fff;
  transform: translateY(-3px);
}

.site-footer__bottom {
  border-top: 1px solid rgba(216, 162, 133, 0.15);
  padding: 1rem 0;
  font-size: 0.82rem;
  color: #6f655d;
  text-align: center;
}
.site-footer__bottom p { margin: 0; }

/* ─────────────────────────────────────────────────────────────────────────────
   7. ALERTS COMMON
   ───────────────────────────────────────────────────────────────────────────── */
.alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.93rem;
  border-left: 4px solid;
}
.alert--success {
  background: rgba(46, 125, 50, 0.08);
  border-left-color: #2e7d32;
  color: #1e5021;
}
.alert--error,
.alert--danger {
  background: rgba(211, 47, 47, 0.08);
  border-left-color: #d32f2f;
  color: #8a1f1f;
}

/* ─────────────────────────────────────────────────────────────────────────────
   8. PREFERS-REDUCED-MOTION
   ───────────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .product-gallery__main:hover img,
  .stock-urgency--critical,
  .search-overlay,
  .site-footer .social-links a:hover,
  .newsletter-bar__form .btn--primary:hover {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   9. MOBILE FIXES — Hamburger / Footer centrage / Catégories spacing
   Hard-overrides pour garantir le rendu sur Android & petits écrans.
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* — Hamburger TOUJOURS visible sur mobile — */
  .site-header__burger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    border: none;
    color: #282c34;
    cursor: pointer;
    z-index: 1061;
    position: relative;
  }
  .site-header__burger .svg-icon {
    width: 24px;
    height: 24px;
  }

  /* — Menu hamburger déroulé : tous les liens visibles sans scroll — */
  .site-nav.site-nav--open {
    padding: 3.5rem 1rem 0.75rem !important;
  }
  .site-nav.site-nav--open .site-nav__list {
    gap: 0 !important;
  }
  .site-nav.site-nav--open .site-nav__link {
    padding: 0.45rem 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
  }
  .site-nav.site-nav--open .social-links--mobile-nav {
    margin-top: 0.6rem !important;
    padding-top: 0.6rem !important;
    border-top: 1px solid #eeeceb !important;
  }

  /* — Catégories : forcer un vrai espacement entre cartes — */
  .category-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    /* legacy syntax (Android WebView ancien) + moderne */
    grid-gap: 0.85rem !important;
    grid-row-gap: 0.85rem !important;
    grid-column-gap: 0.85rem !important;
    gap: 0.85rem !important;
    row-gap: 0.85rem !important;
    column-gap: 0.85rem !important;
    padding: 0 !important;
  }
  /* Fallback ceinture+bretelles : outline-like via box-shadow blanc
     visible si la grille gap ne s'applique pas (vieux navigateur) */
  .category-card {
    margin: 0 !important;
    box-shadow: 0 0 0 4px #ffffff, var(--kms-shadow-card, 0 4px 12px rgba(0, 0, 0, 0.08)) !important;
  }

  /* — Footer : centrage des colonnes sur mobile — */
  .site-footer__grid {
    grid-template-columns: 1fr !important;
    text-align: center;
    justify-items: center;
  }
  .site-footer__grid > div {
    width: 100%;
    max-width: 360px;
  }
  .site-footer__heading {
    text-align: center;
  }
  /* Soulignement décoratif centré sous chaque titre */
  .site-footer__heading::after {
    left: 50% !important;
    transform: translateX(-50%);
  }
  .site-footer ul {
    align-items: center;
  }
  .site-footer ul a:hover {
    padding-left: 0 !important;
  }
  .site-footer address {
    text-align: center;
  }
  .site-footer .social-links {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
  }
  .site-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .site-footer__tagline {
    text-align: center;
  }
}
