@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

:root {
  --bg-primary: #F5F7FA;
  --bg-secondary: #FFFFFF;
  --accent: #E8650A;
  --accent-2: #D4580A;
  --accent-light: #FDF4ED;
  --navy: #1A3A6B;
  --navy-2: #2952A3;
  --navy-light: #EEF2FF;
  --text-dark: #0F172A;
  --text-main: #334155;
  --grey-light: #F1F5F9;
  --grey-text: #64748B;
  --grey-border: #E2E8F0;
  --green: #059669;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --red: #DC3545;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 12px rgba(15, 23, 42, 0.025);
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.045);
  --shadow-hover: 0 24px 50px rgba(15, 23, 42, 0.07);
  --shadow-orange: 0 12px 35px rgba(232, 101, 10, 0.15);
  --shadow-navy: 0 12px 35px rgba(26, 58, 107, 0.1);
  --transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  --font: 'Outfit', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 102px;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 102px;
  /* compensate for fixed announcement-bar + navbar */
}

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

img {
  max-width: 100%;
  height: auto;
}

/* CONTAINER */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 7rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--navy-light);
  border-top: 1px solid rgba(11, 58, 130, 0.03);
  border-bottom: 1px solid rgba(11, 58, 130, 0.03);
}

/* ───────── ANNOUNCEMENT BAR ───────── */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #0B3A82;
  color: rgba(255, 255, 255, .9);
  padding: .45rem 0;
  font-size: .78rem;
  font-weight: 600;
  overflow: hidden;
  z-index: 1002;
  border-bottom: 2px solid var(--accent);
}

.announcement-bar-track {
  display: flex;
  gap: 4rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.announcement-bar-track span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ───────── NAVBAR ───────── */
.navbar {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--navy);
  padding: 0;
  transition: top .3s ease, box-shadow .3s ease, background .3s ease;
}

.navbar.scrolled {
  top: 0;
  /* overlaps the announcement bar which is essentially hidden or stays underneath since navbar has higher standard but wait, announcement-bar z-index is 1002, navbar z-index is 1001. So announcement bar stays! We should hide announcement bar or let navbar overlap. Let's make navbar z-index 1003 when scrolled */
  z-index: 1003;
  box-shadow: 0 4px 30px rgba(11, 58, 130, 0.25);
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 70px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.25rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.navbar-logo .accent {
  color: var(--accent);
}

/* Navbar Search */
.navbar-search-wrap {
  flex: 1;
  max-width: 400px;
  margin: 0 1rem;
  position: relative;
}

.navbar-search-wrap input {
  width: 100%;
  border: none;
  border-radius: 50px;
  padding: .55rem 3rem .55rem 1.25rem;
  font-size: .88rem;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-family: var(--font);
  outline: none;
  transition: var(--transition);
}

.navbar-search-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.navbar-search-wrap input:focus {
  background: rgba(255, 255, 255, 0.2);
}

.navbar-search-wrap button {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 1rem;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin-left: auto;
}

.navbar-nav a {
  color: rgba(255, 255, 255, .85);
  font-weight: 500;
  font-size: .9rem;
  padding: .5rem .8rem;
  border-radius: 8px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: white;
  background: rgba(255, 255, 255, .12);
}

.navbar-nav a.active {
  color: var(--accent);
}

/* Cart icon */
.navbar-cart {
  position: relative;
  color: white;
  font-size: 1.4rem;
  padding: .35rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.navbar-cart:hover {
  color: var(--accent);
  transform: scale(1.1);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--accent);
  color: white;
  font-size: .65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 1rem;
  min-width: 18px;
  text-align: center;
  animation: cartBounce .4s ease;
}

@keyframes cartBounce {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.3)
  }
}

/* WA nav button */
.btn-wa-nav {
  background: var(--whatsapp);
  color: white;
  border: none;
  padding: .5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}

.btn-wa-nav:hover {
  background: var(--whatsapp-dark);
  transform: scale(1.03);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: flex;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: 1050;
  padding: 2rem 1.5rem;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s ease, visibility .35s ease;
}

