:root {
  --pet-green: #2f9e44;
  --pet-green-dark: #237032;
  --pet-green-light: #eaf7ee;
  --pet-teal: #0ca678;
  --pet-warm: #ff9f43;
  --pet-coral: #ff6b6b;
  --pet-dark: #1a2420;
  --pet-gray: #6c757d;
  --pet-bg: #f7f9f8;
  --radius: 16px;
  --gradient-brand: linear-gradient(135deg, #2f9e44 0%, #0ca678 100%);
  --gradient-warm: linear-gradient(135deg, #ff9f43 0%, #ff6b6b 100%);

  /* Charte "code.html" (PetCare / Parfait Pets) */
  --pc-primary: #0f5238;
  --pc-primary-container: #2d6a4f;
  --pc-on-primary-container: #a8e7c5;
  --pc-tertiary: #653f00;
  --pc-tertiary-fixed: #ffddb6;
  --pc-secondary-container: #ebe1d6;
  --pc-on-secondary-container: #6a635b;
  --pc-background: #fcf9f8;
  --pc-surface: #ffffff;
  --pc-surface-container: #f0eded;
  --pc-on-surface: #1c1b1b;
  --pc-on-surface-variant: #404943;
  --pc-outline-variant: #bfc9c1;

  /* Couleurs "logo" (brun/or) pour la nouvelle section À propos */
  --brand-brown: #4b2e1e;
  --brand-brown-light: #6b4226;
  --brand-gold: #a97142;
  --brand-cream: #fdf7ee;
}

* { font-family: 'Inter', 'Poppins', sans-serif; }

body {
  background-color: var(--pc-background);
  color: var(--pc-on-surface);
}

a { text-decoration: none; }

/* ===== Scroll reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.21,.6,.35,1), transform .7s cubic-bezier(.21,.6,.35,1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1.revealed { transition-delay: .05s; }
.reveal-delay-2.revealed { transition-delay: .15s; }
.reveal-delay-3.revealed { transition-delay: .25s; }
.reveal-delay-4.revealed { transition-delay: .35s; }

/* =========================================================
   TOPBAR MINIMALISTE (Parfait Pets)
   ========================================================= */
.topnav-min { background: rgba(252,249,248,.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.brand-logo-img { height: 48px; width: auto; object-fit: contain; }
.brand-name-min { font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--pc-primary); }
.brand-name-min span { color: var(--pc-tertiary); }
.footer-logo-img { height: 40px; width: auto; object-fit: contain; }
@media (max-width: 767px) { .brand-logo-img { height: 38px; } .brand-name-min { font-size: 1.1rem; } }

.nav-link-min { color: var(--pc-on-surface-variant); font-weight: 600; font-size: 15px; transition: color .25s ease; }
.nav-link-min:hover { color: var(--pc-primary); }
.icon-link-min { color: var(--pc-primary); font-size: 17px; padding: 4px; display: inline-block; background: none; border: none; transition: transform .2s ease; }
.icon-link-min:hover { transform: scale(1.12); }
.cart-badge-min {
  position: absolute; top: -6px; right: -6px;
  background: var(--pc-tertiary); color: #fff;
  font-size: 10px; font-weight: 700; border-radius: 50%;
  width: 16px; height: 16px; display: flex; align-items: center; justify-content: center;
}

/* ===== Buttons (style "min") ===== */
.btn-min-primary {
  background: var(--pc-primary); color: #fff; border: none;
  padding: 15px 32px; border-radius: 999px; font-weight: 700; font-size: 13px;
  letter-spacing: .03em; transition: all .3s ease; display: inline-block;
}
.btn-min-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 24px rgba(15,82,56,.3); color: #fff; }
.btn-min-outline {
  background: transparent; border: 2px solid var(--pc-primary); color: var(--pc-primary);
  padding: 13px 32px; border-radius: 999px; font-weight: 700; font-size: 13px;
  letter-spacing: .03em; transition: all .3s ease; display: inline-block;
}
.btn-min-outline:hover { background: var(--pc-primary-container); border-color: var(--pc-primary-container); color: #fff; }
.btn-min-light {
  background: var(--pc-tertiary-fixed); color: var(--pc-tertiary);
  padding: 15px 32px; border-radius: 999px; font-weight: 700; font-size: 13px;
  display: inline-block; margin-top: 10px; transition: all .3s ease; border: none;
}
.btn-min-light:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 24px rgba(0,0,0,.25); color: var(--pc-tertiary); }

/* ===== Buttons génériques (cart, checkout, profil...) ===== */
.btn-pet-primary {
  background: var(--gradient-brand); border: none; color: #fff; border-radius: 30px;
  padding: 10px 28px; font-weight: 600; transition: all .3s ease; box-shadow: 0 8px 20px rgba(47,158,68,.25);
}
.btn-pet-primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(47,158,68,.35); }
.btn-pet-outline {
  border: 2px solid var(--pet-green); color: var(--pet-green); border-radius: 30px;
  padding: 9px 26px; font-weight: 600; background: transparent; transition: all .25s ease;
}
.btn-pet-outline:hover { background: var(--pet-green); color: #fff; transform: translateY(-2px); }
.btn-pet-warm {
  background: var(--gradient-warm); border: none; color: #fff; border-radius: 30px;
  padding: 10px 28px; font-weight: 600; transition: all .3s ease; box-shadow: 0 8px 20px rgba(255,107,107,.25);
}
.btn-pet-warm:hover { color: #fff; transform: translateY(-3px); }
.btn-pet-ghost {
  border: 2px solid rgba(31,42,36,.15); color: var(--pet-dark); border-radius: 30px;
  padding: 9px 26px; font-weight: 600; background: rgba(255,255,255,.6); backdrop-filter: blur(6px); transition: all .25s ease;
}
.btn-pet-ghost:hover { border-color: var(--pet-green); color: var(--pet-green); transform: translateY(-2px); }

/* =========================================================
   HERO (fidèle à PetCare : photo légèrement voilée, pas de bandeau sombre)
   ========================================================= */
.hero-min { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-min-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.hero-min-overlay {
  position: absolute; inset: 0; z-index: 0;
  background: rgba(252,249,248,.42);
}
.hero-min-content { position: relative; z-index: 1; max-width: 620px; padding: 60px 0; }
.hero-min-content h1 {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif; font-weight: 800;
  font-size: 3rem; line-height: 1.15; letter-spacing: -.02em; color: var(--pc-on-surface);
  text-shadow: 0 2px 20px rgba(252,249,248,.6);
}
.hero-min-content p {
  font-size: 1.1rem; color: var(--pc-on-surface-variant); margin-top: 18px; max-width: 480px;
  text-shadow: 0 1px 12px rgba(252,249,248,.5);
}
@media (max-width: 767px) {
  .hero-min { min-height: 70vh; }
  .hero-min-overlay { background: rgba(252,249,248,.6); }
  .hero-min-content h1 { font-size: 2.1rem; }
}

/* =========================================================
   SECTIONS / TITRES
   ========================================================= */
.container-min {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.headline-min { font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif; font-weight: 700; font-size: 2rem; color: var(--pc-on-surface); }
.body-min { color: var(--pc-on-surface-variant); }
.view-all-min { color: var(--pc-primary); font-weight: 700; font-size: 13px; letter-spacing: .03em; display: inline-flex; align-items: center; }
.view-all-min:hover { text-decoration: underline; }
.section-title { font-weight: 800; font-size: 2rem; margin-bottom: 8px; }
.section-subtitle { color: var(--pet-gray); margin-bottom: 40px; }

/* =========================================================
   CARTES PRODUITS (style Parfait Pets)
   ========================================================= */
.product-card-min {
  background: var(--pc-surface); border-radius: 20px; padding: 22px;
  box-shadow: 0 4px 20px rgba(15,82,56,.05); transition: all .3s ease;
  height: 100%; display: flex; flex-direction: column;
}
.product-card-min:hover { box-shadow: 0 8px 40px rgba(15,82,56,.15); transform: translateY(-2px); }
.product-img-wrap-min {
  position: relative; aspect-ratio: 1/1; border-radius: 12px; overflow: hidden;
  background: var(--pc-surface-container); margin-bottom: 20px; 
}
.product-img-wrap-min img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card-min:hover .product-img-wrap-min img { transform: scale(1.06); }

.pill-badge-min {
  position: absolute; top: 14px; left: 14px;
  background: var(--pc-tertiary-fixed); color: var(--pc-tertiary);
  font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 999px; z-index: 2;
}
.pill-promo { background: var(--pc-tertiary-fixed); color: var(--pc-tertiary); }
.pill-outofstock { left: auto; right: 14px; background: #343a40; color: #fff; }

.fav-btn-min {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: rgba(255,255,255,.85); backdrop-filter: blur(4px);
  border: none; width: 36px; height: 36px; border-radius: 50%;
  color: var(--pc-on-surface-variant); display: flex; align-items: center; justify-content: center;
  transition: color .2s ease;
}
.fav-btn-min:hover { color: var(--pc-primary); }
.pill-outofstock ~ .fav-btn-min { right: 60px; }

.product-card-min-body { flex-grow: 1; display: flex; flex-direction: column; }
.cat-label-min { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pc-on-surface-variant); margin-bottom: 4px; }
.product-title-min { font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--pc-on-surface); margin-bottom: 8px; line-height: 1.3; }
.product-desc-min { font-size: 14px; color: var(--pc-on-surface-variant); margin-bottom: 16px; height: 40px; overflow: hidden; }

.product-card-min-footer {
  margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(191,201,193,.3);
  display: flex; align-items: center; justify-content: space-between;
}
.price-min { font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif; font-weight: 700; font-size: 20px; color: var(--pc-primary); }
.cart-btn-min {
  background: var(--pc-primary-container); color: var(--pc-on-primary-container);
  border: none; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: all .25s ease;
}
.cart-btn-min:hover { background: var(--pc-primary); color: #fff; }
.cart-btn-min:disabled { background: #e0e0e0; color: #999; cursor: not-allowed; }

.stock-ok { color: #2f9e44; font-weight: 600; font-size: 13px; }
.stock-low { color: #e67700; font-weight: 600; font-size: 13px; }
.stock-out { color: #e03131; font-weight: 600; font-size: 13px; }
.price-old { text-decoration: line-through; color: var(--pet-gray); font-size: 14px; margin-left: 8px; }
.price-current { color: var(--pet-green); font-weight: 700; font-size: 1.1rem; }

/* =========================================================
   SECTION "À PROPOS" — inspirée du logo Parfait Pets
   ========================================================= */
.about-brand { background: var(--brand-cream); padding: 90px 0; margin: 20px 0; }
.about-brand-tag {
  display: inline-block; background: rgba(169,113,66,.12); color: var(--brand-gold);
  font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 16px;
}
.about-brand-title {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif; font-weight: 800;
  font-size: 2.1rem; line-height: 1.25; color: var(--brand-brown);
}
.about-brand-text { color: var(--pc-on-surface-variant); font-size: 1.02rem; margin-top: 18px; line-height: 1.7; }

.about-icon-card {
  background: #fff; border-radius: 18px; padding: 28px 22px; text-align: center;
  box-shadow: 0 4px 18px rgba(75,46,30,.06); transition: all .3s ease; height: 100%;
}
.about-icon-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(75,46,30,.14); }
.about-icon-circle {
  width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-brown-light) 100%);
  color: #fff; font-size: 1.6rem; display: flex; align-items: center; justify-content: center;
  transition: transform .4s ease;
}
.about-icon-card:hover .about-icon-circle { transform: rotate(-8deg) scale(1.1); }
.about-icon-card h5 { font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif; font-weight: 700; color: var(--brand-brown); margin-bottom: 8px; }
.about-icon-card p { font-size: 13.5px; color: var(--pc-on-surface-variant); margin: 0; }

.about-tagline {
  margin-top: 32px; text-align: center; font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-weight: 700; font-size: 1.05rem; color: var(--brand-brown);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.about-tagline i { color: var(--brand-gold); animation: heartBeat 2.2s ease-in-out infinite; }
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.25); }
  30% { transform: scale(1); }
  45% { transform: scale(1.15); }
  60% { transform: scale(1); }
}

@media (max-width: 991px) { .about-brand { padding: 60px 0; } .about-brand-title { font-size: 1.7rem; } }

/* =========================================================
   INFINITE PRODUCT CAROUSEL (images seules)
   ========================================================= */
.carousel-section { overflow: hidden; }
.carousel-wrap {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.carousel-track { display: flex; gap: 20px; width: max-content; animation: scrollCarousel 80s linear infinite; }
.carousel-wrap:hover .carousel-track { animation-play-state: paused; }
@keyframes scrollCarousel { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.carousel-img-item {
  position: relative; width: 260px; height: 260px; flex-shrink: 0;
  border-radius: var(--radius); overflow: hidden; display: block;
  box-shadow: 0 6px 20px rgba(0,0,0,.08); transition: transform .35s ease, box-shadow .35s ease;
}
.carousel-img-item:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 16px 32px rgba(0,0,0,.16); }
.carousel-img-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.carousel-img-item:hover img { transform: scale(1.12); }
.carousel-img-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  color: #fff; font-size: 12px; font-weight: 600; padding: 24px 12px 10px;
  opacity: 0; transform: translateY(8px); transition: all .3s ease;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.carousel-img-item:hover .carousel-img-caption { opacity: 1; transform: translateY(0); }
@media (max-width: 575px) { .carousel-img-item { width: 150px; height: 150px; } }

/* =========================================================
   CATEGORIES (style Parfait Pets)
   ========================================================= */
.category-card-min {
  border-radius: 20px; overflow: hidden; position: relative; height: 240px;
  display: flex; align-items: flex-end; background-size: cover; background-position: center;
  box-shadow: 0 4px 20px rgba(15,82,56,.05); transition: all .3s ease;
}
.category-card-min:hover { transform: translateY(-4px); box-shadow: 0 8px 40px rgba(15,82,56,.15); }
.category-card-min-overlay {
  width: 100%; padding: 22px; color: #fff;
  background: linear-gradient(to top, rgba(15,82,56,.85), transparent 65%);
  
}
.category-card-min-overlay h4 { font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif; font-weight: 700; margin: 0 0 6px; }
.category-link-min { font-size: 12px; font-weight: 700; opacity: 0; transform: translateX(-6px); transition: all .3s ease; display: inline-block; }
.category-card-min:hover .category-link-min { opacity: 1; transform: translateX(0); }

/* ===== Category page (category.php) ===== */
.category-hero {
  height: 260px; background-size: cover; background-position: center; position: relative;
  display: flex; align-items: flex-end; margin-bottom: 0;
}
.category-hero-overlay {
  width: 100%; height: 100%; display: flex; align-items: flex-end;
  background: linear-gradient(to top, rgba(26,36,32,.9) 10%, rgba(26,36,32,.35) 60%, rgba(26,36,32,.1));
  padding-bottom: 32px;
}
.category-hero-icon { font-size: 2.5rem; display: block; margin-bottom: 6px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }

.pagination .page-link { border: none; color: var(--pet-dark); font-weight: 600; margin: 0 4px; border-radius: 10px; transition: all .2s ease; }
.pagination .page-link:hover { background: var(--pet-green-light); color: var(--pet-green); }
.pagination .page-item.active .page-link { background: var(--gradient-brand); color: #fff; box-shadow: 0 6px 16px rgba(47,158,68,.3); }

.products-hero { background: linear-gradient(135deg, var(--pet-dark) 0%, #0f3d24 100%); padding: 50px 0; margin-bottom: 0; }

.category-mini-link {
  display: flex; align-items: center; justify-content: space-between; padding: 10px 14px;
  border-radius: 10px; background: var(--pet-bg); color: var(--pet-dark); font-weight: 500; font-size: 14px; transition: all .2s ease;
}
.category-mini-link i { font-size: 12px; opacity: 0; transform: translateX(-4px); transition: all .2s ease; }
.category-mini-link:hover { background: var(--pet-green-light); color: var(--pet-green); padding-left: 18px; }
.category-mini-link:hover i { opacity: 1; transform: translateX(0); }

/* =========================================================
   BANNIÈRE OFFRES SPÉCIALES
   ========================================================= */
.offer-min { position: relative; min-height: 420px; display: flex; align-items: center; overflow: hidden; }
.offer-min-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.offer-min-overlay { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(15,82,56,.92) 0%, rgba(15,82,56,.6) 55%, transparent 100%); }
.offer-min-content { position: relative; z-index: 1; max-width: 500px; color: #fff; }
.offer-min-content h2 { font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif; font-weight: 800; font-size: 2.4rem; line-height: 1.2; }
.offer-min-content p { color: var(--pc-tertiary-fixed); font-size: 1.1rem; margin-top: 12px; }
@media (max-width: 767px) {
  .offer-min { min-height: 340px; }
  .offer-min-overlay { background: linear-gradient(180deg, rgba(15,82,56,.5) 0%, rgba(15,82,56,.92) 60%); }
}

/* =========================================================
   AVANTAGES
   ========================================================= */
.advantage-box {
  text-align: center; padding: 32px 20px; border-radius: var(--radius); background: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,.05); height: 100%; transition: transform .3s ease, box-shadow .3s ease;
}
.advantage-box:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(0,0,0,.1); }
.advantage-box i {
  font-size: 2.2rem; color: #fff; margin-bottom: 14px; background: var(--gradient-brand);
  width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-left: auto; margin-right: auto;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer-min { background: var(--pc-surface-container); padding-top: 40px; margin-top: 40px; }
.footer-desc-min { color: var(--pc-on-surface-variant); max-width: 340px; margin-bottom: 16px; }
.footer-copy-min { color: var(--pc-on-surface-variant); font-size: 13px; }
.footer-title-min { font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 14px; color: var(--pc-on-surface); }
.footer-min a { display: block; color: var(--pc-on-surface-variant); margin-bottom: 12px; transition: color .2s ease; }
.footer-min a:hover { color: var(--pc-primary); text-decoration: underline; }

.footer-main { background: var(--pet-dark); color: #e9ecef; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #c8d1cb; transition: color .2s ease; }
.footer-links a:hover { color: var(--pet-green); }

/* =========================================================
   PAGE PRODUIT (product.php)
   ========================================================= */
.gallery-main { border-radius: var(--radius); overflow: hidden; height: 420px; background: #f2f4f3; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; cursor: pointer; border: 2px solid transparent; opacity: .7; transition: all .2s ease; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.active { border-color: var(--pet-green); opacity: 1; }
.gallery-badge-promo {
  position: absolute; top: 16px; left: 16px; background: var(--gradient-warm); color: #fff;
  font-weight: 700; font-size: 14px; padding: 6px 16px; border-radius: 20px; z-index: 2;
  box-shadow: 0 6px 16px rgba(255,107,107,.35);
}
.promo-pill { background: var(--gradient-warm); color: #fff; font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 20px; }
.stock-line { display: flex; align-items: center; gap: 8px; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 18px; border-top: 1px solid #eee; }
.trust-badges div { font-size: 13px; color: var(--pet-gray); display: flex; align-items: center; gap: 6px; }
.trust-badges i { color: var(--pet-green); }

.qty-selector { display: flex; align-items: center; border: 1px solid #dee2e6; border-radius: 30px; width: fit-content; transition: box-shadow .2s ease; }
.qty-selector:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.qty-selector button { border: none; background: none; width: 40px; height: 40px; font-size: 18px; }
.qty-selector button:hover { color: var(--pet-green); }
.qty-selector input { width: 50px; border: none; text-align: center; font-weight: 600; }

/* =========================================================
   PANIER / CHECKOUT
   ========================================================= */
.cart-item-row { border-bottom: 1px solid #eee; padding: 18px 0; }
.cart-item-row img { width: 90px; height: 90px; object-fit: cover; border-radius: 12px; }
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state i { font-size: 4rem; color: #ced4da; margin-bottom: 20px; }
.summary-box { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.filter-box { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: 0 4px 18px rgba(0,0,0,.05); }

/* =========================================================
   AUTH (login / register)
   ========================================================= */
.auth-card { max-width: 480px; margin: 60px auto; background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: 0 10px 40px rgba(0,0,0,.08); }

/* =========================================================
   TABLEAUX / BADGES (profil, commandes)
   ========================================================= */
.table-clean thead { background: var(--pet-green-light); }
.badge-status { padding: 6px 14px; border-radius: 20px; font-weight: 600; font-size: 12px; }
.badge-pending { background: #fff3bf; color: #7c6a00; }
.badge-confirmed { background: #d0ebff; color: #1864ab; }
.badge-processing { background: #ffe8cc; color: #a35a00; }
.badge-shipped { background: #d3f9d8; color: #2b8a3e; }
.badge-delivered { background: #d3f9d8; color: #087f5b; }
.badge-cancelled { background: #ffe3e3; color: #c92a2a; }


/* ===== Pages de contenu (politique de confidentialité, à propos...) ===== */
.policy-content h2 {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--pc-primary);
  margin-top: 36px;
  margin-bottom: 12px;
}
.policy-content p {
  color: var(--pc-on-surface-variant);
  line-height: 1.75;
  margin-bottom: 14px;
}
.policy-content ul {
  color: var(--pc-on-surface-variant);
  line-height: 1.75;
  margin-bottom: 14px;
  padding-left: 22px;
}
.policy-content ul li { margin-bottom: 6px; }
.policy-content strong { color: var(--pc-on-surface); }


/* ===== Cartes d'information (contact, livraison) ===== */
.contact-info-card {
  background: #fff; border-radius: 16px; padding: 28px 20px; text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.05); height: 100%; transition: all .3s ease;
}
.contact-info-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.1); }
.contact-info-card i { font-size: 1.8rem; color: var(--pc-primary); margin-bottom: 12px; }
.contact-info-card h6 { font-weight: 700; margin-bottom: 6px; }
.contact-info-card p { color: var(--pc-on-surface-variant); font-size: 14px; margin: 0; }


/* ===== Badge messages non lus (sidebar) ===== */
.sidebar-badge {
  background: var(--pet-green, #2f9e44);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* ===== Boîte de contenu du message ===== */
.message-body-box {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  line-height: 1.7;
  color: #343a40;
  white-space: pre-wrap;
}



/* ===== Notifications toast ===== */
.toast-container-custom {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}
.toast-custom {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  border-left: 4px solid #ccc;
  opacity: 0;
  transform: translateX(30px);
  transition: all .3s ease;
  font-size: 14px;
  font-weight: 500;
  color: #1c1b1b;
}
.toast-custom.show { opacity: 1; transform: translateX(0); }
.toast-custom.hide { opacity: 0; transform: translateX(30px); }
.toast-custom i:first-child { font-size: 18px; flex-shrink: 0; }
.toast-custom-msg { flex: 1; line-height: 1.4; }
.toast-custom-close { background: none; border: none; color: #999; cursor: pointer; padding: 0; font-size: 13px; }
.toast-custom-close:hover { color: #333; }

.toast-success { border-left-color: #2f9e44; }
.toast-success i:first-child { color: #2f9e44; }
.toast-error { border-left-color: #e03131; }
.toast-error i:first-child { color: #e03131; }
.toast-warning { border-left-color: #e67700; }
.toast-warning i:first-child { color: #e67700; }
.toast-info { border-left-color: #1c7ed6; }
.toast-info i:first-child { color: #1c7ed6; }

@media (max-width: 575px) {
  .toast-container-custom { left: 16px; right: 16px; top: 12px; max-width: none; }
}

/* ===== Bouton favori (état actif) ===== */
.fav-btn-min.active { color: #ff6b6b; }
.fav-btn-min.active:hover { color: #ff6b6b; }
.fav-btn-min i { transition: transform .2s ease; }
.fav-btn-min:active i { transform: scale(1.3); }