
/* ----------- COULEURS ----------- */

:root {
  --color-primary: #9C0E37;
  --color-primary-dark: #61051F;
  --color-secondary: #DC1951;
  --color-tertiary: #ffb787;

  --color-dark-grey: #404040;
  --color-light-grey: #FFFAF7;

  --color-black: #0a0a0a;
  --color-white: #fafafa;
}

/* ----------- FONTS ----------- */

:root {
  
  /* Font Family Main (Roboto) */
  --ffMRe: "RobotoRegular", sans-serif; /* font-family Main Regular */
  --ffMBo: "RobotoBold", sans-serif; /* font-family Main Bold */
  --ffMBl: "RobotoBlack", sans-serif; /* font-family Main Black */
  
  /* Font Family Secondary (Fabyen) */
  --ffSLi: "FabyenLight", serif; /* font-family Secondary Light */
  --ffSRe: "FabyenRegular", serif; /* font-family Secondary Regular */
  --ffSBo: "FabyenBold", serif; /* font-family Secondary Bold */
}

/* ----------------------- GLOBAL ----------------------- */

body{
  font-family: var(--ffMRe);
  color: var(--color-black);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main {
  background-color: var(--color-light-grey);
}

#wrapper{
  background: var(--color-light-grey) !important;
  position: relative;
  padding-top: unset;
}

#home .clearfix{
  display: none;
}

a,
a:hover,
a:visited,
a:active {
  color: var(--color-primary);
}

.desktopSpawned{
    display: block;
}

.mobileSpawned{
    display: none;
}

.outOfStock > span {
  opacity: 0.25;
}

.outOfStock {
  position: relative;
}

.outOfStock::before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 115%;
  top: 35%;
  left: 10%;
  transform: translate(-50%, -50%);
  rotate: 45deg;
  background-color: #D4D4D4;
}

@media (width < 1024px) {
  .desktopSpawned{
      display: none;
  }
  .mobileSpawned{
      display: block;
  }
}

/* ----------------------- TYPOGRAPHIE ----------------------- */

.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--ffSRe);
  margin: 0px;
  padding: 0px;
  font-weight: normal;
  text-transform: none;
  color: var(--color-black);
}

p, p * {
  color: var(--color-black);
  font-family: var(--ffMRe);
  font-size: 1rem;
  line-height: 1.5rem;
}

p a {
  color: var(--color-primary);
  /* text-decoration: none; */
}

@media (width < 1024px) {
  p, p * {
    font-size: .875rem;
    line-height: 1.125rem;
  }
}

@media (min-width: 993px) {
  p a:hover{
    color: var(--color-secondary);
  }
}

/* ----------------------- TITRE ----------------------- */

body.ce-kit-1 h1,
.h1{
  font-size: 2.5rem;
  line-height: 3rem;
}

body.ce-kit-1 h2,
.h2{
  font-size: 2.25rem;
  line-height: 2.5rem;
}

body.ce-kit-1 h3,
.h3{
  font-size: 2rem;
  line-height: 2.25rem;
}

body.ce-kit-1  h4,
.h4{
  font-size: 1.75rem;
  line-height: 2.625rem;
}

body.ce-kit-1 h5,
.h5{
  font-size: 1.5rem;
  line-height: 2.25rem;
}

body.ce-kit-1 h6,
.h6{
  font-size: 1.25rem;
  line-height: 1.875rem;
}

@media (width < 1024px) {
  
  body.ce-kit-1 h1,
  .h1{
    font-size: 1.625rem;
    line-height: 1.875rem;
  }

  body.ce-kit-1 h2,
  .h2{
    font-size: 1.4375rem;
    line-height: 1.6875rem;
  }

  body.ce-kit-1 h3,
  .h3{
    font-size: 1.25rem;
    line-height: 1.5rem;
  }

  body.ce-kit-1 h4,
  .h4{
    font-size: 1.125rem;
    line-height: 1.3125rem;
  }

  body.ce-kit-1 h5,
  .h5{
    font-size: 1.125rem;
    line-height: 1.3125rem;
  }

  body.ce-kit-1 h6,
  .h6{
    font-size: 1rem;
    line-height: 1.125rem;
  }
}