.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.mobile-menu nav a {
  color: white;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* ───────── TRUST BAR ───────── */
.trust-bar {
  background: white;
  border-bottom: 1px solid var(--grey-border);
  padding: .6rem 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

.trust-item i {
  font-size: .95rem;
}

/* ───────── BUTTONS ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .92rem;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, .35) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0);
  transition: transform .5s ease, opacity .5s ease;
}

.btn:active::after {
  transform: scale(2);
  opacity: 1;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255, 107, 0, .35);
}

.btn-navy {
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow-navy);
}

.btn-navy:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: white;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--grey-border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, .5);
}

.btn-outline-white:hover {
  background: white;
  color: var(--navy);
}

.btn-lg {
  padding: .95rem 2.25rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: .45rem 1rem;
  font-size: .82rem;
  border-radius: 8px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ───────── HERO SLIDER ───────── */
.hero-slider {
  height: 70vh;
  min-height: 480px;
  width: 100%;
}

.hero-slide {
  position: relative;
  overflow: hidden;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenBurns 8s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11, 58, 130, .8) 0%, rgba(11, 58, 130, .4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
}

.hero-content-inner {
  max-width: 850px;
  padding: 3rem 0;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .35);
  color: white;
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.1rem;
  opacity: .9;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-item .value {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
}

.hero-stat-item .label {
  font-size: .75rem;
  opacity: .8;
  font-weight: 600;
  text-transform: uppercase;
}

/* Swiper Nav */
.swiper-button-next,
.swiper-button-prev {
  color: white !important;
  background: rgba(255, 255, 255, .15);
  border-radius: 50%;
  width: 44px !important;
  height: 44px !important;
  backdrop-filter: blur(4px);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: .9rem !important;
  font-weight: 900 !important;
}

.swiper-pagination-bullet {
  background: white !important;
  opacity: .5;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
  background: var(--accent) !important;
}

/* ───────── SECTIONS ───────── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent);
  padding: .35rem .9rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-title .highlight {
  color: var(--accent);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--grey-text);
  max-width: 540px;
  margin: 0 auto;
}

.section-divider {
  width: 48px;
  height: 4px;
  background: linear-gradient(to right, var(--accent), var(--accent-2));
  border-radius: 99px;
  margin: 1rem auto 0;
}

/* ───────── STATS BAR ───────── */
.stats-bar {
  background: var(--navy);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .value {
  font-size: 2.8rem;
  font-weight: 900;
  color: white;
  display: block;
  line-height: 1;
  margin-bottom: .25rem;
}

.stat-item .label {
  font-size: .82rem;
  color: rgba(255, 255, 255, .65);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.stat-item .icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: .5rem;
  display: block;
}

/* ───────── UNIFIED PRODUCT CARD (PREMIUM) ───────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--grey-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(11, 58, 130, 0.1);
  border-color: rgba(11, 58, 130, 0.15);
}

.card-img-container {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .card-img {
  transform: scale(1.08);
}

.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 5;
}

.badge-tag {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
}

.badge-tag.none {
  display: none;
}

.badge-tag.stock_limite {
  background: #ef4444;
}

.badge-tag.nouveau {
  background: var(--navy);
}

.badge-tag.promo {
  background: #f59e0b;
}

.badge-discount {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #FF6B00;
  color: white;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
}

.card-actions-overlay {
  position: absolute;
  top: 60px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
  z-index: 10;
}

.product-card:hover .card-actions-overlay {
  opacity: 1;
  transform: translateX(0);
}

.action-btn-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.action-btn-circle:hover {
  background: var(--navy);
  color: white;
  transform: scale(1.1);
}

.action-btn-circle.favorite-btn.active {
  color: #ef4444;
}

.card-grade-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: #059669;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #d1fae5;
}

.card-body {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 8px;
}

.card-stars i {
  color: #F0A500;
  font-size: 0.75rem;
}

.star-count {
  font-size: 0.75rem;
  color: var(--grey-text);
  margin-left: 4px;
  font-weight: 600;
}

.card-title {
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.4;
}

.card-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.card-title a:hover {
  color: var(--accent);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.8rem;
  color: var(--grey-text);
  font-weight: 600;
}

.card-pricing {
  margin-bottom: 15px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.current-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
}

.old-price {
  font-size: 0.9rem;
  color: var(--grey-text);
  text-decoration: line-through;
}

.savings-amount {
  font-size: 0.75rem;
  font-weight: 800;
  color: #059669;
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 4px;
}

.card-stock-wrap {
  margin-bottom: 20px;
}

.stock-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--grey-text);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stock-progress-bg {
  height: 6px;
  background: #f1f5f9;
  border-radius: 10px;
  overflow: hidden;
}

.stock-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #F08A30);
  border-radius: 10px;
}

.card-footer-btns {
  display: grid;
  grid-template-columns: 1fr 1fr 40px;
  gap: 8px;
  margin-top: auto;
}

.btn-card-cart,
.btn-card-buy,
.btn-card-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 4px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-card-cart {
  background: #f1f5f9;
  color: #0B3A82;
  border: 1px solid #e2e8f0;
}

.btn-card-cart:hover {
  background: #e2e8f0;
}

.btn-card-buy {
  background: #0B3A82;
  color: white;
}

.btn-card-buy:hover {
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

.btn-card-wa {
  background: #25D366;
  color: white;
  padding: 10px;
}

/* ───────── TOAST NOTIFICATION ───────── */
.toast-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: white;
  color: var(--text-dark);
  padding: 12px 20px;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toastFadeIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  border-left: 4px solid var(--accent);
  pointer-events: auto;
}

@keyframes toastFadeIn {
  from {
    transform: translateX(120%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast.removing {
  animation: toastFadeOut 0.4s ease forwards;
}

@keyframes toastFadeOut {
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

.toast i {
  font-size: 1.25rem;
}

.toast.success {
  border-left-color: #059669;
}

.toast.success i {
  color: #059669;
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--grey-text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: .5rem;
}

.product-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .35rem;
  line-height: 1.35;
}

.product-card-body h3 a {
  color: var(--text-dark);
  transition: color .2s;
}

.product-card-body h3 a:hover {
  color: var(--accent);
}

.product-card-body p {
  font-size: .85rem;
  color: var(--grey-text);
  margin-bottom: .75rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card-body p.expanded {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  display: block;
}

.btn-voir-plus {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 1rem;
}

.btn-voir-plus:hover {
  text-decoration: underline;
}

/* Stars */
.product-stars {
  color: #F59E0B;
  font-size: .8rem;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: 3px;
}

.product-stars span {
  font-size: .75rem;
  color: var(--grey-text);
  font-weight: 600;
}

/* Note badge (was Grade) */
.note-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .7rem;
  font-weight: 800;
  background: var(--accent-light);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 50px;
  text-transform: uppercase;
}

/* Stock bar */
.stock-bar-wrap {
  margin: .6rem 0;
}

.stock-bar-label {
  font-size: .72rem;
  color: var(--grey-text);
  font-weight: 600;
  margin-bottom: 3px;
  display: flex;
  justify-content: space-between;
}

.stock-bar-track {
  background: var(--grey-light);
  border-radius: 99px;
  height: 5px;
  overflow: hidden;
}

.stock-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(to right, var(--accent), #F08A30);
  transition: width .8s ease;
}

.stock-bar-fill.low {
  background: linear-gradient(to right, var(--red), #E75353);
}

/* Price */
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin-bottom: .75rem;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}

.product-original-price {
  font-size: 1.1rem;
  text-decoration: line-through;
  color: var(--grey-text);
  font-weight: 500;
}

/* Article count mini */
.article-mini {
  background: var(--grey-light);
  border-radius: 8px;
  padding: .5rem .75rem;
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  margin-bottom: .75rem;
  border: 1px dashed var(--grey-border);
}

.article-mini .ppa {
  font-weight: 700;
  color: var(--navy);
}

/* Actions */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: auto;
}

/* ───────── PRODUCT DETAIL ───────── */
.product-page-wrapper {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.product-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 110px;
}

.product-gallery-main {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.product-gallery-main img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 620px;
}

.product-details-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-title-section h1 {
  font-size: 2rem;
  margin-bottom: .5rem;
  letter-spacing: -.5px;
}

.product-info-pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.product-info-pill {
  background: var(--grey-light);
  border: 1px solid var(--grey-border);
  padding: .4rem .9rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-price-box {
  background: white;
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.product-detail-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent);
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: .5rem;
}

.product-detail-price del {
  font-size: 1.1rem;
  color: var(--grey-text);
  font-weight: 500;
}

.product-desc-box {
  border-top: 1px solid var(--grey-border);
  padding-top: 1.5rem;
}

.product-desc-box h3 {
  font-size: 1.05rem;
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-description-text {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--text-main);
}

/* Watchers badge */
.product-watchers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF3E8;
  color: var(--accent);
  border: 1px solid rgba(255, 107, 0, .2);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 700;
}

/* ───────── BREADCRUMB ───────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--grey-text);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--grey-text);
  transition: color .2s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--grey-border);
}

/* ───────── FILTER BAR ───────── */
.filter-bar {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.1rem;
  background: white;
  color: var(--text-main);
  border: 1.5px solid var(--grey-border);
  border-radius: 50px;
  font-size: .84rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.filter-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.filter-chip.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

/* ───────── TESTIMONIALS ───────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -5px;
  right: 1.5rem;
  font-size: 7rem;
  color: var(--accent-light);
  font-weight: 900;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-orange);
  border-color: var(--accent);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: .9rem;
  margin-bottom: .75rem;
}

.testimonial-text {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: .9rem;
}

.testimonial-location {
  font-size: .78rem;
  color: var(--grey-text);
}

/* ───────── STEPS ───────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--navy));
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--accent);
  color: var(--accent);
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step-title {
  font-weight: 700;
  margin-bottom: .5rem;
}

.step-desc {
  font-size: .88rem;
  color: var(--grey-text);
}

/* ───────── FAQ ───────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: .95rem;
  transition: background .2s;
  user-select: none;
}

.faq-question:hover {
  background: var(--accent-light);
}

.faq-question.open {
  color: var(--accent);
  background: var(--accent-light);
}

.faq-question i {
  transition: transform .3s ease;
  font-size: .9rem;
  flex-shrink: 0;
}

.faq-question.open i {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: .92rem;
  color: var(--grey-text);
  line-height: 1.7;
}

.faq-answer.open {
  display: block;
  animation: fadeDown .25s ease;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ───────── CTA SECTION ───────── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: var(--radius-xl);
  margin: 0 2rem;
  padding: 5rem 3rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(232, 101, 10, .1) 0%, transparent 60%);
}

/* ───────── FOOTER ───────── */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .8);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  color: white;
  font-size: 1.25rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, .6);
}

.footer-heading {
  color: white;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, .65);
  font-size: .9rem;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-socials {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .7);
  font-size: 1rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-3px);
}

