/* =====================================================
   Mapharma France - Complete UI v2.3.0
   Hero dynamique, trust bar, social proof, categories,
   products, howto, EEAT, testimonials, FAQ, CTA
   ===================================================== */

/* === HERO SECTION === */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0E8F58 0%, #065F46 100%);
  color: #fff;
  padding: 60px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg-decoration {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.hero-blob--1 { width: 400px; height: 400px; background: #E8B53D; top: -100px; right: -100px; }
.hero-blob--2 { width: 500px; height: 500px; background: #10B981; bottom: -150px; left: -150px; }
.hero-blob--3 { width: 300px; height: 300px; background: #34D399; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content { max-width: 600px; }

.hero-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-badge--primary { background: rgba(232,181,61,0.25); border-color: rgba(232,181,61,0.4); }
.hero-badge--rating { background: rgba(255,255,255,0.95); color: #1A1A2E; border-color: transparent; }
.hero-badge--rating .hero-badge-stars { color: #E8B53D; }

.hero-title {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 20px;
  letter-spacing: -1.5px;
}
.hero-title-accent {
  display: block;
  color: #E8B53D;
  font-style: italic;
  margin-top: 4px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 28px;
  opacity: 0.95;
}

.hero-search {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 9999px;
  padding: 6px 6px 6px 18px;
  margin-bottom: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.hero-search-icon { color: #6B7280; flex-shrink: 0; }
.hero-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 14px;
  font-size: 15px;
  color: #1A1A2E;
  outline: none;
  font-family: inherit;
}
.hero-search-input::placeholder { color: #9CA3AF; }
.hero-search-btn {
  background: #E8B53D;
  color: #1A1A2E;
  border: none;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.hero-search-btn:hover { background: #D4A030; }

.hero-trending {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  font-size: 13px;
}
.trending-label { opacity: 0.8; }
.trending-tag {
  padding: 5px 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  transition: background 0.2s ease;
}
.trending-tag:hover { background: rgba(255,255,255,0.2); }

.hero-trust {
  display: flex;
  gap: 18px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}
.hero-trust svg { color: #E8B53D; flex-shrink: 0; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-lg { padding: 16px 28px; font-size: 16px; gap: 8px; }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* Hero visual */
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  position: relative;
}
.hero-card {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  color: #1A1A2E;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 180px;
  transition: transform 0.3s ease;
}
.hero-card:hover { transform: translateY(-4px); }
.hero-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.hero-card-icon--red { background: linear-gradient(135deg, #FEE2E2, #FECACA); color: #DC2626; }
.hero-card-icon--gold { background: linear-gradient(135deg, #FEF3C7, #FDE68A); color: #B08624; }
.hero-card-icon--blue { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); color: #1D4ED8; }
.hero-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #1A1A2E;
  line-height: 1.25;
  word-wrap: break-word;
}
.hero-card p {
  font-size: 13px;
  color: #6B7280;
  margin: 0 0 12px;
  line-height: 1.5;
  word-wrap: break-word;
  flex: 1;
}
.hero-card-link {
  color: #0E8F58;
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
  margin-top: auto;
}
.hero-card-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: #DC2626;
  color: #fff;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
}
.hero-card-badge--gold { background: #E8B53D; color: #1A1A2E; }
.hero-card-badge--new { background: #2563EB; }
.hero-card--featured { grid-column: 1; grid-row: 1; }
.hero-card--best { grid-column: 2; grid-row: 1 / span 2; min-height: 376px; }
.hero-card--new { grid-column: 1; grid-row: 2; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 40px; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .hero-section { padding: 40px 0 50px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 15px; }
  .hero-visual { grid-template-columns: 1fr; }
  .hero-card--featured, .hero-card--best, .hero-card--new {
    grid-column: 1; grid-row: auto; min-height: 160px;
  }
  .hero-search { flex-direction: column; padding: 8px; border-radius: 16px; }
  .hero-search-input { width: 100%; padding: 10px 14px; }
  .hero-search-btn { width: 100%; }
}

/* === TRUST BAR === */
.trust-bar {
  background: #fff;
  padding: 32px 0;
  border-bottom: 1px solid #F1F5F9;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-bar-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-bar-icon--green { background: rgba(14,143,88,0.1); color: #0E8F58; }
.trust-bar-icon--gold { background: rgba(232,181,61,0.1); color: #B08624; }
.trust-bar-icon--blue { background: rgba(37,99,235,0.1); color: #2563EB; }
.trust-bar-icon--purple { background: rgba(124,58,237,0.1); color: #7C3AED; }
.trust-bar-icon--red { background: rgba(220,38,38,0.1); color: #DC2626; }
.trust-bar-text { display: flex; flex-direction: column; }
.trust-bar-text strong { font-size: 14px; font-weight: 700; color: #1A1A2E; }
.trust-bar-text span { font-size: 12px; color: #6B7280; }

@media (max-width: 1024px) {
  .trust-bar-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 600px) {
  .trust-bar-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar-item { flex-direction: column; text-align: center; gap: 6px; }
}

/* === SOCIAL PROOF === */
.social-proof { padding: 30px 0; background: #F8FAFC; }
.social-proof-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  flex-wrap: wrap;
}
.proof-pulse {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #DC2626;
}
.pulse-dot {
  width: 10px; height: 10px;
  background: #DC2626;
  border-radius: 50%;
  position: relative;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(220,38,38,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(220,38,38,0); }
  100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); }
}
.proof-stats { display: flex; align-items: center; gap: 24px; flex: 1; justify-content: center; flex-wrap: wrap; }
.proof-stat { display: flex; flex-direction: column; align-items: center; }
.proof-number { font-size: 22px; font-weight: 800; color: #1A1A2E; line-height: 1; }
.proof-label { font-size: 12px; color: #6B7280; margin-top: 4px; }
.proof-divider { width: 1px; height: 32px; background: #E5E7EB; }
@media (max-width: 600px) { .proof-divider { display: none; } }

/* === SECTION HEADERS === */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0E8F58;
  margin-bottom: 12px;
  padding: 6px 14px;
  background: rgba(14,143,88,0.1);
  border-radius: 9999px;
}
.section-title {
  font-size: 36px;
  font-weight: 800;
  color: #1A1A2E;
  margin: 0 0 16px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.section-title--small { font-size: 22px; margin-bottom: 24px; }
.section-subtitle { font-size: 16px; color: #6B7280; margin: 0; line-height: 1.6; }
.section-header--light .section-eyebrow { color: #E8B53D; background: rgba(232,181,61,0.15); }
.section-header--light .section-title { color: #fff; }
.section-header--light .section-subtitle { color: rgba(255,255,255,0.9); }
.section-cta { text-align: center; margin-top: 40px; }
@media (max-width: 600px) { .section-title { font-size: 28px; } }

/* === CATEGORIES === */
.categories-section { padding: 80px 0; background: #F8FAFC; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.category-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #F1F5F9;
  transition: all 0.3s ease;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-color: transparent;
}
.category-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
}
.category-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.category-name {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  flex: 1;
  color: #1A1A2E;
  line-height: 1.3;
}
.category-arrow {
  font-size: 18px;
  color: #9CA3AF;
  transition: transform 0.2s ease, color 0.2s ease;
}
.category-card:hover .category-arrow {
  transform: translateX(4px);
  color: #0E8F58;
}
@media (max-width: 1024px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .categories-grid { grid-template-columns: 1fr; } }

/* === PRODUCTS === */
.products-section { padding: 80px 0; background: #fff; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid #F1F5F9;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  border-color: rgba(14,143,88,0.15);
}
.product-card-link { display: block; color: inherit; text-decoration: none; }
.product-image {
  position: relative;
  background: #F8FAFC;
  aspect-ratio: 1;
  overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-image-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #F0FDF4, #ECFDF5); }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.product-badge--sale { background: #DC2626; color: #fff; }
.product-badge--top { background: #E8B53D; color: #1A1A2E; top: 12px; right: 12px; left: auto; }
.product-info { padding: 16px; }
.product-title {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 8px;
  line-height: 1.4;
  color: #1A1A2E;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
  word-wrap: break-word;
}
.product-price { font-size: 16px; font-weight: 700; color: #0E8F58; margin-bottom: 8px; }
.product-rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #6B7280; margin-bottom: 12px; }
.rating-stars { color: #E8B53D; }
.product-cta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid #F1F5F9;
  font-size: 13px; font-weight: 600; color: #0E8F58;
}
@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; } }

/* === HOWTO === */
.howto-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #fff;
}
.howto-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.howto-step {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}
.howto-step:hover { transform: translateY(-6px); background: rgba(255,255,255,0.08); }
.step-number {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #0E8F58, #065F46);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800; color: #fff;
  box-shadow: 0 8px 20px rgba(14,143,88,0.4);
}
.step-title {
  font-size: 18px; font-weight: 700; margin: 0 0 10px; color: #fff;
}
.step-desc {
  font-size: 14px; line-height: 1.6; margin: 0; color: rgba(255,255,255,0.8);
}
@media (max-width: 1024px) { .howto-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .howto-steps { grid-template-columns: 1fr; } }

/* === EEAT === */
.eeat-section { padding: 80px 0; background: #fff; }
.eeat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.eeat-card {
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #F1F5F9;
  transition: all 0.3s ease;
}
.eeat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-color: transparent;
}
.eeat-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.eeat-card h3 {
  font-size: 20px; font-weight: 700; margin: 0 0 10px; color: #1A1A2E;
}
.eeat-card p { font-size: 14px; line-height: 1.6; color: #6B7280; margin: 0 0 16px; }
.eeat-list { list-style: none; padding: 0; margin: 0; }
.eeat-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: #1A1A2E; margin-bottom: 8px; line-height: 1.5;
}
.eeat-check {
  color: #0E8F58; font-weight: 700; flex-shrink: 0; font-size: 16px;
}
@media (max-width: 768px) { .eeat-grid { grid-template-columns: 1fr; } }

/* === TESTIMONIALS === */
.testimonials-section { padding: 80px 0; background: #F8FAFC; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #F1F5F9;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.testimonial-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.testimonial-stars { color: #E8B53D; font-size: 16px; letter-spacing: 1px; }
.testimonial-source {
  font-size: 11px; font-weight: 600; color: #6B7280;
  background: #F1F5F9; padding: 3px 8px; border-radius: 4px;
}
.testimonial-text {
  font-size: 14px; line-height: 1.6; color: #1A1A2E;
  margin: 0 0 20px; flex: 1;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid #F1F5F9;
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 13px; color: #1A1A2E; }
.testimonial-author small { display: block; font-size: 11px; color: #6B7280; margin-top: 2px; }
@media (max-width: 1024px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* === FAQ === */
.faq-section { padding: 80px 0; background: #fff; }
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid #F1F5F9;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item[open] {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  border-color: rgba(14,143,88,0.2);
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question h3 {
  font-size: 15px; font-weight: 600; color: #1A1A2E; margin: 0; flex: 1; line-height: 1.4;
}
.faq-toggle {
  width: 32px; height: 32px;
  background: rgba(14,143,88,0.1);
  color: #0E8F58;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: #0E8F58; color: #fff; }
.faq-answer { padding: 0 24px 20px; }
.faq-answer p { font-size: 14px; line-height: 1.6; color: #4B5563; margin: 0; }

/* === CTA FINAL === */
.cta-section { padding: 60px 0; background: #F8FAFC; }
.cta-card {
  background: linear-gradient(135deg, #0E8F58 0%, #065F46 100%);
  border-radius: 24px;
  padding: 50px 60px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-bg-shape {
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(232,181,61,0.2);
  border-radius: 50%;
  top: -100px; right: -100px;
  filter: blur(60px);
}
.cta-content { position: relative; z-index: 1; }
.cta-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: #E8B53D;
  margin-bottom: 12px;
}
.cta-title { font-size: 32px; font-weight: 800; margin: 0 0 12px; line-height: 1.2; }
.cta-desc { font-size: 15px; line-height: 1.6; margin: 0; opacity: 0.95; }
.cta-form {
  display: flex; gap: 8px; position: relative; z-index: 1;
}
.cta-input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 9999px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: #1A1A2E;
  outline: none;
}
.cta-input::placeholder { color: #9CA3AF; }
@media (max-width: 768px) {
  .cta-card { grid-template-columns: 1fr; padding: 40px 24px; }
  .cta-form { flex-direction: column; }
  .cta-input, .cta-form .btn { width: 100%; border-radius: 12px; }
}

/* === KEYWORDS === */
.keywords-section { padding: 60px 0; background: #F8FAFC; border-top: 1px solid #E5E7EB; }
.keywords-cloud { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; justify-content: center; }
.keywords-cloud a {
  display: inline-block;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  font-size: 13px;
  color: #4B5563;
  text-decoration: none;
  transition: all 0.2s ease;
}
.keywords-cloud a:hover { background: #0E8F58; color: #fff; border-color: #0E8F58; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 600; font-size: 14px;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
  gap: 6px;
  line-height: 1.2;
}
.btn-accent { background: #E8B53D; color: #1A1A2E; border-color: #E8B53D; }
.btn-accent:hover { background: #D4A030; border-color: #D4A030; transform: translateY(-2px); }
.btn-primary { background: #0E8F58; color: #fff; border-color: #0E8F58; }
.btn-primary:hover { background: #065F46; border-color: #065F46; transform: translateY(-2px); }
.btn-secondary { background: transparent; color: #1A1A2E; border-color: #E5E7EB; }
.btn-secondary:hover { background: #F8FAFC; border-color: #0E8F58; color: #0E8F58; }
.screen-reader-text { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* === TRACKING PAGE === */
.tracking-page { background: #F8FAFC; }
.tracking-header {
  background: linear-gradient(135deg, #0E8F58 0%, #065F46 100%);
  color: #fff;
  padding: 60px 0 80px;
  text-align: center;
}
.tracking-header .breadcrumbs { color: rgba(255,255,255,0.85); margin-bottom: 16px; }
.tracking-header .breadcrumbs a { color: #E8B53D; }
.tracking-header .breadcrumbs .separator { color: rgba(255,255,255,0.5); }
.tracking-title { font-size: 42px; font-weight: 800; margin: 0 0 12px; color: #fff; }
.tracking-subtitle { font-size: 17px; color: rgba(255,255,255,0.9); margin: 0; max-width: 600px; margin: 0 auto; }

.tracking-search-section { padding: 0 0 60px; margin-top: -40px; }
.tracking-search-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 0 auto;
}
.search-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.search-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #0E8F58, #065F46);
  color: #fff;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.search-title { font-size: 22px; font-weight: 700; margin: 0; color: #1A1A2E; }
.tracking-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 600; color: #1A1A2E; }
.form-input {
  padding: 14px 16px;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
  outline: none;
  border-color: #0E8F58;
  box-shadow: 0 0 0 3px rgba(14,143,88,0.1);
}
.btn-tracking { padding: 14px 28px; }
.search-or {
  text-align: center;
  margin: 24px 0;
  position: relative;
  color: #9CA3AF;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.search-or::before, .search-or::after {
  content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: #E5E7EB;
}
.search-or::before { left: 0; }
.search-or::after { right: 0; }
.search-or span { background: #fff; padding: 0 12px; }
.btn-account { width: 100%; }

.tracking-steps-section { padding: 80px 0; background: #fff; }
.tracking-steps { list-style: none; padding: 0; margin: 0; max-width: 800px; margin: 0 auto; }
.tracking-step {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 24px 0;
  position: relative;
}
.tracking-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 27px; top: 70px; bottom: -10px;
  width: 2px;
  background: #E5E7EB;
}
.step-bubble {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
  background: #F1F5F9;
  color: #9CA3AF;
  flex-shrink: 0;
  z-index: 1;
}
.step-bubble--done { background: #0E8F58; color: #fff; }
.step-bubble--active {
  background: linear-gradient(135deg, #E8B53D, #B08624);
  color: #fff;
  box-shadow: 0 0 0 8px rgba(232,181,61,0.2);
  animation: pulse-active 2s infinite;
}
@keyframes pulse-active {
  0% { box-shadow: 0 0 0 8px rgba(232,181,61,0.2); }
  50% { box-shadow: 0 0 0 12px rgba(232,181,61,0.1); }
  100% { box-shadow: 0 0 0 8px rgba(232,181,61,0.2); }
}
.step-content { flex: 1; padding-top: 8px; }
.step-state {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9CA3AF;
  margin-bottom: 4px;
}
.step-label { font-size: 18px; font-weight: 700; margin: 0 0 6px; color: #1A1A2E; }
.step-desc { font-size: 14px; line-height: 1.6; color: #6B7280; margin: 0; }

.tracking-reassurance { padding: 60px 0; background: #F8FAFC; }
.reassurance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.reassurance-item {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #F1F5F9;
}
.reassurance-icon {
  width: 56px; height: 56px;
  background: rgba(14,143,88,0.1);
  color: #0E8F58;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.reassurance-item h3 { font-size: 15px; font-weight: 700; margin: 0 0 8px; color: #1A1A2E; }
.reassurance-item p { font-size: 13px; line-height: 1.5; color: #6B7280; margin: 0; }

.tracking-help { padding: 60px 0; background: #fff; }
.help-card {
  background: linear-gradient(135deg, #0E8F58 0%, #065F46 100%);
  color: #fff;
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.help-icon {
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: #E8B53D;
}
.help-title { font-size: 24px; font-weight: 800; margin: 0 0 10px; color: #fff; }
.help-desc { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.9); margin: 0 0 24px; }
.help-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.help-buttons .btn-secondary, .help-buttons .btn-primary { background: #fff; color: #0E8F58; border-color: #fff; }
.help-buttons .btn-secondary:hover, .help-buttons .btn-primary:hover { background: #E8B53D; border-color: #E8B53D; color: #1A1A2E; }

@media (max-width: 1024px) { .reassurance-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .tracking-form { grid-template-columns: 1fr; }
  .btn-tracking, .btn-account { width: 100%; }
  .reassurance-grid { grid-template-columns: 1fr; }
  .tracking-title { font-size: 28px; }
  .tracking-search-card { padding: 24px; }
}

/* === HEADER / FOOTER / MENU === */
.site-header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.04); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; }
.site-header .container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.header-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #1A1A2E; }
.brand-logo { width: 40px; height: 40px; }
.brand-name { font-size: 18px; font-weight: 700; }
.brand-subtitle { font-size: 12px; color: #6B7280; display: block; line-height: 1.2; }
.header-search { flex: 1; max-width: 480px; position: relative; }
.header-search-input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 2px solid #E5E7EB;
  border-radius: 9999px;
  font-size: 14px;
  font-family: inherit;
  background: #F8FAFC;
  transition: all 0.2s ease;
}
.header-search-input:focus { outline: none; border-color: #0E8F58; background: #fff; }
.header-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #9CA3AF; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-action {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500;
  color: #1A1A2E; text-decoration: none;
  background: none; border: none; cursor: pointer;
  position: relative;
}
.header-action svg { color: #0E8F58; }
.cart-count {
  position: absolute; top: -6px; right: -8px;
  background: #DC2626; color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 6px; border-radius: 9999px;
  min-width: 18px; text-align: center;
}

.main-navigation { background: #0E8F58; }
.nav-menu {
  display: flex; justify-content: center; gap: 0;
  list-style: none; margin: 0; padding: 0;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block; padding: 14px 20px;
  color: #fff; font-size: 14px; font-weight: 500;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}
.nav-menu > li > a:hover, .nav-menu > li.current-menu-item > a {
  background: #065F46;
  border-bottom-color: #E8B53D;
}
.nav-menu .sub-menu {
  display: none; position: absolute;
  top: 100%; left: 0;
  background: #fff; min-width: 240px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 0 0 12px 12px;
  z-index: 200;
  list-style: none; padding: 8px 0; margin: 0;
}
.nav-menu li:hover > .sub-menu { display: block; }
.nav-menu .sub-menu a {
  display: block; padding: 10px 20px;
  color: #1A1A2E; font-size: 14px;
  text-decoration: none;
}
.nav-menu .sub-menu a:hover { background: #F8FAFC; color: #0E8F58; }

.menu-toggle {
  display: none;
  background: #fff;
  border: 2px solid #0E8F58;
  border-radius: 8px;
  padding: 10px;
  color: #0E8F58;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle .menu-icon-close { display: none; }
.menu-toggle.active .menu-icon-open { display: none; }
.menu-toggle.active .menu-icon-close { display: block; }

@media (max-width: 1024px) {
  .menu-toggle { display: inline-flex; }
  .header-search { display: none; }
  .header-action-label { display: none; }
  .main-navigation .container { padding: 0; max-width: 100%; }
  .nav-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    width: 100%;
    margin: 0;
  }
  .main-navigation.mobile-open .nav-menu { display: flex; }
  .nav-menu > li { width: 100%; border-bottom: 1px solid #F1F5F9; }
  .nav-menu > li > a { padding: 14px 24px; color: #1A1A2E; border-bottom: none; }
  .nav-menu .sub-menu { position: static; box-shadow: none; background: #F8FAFC; border-radius: 0; }
  .nav-menu .menu-item-has-children > a::after { content: ' \25BE'; float: right; }
  .nav-menu .submenu-open > a::after { content: ' \25B4'; }
}

/* Top bar */
.top-bar { background: #065F46; color: #fff; font-size: 12px; padding: 8px 0; }
.top-bar-item { display: inline-flex; align-items: center; gap: 6px; margin: 0 12px; }
.top-bar-item svg { color: #E8B53D; }

/* Footer */
.site-footer { background: #0F172A; color: #E5E7EB; padding: 60px 0 24px; margin-top: 60px; }
.site-footer .container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4.footer-title {
  color: #fff; font-size: 14px; font-weight: 700;
  margin: 0 0 18px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.footer-col ul.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-col ul.footer-links li { margin-bottom: 10px; }
.footer-col ul.footer-links a {
  color: #9CA3AF; text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
  display: inline-block;
}
.footer-col ul.footer-links a:hover { color: #E8B53D; }
.footer-brand .footer-desc { font-size: 14px; line-height: 1.6; color: #9CA3AF; margin: 16px 0 20px; }
.footer-social { display: flex; gap: 10px; margin: 16px 0 20px; }
.footer-social .social-link {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: #E5E7EB;
  transition: background 0.2s ease;
  text-decoration: none;
}
.footer-social .social-link:hover { background: #0E8F58; }
.footer-payment { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.footer-payment .payment-badge {
  background: rgba(255,255,255,0.08);
  color: #E5E7EB;
  font-size: 11px; font-weight: 600;
  padding: 4px 8px; border-radius: 4px;
}
.footer-contact .contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px;
  font-size: 14px; color: #9CA3AF;
  line-height: 1.5;
}
.footer-contact .contact-item svg { color: #E8B53D; flex-shrink: 0; margin-top: 2px; }
.footer-contact .contact-item a { color: #E5E7EB; text-decoration: none; }
.footer-contact .contact-item a:hover { color: #E8B53D; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { margin: 0; font-size: 13px; color: #9CA3AF; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { color: #9CA3AF; font-size: 13px; text-decoration: none; transition: color 0.2s ease; }
.footer-legal a:hover { color: #E8B53D; }
.footer-logo-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 700; font-size: 18px; }

@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}

/* Back to top */
.back-to-top {
  position: fixed; bottom: 20px; right: 20px;
  width: 48px; height: 48px;
  background: #0E8F58; color: #fff;
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 99;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #065F46; transform: translateY(-2px); }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-card, .category-card, .eeat-card, .testimonial-card {
  animation: fadeInUp 0.5s ease backwards;
}
.product-card:nth-child(2), .category-card:nth-child(2), .eeat-card:nth-child(2), .testimonial-card:nth-child(2) { animation-delay: 0.05s; }
.product-card:nth-child(3), .category-card:nth-child(3), .eeat-card:nth-child(3), .testimonial-card:nth-child(3) { animation-delay: 0.1s; }
.product-card:nth-child(4), .category-card:nth-child(4), .eeat-card:nth-child(4), .testimonial-card:nth-child(4) { animation-delay: 0.15s; }
.product-card:nth-child(5), .category-card:nth-child(5) { animation-delay: 0.2s; }
.product-card:nth-child(6), .category-card:nth-child(6) { animation-delay: 0.25s; }
.product-card:nth-child(7), .category-card:nth-child(7) { animation-delay: 0.3s; }
.product-card:nth-child(8), .category-card:nth-child(8) { animation-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* === CONTACT & TRACKING (existing styles integrated) === */
.contact-page { background: #fff; }
.contact-header { background: linear-gradient(135deg, #F0FDF4, #ECFDF5); padding: 60px 0 40px; }
.breadcrumbs { font-size: 14px; color: #6B7280; margin-bottom: 16px; }
.breadcrumbs a { color: #0E8F58; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .separator { margin: 0 8px; opacity: 0.5; }
.contact-title { font-size: 42px; font-weight: 800; color: #1A1A2E; margin: 0 0 16px; }
.contact-subtitle { font-size: 17px; color: #6B7280; max-width: 720px; line-height: 1.6; }
.contact-content { padding: 60px 0; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.form-card { background: #fff; padding: 36px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid #F1F5F9; }
.form-title { font-size: 24px; font-weight: 700; color: #1A1A2E; margin: 0 0 8px; }
.form-intro { font-size: 14px; color: #6B7280; margin: 0 0 24px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.contact-form .form-group { margin-bottom: 16px; display: flex; flex-direction: column; }
.contact-form .form-group label { font-size: 14px; font-weight: 500; color: #1A1A2E; margin-bottom: 8px; }
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 2px solid #E5E7EB; border-radius: 8px;
  font-size: 15px; font-family: inherit;
  background: #fff; color: #1A1A2E;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
  outline: none; border-color: #0E8F58;
  box-shadow: 0 0 0 3px rgba(14,143,88,0.1);
}
.contact-form .form-group textarea { resize: vertical; min-height: 120px; }
.contact-form .form-check { flex-direction: row; align-items: flex-start; gap: 10px; }
.contact-form .form-check input { width: auto; margin-top: 4px; }
.contact-form .form-check label { margin-bottom: 0; font-size: 13px; font-weight: 400; line-height: 1.5; }
.contact-form .form-check a { color: #0E8F58; }
.form-submit { width: 100%; padding: 14px 28px; font-size: 16px; }
.form-message { margin-top: 20px; padding: 14px 18px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.form-message--success { background: #DCFCE7; color: #065F46; border: 1px solid #BBF7D0; }
.form-message--error { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.contact-info-col { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
.info-card { background: #fff; padding: 24px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border: 1px solid #F1F5F9; }
.info-card--primary { background: linear-gradient(135deg, #F0FDF4, #ECFDF5); }
.info-title { font-size: 16px; font-weight: 700; color: #1A1A2E; margin: 0 0 18px; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.info-icon { width: 36px; height: 36px; background: #0E8F58; color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-content { display: flex; flex-direction: column; gap: 2px; }
.info-label { font-size: 12px; color: #6B7280; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.info-value { font-size: 15px; color: #1A1A2E; font-weight: 500; text-decoration: none; }
.info-value:hover { color: #0E8F58; }
.info-detail { font-size: 13px; color: #6B7280; }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-link-card { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #F8FAFC; border-radius: 8px; color: #1A1A2E; text-decoration: none; font-size: 14px; transition: all 0.2s ease; }
.social-link-card:hover { background: #0E8F58; color: #fff; }
.trust-list { list-style: none; padding: 0; margin: 0; }
.trust-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14px; color: #1A1A2E; line-height: 1.5; }
.trust-icon { color: #0E8F58; flex-shrink: 0; margin-top: 2px; }
.contact-links { padding: 60px 0; background: #F8FAFC; }
.links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.link-card { background: #fff; padding: 28px 24px; border-radius: 12px; text-align: center; text-decoration: none; color: #1A1A2E; transition: all 0.2s ease; border: 1px solid #F1F5F9; }
.link-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); border-color: #0E8F58; }
.link-icon { font-size: 36px; margin-bottom: 12px; }
.link-title { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.link-desc { font-size: 13px; color: #6B7280; margin: 0; line-height: 1.5; }
@media (max-width: 992px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-col { position: static; }
  .links-grid { grid-template-columns: 1fr 1fr; }
  .contact-title { font-size: 32px; }
}
@media (max-width: 600px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
  .links-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .contact-title { font-size: 26px; }
  .form-card { padding: 24px; }
}
