/* =====================
   VIDEO + BANNER SLIDER
   ===================== */

.video-item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  background: linear-gradient(180deg, var(--background-color-1) 0%, rgba(10, 10, 10, 0.95) 100%);
  justify-content: center;
}

/* Conteneur bannières */
.banner-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--background-color-1);
  min-height: 50px;
  border-radius: 0;
}

/* Traits décoratifs haut/bas */
.banner-slider::before,
.banner-slider::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--background-color-2), transparent);
  z-index: 100;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.banner-slider::before {
  top: 0;
}

.banner-slider::after {
  bottom: 0;
}

/* Slides */
.banner-slider .slides {
  display: flex;
  animation: slideApple 44s infinite ease-in-out;
}

.banner-slider .slide {
  flex: 0 0 100%;
  position: relative;
}

.banner-slider img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.banner-slider .slide:hover img {
  transform: scale(1.02);
}

/* Réseaux sociaux */
.social-header {
  position: absolute;
  bottom: 15px;
  left: 15px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.social-header img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.7));
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
}

.social-header img:hover {
  transform: translateY(-3px) scale(1.1);
  filter: drop-shadow(0 6px 12px rgba(255, 215, 0, 0.5));
  background: rgba(255, 215, 0, 0.1);
}

/* Animation Apple style */
@keyframes slideApple {
  0% {
    transform: translateX(0);
  }

  16.66% {
    transform: translateX(0);
  }

  /* image 1 */
  33.32% {
    transform: translateX(-100%);
  }

  /* image 2 */
  49.98% {
    transform: translateX(-200%);
  }

  /* image 3 */
  66.64% {
    transform: translateX(-300%);
  }

  /* image 4 */
  83.3% {
    transform: translateX(-400%);
  }

  /* image 5 */
  100% {
    transform: translateX(-500%);
  }

  /* image 6 */
}

/* =====================
   CARROUSEL PRODUITS
   ===================== */

.index-product-carousel {
  position: relative;
  padding: 0 20px;
  padding-right: inherit;
  width: 100%;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.index-product-carousel-header {
  margin-right: 20px;
}

.index-product-carousel-container {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--background-color-2) rgba(0, 0, 0, 0.2);
}

.index-product-carousel-container::-webkit-scrollbar {
  height: 8px;
}

.index-product-carousel-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.index-product-carousel-container::-webkit-scrollbar-thumb {
  background: linear-gradient(to right, var(--h1-primary) 0%, var(--primary-color) 100%);
  border-radius: 10px;
}

.index-product-carousel-container::-webkit-scrollbar-thumb:hover {
  background: var(--background-color-2);
}

.index-product-carousel-content-wrapper {
  display: flex;
  gap: 15px;
  padding: 10px 5px;
  justify-content: flex-start;
}

.index-product-carousel-item {
  flex: 0 0 calc(50% - 7.5px);
  scroll-snap-align: start;
  padding: 12px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.03) 0%, rgba(169, 169, 169, 0.03) 100%);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  position: relative;
  min-height: 300px;
  box-sizing: border-box;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  justify-content: space-between;
}