.footer-payments {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.payment-badge {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  padding: .45rem .9rem;
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .8);
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.trust-badge {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  padding: .35rem .85rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ───────── FLOAT WA ───────── */
.float-wa {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #20BA5A);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, .45);
  text-decoration: none;
  transition: var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}

.float-wa:hover {
  transform: scale(1.12);
  animation: none;
  color: white;
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, .45);
  }

  50% {
    box-shadow: 0 6px 36px rgba(37, 211, 102, .7), 0 0 0 10px rgba(37, 211, 102, .08);
  }
}

/* ───────── BACK TO TOP ───────── */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  left: 1.75rem;
  z-index: 998;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: white;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* ───────── TOAST ───────── */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  pointer-events: none;
}

.toast {
  background: white;
  border-radius: var(--radius);
  padding: .9rem 1.25rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--whatsapp);
  display: flex;
  align-items: center;
  gap: .75rem;
  max-width: 320px;
  pointer-events: auto;
  animation: toastIn .4s ease;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.toast-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.toast-title {
  font-weight: 700;
  font-size: .88rem;
  color: var(--text-dark);
}

.toast-desc {
  font-size: .78rem;
  color: var(--grey-text);
}

/* ───────── WELCOME MODAL ───────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(11, 58, 130, .6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn .3s ease;
}

.modal-overlay.hidden {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.welcome-modal {
  background: white;
  border-radius: 24px;
  max-width: 460px;
  width: 100%;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  animation: modalIn .4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(.85)translateY(20px)
  }

  to {
    opacity: 1;
    transform: scale(1)translateY(0)
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--grey-light);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: .9rem;
  color: var(--grey-text);
}

.modal-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.modal-badge {
  background: var(--accent);
  color: white;
  font-size: 1.8rem;
  font-weight: 900;
  padding: .5rem 1.5rem;
  border-radius: var(--radius-lg);
  display: inline-block;
  margin: 1rem 0;
}

/* ───────── COUNTDOWN TIMER ───────── */
.countdown-wrap {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .1);
  padding: .6rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .2);
}