/* ----------------------- BOUTON ----------------------- */

.btn{
  display: block;
  padding: 12px 16px;
  border: none;
  border-radius: 4px;
  font-family: var(--ffMRe);
  font-size: 1rem;
  line-height: 1.5rem;
  text-align: center;
  float: none !important;
  border: solid 1px;
  height: auto;
  box-shadow: none;
  white-space: normal;
}

.btn-primary{
  background-color: var(--color-primary) !important;
  color: var(--color-white) !important;
  border-color: var(--color-primary) !important;
}

.btn-secondary{
  background-color: transparent !important;
  color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

@media (min-width: 993px) {
  .btn-primary:active,
  .btn-primary:hover,
  .btn-primary:focus,
  .btn-primary:focus-visible,
  .btn-primary:focus-within{
    background-color: var(--color-primary-dark)!important; 
    border-color: var(--color-primary-dark) !important;
  }
  .btn-secondary:active,
  .btn-secondary:hover,
  .btn-secondary:focus,
  .btn-secondary:focus-visible,
  .btn-secondary:focus-within{
    background-color: var(--color-secondary) !important;
    color: var(--color-white) !important;
    border-color: var(--color-secondary) !important;
  }
}

@media (max-width: 992px) {
  .btn{
    font-size: .875rem;
    line-height: 1.125rem;
  }
}

/* ----------------------- CONTAINER ----------------------- */

.container {
    position: relative;
    z-index: 1;
    /* padding-inline: 80px; */
    margin-inline: auto;
    width: 100%;
}

#content-wrapper{
  padding-inline: 0px !important;
}

/* .row{
  margin-inline: 0px !important;
} */

.row::after{
  display: none;
}

@media (min-width: 993px){
    .container{
        max-width: 1170px;
    }
}

@media (max-width: 992px) {
    .container {
        width: 100%;
        padding-inline: 30px;
    }
}

#main .page-content, #main .page-footer, #main .page-header {
  margin-bottom: unset;
}

#order-items hr {
  display: none!important;
}

/* ----------------------- BREADCRUMB ----------------------- */

#wrapper .breadcrumb{
  margin-bottom: 24px;
}

#product #wrapper .breadcrumb {
  margin-left: 30px;
}

#wrapper .breadcrumb a,
#wrapper .breadcrumb span{
    font-size: .75rem;
    line-height: 1rem;
    color: var(--color-black);
    text-decoration: none;
}

#wrapper .breadcrumb li::after{
    content: ">";
    margin: 0 2px;
    color: var(--color-black);
    font-size: .75rem;
    line-height: 1rem;
}

/* BREADCRUMB - CONTACT */

#contact #wrapper .breadcrumb {
  margin-inline: auto;
  max-width: calc(463px + 367px + 117px);
  width: 100%;
}

@media (width < 1024px) {
  #contact #wrapper .breadcrumb {
    max-width: calc(50% + 367px + 40px);
  }
}


/* BREADCRUMB - PAGE PRODUIT */

#product #wrapper .breadcrumb {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 56px;
  margin-inline: auto;
  width: 100%;
}

#product #wrapper .breadcrumb > ol{
  max-width: calc(619px + 463px + 56px);
  grid-column-start: 2;
  grid-column-end: 8;
}

@media (width < 1300px) {
  #product #wrapper .breadcrumb > ol{
    grid-column-start: 1;
    grid-column-end: 5;
  }
}

@media (width < 1024px) {
  #product #wrapper .breadcrumb {
    display: flex;
    padding-inline: 30px;
    max-width: 100%;
  }
}

/* ----------------------- SWIPER ----------------------- */

.swiper-button-next, 
.swiper-button-prev{
  background-color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: solid 1px var(--color-dark-grey);
}

.swiper-button-next::after, 
.swiper-button-prev::after{
  content: "";
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 7px;
  height: 12px;
  display: block;
}

