* {
  margin: 0;
  padding: 0;
  font-family: "roboto condensed", sans-serif;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}
:root,
[data-bs-theme="light"] {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-primary-rgb: 13, 110, 253;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-success-rgb: 25, 135, 84;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;
  --bs-primary-text-emphasis: #052c65;
  --bs-secondary-text-emphasis: #2b2f32;
  --bs-success-text-emphasis: #0a3622;
  --bs-info-text-emphasis: #055160;
  --bs-warning-text-emphasis: #664d03;
  --bs-danger-text-emphasis: #58151c;
  --bs-light-text-emphasis: #495057;
  --bs-dark-text-emphasis: #495057;
  --bs-primary-bg-subtle: #cfe2ff;
  --bs-secondary-bg-subtle: #e2e3e5;
  --bs-success-bg-subtle: #d1e7dd;
  --bs-info-bg-subtle: #cff4fc;
  --bs-warning-bg-subtle: #fff3cd;
  --bs-danger-bg-subtle: #f8d7da;
  --bs-light-bg-subtle: #fcfcfd;
  --bs-dark-bg-subtle: #ced4da;
  --bs-primary-border-subtle: #9ec5fe;
  --bs-secondary-border-subtle: #c4c8cb;
  --bs-success-border-subtle: #a3cfbb;
  --bs-info-border-subtle: #9eeaf9;
  --bs-warning-border-subtle: #ffe69c;
  --bs-danger-border-subtle: #f1aeb5;
  --bs-light-border-subtle: #e9ecef;
  --bs-dark-border-subtle: #adb5bd;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0)
  );
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #212529;
  --bs-body-color-rgb: 33, 37, 41;
  --bs-body-bg: #fff;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-emphasis-color: #000;
  --bs-emphasis-color-rgb: 0, 0, 0;
  --bs-secondary-color: rgba(33, 37, 41, 0.75);
  --bs-secondary-color-rgb: 33, 37, 41;
  --bs-secondary-bg: #e9ecef;
  --bs-secondary-bg-rgb: 233, 236, 239;
  --bs-tertiary-color: rgba(33, 37, 41, 0.5);
  --bs-tertiary-color-rgb: 33, 37, 41;
  --bs-tertiary-bg: #f8f9fa;
  --bs-tertiary-bg-rgb: 248, 249, 250;
  --bs-heading-color: inherit;
  --bs-link-color: #0d6efd;
  --bs-link-color-rgb: 13, 110, 253;
  --bs-link-decoration: underline;
  --bs-link-hover-color: #0a58ca;
  --bs-link-hover-color-rgb: 10, 88, 202;
  --bs-code-color: #d63384;
  --bs-highlight-color: #212529;
  --bs-highlight-bg: #fff3cd;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: #dee2e6;
  --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-xxl: 2rem;
  --bs-border-radius-2xl: var(--bs-border-radius-xxl);
  --bs-border-radius-pill: 50rem;
  --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  --bs-focus-ring-width: 0.25rem;
  --bs-focus-ring-opacity: 0.25;
  --bs-focus-ring-color: rgba(13, 110, 253, 0.25);
  --bs-form-valid-color: #195c3c;
  --bs-form-valid-border-color: #198754;
  --bs-form-invalid-color: #dc3545;
  --bs-form-invalid-border-color: #dc3545;
}

.categories-banner-alt {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.category-alt {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff, #e0e0e0);
  box-shadow: 5px 5px 10px #d1d1d1, -5px -5px 10px #ffffff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.category-alt:hover {
  transform: translateY(-5px);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.icon-circle {
  width: 70px;
  height: 70px;
  background: #f9a825;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.icon-circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.category-alt p {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin: 0;
}
.star {
  color: gray;
  display: inline-block;
  font-size: 24px;
  cursor: pointer;
}
.star.active {
  color: gold;
}
#backToTop {
  position: fixed;
  right: 10px;
  bottom: 10px;
  padding: 20px;
  background: #f9a825;
  border-radius: 50%;
  display: none;
  transition: all 0.3s;
  cursor: pointer;
  color: white;
  transition: transform 0.3s ease, background-color 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Effet au survol */
#backToTop:hover {
  background-color: #d18f10; /* Couleur plus sombre au survol */
  transform: scale(1.1); /* Zoom léger */
}

/* Animation d'apparition (facultatif) */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#backToTop.show {
  display: flex; /* Affiche le bouton */
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease; /* Animation d'apparition */
}
.success-message {
  position: fixed;
  top: 90px;
  width: 100%;
  text-align: center;
  background-color: #4caf50; /* Vert pour succès */
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  font-family: Arial, sans-serif;
  z-index: 99999999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  animation: fadeIn 0.5s ease;
  min-width: 50%;
}

/* Animation d'apparition */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Style pour le bouton de fermeture */
.close-message {
  background-color: transparent;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.close-message:hover {
  color: #000;
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
  .success-message {
    top: 10%;
    width: 100%;
    left: 0;
    padding: 10px 15px;
    font-size: 14px;
    min-width: 200px;
  }

  .close-message {
    font-size: 16px;
  }
}

@media screen and (max-width: 1024px) {
  .selection,
  .product-carousel {
    width: 100%;
  }
}

/* Main Content */
.main-content {
  padding: 20px;
  text-align: center;
}

.content {
  font-size: 18px;
}
#cat {
  background-color: blue;
  color: white;
  border-radius: 3%;
  padding: 7px 10px;
}