.countdown-unit {
  text-align: center;
}

.countdown-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
  display: block;
  line-height: 1;
}

.countdown-label {
  font-size: .6rem;
  color: rgba(255, 255, 255, .65);
  text-transform: uppercase;
  font-weight: 700;
}

.countdown-sep {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
}

/* Inline countdown on product */
.inline-countdown {
  background: #FFF3E8;
  border: 1px solid rgba(255, 107, 0, .2);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.inline-countdown .cdnum {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--accent);
}

/* ───────── LANG SWITCHER ───────── */
.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255, 255, 255, .12);
  color: white;
  padding: .4rem .85rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, .2);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, .2);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: .75rem;
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: .4rem;
  width: 260px;
  z-index: 2000;
  border: 1px solid var(--grey-border);
}

.lang-dropdown.show {
  display: grid;
  animation: fadeIn .2s ease;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: .5rem .75rem;
  border-radius: 8px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-dark) !important;
  transition: .2s;
}

.lang-item:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.lang-item.active {
  background: var(--navy);
  color: white;
}

/* ───────── SEARCH ───────── */
.hero-search-container {
  margin-bottom: 1.5rem;
}

.hero-search-form {
  display: flex;
  max-width: 560px;
  margin: 0 auto;
  background: white;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .2);
}

