html, body { font-family: 'Poppins', sans-serif; overflow-x: hidden; }

.carousel-wrapper {
  will-change: transform;
  transform: translateZ(0);
}

.carousel-inner {
  will-change: scroll-position;
}

.product-card {
  transition: box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 8px 20px rgba(218,111,13,.18), 0 2px 6px rgba(0,0,0,.08);
  border-color: #da6f0d !important;
}

.suggestion-senegal-card,
.trending-senegal-card,
.promo-products-senegal-card,
.category-product-card,
.service-card-home,
.ticket-card-home,
.game-card-home {
  display: flex;
  flex-direction: column;
  width: 160px;
  min-width: 160px;
  height: auto;
  min-height: 280px;
  background-color: white;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
  position: relative !important;
}
@media (min-width: 480px) {
  .suggestion-senegal-card,
  .trending-senegal-card,
  .promo-products-senegal-card,
  .category-product-card,
  .service-card-home,
  .ticket-card-home,
  .game-card-home {
    width: 180px;
    min-width: 180px;
    min-height: 300px;
  }
}
@media (min-width: 768px) {
  .suggestion-senegal-card,
  .trending-senegal-card,
  .promo-products-senegal-card,
  .category-product-card,
  .service-card-home,
  .ticket-card-home,
  .game-card-home {
    width: 210px;
    min-width: 210px;
    min-height: 340px;
  }
}
.suggestion-senegal-card:hover,
.trending-senegal-card:hover,
.promo-products-senegal-card:hover,
.category-product-card:hover,
.service-card-home:hover,
.ticket-card-home:hover,
.game-card-home:hover {
  box-shadow: 0 8px 20px rgba(218,111,13,.18), 0 2px 6px rgba(0,0,0,.08);
  border-color: #da6f0d;
}

.suggestion-senegal-card .card-image-wrapper,
.trending-senegal-card .card-image-wrapper,
.promo-products-senegal-card .card-image-wrapper,
.category-product-card .card-image-wrapper,
.service-card-home .card-image-wrapper,
.ticket-card-home .card-image-wrapper,
.game-card-home .card-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background-color: #f3f4f6;
}
.suggestion-senegal-card .card-image-wrapper img,
.trending-senegal-card .card-image-wrapper img,
.promo-products-senegal-card .card-image-wrapper img,
.category-product-card .card-image-wrapper img,
.service-card-home .card-image-wrapper img,
.ticket-card-home .card-image-wrapper img,
.game-card-home .card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.suggestion-senegal-card .p-3,
.trending-senegal-card .p-3,
.promo-products-senegal-card .p-3,
.category-product-card .p-3,
.service-card-home .p-3,
.ticket-card-home .p-3,
.game-card-home .p-3 {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: auto;
}

.badge { background-color:#001830; color:#fff; padding:.25rem .6rem; border-radius:9999px; font-size:.7rem; font-weight:600; position: absolute; top: 0.5rem; right: 0.5rem; z-index: 10; }

.service-senegal-card .badge,
.service-card-home .badge,
.suggestion-senegal-card .badge,
.trending-senegal-card .badge,
.promo-products-senegal-card .badge,
.category-product-card .badge {
  background-color: #dc2626;
  color: white;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 10;
}

.product-card .badge { display: none; }
.product-card.promo .badge { display: block; }

.btn { display:inline-flex; align-items:center; justify-content:center; gap:.5rem; padding:.7rem 1rem; border-radius:.75rem; font-weight:600; }
.btn-primary { background:#da6f0d; color:#fff; }
.btn-primary:hover { filter:brightness(.93); }
.btn-dark { background:#001830; color:#fff; }
.btn-dark:hover { filter:brightness(1.15); }
.btn-ghost { background:#fff; border:1px solid #e5e7eb; color:#111827; }
.btn-ghost:hover { background:#f9fafb; }

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#newsletterPopup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.7);
  z-index: 60;
  justify-content: center;
  align-items: center;
}
#newsletterPopup.show { display: flex; }
#newsletterPopup .popup-container {
  background-color: white;
  border-radius: 0.5rem;
  width: 90%; max-width: 500px; max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  padding: 2rem;
}
#newsletterPopup .close-btn {
  position: absolute; top: 0.5rem; right: 0.5rem;
  font-size: 1.5rem; cursor: pointer; color: #9ca3af;
  background: none; border: none;
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}
#newsletterPopup .close-btn:hover { background-color: #f3f4f6; color: #ef4444; }
#newsletterPopup .popup-header { text-align: center; margin-bottom: 1rem; }
#newsletterPopup .popup-header h2 { font-size: 1.5rem; font-weight: 600; color: #1f2937; margin-bottom: 0.5rem; }
#newsletterPopup .popup-header p { font-size: 0.9rem; color: #6b7280; }
#newsletterPopup .popup-image-container {
  width: 100%; height: 150px; margin-bottom: 1.5rem;
  overflow: hidden; border-radius: 0.5rem;
  background-color: #f9fafb;
  display: flex; align-items: center; justify-content: center;
}
#newsletterPopup .popup-image-container img { width: 100%; height: 100%; object-fit: cover; }
#newsletterPopup .popup-form { width: 100%; }
#newsletterPopup .popup-form input[type="email"] {
  width: 100%; padding: 0.75rem;
  border: 1px solid #d1d5db; border-radius: 0.375rem;
  font-size: 1rem; margin-bottom: 0.75rem; box-sizing: border-box;
}
#newsletterPopup .popup-form button {
  width: 100%; padding: 0.75rem;
  background-color: #da6f0d; color: white; border: none;
  border-radius: 0.375rem; font-size: 1rem; font-weight: 500;
  cursor: pointer; transition: background-color 0.2s ease;
}
#newsletterPopup .popup-form button:hover { background-color: #b85d0a; }
#newsletterPopup .form-message { margin-top: 0.75rem; font-size: 0.875rem; text-align: center; }
#newsletterPopup .form-message.success { color: #10b981; }
#newsletterPopup .form-message.error { color: #ef4444; }

