/* ============================================================
   AFRO NAPPY'S — Feuille de style principale
   ============================================================ */

/* ---- Variables ------------------------------------------- */
:root {
  --green:       #2D6A4F;
  --green-dark:  #1B4332;
  --green-light: #52B788;
  --gold:        #C9A84C;
  --gold-light:  #E9C46A;
  --beige:       #F5F0E8;
  --cream:       #FDF6E3;
  --ivory:       #FAFAF5;
  --dark:        #1A1A1A;
  --gray:        #6C757D;
  --border:      #E8E0D4;
  --white:       #FFFFFF;
  --shadow:      0 4px 20px rgba(0,0,0,.08);
  --shadow-md:   0 8px 30px rgba(0,0,0,.12);
  --radius:      12px;
  --radius-sm:   8px;
  --radius-xl:   20px;
  --font-serif:  'Playfair Display', serif;
  --font-sans:   'Lato', sans-serif;
  --transition:  .3s ease;
}

/* ---- Reset & Base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--ivory);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-serif); color: var(--dark); }
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }
main { flex: 1; }

/* ---- Top Bar -------------------------------------------- */
.topbar {
  background: var(--green-dark);
  color: #fff;
  font-size: .8rem;
}
.topbar-link { color: rgba(255,255,255,.85); transition: color var(--transition); }
.topbar-link:hover { color: var(--gold-light); }

/* ---- Header / Navbar ------------------------------------ */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,.08);
  z-index: 1030;
}
.navbar { padding: .75rem 0; }

.logo-wrapper { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -.5px;
}
.logo-tagline {
  font-size: .65rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
}

.navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  font-size: .9rem;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--green);
  background: rgba(45,106,79,.06);
}
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  min-width: 220px;
}
.dropdown-item:hover { background: var(--beige); color: var(--green); }