.pourcent {
  color: white;
  font-weight: bold;
  background-color: red;
}
#btn {
  font-size: 25px;
  float: left;
  line-height: 80px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}
#check {
  display: none;
}
.pourcent {
  animation: wiggle 2s linear infinite;
}
@keyframes wiggle {
  0%,
  7% {
    transform: rotateZ(0);
  }
  30% {
    transform: rotateZ(6deg);
  }
  15% {
    transform: rotate(-15deg);
  }
  20% {
    transform: rotate(10deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  30% {
    transform: rotate(6deg);
  }
  35% {
    transform: rotateZ(-4deg);
  }
  40%,
  100% {
    transform: rotateZ(0deg);
  }
  section {
    width: 100px;
  }
}

.typewriter {
  display: inline-block;
  font-size: 2em;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.15em solid #fff;
  animation: typing 3s steps(30) 1s forwards, blink 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 20em;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

#flash {
  animation: flashEffect 1s infinite alternate;
}
@keyframes flashEffect {
  0% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.flash-offer {
  display: flex;
  justify-content: center;
  background-color: #ff5733;
  color: white;
  text-align: center;
  font-size: 1.5em;
  margin: 20px 0;
  animation: flashBackground 0.8s infinite alternate;
}
.flash-offer img {
  width: 20%;
}
.flash-offer p {
  padding-top: 100px;
  margin-left: 50px;
  width: 50%;
}
.flash-gif {
  width: 50px;
  margin-right: 10px;
}
@keyframes flashBackground {
  0% {
    background-color: #ff5733;
  }
  50% {
    background-color: #7e2e2e;
  }
  100% {
    background-color: #ff5733;
  }
}

.product-carousel {
  text-align: center;
}

.product-carousel h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #d32f2f;
}

/* Conteneur du carrousel */

@media screen and (max-width: 1024px) {
  .carousel-container {
    justify-content: left;
  }
}
.product-carousel {
  padding: 10px 40px;
}
.product-card {
  background-color: #fff;
  width: 200px;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card p {
  padding: 10px;
  font-size: 1.2em;
  color: #333;
}
.prix_description .barree {
  text-decoration: line-through;
  color: #333;
  font-size: 14px;
}
.prix_description {
  display: grid;
}
.product-card button {
  background-color: rgb(240, 160, 12);
  color: white;
  border: none;
  padding: 10px;
  width: 100%;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.product-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-card button:hover {
  background-color: orangered;
}
.carrousel {
  position: relative;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
  flex: 8;
  margin-right: 20px;
}

.carrousel-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carrousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  position: relative;
}

.carrousel-slide .img img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}
@media screen and (max-width: 1024px) {
  .carrousel-slide .img img {
    margin-top: 0px;
  }
}
.product-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.carousel-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.carousel-container {
  background: var(--bs-body-bg);
  display: flex;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overflow-x: none;
  -webkit-overflow-scrolling: touch;
  padding: 15px;
  margin: 0 20px;
  gap: 5px;
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
}

.carousel-btn {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 20px;
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-wrapper:hover .carousel-btn {
  opacity: 1;
}
.caption {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  width: 100%;
}

/* Points pour le carousel */
.carousel-dots {
  text-align: center;
  margin-top: 10px;
}

.dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 5px;
  border-radius: 50%;
  background-color: #bbb;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: yellow;
}

.dot:hover {
  background-color: yellow;
}

/* Boutons de navigation */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Media Queries pour rendre le carousel responsive */
@media (max-width: 768px) {
  .carrousel-slide img {
    max-height: 100%;
    margin-top: 0;
  }
}

/* Media Query pour adapter la taille de la police sur les petits Ã©crans */
@media (max-width: 600px) {
  .caption {
    font-size: 16px;
  }
}

.container1 {
  display: flex;
  justify-content: space-between;
  margin: 20px;
}
.agenda-card {
  margin-top: 70px;
  flex: 1;
  background-color: hsl(0, 0%, 98%);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive design */
@media (max-width: 768px) {
  .carousel-container {
    gap: 10px;
  }
  .product-card {
    width: 200px;
  }
}
.pourcent {
  background: orangered;
  transform-origin: 50% 5em;
  margin-top: 30px;
  padding: 15px;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  border: none;
}
.rouge {
  background: red;
  color: white;
}

.content h1 {
  font-size: 20px;
}
.content p {
  font-size: 20px;
  margin-top: 20px;
}
#cartCount {
  color: red;
}
.content button {
  margin-top: 30px;
  padding: 15px;
  background: #f63e4e;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}
.produit_texte {
  text-align: left;
  font-size: 30px;
  font-weight: 300;
  margin-top: 30px;
  margin-left: 80px;
  color: #424144;
}

@media (max-width: 800px) {
  .section_produit {
    padding: 0;
    margin: 0;
  }
}

.carrousel {
  position: relative;
  width: 80%;
  margin: auto;
  overflow: hidden;
}

.carrousel-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carrousel-slide {
  min-width: 100%;
  box-sizing: border-box;
}
.carrousel-slide img {
  width: 100%;
  display: block;
}
#buton {
  position: absolute;
  top: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 18px;
  transform: translateY(-50%);
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}