#countryPopup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.7);
  z-index: 70;
  justify-content: center; align-items: center;
}
#countryPopup.show { display: flex; }
#countryPopup .popup-container {
  background-color: white; border-radius: 0.5rem;
  width: 90%; max-width: 400px; max-height: 90vh;
  overflow-y: auto; position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2); padding: 2rem;
}
#countryPopup .close-btn {
  position: absolute; top: 0.5rem; right: 0.5rem;
  font-size: 1.5rem; cursor: pointer; color: #9ca3af;
  background: none; border: none;
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background-color 0.2s ease;
}
#countryPopup .close-btn:hover { background-color: #f3f4f6; color: #ef4444; }
#countryPopup .popup-header { text-align: center; margin-bottom: 1rem; }
#countryPopup .popup-header h2 { font-size: 1.5rem; font-weight: 600; color: #1f2937; margin: 0 0 0.75rem 0; }
#countryPopup .popup-search-wrap { position: relative; margin-bottom: 1.25rem; }
#countryPopup .popup-search-wrap i {
  position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%);
  color: #9ca3af; font-size: 0.85rem; pointer-events: none; line-height: 1;
}
#countryPopup .popup-search {
  width: 100%; padding: 0.6rem 0.75rem 0.6rem 2.25rem;
  border: 1px solid #d1d5db; border-radius: 0.5rem;
  font-size: 0.9rem; font-family: 'Poppins', sans-serif;
  box-sizing: border-box; line-height: 1.4; transition: border-color 0.2s ease;
}
#countryPopup .popup-search:focus {
  outline: none; border-color: #da6f0d;
  box-shadow: 0 0 0 3px rgba(218,111,13,0.2);
}
#countryPopup .popup-options { display: flex; flex-direction: column; gap: 0.75rem; }
.country-option {
  display: block; padding: 0.75rem 1rem;
  background-color: #f9fafb; border: 1px solid #e5e7eb;
  border-radius: 0.375rem; text-decoration: none; color: #1f2937;
  font-weight: 500; text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease; cursor: pointer;
}
.country-option:hover { background-color: #e5e7eb; border-color: #d1d5db; }
.country-option.active { background-color: #da6f0d; color: white; border-color: #da6f0d; }
.country-option.hidden-option { display: none; }
#countryNoResults { display: none; text-align: center; padding: 2rem 1rem; color: #9ca3af; }
#countryNoResults.show { display: block; }
#countryNoResults i { font-size: 2.5rem; margin-bottom: 0.75rem; display: block; color: #d1d5db; }
#countryNoResults p { font-size: 0.875rem; color: #9ca3af; line-height: 1.5; }

#categoriesPopup {
  display: none; position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.7);
  z-index: 65; justify-content: center; align-items: center;
}
#categoriesPopup.show { display: flex; }
#categoriesPopup .popup-container {
  background-color: white; border-radius: 0.75rem;
  width: 90%; max-width: 550px; max-height: 85vh;
  overflow: hidden; position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: flex; flex-direction: column;
}
#categoriesPopup .popup-header-fixed {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid #f3f4f6; flex-shrink: 0;
}
#categoriesPopup .popup-header-fixed h2 {
  font-size: 1.3rem; font-weight: 700; color: #1f2937;
  margin: 0 0 1rem 0; text-align: center;
}
#categoriesPopup .close-btn {
  position: absolute; top: 0.75rem; right: 0.75rem;
  font-size: 1.5rem; cursor: pointer; color: #9ca3af;
  background: none; border: none;
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background-color 0.2s ease;
}
#categoriesPopup .close-btn:hover { background-color: #f3f4f6; color: #ef4444; }
#categoriesPopup .cat-search-wrap { position: relative; }
#categoriesPopup .cat-search-wrap i {
  position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%);
  color: #9ca3af; font-size: 0.9rem; pointer-events: none;
}
#categoriesPopup .cat-search-input {
  width: 100%; padding: 0.65rem 0.75rem 0.65rem 2.25rem;
  border: 1px solid #d1d5db; border-radius: 0.5rem;
  font-size: 0.9rem; font-family: 'Poppins', sans-serif;
  box-sizing: border-box; transition: border-color 0.2s ease;
}
#categoriesPopup .cat-search-input:focus {
  outline: none; border-color: #da6f0d;
  box-shadow: 0 0 0 3px rgba(218,111,13,0.2);
}
#categoriesPopup .popup-body { overflow-y: auto; padding: 1rem 1.5rem 1.5rem; flex: 1; }
#categoriesPopup .cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 480px) { #categoriesPopup .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-popup-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 1rem 0.5rem;
  background: #f9fafb; border: 1px solid #e5e7eb;
  border-radius: 0.75rem; cursor: pointer; text-decoration: none;
  color: #1f2937; font-size: 0.8rem; font-weight: 500; text-align: center;
  transition: all 0.2s ease;
}
.cat-popup-item:hover {
  background: #fff5ee; border-color: #da6f0d; color: #da6f0d;
  transform: translateY(-2px); box-shadow: 0 4px 12px rgba(218,111,13,0.15);
}
.cat-popup-item i { font-size: 1.5rem; color: #da6f0d; }
.cat-popup-item:hover i { color: #b85d0a; }
.cat-popup-item.hidden-cat { display: none; }
#catPopupNoResults { text-align: center; padding: 2rem 1rem; color: #9ca3af; display: none; }
#catPopupNoResults i { font-size: 2rem; margin-bottom: 0.5rem; display: block; }

#hero-spacer { height: calc(36px + 7rem); transition: height 0.2s ease; }
#hero-spacer.with-category-nav { height: calc(36px + 10rem); }

#hero {
  position: relative; overflow: hidden; width: 100%;
  padding-top: 25.77%; background-color: #f1ece6;
}
@media (max-width: 639px) {
  #hero { padding-top: 0; height: 160px; }
  #hero-spacer { height: calc(36px + 7rem); }
  #hero-spacer.with-category-nav { height: calc(36px + 10rem); }
}
#hero .hero-content {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 1rem; z-index: 10;
}
#hero .hero-text {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: white; z-index: 20;
}
#hero .hero-carousel-container {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden;
}
#hero .hero-carousel { width: 100%; height: 100%; position: relative; }
#hero .carousel-image {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center center; opacity: 0; transition: opacity 0.5s ease-in-out;
}
#hero .carousel-image.active { opacity: 1; }

.hero-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 30;
  background: rgba(255,255,255,0.25); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.5); color: white; border-radius: 50%;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.hero-nav-btn.left  { left:  1rem; }
.hero-nav-btn.right { right: 1rem; }
.hero-nav-btn.show { opacity: 1; visibility: visible; pointer-events: auto; }
.hero-nav-btn:hover {
  background: rgba(218,111,13,0.75); border-color: rgba(218,111,13,0.9);
  transform: translateY(-50%) scale(1.08);
}
@media (max-width: 639px) { .hero-nav-btn { display: none !important; } }

.search-section-wrapper { position: relative; z-index: 45; }
#search-placeholder { display: none; height: 0; }
#search-placeholder.active { display: block; }
.search-section {
  padding: 1rem 0; background-color: #f9fafb;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
  position: relative; transition: box-shadow 0.3s ease; z-index: 45;
}
@media (min-width: 1024px) {
  .search-section-wrapper { display: none; }
}
.search-section.is-sticky {
  position: fixed; left: 0; right: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); animation: slideDownSearch 0.2s ease;
}
@keyframes slideDownSearch {
  from { transform: translateY(-10px); opacity: 0.7; }
  to   { transform: translateY(0);     opacity: 1; }
}
.search-container {
  max-width: 72rem; margin: 0 auto; padding: 0 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}

