.hero-banner {
  position: relative;
  width: 100vw;
  height: 65vh;
  min-height: 350px;
  overflow: hidden;
  background-color: #f2f2f2;
}

.loader-skeleton-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  z-index: 3;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.hero-image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px);
  z-index: 1;
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-image.loaded {
  opacity: 1;
}

.content .box {
  transform: translateY(-2px);
  background-color: #fff;
}

.content .box .imgBx img {
  border-radius: 10px;
}

section,
#articles-section {
  background-color: #fff;
}

.news-feed {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  margin: 20px 0 10px 10px;
  padding-left: 10px;
  border-left: 4px solid #ff9900;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.news-feed:hover {
  color: #ff9900;
}

.country-image-wrapper {
  background-color: #fff !important;
}

.adastra-updates {
  background: #ffffff;
  border-radius: 2rem;
  padding: 2rem;
  margin: 3rem auto;
  max-width: 860px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  position: relative;
}

.updates-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.updates-header h2 {
  font-size: 1.4rem;
  color: #1f2937;
  font-weight: 600;
  flex: 1 1 auto;
  min-width: 200px;
}

.adastra-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: 1px solid #ff9900;
  color: #ff9900;
  border-radius: 9999px;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.tab-btn.active {
  background: #ff9900;
  color: white;
}

.updates-body {
  margin-top: 1rem;
}

.updates-list {
  display: none;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.updates-list.active {
  display: block;
}

.updates-list li {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.updates-list li span {
  font-weight: 600;
  color: #007185;
}

.adastra-badge {
  position: absolute;
  top: -12px;
  left: -12px;
  background: #ff9900;
  color: white;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  font-family: "Segoe UI", sans-serif;
  letter-spacing: 0.5px;
}

.updates-list li {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 1rem;
  line-height: 1.5;
  font-weight: 500;
}

.updates-list li span {
  font-weight: 700;
  color: #007185;
}

/* ✅ Media query pour responsive < 600px */
@media (max-width: 600px) {
  .adastra-updates {
    padding: 0.8rem 1rem;
    margin: 0.5rem 0.8rem;
  }

  .updates-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .updates-header h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .tab-btn {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  .updates-list li {
    font-size: 0.9rem;
  }

  .adastra-badge {
    top: -10px;
    left: -10px;
    font-size: 0.7rem;
    padding: 3px 10px;
  }
}

.category-carousel-title {
  font-size: 1.8rem;
  color: #1e293b;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto 10px auto;
  padding-left: 10px;
  padding-right: 10px;
}

.adastra-style-categories .softadastra-categories-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 10px;
  justify-content: flex-start;
}

.adastra-style-categories .softadastra-category {
  width: calc(25% - 12px);
  max-width: 100px;
  min-width: 70px;
  text-align: center;
  font-family: Arial, sans-serif;
  transition: transform 0.3s ease;
}

.adastra-style-categories .softadastra-category a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.adastra-style-categories .softadastra-category img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e5e5e5;
  background: #fff;
  transition: border-color 0.3s, transform 0.3s;
}

.adastra-style-categories .softadastra-category:hover img {
  border-color: #ff9900;
  transform: scale(1.05);
}

.adastra-style-categories .softadastra-category p {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adastra-style-categories .softadastra-category .product-count {
  font-size: 11px;
  color: #999;
  font-weight: normal;
  display: block;
  margin-top: 2px;
}

@media (min-width: 1024px) {
  .adastra-style-categories .softadastra-category {
    width: calc(16.66% - 12px);
    max-width: 140px;
  }

  .adastra-style-categories .softadastra-category img {
    width: 100px;
    height: 100px;
  }

  .adastra-style-categories .softadastra-category p {
    font-size: 15px;
  }

  .adastra-style-categories .softadastra-category .product-count {
    font-size: 12px;
  }

  .adastra-category-title,
  .styled-section-title {
    font-family: "Segoe UI", sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin: 10px 0 0 100px !important;
    /* Aligné à gauche avec marge */
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
    /* ❗ annule le centrage */
  }
}

@media (max-width: 600px) {
  .adastra-style-categories .softadastra-category {
    width: calc(33.333% - 8px);
    /* 3 par ligne */
    max-width: none;
  }

  .adastra-style-categories .softadastra-categories-container {
    gap: 10px;
    padding: 15px 8px;
  }

  .adastra-style-categories .softadastra-category img {
    width: 90px;
    height: 90px;
  }

  .adastra-style-categories .softadastra-category p {
    font-size: 12px;
  }

  .adastra-style-categories .softadastra-category .product-count {
    font-size: 10px;
  }
}

.adastra-category-title {
  font-family: "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #222;
  margin: 10px 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
}

.adastra-category-title i {
  font-size: 20px;
  color: #ff9900;
}

.adastra-category-title #category-count {
  font-size: 14px;
  font-weight: 500;
  color: #888;
  margin-left: 5px;
}

.styled-section-title {
  font-family: "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin: 10px 16px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #f1f1f1;
  padding-bottom: 8px;
}

.styled-section-title.for-her i {
  font-size: 20px;
  color: #ff66b2;
}

.styled-section-title.for-him i {
  font-size: 20px;
  color: #007185;
}