.swiper-button-prev::after{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='12' viewBox='0 0 7 12' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M-5.72205e-06 6.00025C-5.72205e-06 5.74425 0.0979939 5.48825 0.292994 5.29325L5.29299 0.29325C5.68399 -0.09775 6.31599 -0.09775 6.70699 0.29325C7.09799 0.68425 7.09799 1.31625 6.70699 1.70725L2.41399 6.00025L6.70699 10.2933C7.09799 10.6842 7.09799 11.3162 6.70699 11.7072C6.31599 12.0982 5.68399 12.0982 5.29299 11.7072L0.292994 6.70725C0.0979939 6.51225 -5.72205e-06 6.25625 -5.72205e-06 6.00025Z' fill='%234b4848'/%3E%3C/svg%3E");
}

.swiper-button-next::after{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='12' viewBox='0 0 7 12' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.00025 6.00025C7.00025 5.74425 6.90225 5.48825 6.70725 5.29325L1.70725 0.29325C1.31625 -0.09775 0.68425 -0.09775 0.29325 0.29325C-0.09775 0.68425 -0.09775 1.31625 0.29325 1.70725L4.58625 6.00025L0.29325 10.2933C-0.09775 10.6842 -0.09775 11.3162 0.29325 11.7072C0.68425 12.0982 1.31625 12.0982 1.70725 11.7072L6.70725 6.70725C6.90225 6.51225 7.00025 6.25625 7.00025 6.00025Z' fill='%234b4848'/%3E%3C/svg%3E");
}

.elementor-swiper-button i {
    background-color: var(--color-primary);
    width: 40px;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-swiper-button i {
  font-size: 16px;
}

/* ----------------------- FLAGS ----------------------- */

.product-flags {
  margin-bottom: 0px;
  gap: 10px;
}

.product-flags .product-flag{
  margin: 0px !important;
  width: fit-content !important;
  font-size: 1rem !important;
  line-height: 1.5rem !important;
  font-weight: 600 !important;
  padding: 5px 20px !important;
  color: var(--color-white) !important;
  text-transform: none !important;
  background-color: var(--color-primary) !important;
  min-height: 0px !important;
  min-width: 0px !important;
}

.product-flags .product-flag.discount{
  background-color: var(--color-primary) !important;
}

.product-flags .product-flag.out_of_stock{
  background-color: var(--color-dark-grey) !important;
}

.product-miniature .product-flags{
  top: 18px;
}

@media (width < 1024px) {
  .product-miniature .product-flags {
    top: 22px;
  }
  .product-flags li.product-flag {
    font-size: .875rem!important;
    line-height: 1.125rem!important;
  }
}

@media (max-width: 768px) {
  .product-flags{
    gap: 5px;
  }
  .product-miniature .product-flags{
    top: 5px;
  }
  .product-flags .product-flag{
    font-size: .875rem !important;
    line-height: 1.125rem !important;
    padding: 4px 8px !important;
  }
}

/* ----------------------- AUTRE ----------------------- */

.modal-backdrop.in{
  display: none;
}

.linebreak{
  display: block;
}

.brands-sort .dropdown-menu, .products-sort-order .dropdown-menu, .suppliers-sort .dropdown-menu {
  background-color: var(--color-light-grey);
}

/* ----------------------- FORM ----------------------- */

.form-control:focus{
  outline: none !important;
  border-color: var(--color-primary) !important; 
}

.custom-radio input[type=radio]:checked+span {
  background-color: var(--color-primary);
}

/* ----------------------- PAGINATION ----------------------- */

.pagination .page-list {
  background-color: var(--color-light-grey);
}

.pagination {
  margin-top: 24px;
}

.pagination .current a,
.pagination .current a:hover,
.pagination .current a:focus,
.pagination .current a:active,
.pagination a,
.pagination a:hover,
.pagination a:focus,
.pagination a:active {
  color: var(--color-black)!important;
  font-size: 1rem;
}

/* ----------------------- CHARGEMENT DES FILTRES ----------------------- */

body:has(.overlay__inner) #header {
  border-bottom: 0;
}