.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  min-width: 0;
}

.search-input {
  flex: 1; padding: 0.75rem 3.2rem 0.75rem 2.5rem;
  border: 1px solid #d1d5db; border-radius: 0.5rem;
  font-size: 1rem; font-family: 'Poppins', sans-serif;
  transition: border-color 0.2s ease; width: 100%; min-width: 0;
  box-sizing: border-box;
}
.search-icon-left {
  position: absolute;
  left: 0.75rem;
  color: #9ca3af;
  font-size: 1rem;
  pointer-events: none;
  z-index: 5;
}
.search-input:focus {
  outline: none; border-color: #da6f0d; box-shadow: 0 0 0 3px rgba(218,111,13,0.2);
}

.img-search-trigger-btn {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  padding: 0.35rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  z-index: 5;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.img-search-trigger-btn:hover {
  color: #da6f0d;
  background: rgba(218, 111, 13, 0.08);
  transform: translateY(-50%) scale(1.12);
}
.img-search-trigger-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.img-search-trigger-btn::after {
  content: "Recherche par image";
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: #1f2937;
  color: white;
  font-size: 0.7rem;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  padding: 0.3rem 0.6rem;
  border-radius: 0.375rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
}
.img-search-trigger-btn:hover::after {
  opacity: 1;
  transform: translateY(0);
}

#noResultsMessage { display: none !important; }

#no-results-zone {
  display: none; padding: 3rem 1rem 2rem; text-align: center;
  background-color: #fff8f3; border-top: 1px solid #fde8d0; border-bottom: 1px solid #fde8d0;
}
#no-results-zone.show { display: block; animation: fadeInUp 0.4s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.no-results-icon-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, #fff3e8 0%, #ffe5c8 100%);
  box-shadow: 0 0 0 0 rgba(218,111,13,0.4);
  animation: pulseRing 2s ease-in-out infinite; margin-bottom: 1.25rem;
}
.no-results-icon-wrap i { font-size: 2.2rem; color: #da6f0d; animation: wobble 2s ease-in-out infinite; }
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0   rgba(218,111,13,0.35); }
  60%  { box-shadow: 0 0 0 18px rgba(218,111,13,0);   }
  100% { box-shadow: 0 0 0 0   rgba(218,111,13,0);    }
}
@keyframes wobble {
  0%,100% { transform: rotate(0deg) scale(1);    }
  20%      { transform: rotate(-12deg) scale(1.1); }
  40%      { transform: rotate(10deg)  scale(1.05);}
  60%      { transform: rotate(-6deg)  scale(1.05);}
  80%      { transform: rotate(4deg)   scale(1);   }
}
.no-results-title { font-size: 1.2rem; font-weight: 700; color: #1f2937; margin-bottom: 0.5rem; }
.no-results-subtitle { font-size: 0.9rem; color: #6b7280; max-width: 380px; margin: 0 auto 1.5rem; line-height: 1.6; }
.no-results-keyword {
  display: inline-block; background: #da6f0d; color: white;
  padding: 0.15rem 0.6rem; border-radius: 9999px; font-weight: 600; font-size: 0.85rem;
}
.no-results-clear-btn {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.6rem 1.4rem;
  background: #da6f0d; color: white; border: none; border-radius: 0.5rem;
  font-size: 0.9rem; font-weight: 600; cursor: pointer; font-family: 'Poppins', sans-serif;
  transition: background 0.2s ease, transform 0.1s ease;
}
.no-results-clear-btn:hover { background: #b85d0a; transform: scale(1.03); }

.no-country-products-zone {
  display: none; padding: 3rem 1rem 2.5rem; text-align: center;
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e6 100%);
  border-top: 1px solid #fde8d0; border-bottom: 1px solid #fde8d0;
  margin: 1rem 0; border-radius: 1rem; animation: fadeInUp 0.45s ease both;
}
.no-country-products-zone.show { display: block; }
.no-country-icon-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, #fff3e8 0%, #ffe0c0 100%);
  box-shadow: 0 0 0 0 rgba(218,111,13,0.35);
  animation: pulseRing 2.2s ease-in-out infinite; margin-bottom: 1.25rem;
}
.no-country-icon-wrap i { font-size: 2.4rem; color: #da6f0d; animation: iconBounce 2s ease-in-out infinite; }
@keyframes iconBounce {
  0%,100% { transform: translateY(0) scale(1); }
  25%      { transform: translateY(-8px) scale(1.1); }
  50%      { transform: translateY(0) scale(1); }
  75%      { transform: translateY(-4px) scale(1.05); }
}
.no-country-title { font-size: 1.15rem; font-weight: 700; color: #1f2937; margin-bottom: 0.4rem; }
.no-country-subtitle { font-size: 0.88rem; color: #6b7280; max-width: 360px; margin: 0 auto; line-height: 1.6; }

.empty-section-msg {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}
.empty-section-msg.show { display: flex; }
.empty-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef3e2 0%, #fdd9b0 100%);
  box-shadow: 0 0 0 0 rgba(218,111,13,0.25);
  animation: pulseRing 2s ease-in-out infinite;
  margin-bottom: 0.75rem;
}
.empty-section-icon i {
  font-size: 1.8rem;
  color: #da6f0d;
  animation: iconBounce 2s ease-in-out infinite;
}
.empty-section-msg p {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
}

.lp-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.42); border-radius: inherit;
  z-index: 20; display: flex; align-items: center; justify-content: center;
  gap: 1rem; padding: 0.6rem; opacity: 0; visibility: hidden; transform: scale(0.97);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease; pointer-events: none;
}
.lp-overlay.visible { opacity: 1; visibility: visible; transform: scale(1); pointer-events: auto; }

.lp-fav-btn {
  width: 44px; height: 44px; border-radius: 50%; background: white; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22); font-size: 1.15rem; color: #9ca3af;
  transition: color 0.2s ease, transform 0.18s ease, background 0.2s ease;
  opacity: 0; transform: scale(0.5) translateY(-6px); animation: none;
  outline: none; -webkit-tap-highlight-color: transparent;
}
.lp-overlay.visible .lp-fav-btn {
  animation: favBtnPop 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.06s forwards;
}
@keyframes favBtnPop {
  from { opacity: 0; transform: scale(0.5) translateY(-6px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.lp-fav-btn:hover { transform: scale(1.12); background: #fff5ee; }
.lp-fav-btn.is-fav { color: #e53e3e; background: #fff5ee; }
.lp-fav-btn.is-fav i { animation: heartPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes heartPop {
  0%   { transform: scale(1);    }
  40%  { transform: scale(1.45); }
  70%  { transform: scale(0.9);  }
  100% { transform: scale(1);    }
}

.lp-cart-btn {
  width: 44px; height: 44px; border-radius: 50%; background: white; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22); font-size: 1.05rem; color: #6b7280;
  transition: color 0.2s ease, transform 0.18s ease, background 0.2s ease;
  opacity: 0; transform: scale(0.5) translateY(-6px); animation: none;
  outline: none; -webkit-tap-highlight-color: transparent;
}
.lp-overlay.visible .lp-cart-btn {
  animation: favBtnPop 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.02s forwards;
}
.lp-cart-btn:hover { transform: scale(1.12); background: #fff5ee; color: #da6f0d; }
.lp-cart-btn.in-cart { color: #da6f0d; background: #fff5ee; }
.lp-cart-btn.in-cart i { animation: cartPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes cartPop {
  0%   { transform: scale(1);    }
  40%  { transform: scale(1.45); }
  70%  { transform: scale(0.9);  }
  100% { transform: scale(1);    }
}

.lp-no-select { -webkit-user-select: none; -moz-user-select: none; user-select: none; -webkit-touch-callout: none; }

#lp-toast {
  position: fixed; bottom: 5rem; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1f2937; color: white; padding: 0.65rem 1.25rem; border-radius: 2rem;
  font-size: 0.875rem; font-weight: 500; font-family: 'Poppins', sans-serif;
  white-space: nowrap; z-index: 9000; opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25); display: flex; align-items: center; gap: 0.5rem;
}
#lp-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#lp-toast i { font-size: 1rem; }

.price-container { display: flex; flex-direction: column; align-items: flex-start; }
.original-price { text-decoration: line-through; color: #718096; font-size: 0.875rem; margin-bottom: 0.25rem; }
.promo-price { color: #e53e3e; font-weight: bold; font-size: 1.25rem; }
.product-card .promo-price { font-size: 1.125rem; margin-top: 0.25rem; }

#loading-screen {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #f1ece6;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loading-screen.hidden { opacity: 0; visibility: hidden; }
.loading-logo {
  width: 120px; height: 120px;
  background-image: url('https://i.postimg.cc/vBjDkrGd/logo-wafricastore.png');
  background-size: contain; background-repeat: no-repeat; background-position: center;
  animation: logoPulse 1.5s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
@keyframes spin { to { transform: rotate(360deg); } }



.header-cart-icon {
  background: none; border: none; padding: 0.5rem; margin: 0; cursor: pointer; color: #001830;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s ease; position: relative; text-decoration: none;
}
.header-cart-icon:hover { color: #da6f0d; }
.header-cart-icon i { font-size: 1.5rem; }

.header-orders-icon {
  background: none; border: none; padding: 0.5rem; margin: 0; cursor: pointer; color: #001830;
  display: inline-flex !important; align-items: center; justify-content: center;
  transition: color 0.2s ease; position: relative; text-decoration: none; visibility: visible; opacity: 1;
}
.header-orders-icon:hover { color: #da6f0d; }
.header-orders-icon i { font-size: 1.5rem; }
.header-orders-icon .header-icon-text { text-transform: uppercase; }

@media (max-width: 767px) {
  .header-orders-icon { display: inline-flex !important; }
}

.header-icon-text {
  display: none; font-family: 'Poppins', sans-serif; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.5px; margin-left: 6px; color: #001830;
}
@media (min-width: 640px) {
  .header-icon-text { display: inline; }
}

.header-profile-dropdown {
  position: relative;
}

.header-profile-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  margin: 0;
  cursor: pointer;
  color: #001830;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  font-family: 'Poppins', sans-serif;
}
.header-profile-btn:hover { color: #da6f0d; }
.header-profile-btn i { font-size: 1.5rem; }

.profile-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  z-index: 200;
  margin-top: 0.25rem;
}

.header-profile-dropdown.open .profile-dropdown-menu {
  display: block;
  animation: dropdownFadeIn 0.2s ease both;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.profile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  text-decoration: none;
  color: #1f2937;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.profile-dropdown-item:hover {
  background-color: #fff5ee;
  color: #da6f0d;
}
.profile-dropdown-item i {
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
}
.profile-dropdown-divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 0.5rem 0;
}
.profile-dropdown-logout {
  color: #dc2626;
}
.profile-dropdown-logout:hover {
  background-color: #fef2f2;
  color: #dc2626;
}

#cart-count-badge {
  position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px;
  background-color: #da6f0d; border-radius: 9999px; border: 2px solid white;
  display: none; align-items: center; justify-content: center; color: white;
  font-size: 10px; font-weight: 700; font-family: 'Poppins', sans-serif; line-height: 1; padding: 0 3px;
  transform: translate(10%, -10%);
}
#cart-count-badge.show { display: flex; }

.desktop-nav {
  display: none;
  flex: 1;
  justify-content: center;
}

.desktop-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0.25rem;
}

.desktop-nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  color: #001830;
  font-weight: 500;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.desktop-nav-link:hover {
  background-color: #fff5ee;
  color: #da6f0d;
}

.desktop-nav-link.active {
  color: #da6f0d;
}

.desktop-nav-link img {
  vertical-align: middle;
}

.desktop-nav-link i {
  font-size: 0.95rem;
}

.desktop-nav-link .fa-chevron-down {
  font-size: 0.65rem;
  margin-left: 0.2rem;
  transition: transform 0.2s ease;
}

.desktop-nav-list .has-dropdown {
  position: relative;
}

.desktop-nav-list .has-dropdown > .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  border-radius: 0.5rem;
  min-width: 180px;
  z-index: 100;
}

.desktop-nav-list .has-dropdown:hover > .dropdown-menu {
  display: block;
}

.desktop-nav-list .has-dropdown:hover > .desktop-nav-link .fa-chevron-down {
  transform: rotate(180deg);
}

.desktop-nav-list .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  text-decoration: none;
  color: #001830;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.desktop-nav-list .dropdown-item:hover {
  background-color: #fff5ee;
  color: #da6f0d;
}

.desktop-nav-list .dropdown-item i {
  font-size: 0.9rem;
  width: 18px;
  text-align: center;
}

.desktop-has-dropdown {
  position: relative;
}

.desktop-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  border-radius: 0.5rem;
  min-width: 160px;
  z-index: 100;
}

.desktop-has-dropdown:hover .desktop-dropdown-menu {
  display: block;
}

.desktop-has-dropdown:hover > .desktop-nav-link .fa-chevron-down {
  transform: rotate(180deg);
}

.desktop-dropdown-menu li {
  border-bottom: none;
}

.desktop-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #001830;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.desktop-dropdown-menu a:hover {
  background-color: #fff5ee;
  color: #da6f0d;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.desktop-search-wrap {
  display: none;
  flex: 1;
  max-width: 400px;
  padding: 0 1rem;
  position: relative;
}

.desktop-search-box {
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.desktop-search-box:focus-within {
  border-color: #da6f0d;
  box-shadow: 0 0 0 3px rgba(218,111,13,0.15);
}

.desktop-search-icon {
  color: #9ca3af;
  font-size: 0.9rem;
  margin-right: 0.5rem;
}

.desktop-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  color: #1f2937;
  outline: none;
}

.desktop-search-input::placeholder {
  color: #9ca3af;
}

.desktop-img-search-btn {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 0.25rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.desktop-img-search-btn:hover {
  color: #da6f0d;
  background: rgba(218,111,13,0.1);
}

.currency-converter-popup {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  width: 280px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  z-index: 1000;
  padding: 1rem;
}

.currency-converter-popup.hidden {
  display: none;
}

.currency-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.currency-popup-title {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.95rem;
}

.currency-popup-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.currency-popup-close:hover {
  color: #1f2937;
}

.currency-popup-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.currency-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.currency-input-group label {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
}

.currency-input {
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.currency-input:focus {
  border-color: #da6f0d;
  box-shadow: 0 0 0 3px rgba(218,111,13,0.15);
}

.currency-select {
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  outline: none;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.currency-select:focus {
  border-color: #da6f0d;
  box-shadow: 0 0 0 3px rgba(218,111,13,0.15);
}

.currency-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 0.375rem;
  margin-top: 0.25rem;
}

.currency-result-label {
  font-size: 0.85rem;
  color: #6b7280;
}

.currency-result-value {
  font-weight: 700;
  color: #da6f0d;
  font-size: 1rem;
}

.currency-convert-btn {
  padding: 0.6rem 1rem;
  background: #da6f0d;
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.currency-convert-btn:hover {
  background: #b85d0a;
}

.currency-convert-btn:active {
  transform: scale(0.98);
}

.mobile-currency-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #da6f0d;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(218,111,13,0.4);
  transition: background-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.mobile-currency-btn:hover {
  background: #b85d0a;
  transform: scale(1.05);
}

.mobile-currency-btn:active {
  transform: scale(0.95);
}

#mobileCurrencyPopup {
  position: fixed;
  top: auto;
  bottom: 1rem;
  right: 1rem;
  left: 1rem;
  width: auto;
  margin: 0;
  z-index: 1001;
}

@media (min-width: 1024px) {
  .desktop-search-wrap {
    display: block;
  }
}

#backToTop {
  position: fixed; bottom: 2rem; right: 2rem;
  background-color: #da6f0d; color: white; border: none; border-radius: 50%;
  width: 4rem; height: 4rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease; z-index: 1000;
}
#backToTop:hover { background-color: #b85d0a; transform: translateY(-2px); }
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }

.avantages-section {
  background-color: #f3f4f6;
  padding: 2.5rem 1rem;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.avantages-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .avantages-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .avantages-container { padding: 0 2rem; } }
.avantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .avantages-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 479px) {
  .avantages-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.avantage-bloc {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.75rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  cursor: default;
}
.avantage-bloc:hover {
  box-shadow: 0 8px 24px rgba(218,111,13,0.14), 0 2px 6px rgba(0,0,0,0.07);
  border-color: #da6f0d;
  transform: translateY(-3px);
}
.avantage-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff5ee 0%, #fde8cc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease;
  box-shadow: 0 2px 10px rgba(218,111,13,0.15);
}
.avantage-bloc:hover .avantage-icon-wrap {
  background: linear-gradient(135deg, #da6f0d 0%, #e8850a 100%);
  transform: scale(1.08);
}
.avantage-icon-wrap i {
  font-size: 1.6rem;
  color: #da6f0d;
  transition: color 0.25s ease;
}
.avantage-bloc:hover .avantage-icon-wrap i {
  color: #ffffff;
}
.avantage-titre {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  line-height: 1.3;
}
.avantage-desc {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.presentation-section { padding: 1rem; background-color: #f9fafb; border-top: 1px solid #e5e7eb; z-index: 1; }
.presentation-section p { margin-bottom: 0.5rem; font-size: 0.8rem; color: #4b5563; line-height: 1.4; }
.presentation-section p:last-child { margin-bottom: 0; }
.presentation-section p.title { font-size: 0.9rem; font-weight: 500; color: #1f2937; text-align: center; margin-bottom: 0.75rem; }
.presentation-container { max-width: 72rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .presentation-container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .presentation-container { padding-left: 2rem; padding-right: 2rem; } }

footer { background-color: #001830; color: #9ca3af; padding-top: 1rem; padding-bottom: 3rem; z-index: 1; }
footer p { font-size: 0.875rem; margin: 0; }
footer .footer-content { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }

.location-info { display: flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; color: #4b5563; margin-top: 0.25rem; }
.location-info i { color: #da6f0d; font-size: 0.7rem; }
.ticket-card-home .location-info {
  align-items: flex-start;
}

.ticket-card-home .ticket-location-text {
  display: block;
  white-space: normal;
  overflow: visible;
  word-break: break-word;
}
.seller-info { display: flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; color: #4b5563; margin-top: 0.2rem; }
.seller-info i { color: #da6f0d; font-size: 0.7rem; }
.qty-min-info { display: flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; color: #4b5563; margin-top: 0.2rem; }
.qty-min-info i { color: #da6f0d; font-size: 0.7rem; }
.loading-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }

.title-with-button { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.title-with-button h2 { margin: 0; flex-grow: 1; }
.title-with-button .btn-title {
  background-color: #da6f0d; color: white; border: 1px solid white; border-radius: 0.5rem;
  padding: 0.25rem 0.5rem; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background-color 0.2s ease, transform 0.1s ease; font-size: 0.875rem; font-weight: 500;
}
.title-with-button .btn-title:hover { background-color: #c2630c; transform: scale(1.05); }

.section-separator {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #da6f0d 0%, #e5e7eb 50%, #da6f0d 100%);
  margin: 0.75rem 0 1.25rem 0;
  border-radius: 1px;
}

.section-icon { color: #da6f0d; margin-right: 0.4rem; }
.cat-popup-icon { color: #da6f0d; margin-right: 0.4rem; }



.section-to-hide { transition: opacity 0.3s ease, visibility 0.3s ease; }
.section-to-hide.hidden { opacity: 0; visibility: hidden; height: 0; margin: 0; padding: 0; overflow: hidden; }

.main-content section.search-hidden { display: none !important; }
.main-content section.search-highlight { 
  animation: sectionHighlight 0.4s ease both; 
}
@keyframes sectionHighlight {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

#hero.search-hidden { display: none !important; }
.avantages-section.search-hidden { display: none !important; }
.presentation-section.search-hidden { display: none !important; }

.carousel-container { 
  position: relative; 
  padding: 0.5rem 0; 
  overflow: hidden;
  touch-action: manipulation;
}
.carousel-inner { 
  display: flex; 
  overflow-x: auto; 
  scroll-behavior: smooth; 
  -ms-overflow-style: none; 
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  gap: 0.75rem;
  overscroll-behavior: contain;
  scroll-snap-type: x mandatory;
}
.promo-products-senegal-card,
.trending-senegal-card,
.category-product-card {
  scroll-snap-align: start;
  flex-shrink: 0;
}
.carousel-inner::-webkit-scrollbar { display: none; }
.carousel-wrapper { position: relative; width: 100%; }

@media (max-width: 767px) {
  .carousel-container::before,
  .carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    z-index: 5;
    pointer-events: none;
  }
  .carousel-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(241,236,230,0.8), transparent);
  }
  .carousel-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(241,236,230,0.8), transparent);
  }
}
.carousel-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  background-color: rgba(255,255,255,0.9); color: #1f2937; border-radius: 9999px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  padding: 0.5rem; cursor: pointer; align-items: center; justify-content: center;
  font-size: 1.25rem; border: 1px solid #e5e7eb; width: 40px; height: 40px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, background-color 0.2s ease, transform 0.15s ease; display: none;
}
.carousel-nav-btn:hover {
  background-color: #da6f0d;
  color: white;
  border-color: #da6f0d;
  transform: translateY(-50%) scale(1.1);
}
@media (min-width: 768px) { .carousel-nav-btn { display: flex; } }
.carousel-nav-btn.left { left: 4px; }
.carousel-nav-btn.right { right: 4px; }
@media (min-width: 768px) {
  .carousel-nav-btn.left { left: 10px; }
  .carousel-nav-btn.right { right: 10px; }
}


.hidden { display: none !important; }

#category-nav {
  display: none; background-color: white; box-shadow: 0 1px 3px rgba(0,0,0,0.1); z-index: 47;
  position: fixed; top: calc(36px + 4rem + 2.5rem); left: 0; right: 0;
  height: 3.5rem; white-space: nowrap; overflow-x: auto; overflow-y: hidden; -ms-overflow-style: none;
}
#category-nav::-webkit-scrollbar { display: none; }
#category-nav.show { display: block; }
#category-links {
  display: flex; list-style: none; margin: 0; padding: 0.25rem 0;
  justify-content: flex-start; min-width: max-content; align-items: center; height: 100%;
}
#category-links a {
  text-decoration: none; font-weight: 500; font-size: 0.9rem; padding: 0.5rem 0.75rem;
  border-radius: 0.375rem; transition: color 0.2s ease;
  display: inline-flex; align-items: center; gap: 0.5rem; color: #001830;
}
#category-links a:hover { color: #da6f0d; text-decoration: underline; }
#category-links a.active { color: #da6f0d; font-weight: 600; }

#openCatPopupBtn {
  display: inline-flex; align-items: center; gap: 0.4rem; background: #da6f0d; color: white;
  border: none; border-radius: 0.5rem; padding: 0.35rem 0.75rem; font-size: 0.8rem; font-weight: 600;
  cursor: pointer; font-family: 'Poppins', sans-serif; flex-shrink: 0; margin-right: 0.5rem;
  transition: background 0.2s ease, transform 0.1s ease; white-space: nowrap;
}
#openCatPopupBtn:hover { background: #b85d0a; transform: scale(1.03); }

.card-inner-body { display: flex; flex-direction: column; }


#imageSearchPopup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 9800;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}
#imageSearchPopup.show {
  display: flex;
  animation: ispFadeIn 0.25s ease both;
}
@keyframes ispFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.isp-container {
  background: #ffffff;
  border-radius: 1.25rem;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.15);
  animation: ispSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  position: relative;
}
@keyframes ispSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.isp-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  background: linear-gradient(135deg, #fff9f5 0%, #fff5ee 100%);
  flex-shrink: 0;
  position: relative;
}
.isp-header-icon {
  width: 46px;
  height: 46px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #da6f0d, #e8850a);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(218, 111, 13, 0.35);
}
.isp-header-icon i {
  font-size: 1.2rem;
  color: white;
}
.isp-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.2;
}
.isp-subtitle {
  font-size: 0.78rem;
  color: #9ca3af;
  margin: 0.15rem 0 0 0;
  line-height: 1.3;
}
.isp-close-btn {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6b7280;
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.isp-close-btn:hover {
  background: #fde8d0;
  color: #da6f0d;
  transform: rotate(90deg);
}

.isp-body {
  flex: 1;
  overflow-y: auto;
  -ms-overflow-style: none;
  padding: 1.5rem;
  position: relative;
}
.isp-body::-webkit-scrollbar { display: none; }

.isp-footer {
  padding: 0.75rem 1.5rem;
  border-top: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fafafa;
  flex-shrink: 0;
}
.isp-footer i {
  font-size: 0.8rem;
  color: #22c55e;
  flex-shrink: 0;
}
.isp-footer span {
  font-size: 0.72rem;
  color: #9ca3af;
  line-height: 1.4;
}

.isp-step {
  display: none;
  animation: ispStepIn 0.25s ease both;
}
.isp-step.active { display: block; }
@keyframes ispStepIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.isp-step-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  text-align: center;
  margin: 0 0 1.25rem 0;
}
.isp-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.isp-option-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: #fafafa;
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.22s ease;
  text-align: center;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  font-family: 'Poppins', sans-serif;
}
.isp-option-btn:hover {
  border-color: #da6f0d;
  background: #fff9f5;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(218, 111, 13, 0.16);
}
.isp-option-btn:active {
  transform: translateY(0) scale(0.97);
}
.isp-option-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff5ee, #fde8cc);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s ease, transform 0.22s ease;
  box-shadow: 0 2px 10px rgba(218, 111, 13, 0.15);
}
.isp-option-btn:hover .isp-option-icon-wrap {
  background: linear-gradient(135deg, #da6f0d, #e8850a);
  transform: scale(1.08);
}
.isp-option-icon-wrap i {
  font-size: 1.5rem;
  color: #da6f0d;
  transition: color 0.22s ease;
}
.isp-option-btn:hover .isp-option-icon-wrap i {
  color: white;
}
.isp-option-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}
.isp-option-desc {
  font-size: 0.72rem;
  color: #9ca3af;
  line-height: 1.3;
}

.isp-preview-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #f3f4f6;
  aspect-ratio: 4/3;
  margin-bottom: 1rem;
}
.isp-preview-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.isp-preview-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 5;
}
.isp-preview-overlay[style*="flex"] { display: flex !important; }
.isp-analyzing-anim {
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.isp-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(218, 111, 13, 0.6);
  animation: ispPulseRing 1.4s ease-in-out infinite;
}
@keyframes ispPulseRing {
  0%   { transform: scale(0.85); opacity: 1; }
  50%  { transform: scale(1.15); opacity: 0.4; }
  100% { transform: scale(0.85); opacity: 1; }
}
.isp-analyzing-icon {
  font-size: 1.8rem;
  color: white;
  animation: ispAnalyzePulse 1.4s ease-in-out infinite;
}
@keyframes ispAnalyzePulse {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.1); }
}
.isp-analyzing-text {
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  margin: 0;
}
.isp-preview-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.isp-camera-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
  aspect-ratio: 4/3;
  margin-bottom: 0.75rem;
}
.isp-camera-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.isp-camera-canvas { display: none; }
.isp-camera-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.isp-camera-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: #da6f0d;
  border-style: solid;
  opacity: 0.85;
}
.isp-camera-corner.tl { top: 12px; left: 12px; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.isp-camera-corner.tr { top: 12px; right: 12px; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.isp-camera-corner.bl { bottom: 12px; left: 12px; border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.isp-camera-corner.br { bottom: 12px; right: 12px; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }
.isp-camera-hint {
  font-size: 0.78rem;
  color: #9ca3af;
  text-align: center;
  margin: 0 0 0.75rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.isp-camera-hint i { color: #da6f0d; }
.isp-camera-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.isp-btn-capture {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: white;
  border: 3px solid #da6f0d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
  outline: none;
  box-shadow: 0 4px 16px rgba(218, 111, 13, 0.3);
  -webkit-tap-highlight-color: transparent;
}
.isp-btn-capture:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 22px rgba(218, 111, 13, 0.45);
}
.isp-btn-capture:active,
.isp-btn-capture.capturing {
  transform: scale(0.9);
}
.isp-capture-inner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #da6f0d, #e8850a);
  transition: transform 0.15s ease;
}
.isp-btn-capture:active .isp-capture-inner,
.isp-btn-capture.capturing .isp-capture-inner {
  transform: scale(0.88);
}

.isp-result-box {
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.isp-result-success {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid #bbf7d0;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.isp-result-img-wrap {
  position: relative;
  flex-shrink: 0;
}
.isp-result-img {
  width: 80px;
  height: 80px;
  border-radius: 0.75rem;
  object-fit: cover;
  border: 2px solid #bbf7d0;
}
.isp-result-badge-wrap {
  position: absolute;
  bottom: -6px;
  right: -6px;
}
.isp-result-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #22c55e;
  border: 2.5px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(34, 197, 94, 0.4);
}
.isp-result-badge i {
  font-size: 0.65rem;
  color: white;
}
.isp-result-info { flex: 1; min-width: 0; }
.isp-result-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #22c55e;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
}
.isp-result-name {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
  word-break: break-word;
}
.isp-result-confidence-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.isp-result-conf-label {
  font-size: 0.7rem;
  color: #6b7280;
  flex-shrink: 0;
}
.isp-result-conf-bar-bg {
  flex: 1;
  height: 6px;
  background: #d1fae5;
  border-radius: 9999px;
  overflow: hidden;
}
.isp-result-conf-bar {
  height: 100%;
  border-radius: 9999px;
  background: #22c55e;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}
.isp-result-conf-pct {
  font-size: 0.75rem;
  font-weight: 700;
  color: #16a34a;
  flex-shrink: 0;
  min-width: 2.5rem;
  text-align: right;
}

.isp-result-fail {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1.5px solid #fed7aa;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  padding: 2rem 1.5rem;
}
.isp-fail-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff5ee, #fde8cc);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ispWiggle 0.5s ease 0.2s both;
}
@keyframes ispWiggle {
  0%   { transform: rotate(0deg);    }
  20%  { transform: rotate(-8deg);   }
  40%  { transform: rotate(8deg);    }
  60%  { transform: rotate(-5deg);   }
  80%  { transform: rotate(5deg);    }
  100% { transform: rotate(0deg);    }
}
.isp-fail-icon-wrap i {
  font-size: 2rem;
  color: #da6f0d;
}
.isp-fail-title {
  font-size: 1rem;
  font-weight: 700;
  color: #92400e;
  margin: 0;
}
.isp-fail-desc {
  font-size: 0.82rem;
  color: #a16207;
  max-width: 320px;
  line-height: 1.5;
  margin: 0;
}

.isp-result-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.isp-loading-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
}
.isp-loading-spinner {
  width: 52px;
  height: 52px;
  border: 4px solid #fde8cc;
  border-top-color: #da6f0d;
  border-radius: 50%;
  animation: ispSpin 0.85s linear infinite;
}
@keyframes ispSpin {
  to { transform: rotate(360deg); }
}
.isp-loading-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  text-align: center;
  margin: 0;
}
.isp-loading-bar-bg {
  width: 200px;
  height: 6px;
  background: #fde8cc;
  border-radius: 9999px;
  overflow: hidden;
}
.isp-loading-bar {
  height: 100%;
  background: linear-gradient(90deg, #da6f0d, #e8850a);
  border-radius: 9999px;
  transition: width 0.3s ease;
  width: 0%;
}

.isp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(135deg, #da6f0d, #e8850a);
  color: white;
  border: none;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(218, 111, 13, 0.35);
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.isp-btn-primary:hover {
  background: linear-gradient(135deg, #b85d0a, #da6f0d);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(218, 111, 13, 0.45);
}
.isp-btn-primary:active {
  transform: translateY(0) scale(0.97);
}

.isp-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: #f3f4f6;
  color: #374151;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all 0.2s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.isp-btn-secondary:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  transform: translateY(-1px);
}
.isp-btn-secondary:active {
  transform: translateY(0) scale(0.97);
}

@media (max-width: 480px) {
  .isp-container {
    border-radius: 1rem 1rem 0 0;
    max-height: 95vh;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
  }
  #imageSearchPopup {
    align-items: flex-end;
    padding: 0;
  }
  @keyframes ispSlideUp {
    from { opacity: 0; transform: translateY(100%); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .isp-options-grid {
    gap: 0.75rem;
  }
  .isp-option-btn {
    padding: 1.25rem 0.75rem;
  }
  .isp-option-icon-wrap {
    width: 52px;
    height: 52px;
  }
  .isp-option-icon-wrap i {
    font-size: 1.3rem;
  }
  .isp-result-success {
    flex-direction: column;
    text-align: center;
  }
  .isp-result-info { width: 100%; }
  .isp-result-confidence-wrap { justify-content: center; }
}

.abonnement-card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  border: 1.5px solid #f0f0f0;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

@media (min-width: 480px) {
  .abonnement-card {
    min-height: 360px;
  }
}

@media (min-width: 768px) {
  .abonnement-card {
    min-height: 400px;
  }
}

.abonnement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  border-color: #e5e7eb;
}

.abonnement-card .card-header {
  padding: 0;
  position: relative;
  flex-shrink: 0;
}

.abonnement-card .card-image {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.abonnement-card .card-main-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 14px;
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

.abonnement-card .badge-popular,
.abonnement-card .badge-bestseller,
.abonnement-card .badge-limited {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: white;
}

.abonnement-card .badge-popular {
  background: #f97316;
}

.abonnement-card .badge-bestseller {
  background: #10b981;
}

.abonnement-card .badge-limited {
  background: #ef4444;
}

.abonnement-card .badge-promo {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: white;
  background: #ef4444;
  z-index: 10;
}

.abonnement-card .card-body {
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
  min-height: 180px;
  justify-content: flex-start;
}

@media (min-width: 480px) {
  .abonnement-card .card-body {
    min-height: 190px;
  }
}

@media (min-width: 768px) {
  .abonnement-card .card-body {
    min-height: 210px;
  }
}

.abonnement-card .service-name {
  font-size: 0.68rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.abonnement-card .plan-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.35rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.abonnement-card .location-info {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.abonnement-card .location-info i {
  font-size: 0.65rem;
  color: #da6f0d;
}

.abonnement-card .description {
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.45;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}

.abonnement-card .features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  min-height: 26px;
}

.abonnement-card .feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  font-size: 0.65rem;
  font-weight: 500;
  color: #374151;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 0.18rem 0.45rem;
  border-radius: 5px;
  white-space: nowrap;
}

.abonnement-card .feature-tag i {
  color: #da6f0d;
  font-size: 0.6rem;
}

.abonnement-card .price-section {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid #f3f4f6;
  flex-shrink: 0;
  flex-wrap: wrap;
  max-width: 100%;
}

.abonnement-card .original-price {
  font-size: 0.78rem;
  color: #c4c4c4;
  text-decoration: line-through;
  font-weight: 500;
  white-space: nowrap;
}

.abonnement-card .current-price {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.abonnement-card .price-period {
  font-size: 0.7rem;
  color: #9ca3af;
  font-weight: 500;
  white-space: nowrap;
}

.abonnement-card .btn-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.6rem 1rem;
  background: #da6f0d;
  color: white;
  font-weight: 600;
  font-size: 0.82rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.2px;
}

.abonnement-card .btn-details:hover {
  background: #c4630a;
  box-shadow: 0 4px 14px rgba(218, 111, 13, 0.30);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
}

.service-badge.netflix {
  background: linear-gradient(135deg, #E50914 0%, #b20710 100%);
}

.service-badge.crunchyroll {
  background: linear-gradient(135deg, #F47521 0%, #d95a17 100%);
}

.service-badge.disney {
  background: linear-gradient(135deg, #113CCF 0%, #0d2a9f 100%);
}

.service-badge.spotify {
  background: linear-gradient(135deg, #1DB954 0%, #158a3f 100%);
}

.service-badge.amazon {
  background: linear-gradient(135deg, #00A8E1 0%, #007ea3 100%);
}

.service-badge.youtube {
  background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%);
}

.service-badge.apple {
  background: linear-gradient(135deg, #555555 0%, #333333 100%);
}

.service-badge.hbo {
  background: linear-gradient(135deg, #5c4d8a 0%, #3d3260 100%);
}

.service-badge.paramount {
  background: linear-gradient(135deg, #0064FF 0%, #004ecc 100%);
}

.plan-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #f3f4f6;
  color: #374151;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 500;
}

.plan-type-badge.mensuel {
  background: #dbeafe;
  color: #1d4ed8;
}

.plan-type-badge.annuel {
  background: #d1fae5;
  color: #047857;
}

.service-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  padding: 4px;
}

.abonnement-card-home,
.abonnement-promo-card,
.abonnement-trend-card,
.abonnement-cat-card {
  display: flex;
  flex-direction: column;
  width: 160px;
  min-width: 160px;
  height: auto;
  min-height: 340px;
  background-color: white;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
  position: relative !important;
}

@media (min-width: 480px) {
  .abonnement-card-home,
  .abonnement-promo-card,
  .abonnement-trend-card,
  .abonnement-cat-card {
    width: 180px;
    min-width: 180px;
    min-height: 360px;
  }
}

@media (min-width: 768px) {
  .abonnement-card-home,
  .abonnement-promo-card,
  .abonnement-trend-card,
  .abonnement-cat-card {
    width: 210px;
    min-width: 210px;
    min-height: 400px;
  }
}

.abonnement-card-home:hover,
.abonnement-promo-card:hover,
.abonnement-trend-card:hover,
.abonnement-cat-card:hover {
  box-shadow: 0 8px 20px rgba(218,111,13,.18), 0 2px 6px rgba(0,0,0,.08);
  border-color: #da6f0d;
  transform: translateY(-4px);
}

.abonnement-card-home .card-image-wrapper,
.abonnement-promo-card .card-image-wrapper,
.abonnement-trend-card .card-image-wrapper,
.abonnement-cat-card .card-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background-color: #f3f4f6;
}

.abonnement-card-home .p-3,
.abonnement-promo-card .p-3,
.abonnement-trend-card .p-3,
.abonnement-cat-card .p-3 {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: auto;
}

.currency-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 0.55rem;
  background: #da6f0d;
  color: white;
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 600;
}

.desktop-img-search-btn {
  position: relative;
}

.currency-popup-desc {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}



@media (max-width: 480px) {
  header .max-w-7xl {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  header .h-16 {
    gap: 0.5rem;
    min-width: 0;
  }

  #homeLink {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.5rem !important;
    margin-left: 0 !important;
  }

  #homeLink img {
    width: 2rem !important;
    height: 2rem !important;
    border-radius: 0.75rem !important;
    flex-shrink: 0;
  }

  #homeLink span {
    min-width: 0;
    max-width: 9.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.95rem !important;
  }

  header .h-16 > .flex.items-center:last-child {
    gap: 0.35rem !important;
    flex-shrink: 0;
  }

  .header-cart-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0 !important;
    border-radius: 10px;
  }

  .header-cart-icon i {
    font-size: 1.15rem !important;
  }

  #cart-count-badge {
    top: -3px;
    right: -3px;
  }
}

@media (max-width: 380px) {
  #homeLink {
    flex: 0 0 auto;
  }

  #homeLink span {
    display: none;
  }

  header .h-16 > .flex.items-center:last-child {
    gap: 0.25rem !important;
  }
}

/* ===== SUPPRESSION DES ESPACES VIDES LATÉRAUX ===== */
.global-container .main-content {
  padding-left: 0;
  padding-right: 0;
}
.main-content {
  padding-left: 0;
  padding-right: 0;
}