.index-product-carousel-item:hover {
  transform: translateY(-5px);
  border-color: var(--background-color-2);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

.product-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.product-name {
  margin: 12px 0;
  text-align: center;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 15px;
  color: var(--primary-color);
  line-height: 1.4;
  margin: 0 auto;
  width: 80%;
}

.best-seller.product-info-wrapper {
  margin: 0 auto;
}

.order {
  margin-top: auto;
  text-align: center;
}

.product-actions {
  margin-right: 20px;
}

.product-actions.pack-item {
  margin-right: inherit;
  margin: 25px !important;
}

.product-actions,
.best-seller-product-actions {
  align-items: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group.select-fixed-height {
  min-height: 70px;
  margin-bottom: 15px;
}

select {
  width: 160px;
  padding: 8px 12px;
  font-size: 14px;
  margin: 0 auto;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--primary-color);
  font-family: var(--font-glacial-indiference);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

select:focus {
  outline: none;
  border-color: var(--background-color-2);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

select:hover {
  border-color: var(--background-color-2);
}

/* Notes / Avis Produits */
.rating-container {
  text-align: center;
  font-size: 14px;
  color: var(--primary-color);
  margin-top: 10px;
}

.product-rating {
  font-size: 28px;
  color: rgba(255, 213, 0, 0.934);
  margin: 0 auto 5px auto;
  text-align: center;
  text-shadow: 0 2px 8px rgba(255, 213, 0, 0.4);
}

.product-link-rating {
  font-style: italic;
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
  font-size: 13px;
}

.product-link-rating:hover {
  color: var(--h1-primary);
}

/* =====================
   CARROUSEL BEST SELLERS
   ===================== */

.carousel-nav {
  display: none;
}

.index-product-best-seller-carousel {
  background: linear-gradient(180deg, var(--background-color-3) 0%, rgba(1, 0, 3, 0.95) 100%);
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-top: 30px;
  padding-bottom: 40px;
}

.index-product-best-seller-carousel-header {
  text-align: center;
  padding: 0 20px;
}

.index-product-best-seller-carousel-container {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--background-color-2) rgba(0, 0, 0, 0.2);
}

.index-product-best-seller-carousel-container::-webkit-scrollbar {
  height: 8px;
}

.index-product-best-seller-carousel-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.index-product-best-seller-carousel-container::-webkit-scrollbar-thumb {
  background: linear-gradient(to right, var(--h1-primary) 0%, var(--primary-color) 100%);
  border-radius: 10px;
}

.index-product-best-seller-carousel-content-wrapper {
  display: flex;
  gap: 20px;
  padding-bottom: 5px;
}

/* Carte produit best seller */
.index-product-best-seller-item {
  flex: 0 0 80%;
  scroll-snap-align: center;
  padding: 12px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(169, 169, 169, 0.05) 100%);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  min-height: 500px;
}

.index-product-best-seller-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  transition: left 0.6s ease;
}

.index-product-best-seller-item:hover::before {
  left: 100%;
}

.index-product-best-seller-item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--background-color-2);
  box-shadow: 0 12px 32px rgba(255, 215, 0, 0.3);
}

/* Label "Top Vente" */
.top-sale-label {
  position: absolute;
  top: 60px;
  left: -30px;
  background: linear-gradient(135deg, var(--h1-primary) 0%, var(--background-color-2) 100%);
  color: var(--background-color-1);
  padding: 6px 32px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transform: rotate(-45deg);
  transform-origin: left top;
  box-sizing: border-box;
  user-select: none;
  overflow: hidden;
  z-index: 5;
  font-family: var(--font-accent);
}

/* Nom produit */
.best-seller-product-name {
  margin: 12px 0;
  text-align: center;
  font-size: 15px;
  color: var(--primary-color);
}

/* Avis */
.rating-container {
  text-align: center;
  margin-top: 10px;
  color: rgba(255, 213, 0, 0.934);
}

/* Animation message promo */
@keyframes popBounce {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

.remise-message {
  text-align: center;
  font-weight: bold;
  font-family: var(--font-accent);
  color: var(--purple-text);
  animation: popBounce 1s ease-in-out 3;
  text-shadow: 0 2px 8px rgba(177, 52, 52, 0.4);
}

/* =====================
   SHIPPING SECTION
   ===================== */

.shipping-section {
  padding-top: 30px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, var(--background-color-1) 0%, rgba(10, 10, 10, 0.95) 100%);
}

.shipping-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 40px 20px 0px;
  align-items: center;
}

.shipping-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 600px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-description {
  text-align: center;
}

.shipping-list li {
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.03) 0%, rgba(169, 169, 169, 0.03) 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.shipping-list li:hover {
  transform: translateX(8px);
  border-color: var(--background-color-2);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.15);
}

.shipping-list img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(255, 215, 0, 0.3));
}

.shipping-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.shipping-info h3 {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 16px;
  color: var(--h1-primary);
  margin: 0;
}

.shipping-info p {
  font-size: 14px;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.5;
}

/* =====================
   PROMOTION SECTION
   ===================== */

.promotion {
  background: linear-gradient(180deg, var(--background-color-3) 0%, rgba(1, 0, 3, 0.95) 100%);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  padding-top: 30px;
  padding-bottom: 40px;
}