.search-form { max-width: 240px; }
.search-input {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--beige);
  font-size: .85rem;
}
.search-input:focus { border-color: var(--green); box-shadow: none; background: #fff; }
.btn-search {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: .375rem .7rem;
}
.btn-search:hover { background: var(--green-dark); }

.btn-icon {
  color: var(--dark);
  font-size: 1.25rem;
  transition: color var(--transition);
  text-decoration: none;
}
.btn-icon:hover { color: var(--green); }

.btn-cart {
  background: var(--green);
  color: #fff;
  padding: .45rem 1rem;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-cart:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn-cart-mobile {
  background: transparent;
  border: none;
  color: var(--dark);
  font-size: 1.3rem;
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  font-size: .65rem;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ---- Buttons -------------------------------------------- */
.btn-gold {
  background: var(--gold);
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-gold:hover { background: #b8962e; color: #fff; transform: translateY(-1px); }
.btn-green {
  background: var(--green);
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-green:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn-outline-green {
  border: 2px solid var(--green);
  color: var(--green);
  background: transparent;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-outline-green:hover { background: var(--green); color: #fff; }

.bg-gold { background-color: var(--gold) !important; }
.text-gold { color: var(--gold) !important; }
.text-green { color: var(--green) !important; }

/* ---- Section Titles ------------------------------------- */
.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .5rem;
}
.section-subtitle {
  color: var(--gray);
  font-size: .95rem;
  margin-bottom: 2.5rem;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: .75rem auto 1.5rem;
}

/* ---- Hero Banner ---------------------------------------- */
.hero-section {
  min-height: 90vh;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, #40916c 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="100" cy="100" r="80" fill="none" stroke="rgba(255,255,255,.04)" stroke-width="40"/></svg>') center/cover;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--ivory));
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: var(--gold-light);
  padding: .4rem 1rem;
  border-radius: 30px;
  font-size: .8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #fff;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-title span { color: var(--gold-light); }
.hero-text { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 2rem; max-width: 500px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-cta-primary {
  background: var(--gold);
  color: #fff;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  text-decoration: none;
}
.hero-cta-primary:hover { background: #b8962e; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,168,76,.4); }
.hero-cta-secondary {
  background: rgba(255,255,255,.15);
  color: #fff;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: 2px solid rgba(255,255,255,.4);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
  text-decoration: none;
}
.hero-cta-secondary:hover { background: rgba(255,255,255,.25); color: #fff; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; }
.hero-stat-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}
.hero-stat-label { font-size: .8rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: 1px; }
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  color: #fff;
  min-width: 280px;
}
.hero-img-icon { font-size: 6rem; color: var(--gold-light); margin-bottom: 1rem; }

/* ---- Bannière promo top --------------------------------- */
.promo-banner {
  background: linear-gradient(90deg, var(--gold) 0%, #e9c46a 100%);
  color: #fff;
  text-align: center;
  padding: .6rem 1rem;
  font-size: .9rem;
  font-weight: 600;
}
.promo-banner a { color: #fff; text-decoration: underline; }

/* ---- Sections ------------------------------------------- */
.section-light { background: var(--ivory); }
.section-beige { background: var(--beige); }
.section-cream { background: var(--cream); }
.section-dark  { background: var(--green-dark); color: #fff; }
.section-dark .section-title { color: #fff; }

/* ---- Category Cards ------------------------------------- */
.cat-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  position: relative;
  aspect-ratio: 1;
  background: var(--beige);
  border: 2px solid var(--border);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.cat-card:hover .cat-card-img { transform: scale(1.05); }
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,67,50,.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}
.cat-card-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: .5rem;
}
.cat-card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: .5rem;
}
.cat-card-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

/* ---- Product Card --------------------------------------- */
.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.product-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--beige);
}
.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.product-card:hover .product-img-wrapper img { transform: scale(1.08); }

.product-badges {
  position: absolute;
  top: .75rem;
  left: .75rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.badge-promo  { background: #e63946; color: #fff; font-size: .7rem; padding: .25rem .5rem; border-radius: 4px; font-weight: 700; }
.badge-new    { background: var(--green); color: #fff; font-size: .7rem; padding: .25rem .5rem; border-radius: 4px; font-weight: 700; }
.badge-hot    { background: var(--gold); color: #fff; font-size: .7rem; padding: .25rem .5rem; border-radius: 4px; font-weight: 700; }

.product-actions-overlay {
  position: absolute;
  top: .75rem;
  right: .75rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition);
}
.product-card:hover .product-actions-overlay { opacity: 1; transform: translateX(0); }
.action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: all var(--transition);
  font-size: .9rem;
  text-decoration: none;
}
.action-btn:hover { background: var(--green); color: #fff; }
.action-btn.active { background: var(--gold); color: #fff; }

.product-body {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-category { font-size: .75rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .25rem; }
.product-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .5rem;
  line-height: 1.35;
  flex: 1;
}
.product-name a { color: inherit; }
.product-name a:hover { color: var(--green); }

.product-stars { margin-bottom: .5rem; font-size: .8rem; }
.product-price { display: flex; align-items: baseline; gap: .5rem; margin-bottom: 1rem; }
.price-current { font-size: 1.15rem; font-weight: 700; color: var(--green); }
.price-old { font-size: .85rem; color: var(--gray); text-decoration: line-through; }
.price-discount { font-size: .75rem; font-weight: 700; color: #e63946; }

.btn-add-cart {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: .6rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  width: 100%;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-add-cart:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-add-cart:disabled { background: var(--gray); cursor: not-allowed; }

/* ---- Service Card --------------------------------------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
  height: 100%;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-img-wrapper {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-img-placeholder {
  font-size: 3.5rem;
  color: var(--green-light);
}
.service-body { padding: 1.5rem; }
.service-cat-badge {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: .5rem;
}
.service-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .75rem;
}
.service-meta { display: flex; gap: 1.5rem; margin-bottom: 1rem; font-size: .85rem; color: var(--gray); }
.service-meta i { color: var(--green); }
.service-price { font-size: 1.1rem; font-weight: 700; color: var(--green); margin-bottom: 1rem; }
.btn-reserve {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
  border-radius: var(--radius);
  padding: .55rem 1.2rem;
  font-weight: 600;
  font-size: .85rem;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-reserve:hover { background: var(--green); color: #fff; }

/* ---- Testimonials --------------------------------------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border);
  height: 100%;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold);
  opacity: .2;
  position: absolute;
  top: .5rem;
  left: 1.5rem;
  line-height: 1;
}
.testimonial-text { color: var(--gray); font-style: italic; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .9rem; }
.testimonial-role { font-size: .75rem; color: var(--gray); }

/* ---- Promo Modal ---------------------------------------- */
.promo-modal {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.promo-icon { font-size: 3rem; color: var(--gold-light); }
.text-gold { color: var(--gold-light) !important; }

/* ---- Breadcrumb ----------------------------------------- */
.breadcrumb-section {
  background: var(--beige);
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;
}
.breadcrumb-item + .breadcrumb-item::before { color: var(--gray); }
.breadcrumb-item a { color: var(--green); }
.breadcrumb-item.active { color: var(--gray); }

/* ---- Boutique / Filtres --------------------------------- */
.filter-sidebar {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid var(--border);
  position: sticky;
  top: 90px;
}
.filter-title { font-weight: 700; color: var(--dark); margin-bottom: 1rem; font-size: .95rem; text-transform: uppercase; letter-spacing: 1px; }
.filter-group { margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.form-check-label { font-size: .88rem; cursor: pointer; }
.form-check-input:checked { background-color: var(--green); border-color: var(--green); }

.sort-bar {
  background: var(--white);
  border-radius: var(--radius);
  padding: .75rem 1.25rem;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.sort-bar select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .35rem .75rem;
  font-size: .85rem;
  color: var(--dark);
  background: var(--beige);
}

/* ---- Product Detail ------------------------------------- */
.product-gallery {
  position: sticky;
  top: 90px;
}
.main-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--beige);
  border: 1px solid var(--border);
}
.main-image img { width: 100%; height: 100%; object-fit: cover; }
.thumb-list { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.thumb-item {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
}
.thumb-item:hover, .thumb-item.active { border-color: var(--green); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.product-detail-price .price-current { font-size: 1.6rem; }
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
}
.qty-btn {
  width: 40px;
  height: 40px;
  background: var(--beige);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--dark);
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--border); }
.qty-input {
  width: 52px;
  height: 40px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-weight: 700;
  font-size: .95rem;
  background: #fff;
}

/* ---- Panier -------------------------------------------- */
.cart-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--beige);
}
.cart-summary-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 1px solid var(--border);
  position: sticky;
  top: 90px;
}
.summary-row { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: .75rem; color: var(--gray); }
.summary-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.15rem; color: var(--dark); border-top: 2px solid var(--border); padding-top: .75rem; margin-top: .75rem; }

/* ---- Checkout ------------------------------------------- */
.checkout-step {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.step-header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.step-title { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; }

.payment-option {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  margin-bottom: .75rem;
}
.payment-option:hover, .payment-option.selected { border-color: var(--green); background: rgba(45,106,79,.04); }

/* ---- Account -------------------------------------------- */
.account-sidebar {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.account-nav .nav-link {
  color: var(--dark);
  padding: .6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  transition: all var(--transition);
}
.account-nav .nav-link.active,
.account-nav .nav-link:hover { background: var(--beige); color: var(--green); }
.account-nav .nav-link i { width: 20px; }

.order-status {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 30px;
  font-size: .75rem;
  font-weight: 700;
}
.status-en_attente   { background: #fff3cd; color: #856404; }
.status-confirmee    { background: #cff4fc; color: #055160; }
.status-en_preparation { background: #d1ecf1; color: #0c5460; }
.status-livree       { background: #d4edda; color: #155724; }
.status-annulee      { background: #f8d7da; color: #721c24; }

/* ---- Contact ------------------------------------------- */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--beige);
  color: var(--green);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* ---- Forms --------------------------------------------- */
.form-control, .form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .6rem 1rem;
  font-size: .9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.form-control:focus, .form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,106,79,.1);
  outline: none;
}
.form-label { font-weight: 600; font-size: .875rem; color: var(--dark); margin-bottom: .35rem; }

/* ---- Admin -------------------------------------------- */
.admin-sidebar {
  background: var(--green-dark);
  min-height: 100vh;
  width: 260px;
  position: fixed;
  top: 0; left: 0;
  overflow-y: auto;
  z-index: 1040;
  transition: transform var(--transition);
}
.admin-sidebar .sidebar-brand {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.sidebar-brand-text { font-family: var(--font-serif); font-size: 1.2rem; color: #fff; font-weight: 700; }
.sidebar-brand-sub  { font-size: .7rem; color: var(--gold-light); letter-spacing: 2px; text-transform: uppercase; }

.admin-nav .nav-link {
  color: rgba(255,255,255,.75);
  padding: .65rem 1.5rem;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav .nav-link:hover,
.admin-nav .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-left-color: var(--gold);
}
.admin-nav .nav-link i { font-size: 1rem; width: 20px; }
.admin-nav .nav-section {
  padding: .75rem 1.5rem .25rem;
  font-size: .65rem;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.admin-content {
  margin-left: 260px;
  min-height: 100vh;
  background: #f4f6f9;
}
.admin-topbar {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: .75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1020;
}
.admin-page-content { padding: 1.5rem; }

.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.stat-value { font-size: 1.75rem; font-weight: 700; font-family: var(--font-serif); line-height: 1; }
.stat-label { font-size: .8rem; color: var(--gray); }

.admin-table { background: #fff; border-radius: var(--radius); border: 1px solid #e0e0e0; overflow: hidden; }
.admin-table table { margin: 0; }
.admin-table thead th { background: #f8f9fa; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; border-bottom: 2px solid #e0e0e0; padding: 1rem; }
.admin-table td { padding: .85rem 1rem; vertical-align: middle; font-size: .88rem; }
.admin-table tbody tr:hover { background: #fafbfc; }

.admin-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #e0e0e0;
  padding: 1.5rem;
}
.admin-card-title { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--dark); }

/* ---- Footer -------------------------------------------- */
.site-footer { background: var(--green-dark); }
.footer-main { border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
}
.footer-tagline { color: rgba(255,255,255,.6); font-size: .85rem; font-style: italic; margin-bottom: .5rem; }
.footer-desc { color: rgba(255,255,255,.5) !important; }
.footer-title { color: var(--gold-light); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-light); }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .75rem; font-size: .85rem; color: rgba(255,255,255,.65); }
.footer-contact li i { color: var(--gold); margin-top: .1rem; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.65); }
.footer-contact a:hover { color: var(--gold-light); }

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  text-decoration: none;
}
.social-btn:hover { background: var(--gold); color: #fff; }
.social-btn.whatsapp-btn:hover { background: #25d366; }

.newsletter-form .form-control {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}
.newsletter-form .form-control::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form .form-control:focus { background: rgba(255,255,255,.15); border-color: var(--gold); box-shadow: none; }

.footer-bottom { background: rgba(0,0,0,.2); }
.badge-payment {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  padding: .25rem .6rem;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 600;
}

/* ---- WhatsApp Flottant ---------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all var(--transition);
  z-index: 1000;
  text-decoration: none;
}
.whatsapp-float:hover { background: #1ebe57; color: #fff; transform: scale(1.1); }

/* ---- Pagination ---------------------------------------- */
.pagination .page-link {
  color: var(--green);
  border-color: var(--border);
  border-radius: var(--radius-sm);
  margin: 0 2px;
  padding: .45rem .8rem;
}
.pagination .page-item.active .page-link { background: var(--green); border-color: var(--green); }
.pagination .page-link:hover { background: var(--beige); color: var(--green); }

/* ---- Alerts -------------------------------------------- */
.alert { border-radius: var(--radius); border: none; }
.alert-success { background: #d4edda; color: #155724; }
.alert-danger  { background: #f8d7da; color: #721c24; }
.alert-warning { background: #fff3cd; color: #856404; }
.alert-info    { background: #d1ecf1; color: #0c5460; }

/* ---- Badges -------------------------------------------- */
.badge { font-weight: 600; letter-spacing: .3px; }

/* ---- Blog / Conseils ----------------------------------- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-img { aspect-ratio: 16/9; overflow: hidden; background: var(--beige); display: flex; align-items: center; justify-content: center; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 1.25rem; }
.blog-date { font-size: .75rem; color: var(--gray); margin-bottom: .5rem; }
.blog-title { font-family: var(--font-serif); font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }

/* ---- Utilities ----------------------------------------- */
.bg-beige  { background: var(--beige) !important; }
.bg-cream  { background: var(--cream) !important; }
.bg-green  { background: var(--green) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }
.shadow-soft { box-shadow: var(--shadow) !important; }

/* ---- Responsive ---------------------------------------- */
@media (max-width: 991.98px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.show { transform: translateX(0); }
  .admin-content { margin-left: 0; }

  .hero-section { min-height: 70vh; }
  .hero-stats { gap: 1.5rem; }

  .filter-sidebar { position: static; }
}

@media (max-width: 767.98px) {
  .section-title { font-size: 1.6rem; }
  .hero-title { font-size: 2rem; }
  .hero-stats { display: none; }
  .hero-cta-primary, .hero-cta-secondary { padding: .7rem 1.25rem; font-size: .9rem; }

  .cart-item { flex-direction: column; align-items: flex-start; }
  .cart-item-img { width: 100%; height: 200px; }
}

@media (max-width: 575.98px) {
  .hero-section { min-height: 60vh; }
  .logo-text { font-size: 1.2rem; }
}
