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

:root {
  --color-primary: #C72626;
  --color-primary-dark: #470A08;

  --color-bg: #FAF9F7;
  --color-bg-dark: #EBE6DE;

  --color-black: #0B0B0B;
  --color-white: #FFFFFF;
}

#prestashop-profiling {
  display: none !important;
}

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

:root {
  
  --ffMRe: "GillSansRegular", sans-serif;
  --ffMSeBo: "GillSansSemiBold", sans-serif;
  --ffMBo: "GillSansBold", sans-serif;
  
  --ffSRe: "CirviaRegular", sans-serif;
  --ffSSeBo: "CirviaSemiBold", sans-serif;
  --ffSBo: "CirviaBold", sans-serif;
  --ffSBoIt: "CirviaBoldItalic", sans-serif;
}

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

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

* {
  box-sizing: border-box;
}

a:focus,
a:focus-visible,
a:-webkit-any-link:focus,
a:-webkit-any-link:focus-visible,
:focus-visible {
  outline: transparent none 0px!important;
}

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;
}

.elementor-product-miniature .elementor-badge-sale {
  background-color: var(--color-primary);
}

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

.content *.material-icons {
  font-family: "Material Icons", Arial, sans-serif;
}

textarea:focus,
textarea:focus-visible {
  outline: 1px solid 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;
}

.elementor-product-miniature .elementor-badge-sale {
  color: var(--color-black) !important;
  font-family: var(--ffMRe);
  font-weight: 400 !important;
  background-color: var(--color-bg-dark) !important;
  height: 52px;
  aspect-ratio: 1 / 1;
  width: auto;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@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: .9375rem;
    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;
    padding-inline: unset;
    width: 100%;
}

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

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

.row::after{
  display: none;
}

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

@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;
  margin-top: 16px;
}

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

#wrapper .breadcrumb a,
#wrapper .breadcrumb span{
    font-size: .9375rem;
    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: 1440px;
  width: 100%;
  margin-top: 36px;
}

@media (width < 993px) {
  #contact #wrapper .breadcrumb {
    margin-block: 16px 18px;
  }
}

/* BREADCRUMB - PAGE PRODUIT */

#product #wrapper .breadcrumb {
  display: flex;
  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;
}

body:has(.show-filters) #menuContainer,
body:has(#productModal.show) #menuContainer {
    opacity: 0;
}

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

@media (width < 1024px) {
  #product #wrapper .breadcrumb {
    margin-inline: auto;
    margin-bottom: 18px;
  }

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

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

.swiper-button-next, 
.swiper-button-prev{
  width: 100%;
  max-width: 33px;
  height: auto;
  aspect-ratio: 33/23;
  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,<svg width="33" height="23" viewBox="0 0 33 23" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M22.0802 0.226523C22.4863 -0.111414 23.0993 -0.0661669 23.4487 0.328328L32.7663 10.8864C33.0779 11.2399 33.0779 11.7603 32.7663 12.1137L23.4487 22.6704C23.0993 23.0663 22.4864 23.1115 22.0802 22.7736C21.6725 22.4342 21.6259 21.839 21.9753 21.4445L29.9184 12.4432H0.969631C0.433867 12.4432 0 12.0204 0 11.5001C0 10.9798 0.433867 10.557 0.969631 10.557H29.9184L21.9753 1.55573C21.6259 1.16125 21.6725 0.565874 22.0802 0.226523Z" fill="%23470A08"/></svg>');
  rotate: 180deg;
  aspect-ratio: 33/23;
  height: auto;
  width: 100%;
  max-width: 33px;
}

.swiper-button-next::after{
  background-image: url('data:image/svg+xml,<svg width="33" height="23" viewBox="0 0 33 23" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M22.0802 0.226523C22.4863 -0.111414 23.0993 -0.0661669 23.4487 0.328328L32.7663 10.8864C33.0779 11.2399 33.0779 11.7603 32.7663 12.1137L23.4487 22.6704C23.0993 23.0663 22.4864 23.1115 22.0802 22.7736C21.6725 22.4342 21.6259 21.839 21.9753 21.4445L29.9184 12.4432H0.969631C0.433867 12.4432 0 12.0204 0 11.5001C0 10.9798 0.433867 10.557 0.969631 10.557H29.9184L21.9753 1.55573C21.6259 1.16125 21.6725 0.565874 22.0802 0.226523Z" fill="%23470A08"/></svg>');
  aspect-ratio: 33/23;
  height: auto;
  width: 100%;
  max-width: 33px;
}

.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{
  padding-inline: 10px!important;
}

.product-flags .product-flag.discount{
  color: var(--color-black)!important;
  font-family: var(--ffMRe);
  font-weight: 400!important;
  background-color: var(--color-bg-dark) !important;
  height: 52px;
  margin: 17px 0 17px 17px!important;
  aspect-ratio: 1/1;
  width: auto;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-flags .product-flag.out_of_stock{
  background-color: var(--color-primary) !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;

}


/* -- -- -- -- -- 404 - DÉBUT -- -- -- -- -- */

#pagenotfound #main .page-content {
  margin-block: 80px;
}

.error {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 72px;
  width: 100%;
}

.error .error__illustration {
  position: relative;
  display: block;
  width: 50%;
}

.error .error__illustration::after{
    position: absolute;
    content: "";
    display: block;
    border: 2px solid var(--color-white);
    left: 9px;
    top: 9px;
    height: calc(100% - 18px);
    width: calc(100% - 18px);
    z-index: 1;
}

.error .error__legend {
  display: grid;
  gap: 24px;
  width: 50%;
}

@media (width < 769px) {
  .error {
    flex-direction: column;
    margin-bottom: unset;
  }
  
  .error > * {
    width: 100%!important;
  }

  #pagenotfound #main .page-content {
    margin-block: 24px;
  }
}

/* -- -- -- -- -- 404 - FIN -- -- -- -- -- */