/* ====================== */
/* section header */
/* ====================== */

.menu-header {
  padding-top: 1rem;
}

#section1 {
  border-top: none;
  height: 30rem;
  padding: 60px;
}

#section1 h1 {
  color: var(--black);
  font-family: var(--font-family-baskerville-semibold);
  font-size: 35.8px;
  font-weight: 600;
  left: 551px;
  letter-spacing: 0;
  line-height: normal;
  text-align: center;
  width: 531px;
}

.sec-title {
  width: 100%;
  align-items: center;
  /* display: flex;
  justify-content: center; */
}

section h2.section-title {
  letter-spacing: 0;
  line-height: normal;
  padding-right: 30px;
  text-transform: uppercase;
  width: 100%;
  flex-basis: content;
}

section#list-produits h2 a {
  color: black;
  text-decoration: none;
}

.PS-logo {
  width: 55px;
  height: 55px;
}

/* =============================== */

.surround {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.surround .surrounded {
  padding: 8px 16px;
  border: none;
  background: none;
  outline: none;
  color: black;
  text-decoration: none;
}

.surround svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  pointer-events: none;
}

#svg-title {
  top: 6rem;
  stroke: black;
  stroke-width: 1px;
}

#svg-accessoires,
#svg-softwares {
  height: 100%;
  stroke: #02326c;
  stroke-width: 3px;
}

.surround path {
  stroke-dasharray: 0 0;
  display: none;
}

.surround:hover path {
  animation: draw 1s forwards;
  display: block;
}

@keyframes draw {
  from {
    stroke-dasharray: 0 1500;
  }

  to {
    stroke-dasharray: 1500 1500;
  }
}

section {
  border-top: solid 0.5px var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 1rem !important;
  margin-left: 1rem !important;
}

/* ====================== */
/* section fonctions */
/* ====================== */

.functions {
  margin-top: 3rem;
}

.func {
  width: 500px;
}

#func-1 {
  background-image: url("../imgs/function1.png");
  background-position: 2rem top;
  background-repeat: no-repeat;
  background-size: auto 220px;
  min-height: 220px;
  margin-bottom: 15rem;
}

#func-3 {
  background-image: url("../imgs/function3.png");
  background-position: left top;
  background-repeat: no-repeat;
  background-size: auto 220px;
  min-height: 220px;
  /* width: 500px; */
  margin-right: 2rem;
}

#func-1 .func-title,
#func-1 .func-desc {
  margin-left: calc(2rem + 146px);
}

#func-3 .func-title,
#func-3 .func-desc {
  margin-left: 200px;
}

/*
cursor de la section boutique
*/

#cursorShop {
  position: absolute;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background-color: black; /* Couleur initiale du curseur */
  background-position: center;
  pointer-events: none;
  /* mix-blend-mode: difference;  */ /* Choisissez le mode de mélange souhaité */
  transition: background-color 0.5s ease; /* Ajout d'une transition pour une animation en douceur */
  z-index: 5;
  display: flex; /* Ajout de display flex */
  justify-content: center; /* Centrer horizontalement */
  align-items: center; /* Centrer verticalement */
}

#cursorShop span {
  font-family: "Helvetica-Regular";
  color: white;
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-20%, -50%);
}

/* list of products */

div.products-galery {
  width: 95vw;
}

ul.products {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

ul.products li {
  padding-left: 5px !important;
  width: 354px;
  position: relative;
  flex-wrap: wrap;
  font-family: var(--font-family-baskerville-semibold);
  margin-top: 2rem;
}

ul.products li .thumb {
  position: relative;
  width: 18.75rem;
  height: 18.75rem;
  overflow: hidden;
}

ul.products li .thumb a.woocommerce-LoopProduct-link img {
  width: 100%;
  height: 100%;
  object-fit: over;
  display:block;
}

ul.products li a.heart {
  position: absolute;
  bottom: 5px;
  right: 5px;
}

div.yith-wcwl-add-to-wishlist {
  position: absolute;
  bottom: 5px;
  right: 5px;
}

.fa-heart-o:before {
  content: "\f004"; /* Este é o código do ícone de coração em FontAwesome 5 */
  font-family: "Font Awesome 5 Free"; /* Define a família da fonte para FontAwesome 5 */
  font-weight: 400;
  color: #878787;
}

.fa-heart,
.feedback > .fa-heart-o:before {
  color: #ce2a44;
}

.fa-heart,
.fa-heart-o {
  font-size: 24px; /* Ajuste este valor para aumentar ou diminuir o tamanho */
}

/* a.add_to_wishlist > span {
  display: none;
} */

ul.products li a.heart svg:hover {
  fill: red;
}

ul.products li a {
  color: black;
  text-decoration: none;
}

.woocommerce-loop-product__title {
  font-size: 1rem;
  margin-top: 1rem;
  width: 20rem;
  height: 4rem;
}

.pagination {
  font-family: var(--font-family-baskerville-regular);
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

.pagination .page-numbers {
  margin-left: 3px;
  margin-right: 3px;
}

.page-numbers.current {
  text-decoration: underline;
}

.pagination a.page-numbers {
  color: black;
  text-decoration: none;
}

@media (max-width: 1150px) {
  .menu-header {
    display: none;
  }

  #cursorShop {
    position: absolute;
    width: 6rem;
    height: 6rem;
  }

  #cursorShop span {
    font-size: 0.8rem;
  }

  ul.products {
    width: 70vw;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  ul.products li {
    margin-bottom: 1rem;
  }
}

@media (max-width: 800px) {
  ul.products {
    margin-bottom: 7rem;
  }
}

@media (max-width: 600px) {
  #section1  {
    height: 25rem;
  }

  .surround .surrounded {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #section1 h1 {
    font-size: 1.8rem;
    width: 90vw;
  }

  section h2.section-title {
    padding-right: 0px;
  }

  #svg-title {
    top: -50%;
    left: 15%;
    width: 70%;
  }

  #cursorShop {
    width: 4rem;
    height: 4rem;
  }

  #cursorShop span {
    font-size: 0.5rem;
  }

  ul.products {
    padding-left: 0px;
  }

  ul.products li {
    padding-left: 0px;
    width: 250px;
  }

  ul.products li .thumb {
    width: 250px;
    height: 300px;
  }
}

@media (max-width: 500px) {
  /* #section1 h1 {
    font-size: 20px;
    width: 70vw;
  } */

   ul.products {
    margin-left: 1rem;
  }
}