.hero-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: .85rem 1.5rem;
  font-size: .95rem;
  font-family: var(--font);
  outline: none;
  color: var(--text-dark);
}

.hero-search-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: .85rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 0 50px 50px 0;
  transition: background .2s;
}

.hero-search-btn:hover {
  background: var(--accent-2);
}

.products-search-container {
  flex: 1;
  max-width: 440px;
}

.products-search-form {
  display: flex;
  position: relative;
}

.products-search-input {
  flex: 1;
  border: 1.5px solid var(--grey-border);
  border-right: none;
  padding: .65rem 1.1rem;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: .9rem;
  background: white;
  font-family: var(--font);
  outline: none;
  transition: border-color .2s;
}

.products-search-input:focus {
  border-color: var(--accent);
}

.products-search-btn {
  background: var(--navy);
  color: white;
  border: none;
  padding: 0 1.1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  font-size: .95rem;
}

/* ───────── SCROLL REVEAL ───────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ───────── ADMIN (unchanged structure) ───────── */
.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 280px;
  background: #0F172A;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 1001;
  color: white;
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.admin-logo .logo-icon {
  background: var(--accent);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-nav-label {
  font-size: .68rem;
  text-transform: uppercase;
  color: #475569;
  margin: 1.5rem 0 .6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .8rem 1rem;
  color: #94A3B8;
  border-radius: 10px;
  font-weight: 500;
  font-size: .9rem;
  transition: .3s;
  margin-bottom: 3px;
}

.admin-nav a:hover {
  background: rgba(255, 255, 255, .05);
  color: white;
}

.admin-nav a.active {
  background: var(--accent);
  color: white;
}

.admin-main {
  flex: 1;
  margin-left: 280px;
  padding: 2.5rem 3rem;
  background: #F8FAFC;
  min-height: 100vh;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-sm);
}

.admin-stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.admin-stat-card {
  background: white;
  padding: 1.75rem;
  border-radius: 18px;
  border: 1px solid var(--grey-border);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.admin-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.admin-stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.admin-stat-info .value {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text-dark);
  display: block;
}

.admin-stat-info .label {
  font-size: .8rem;
  color: var(--grey-text);
  font-weight: 600;
  text-transform: uppercase;
}

.admin-table-card {
  background: white;
  border-radius: 18px;
  border: 1px solid var(--grey-border);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.admin-table th {
  background: #F8FAFC;
  padding: .9rem 1.25rem;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--grey-text);
  border-bottom: 1px solid var(--grey-border);
  text-align: left;
}

.admin-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--grey-border);
  font-size: .88rem;
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: rgba(255, 107, 0, .02);
}

/* Forms */
.admin-card,
.card {
  background: white;
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: .45rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius);
  padding: .7rem 1rem;
  font-size: .92rem;
  font-family: var(--font);
  background: white;
  color: var(--text-dark);
  outline: none;
  transition: border-color .2s;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, .1);
}