.promotion-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.promotion-content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.promotion-item {
  display: flex;
  flex-direction: column;
  width: calc(50% - 12px);
  max-width: 400px;
  padding: 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.03) 0%, rgba(169, 169, 169, 0.03) 100%);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.promotion-item:hover {
  transform: translateY(-8px);
  border-color: var(--background-color-2);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

.promotion-image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  transition: transform 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.promotion-item:hover .promotion-image {
  transform: scale(1.05);
}

.promotion-name {
  font-family: var(--font-accent);
  font-size: 18px;
  font-weight: 700;
  margin: 12px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--primary-color);
}

.promotion-price {
  font-size: 12px;
  color: var(--warning-color);
  font-weight: 600;
  text-decoration: line-through;
  opacity: 0.8;
}

.promotion-price-reduc {
  font-size: 18px;
  color: var(--price-green-ttc);
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.promotion-rating {
  font-size: 28px;
  color: rgba(255, 213, 0, 0.934);
  display: flex;
  justify-content: center;
  margin: 8px 0;
  text-shadow: 0 2px 8px rgba(255, 213, 0, 0.4);
}

.promotion-link-rating {
  font-size: 13px;
  font-style: italic;
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.promotion-link-rating:hover {
  color: var(--h1-primary);
}

.promotion-footer .promotion-link,
.btn-details {
  background: linear-gradient(135deg, var(--h1-primary) 0%, var(--background-color-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid var(--background-color-2);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--background-color-1);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.promotion-footer .promotion-link:hover,
.btn-details:hover {
  background: linear-gradient(135deg, var(--background-color-2) 0%, var(--h1-primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.btn-see-all {
  width: 50%;
  padding: 14px;
  border: 1px solid #3e3d3d;
  border-radius: 50px;
  font-size: 16px;
  background-image: linear-gradient(to right, var(--background-color-1) 0%, var(--background-color-2) 51%, var(--background-color-1) 100%);
  background-size: 200%;
  cursor: pointer;
  transition: 0.5s;
  display: block;
  margin: 0 auto;
  color: black;
  text-decoration: none;
}

.btn-see-all:hover {
  background: linear-gradient(135deg, var(--background-color-2) 0%, var(--h1-primary) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.5);
}

/* Bulle réduction */
.promotion-discount {
  background: linear-gradient(135deg, var(--warning-color) 0%, #d64545 100%);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 12px;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 12px rgba(177, 52, 52, 0.5);
  animation: pulseBlink 2s infinite;
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =====================
   CATEGORY ANCHOR MENU
   ===================== */

.category-anchor-menu {
  position: relative;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 30px;
  width: 100%;
  padding: 0 20px;
}

.category-list {
  width: 100%;
  position: absolute;
  top: 50px;
  background: linear-gradient(135deg, var(--background-color-1) 0%, rgba(10, 10, 10, 0.98) 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 100;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  gap: 10px;
  margin-top: 6px;
  backdrop-filter: blur(10px);
}

.category-list .main-nav-item {
  width: 100% !important;
  border-radius: 8px;
  max-width: 400px;
  border-color: rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
}

.category-list .main-nav-item:hover {
  border-color: var(--background-color-2);
  background: rgba(255, 215, 0, 0.05);
}

.category-list .main-nav-item a {
  display: flex;
  align-items: center;
  padding: 12px !important;
  font-weight: 600;
}

.category-list .main-nav-item a::before {
  width: 23%;
}

.category-list .main-nav-item .category-link::before {
  width: 28%;
}

.btn-toggle-menu {
  width: 100%;
  max-width: 400px;
  align-items: center;
  font-size: 16px;
  font-family: var(--font-accent);
  font-weight: 700;
  color: var(--primary-color);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.03) 0%, rgba(169, 169, 169, 0.03) 100%);
  box-sizing: border-box;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  padding: 14px 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  user-select: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-toggle-menu:hover {
  border-color: var(--background-color-2);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(169, 169, 169, 0.08) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.2);
}

.btn-icon {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
  transition: transform 0.3s ease;
}

.btn-toggle-menu:hover .btn-icon {
  transform: rotate(180deg);
}

.index-product-carousel-item.pack-item {
  flex: 0 0 calc(100% - 7.5px);
}

/* =====================
   ANIMATIONS
   ===================== */

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

@keyframes pulseBlink {

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

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes pulseScale {

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

  50% {
    transform: scale(1.05);
  }
}