select.form-control {
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Alerts */
.alert {
  padding: .85rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.alert-success {
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  color: #065F46;
}

.alert-error {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
}

.alert-info {
  background: var(--accent-light);
  border: 1px solid rgba(255, 107, 0, .3);
  color: var(--accent);
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: .9rem .75rem;
  text-align: left;
  border-bottom: 1px solid var(--grey-border);
}

.table th {
  color: var(--grey-text);
  font-size: .78rem;
  text-transform: uppercase;
  font-weight: 700;
}

.table tr:hover td {
  background: var(--grey-light);
}

/* Pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--grey-light);
  color: var(--text-main);
  border: 1px solid var(--grey-border);
  padding: .3rem .8rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
}

/* ─────── CART ─────── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

.cart-table {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cart-table table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  background: var(--grey-light);
  padding: 1rem 1.25rem;
  font-size: .78rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--grey-text);
}

.cart-table td {
  padding: 1.25rem;
  border-bottom: 1px solid var(--grey-border);
  vertical-align: middle;
}

.cart-summary {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-border);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 120px;
}

/* ─────── PAYMENT ─────── */
.payment-card {
  border: 2px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  background: white;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.payment-card.active {
  border-color: var(--accent);
  background: var(--accent-light);
}

.payment-card:hover {
  border-color: var(--accent-light);
}

.payment-icon {
  font-size: 2rem;
}

/* ─────── CHAT WIDGET ─────── */
.chat-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
}

.chat-bubble {
  background: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s;
  border: 1px solid var(--grey-border);
}

.chat-bubble:hover {
  transform: scale(1.07);
}

.chat-bubble i {
  font-size: 1.5rem;
  color: var(--navy);
}

.chat-window {
  position: fixed;
  bottom: 85px;
  left: 20px;
  width: 320px;
  max-width: calc(100% - 40px);
  background: white;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .2);
  z-index: 2000;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-header {
  background: var(--navy);
  color: white;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-body {
  padding: 1.5rem;
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.chat-msg {
  background: #f1f5f9;
  padding: .75rem 1rem;
  border-radius: 12px;
  font-size: .9rem;
  line-height: 1.5;
  color: #334155;
}

.chat-footer {
  padding: 0 1.5rem 1.5rem;
}

.chat-input-row {
  display: flex;
  gap: .5rem;
}

.chat-input-row input {
  flex: 1;
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-family: var(--font);
  font-size: .9rem;
  outline: none;
}

.chat-input-row input:focus {
  border-color: var(--navy);
}

.chat-input-row button {
  background: var(--navy);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 0 1rem;
  cursor: pointer;
  font-size: 1rem;
}

/* ─────── RESPONSIVE ─────── */
@media (max-width: 1199px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {

  .navbar-nav,
  .navbar-search-wrap,
  .btn-wa-nav,
  .lang-switcher {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .hero-slider {
    height: 75vh;
  }

  .section {
    padding: 3.5rem 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

  .product-layout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-gallery {
    position: relative;
    top: 0;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cta-section {
    margin: 0;
    border-radius: 0;
  }

  .admin-sidebar {
    pointer-events: none;
    /* Désactivé ici, géré en fin de fichier */
  }

  .admin-main {
    margin-left: 0 !important;
    padding: 1.5rem;
    overflow-x: visible !important;
  }
}

@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-title {
    letter-spacing: 0;
    line-height: 1.2;
  }

  .trust-bar-inner {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 1rem .25rem;
    flex-wrap: nowrap;
    gap: 1.5rem;
    scrollbar-width: none;
  }

  .trust-bar-inner::-webkit-scrollbar {
    display: none;
  }

  .trust-item {
    flex-shrink: 0;
  }

  .product-detail-price {
    font-size: 2.1rem;
  }

  footer {
    padding-bottom: 90px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-payments {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .payment-badge {
    justify-content: center;
    padding: .45rem;
    font-size: .75rem;
    text-align: center;
  }

  .trust-badges {
    justify-content: center;
    margin-top: 1rem;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .product-card-image {
    height: 220px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-bottom: 1rem;
  }
}

/* ── CHAT & NOTIFICATIONS ── */
.badge.bg-danger {
  background-color: #EF4444 !important;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.75rem;
}

.unread-row {
  background: rgba(11, 58, 130, 0.03) !important;
  border-left: 4px solid var(--accent) !important;
}

.chat-msg {
  margin-bottom: 0.8rem;
  padding: 0.6rem 0.9rem;
  background: #f1f5f9;
  border-radius: 12px 12px 12px 0;
  font-size: 0.85rem;
  line-height: 1.4;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

#chat-history {
  padding: 1rem;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pill-pending {
  background: #fee2e2;
  color: #dc2626;
}

.pill-confirmed {
  background: #dcfce7;
  color: #16a34a;
}

.pill-shipped {
  background: #dbeafe;
  color: #2563eb;
}

.pill-delivered {
  background: #fef9c3;
  color: #ca8a04;
}

@keyframes pulse-red {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.badge-unread-dot {
  width: 8px;
  height: 8px;
  background: #EF4444;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-red 2s infinite;
}

/* ───────── ADMIN RESPONSIVE ───────── */
.admin-mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.admin-mobile-overlay.show {
  display: block;
  opacity: 1;
}

.admin-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--grey-border);
  color: var(--text-main);
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  font-size: 1.5rem;
  cursor: pointer;
  margin-right: 1rem;
}

@media (max-width: 992px) {
  .admin-sidebar {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 100vh !important;
    width: 280px !important;
    background: #0F172A !important;
    z-index: 99999 !important;
    /* Niveau maximum */
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 15px 0 35px rgba(0, 0, 0, 0.5) !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .admin-sidebar.show {
    transform: translateX(0) !important;
  }

  .admin-main {
    margin-left: 0 !important;
    padding: 1rem !important;
    width: 100% !important;
    display: block !important;
    overflow-x: hidden !important;
  }

  .admin-topbar {
    z-index: 1000 !important;
    background: white !important;
    position: sticky !important;
    top: 0 !important;
  }

  .admin-hamburger {
    display: flex !important;
  }
}

/* ───────── FORÇAGE SCROLL TABLEAUX ───────── */
.table-responsive {
  display: block !important;
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding-bottom: 10px;
}

.table-responsive table,
.admin-table {
  min-width: 850px !important;
  /* Force le scroll même sur grandes tablettes en portrait */
  width: 100% !important;
}

/* Correction WhatsApp */
#wa-msg-text {
  min-height: 1.2em;
  opacity: 1;
}

/* ───────── CARD ACTION BUTTONS ───────── */
.card-action-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-action-btn:hover {
  background: white;
  transform: scale(1.1);
}

/* ───────── PRODUCT DETAIL PAGE ───────── */
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.pd-gallery-main {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--grey-light);
  margin-bottom: 1rem;
  cursor: zoom-in;
}

.pd-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}

.pd-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pd-gallery-thumbs img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  opacity: 0.7;
}

.pd-gallery-thumbs img:hover,
.pd-gallery-thumbs img.active {
  border-color: var(--accent);
  opacity: 1;
}

.pd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--grey-text);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.pd-breadcrumb a {
  color: var(--grey-text);
  text-decoration: none;
}

.pd-breadcrumb a:hover {
  color: var(--accent);
}

.pd-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.pd-badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pd-badge-cat {
  background: var(--navy-light);
  color: var(--navy);
}

.pd-badge-grade {
  background: #ecfdf5;
  color: #059669;
}

.pd-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.pd-price-block {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.pd-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
}

.pd-original {
  font-size: 1.2rem;
  color: var(--grey-text);
  text-decoration: line-through;
}

.pd-savings {
  background: #ecfdf5;
  color: #059669;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 1rem;
}

.pd-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--grey-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  width: fit-content;
}

.pd-qty button {
  width: 42px;
  height: 42px;
  border: none;
  background: var(--grey-light);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.pd-qty button:hover {
  background: #e2e8f0;
}

.pd-qty input {
  width: 56px;
  height: 42px;
  border: none;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
}

.pd-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--grey-border);
  margin-bottom: 2rem;
}

.pd-tab {
  padding: 1rem 1.5rem;
  font-weight: 700;
  color: var(--grey-text);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-size: 0.95rem;
  font-family: inherit;
}

.pd-tab:hover {
  color: var(--text-dark);
}

.pd-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.pd-tab-content {
  display: none;
}

.pd-tab-content.active {
  display: block;
}

.pd-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.pd-trust-item i {
  font-size: 1.1rem;
  color: var(--accent);
}

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* ── Checkout page ── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
}

.checkout-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-sm);
}

.payment-card {
  padding: 1rem;
  border: 2px solid var(--grey-border);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-card:hover {
  border-color: var(--accent);
}

.payment-card.selected {
  border-color: var(--accent);
  background: var(--accent-light);
}

.payment-card i {
  font-size: 1.5rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--grey-border);
}

.cart-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 991px) {
  .pd-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pd-title {
    font-size: 1.4rem;
  }

  .pd-price {
    font-size: 1.8rem;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-layout .checkout-summary {
    order: -1;
  }

  .cart-item {
    grid-template-columns: 60px 1fr;
    gap: 0.75rem;
  }

  .pd-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pd-tab {
    white-space: nowrap;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .card-action-btn {
    width: 44px;
    height: 44px;
  }
}

/* ───────── RICH TEXT CONTENT ───────── */
.rich-content {
  line-height: 1.8;
  color: var(--text-main);
  font-size: 0.95rem;
}

.rich-content p {
  margin-bottom: 1rem;
}

.rich-content ul,
.rich-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.rich-content h1,
.rich-content h2,
.rich-content h3 {
  margin: 1.5rem 0 0.75rem;
  color: var(--text-dark);
}

.rich-content b,
.rich-content strong {
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — iPhone 6 / Small phones (≤ 480px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* Force 1 column products grid */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .product-card {
    width: 100% !important;
    min-width: unset !important;
    max-width: 100% !important;
  }

  /* Reduce section padding */
  .section {
    padding: 3.5rem 0;
  }

  /* Tighten container */
  .container {
    padding: 0 1rem;
  }

  /* Hero adjustments */
  .hero-title {
    font-size: clamp(1.5rem, 8vw, 2.5rem) !important;
    letter-spacing: 0;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: .9rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Stats grid — single column on tiny screens */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  /* Product card tweaks */
  .card-body {
    padding: 1rem;
  }

  .card-title {
    font-size: .95rem;
  }

  .current-price {
    font-size: 1.2rem;
  }

  /* Product detail */
  .pd-title {
    font-size: 1.2rem !important;
  }

  .pd-price {
    font-size: 1.6rem !important;
  }

  .pd-gallery-main {
    height: 220px;
  }

  .pd-trust {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-bottom: 1rem;
    gap: .5rem;
  }

  /* Floating WA + scrolltop buttons — Move up if notifications are active */
  .wa-float,
  .scroll-top-btn {
    bottom: 20px;
    z-index: 1004;
  }

  .wa-float {
    right: 15px;
  }

  .scroll-top-btn {
    right: 15px;
    bottom: 85px;
  }

  /* Shrink overlapping notifications */
  .toast-container {
    max-width: 280px;
    right: 10px;
    top: 80px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — iPhone 6 exact (≤ 375px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 375px) {
  .navbar-logo .logo-text {
    font-size: 1rem;
  }

  .btn-lg {
    padding: .75rem 1.5rem;
    font-size: .9rem;
  }

  .section-title {
    font-size: 1.8rem !important;
  }

  /* Hero stats compact */
  .hero-stats {
    gap: 1rem;
  }

  .hero-stat-item .value {
    font-size: 1.4rem;
  }

  /* Admin table always scrollable */
  .tbl-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Admin sidebar always hidden by default */
  .admin-sidebar {
    width: 260px;
  }

  /* Form row stack on tiny screens */
  .form-row {
    grid-template-columns: 1fr !important;
  }
}

/* --- OVERRIDES FOR ABOUT DROPDOWN --- */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 120%;
  /* slide down starting pos */
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  min-width: 280px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--grey-border);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.nav-item-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  top: 100%;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text-dark);
  text-decoration: none;
  transition: background 0.2s;
}

.nav-dropdown-item:hover {
  background: var(--grey-light);
}

.nav-dropdown-item .icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.nav-dropdown-item .title-strong {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.nav-dropdown-item .subtitle-small {
  font-size: 0.8rem;
  color: var(--grey-text);
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--grey-border);
  margin: 8px 0;
}

/* --- MOBILE ACCORDION OVERRIDES --- */
.mobile-accordion {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-accordion-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: transparent;
  border: none;
  padding: 1rem 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.mobile-accordion-toggle>span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-accordion-toggle>span i {
  color: var(--grey-text);
  width: 20px;
  text-align: center;
}

.mobile-accordion-toggle:hover {
  color: white;
}

.mobile-accordion.active .mobile-accordion-toggle {
  color: white;
}

.mobile-accordion.active .toggle-icon {
  transform: rotate(180deg);
}

.mobile-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0, 0, 0, 0.2);
}

.mobile-accordion.active .mobile-accordion-content {
  max-height: 200px;
}

.mobile-accordion-content a {
  padding-left: 3.5rem !important;
  font-size: 0.95rem !important;
  border-bottom: none !important;
  padding-top: 0.8rem !important;
  padding-bottom: 0.8rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

.mobile-accordion-content a:hover {
  color: white !important;
}