/**
 * Theme
 */

:root {
  --bs-primary: #b91b27;
  --bs-link-color-rgb: 185, 27, 39;
  --bs-link-color: #b91b27;
  --bs-link-hover-color: white;
}

.btn-primary {
  --bs-btn-bg: #b91b27;
  --bs-btn-border-color: #b91b27;
  --bs-btn-disabled-bg: #e4535f;
  --bs-btn-disabled-border-color: #e4535f;
}

.btn-outline-primary {
  --bs-btn-color: #b91b27;
  --bs-btn-border-color: #b91b27;
}

.btn:hover {
  --bs-btn-hover-bg: #b91b27;
  --bs-btn-hover-border-color: #b91b27;
}

.btn.disabled,
.btn:disabled {
  cursor: not-allowed;
  pointer-events: auto;
}

hr {
  margin: 2rem 0;
}

/**
 * Menu
 */

.logo {
  width: 280px;
  padding: 0.5rem;
  padding-left: 0;
  position: relative;
}

.logo:after {
  content: "";
  position: absolute;
  bottom: -3px;
  right: 0;
  height: 2px;
  width: 78%;
  background-color: #c0c0c2;
  transform: translateY(-20px) scaleX(0);
  transform-origin: left center;
  transition: all 0.2s ease-in-out;
}

.logo:hover:after {
  transform: translateY(-20px) scaleX(1);
}

@media (max-width: 576px) {
  .logo {
    width: 190px;
  }
}

.main-menu > div {
  height: 100%;
}

@media (min-width: 992px) {
  .main-menu__tree > li.category {
    position: relative;
  }
  .main-menu__tree > li .menu-container {
    top: 68px !important;
    padding: 2rem 1rem;
    width: fit-content;
  }
}

#_desktop_search {
  flex-grow: 1;
  padding: 1rem;
  max-width: 600px;
}

#search_widget {
  width: 100%;
}

#search_widget form i {
  cursor: pointer;
}

#search_widget form i.search {
  right: 1rem;
}

#search_widget form i.clear {
  display: none;
}

#search_widget form i.search:hover {
  color: var(--bs-primary);
}

#search_widget form input {
  padding-left: 20px;
}

.search-widgets__dropdown {
  z-index: 1055;
  max-width: 35.5rem;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

#_desktop_cart {
  order: 3;
  width: auto;
  display: flex;
  align-items: center;
}

.header {
  position: inherit;
}

.header-menu {
  border-bottom: 1px solid var(--bs-gray-200);
}

.main-menu__tree > li:first-of-type > a {
  padding-left: 0;
}

.main-menu__tree .submenu {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.main-menu__tree ul[data-depth="1"] > li.category {
  margin-bottom: 1rem;
}

.main-menu__tree .submenu a::before {
  content: ">";
  display: inline-block;
  margin-right: 0.125rem;
  transform: translateY(-0.08rem);
}

.main-menu__tree__link:hover {
  color: var(--bs-link-color);
}

.header-block__action-btn[aria-controls="mobileMenu"]::before {
  content: "menu";
  margin-right: 0.5rem;
  transform: translateY(-0.08rem);
}

@media (max-width: 1200px) {
  .main-menu {
    justify-content: flex-end !important;
  }
}

.menu-container ul.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  max-width: 750px;
}

@media (max-width: 1400px) {
  .menu-container ul.row {
    max-width: 600px;
  }
}

.menu-container ul.row > li.category {
  width: auto;
  margin: 0.4rem 0.2rem;
}

/* li.category:hover::after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgb(0 0 0 / 40%);
  pointer-events: none;
} */

/**
 * Content
 */

#content-wrapper {
  padding-bottom: 0;
}

.breadcrumb__wrapper {
  margin-bottom: 4rem;
}

@media (max-width: 767.98px) {
  .breadcrumb__wrapper {
    margin-bottom: 1rem;
  }
}

.breadcrumb__wrapper + #notifications {
  margin-top: -2rem;
}

.alert {
  margin-bottom: 2rem;
}

.section-title {
  margin-bottom: 1rem;
}

/**
 * Slider
 */

.ratio-homeSlider {
  min-height: 420px;
  max-height: 420px;
  max-width: 1320px;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.carousel.slide {
  padding: 0 0.75rem;
}

.carousel-inner {
  border-radius: 12px;
  overflow: hidden;
}

@media (max-width: 576px) {
  .ratio-homeSlider {
    margin-top: 0.75rem;
  }
}

.carousel .carousel-caption {
  color: white;
  max-width: 480px;
}

.carousel .carousel-caption .h2,
.carousel .carousel-caption h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.carousel .carousel-content p {
  color: white;
}

.carousel .carousel-control-next,
.carousel .carousel-control-prev {
  display: none;
}

.carousel-caption {
  left: 6%;
}

.carousel-inner picture {
  min-height: 500px;
  min-width: 100%;
  padding: 2rem;
}

.thumbnails__container picture,
.thumbnails__container picture img {
  min-height: 80px;
}

.carousel-inner picture,
.thumbnails__container picture {
  display: inline-block;
  border-radius: 6px;
}

.carousel .carousel-caption h2.text-uppercase {
  text-transform: none !important;
}
.carousel-content::before {
  content: "";
  display: inline-block;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    30deg,
    rgb(65 0 8) 0%,
    rgb(191 8 25 / 70%) 30%,
    rgba(250, 32, 51, 0) 70%
  );
}

/**
 * Products
 */

.product-miniature__title {
  color: black;
}

.thumbnails__container .thumbnail.active img {
  border-color: var(--bs-primary);
}

.product__payment-logos {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 10fr 10fr 10fr 18fr 15fr 10fr 12fr 8fr;
  align-items: center;
  gap: 1.2rem;
}

.product__payment-logos img {
  width: 100%;
  max-height: 40px;
}

.blockreassurance_product .item-product {
  display: none;
}

.line {
  margin: 3rem 0;
}

.line--small {
  margin: 1.5rem 0;
}

.blockreassurance_product .block-title {
  font-weight: bold;
}

.block-category .category-cover {
  display: none;
}

.subcategories .subcategory {
  min-height: 90px;
}

#category #left-column {
  background: var(--bs-gray-100);
  height: fit-content;
  border-radius: 10px;
  padding: 1.5rem;
  top: 2rem;
  margin-bottom: 2rem;
}

#product-images {
  padding: 0;
}

@media (min-width: 992px) {
  #category #content-wrapper {
    padding-left: 2rem;
  }
}

.accordion {
  --bs-accordion-bg: transparent;
}

.subcategory__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#index .subcategory__image {
  width: 6rem;
}

#index #home-slider + .container {
  padding: 2rem 2rem 1.7rem 2rem;
  background-color: var(--bs-gray-100);
  border-radius: 15px;
  max-width: 1300px;
}

#category .subcategories {
  padding: 1.5rem 1.1rem 1.2rem 1.1rem;
  background-color: var(--bs-gray-100);
  border-radius: 15px;
  margin-bottom: 2rem;
}

#index #home-slider + .container .section-title {
  margin-top: 0;
}

.subcategory__wrapper {
  word-wrap: break-word;
  word-break: break-word;
}

.subcategory {
  background-color: white;
  border-radius: 10px;
  border: 1px solid #ebebeb;
}

.product__tax-label {
  display: none;
}

#product .carousel .carousel-item img {
  border-radius: 12px;
}

.subcategory__image .img-fluid {
  width: auto;
  max-height: 100px;
}

.page-index .subcategory__image .img-fluid {
  padding: 0.5rem;
}

.product-miniature__quickview {
  display: none !important;
}

.product-miniature .product-miniature__infos {
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 10px;
}

.product-miniature .product-miniature__image-container {
  min-height: 250px;
  padding: 1rem;
  border-bottom: 1px solid var(--bs-gray-200);
  display: flex;
  align-items: center;
}

@media (max-width: 600px) {
  .product-miniature .product-miniature__image-container {
    padding: 0;
  }
  .product-miniature .product-miniature__infos {
    padding: 4px 6px;
  }
}

.product-miniature .product-miniature__link:hover .product-miniature__image {
  transform: none;
}

.product-miniature .card {
  border: 1px solid var(--bs-gray-200);
}

.product-miniature__infos__bottom button.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
}

.product-miniature__infos__bottom button.btn-primary i {
  font-size: 20px;
}

.product__delivery {
  width: 100%;
}

.product__delivery p {
  font-size: 14px;
  line-height: 1.5rem;
  color: #141414;
  margin-bottom: 0;
}

.product__delivery p:before {
  display: inline-block;
  content: "";
  width: 10px;
  height: 10px;
  background: #ff6a6a;
  border-radius: 50%;
  margin-right: 1rem;
}

.product__delivery.product__delivery--sendable p:before {
  background: #0ddd0d;
}

.badge.on-sale {
  display: none;
}

.products-sort-order .dropdown-menu a:first-of-type {
  display: none;
}

.products.row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
}

@media (max-width: 600px) {
  .products.row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.products.row article {
  width: auto;
}

#search-filters hr {
  display: none;
}

.accordion-button:not(.collapsed) {
  background: transparent;
}

#product #content-wrapper .product + .line + .row {
  background: white;
  border-radius: 10px;
  padding: 1rem;
}

body#product {
  background: #f8f9fa;
}

body#product #product-images {
  background: white;
  border-radius: 6px;
}

body#product #wrapper .product__col {
  background: white;
  border-radius: 6px;
  padding-top: 1.5rem;
  height: fit-content;
}

body#product .footer_store__box {
  background: white;
}

body#product .email-subscription,
body#product .footer__main {
  background: white;
}

.product__details,
.product__features {
  background: white;
}

.detail {
  border: none;
}

.page-link:hover {
  color: var(--bs-pagination-color);
}

/**
 * Cart
 */

.page-cart #wrapper > div.container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/**
 * Checkout
 */
.payment__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.payment__option {
  border: 1px solid var(--bs-gray-200);
  padding: 1rem;
  border-radius: 6px;
}

.payment__option > label {
  margin-bottom: 0 !important;
}

.payment__option img {
  max-width: 50px;
}

.checkout__steps--success .checkout__steps__text {
  white-space: nowrap;
}

.product-line__actions {
  display: flex;
  justify-content: flex-end;
}

.product-line__informations .quantity-button .input-group {
  justify-content: flex-end;
}

.product-line__informations .col-12 {
  display: flex;
  justify-content: flex-end;
}

/* TODO: no clue if this might be dangerous */
.ps-hidden {
  display: none !important;
}

#customer-form {
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .checkout__steps.py-md-4 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

.js-address-form .form-fields {
  display: flex;
  flex-direction: column;
}

.form-check:has([for="field-newsletter"]) {
  display: none;
}

.form-footer {
  display: flex;
  justify-content: flex-end;
}

[for="password-form__check"] .fw-bold {
  font-weight: var(--bs-body-font-weight) !important;
}

[for="password-form__check"] .text-muted {
  display: none;
}

.delivery-options__container hr {
  margin: 1rem 0;
}

.cart-grid-right .blockreassurance_product {
  margin-bottom: 4rem;
}

.form-select {
  padding: 8px 16px;
  border-color: #ced4da;
}

.veloyd-pickup-points {
  background: #ebebeb;
  border-radius: 6px;
}

/**
 * Footer
 */

.custom-text__content h3 {
  font-weight: 1.25rem;
  color: var(--bs-gray-900);
}

.footer {
  --footer-background-color: var(--bs-gray-100);
  --footer-heading-color: var(--bs-gray-900);
  --footer-text-color: var(--bs-gray-700);
  --footer-hover-color: black;
}

.footer_store__box {
  box-shadow: 0 12px 35px -20px rgba(0, 0, 0, 0.25);
  background-color: var(--bs-gray-100);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  margin-top: 1rem;
  margin-bottom: 3rem;
}

.footer_store__text {
  width: 50%;
  padding: 2rem;
  display: flex;
  align-items: center;
}

.footer_store__text #custom-text {
  padding: 0;
}

.footer_store__image {
  width: 50%;
  background-image: url("../img/store.jpeg");
  background-size: cover;
  background-position: center 70%;
  min-height: 250px;
}

@media (max-width: 576px) {
  .footer_store__text {
    width: 100%;
    order: 2;
    padding: 1.4rem 0.3rem;
  }
  .footer_store__image {
    width: 100%;
    order: 1;
    min-height: 200px;
  }
}

.footer__before {
  border-top: 1px solid var(--bs-gray-200);
  border-bottom: 1px solid var(--bs-gray-200);
}

.footer h2 {
  color: var(--bs-gray-900);
}

.email-subscription__content {
  align-items: center;
}

p.email-subscription__label {
  margin-bottom: 0;
}

.email-subscription__content__infos p {
  display: none;
}

.copyright {
  display: none;
}

.footer__main__top .block-contact {
  margin-left: auto;
}

.footer .footer__block__title {
  margin-bottom: 0.5rem;
}

.contact__infos {
  line-height: 1.5;
}

.contact__phone i {
  display: none;
}

.contact__email {
  display: none;
}

.email-subscription .email-subscription__content {
  max-width: none;
}

.email-subscription .email-subscription__content__inputs input[type="email"] {
  color: black;
}

.contact__infos {
  white-space: nowrap;
}

/**
 * Splide banners
 */

.header-top__left {
  overflow: hidden;
}

.splide__container {
  box-sizing: border-box;
  position: relative;
}
.splide__list {
  backface-visibility: hidden;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}
.splide.is-initialized:not(.is-active) .splide__list {
  display: block;
}
.splide__pagination {
  -ms-flex-align: center;
  align-items: center;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0;
  pointer-events: none;
}
.splide__pagination li {
  display: inline-block;
  line-height: 1;
  list-style-type: none;
  margin: 0;
  pointer-events: auto;
}
.splide:not(.is-overflow) .splide__pagination {
  display: none;
}
.splide__progress__bar {
  width: 0;
}
.splide {
  position: relative;
  visibility: hidden;
}
.splide.is-initialized,
.splide.is-rendered {
  visibility: visible;
}
.splide__slide {
  backface-visibility: hidden;
  box-sizing: border-box;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  list-style-type: none !important;
  margin: 0;
  position: relative;
}
.splide__slide__content {
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 14px;
  white-space: nowrap;
}
.splide__slide img {
  vertical-align: bottom;
}
.splide__spinner {
  animation: splide-loading 1s linear infinite;
  border: 2px solid #999;
  border-left-color: transparent;
  border-radius: 50%;
  bottom: 0;
  contain: strict;
  display: inline-block;
  height: 20px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
}
.splide__sr {
  clip: rect(0 0 0 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
.splide__toggle.is-active .splide__toggle__play,
.splide__toggle__pause {
  display: none;
}
.splide__toggle.is-active .splide__toggle__pause {
  display: inline;
}
.splide__track {
  overflow: hidden;
  position: relative;
  z-index: 0;
}
@keyframes splide-loading {
  0% {
    transform: rotate(0);
  }
  to {
    transform: rotate(1turn);
  }
}
.splide__track--draggable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.splide__track--fade > .splide__list > .splide__slide {
  margin: 0 !important;
  opacity: 0;
  z-index: 0;
}
.splide__track--fade > .splide__list > .splide__slide.is-active {
  opacity: 1;
  z-index: 1;
}
.splide--rtl {
  direction: rtl;
}
.splide__track--ttb > .splide__list {
  display: block;
}
.splide__arrow {
  -ms-flex-align: center;
  align-items: center;
  background: #ccc;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: -ms-flexbox;
  display: flex;
  height: 2em;
  -ms-flex-pack: center;
  justify-content: center;
  opacity: 0.7;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2em;
  z-index: 1;
}
.splide__arrow svg {
  fill: #000;
  height: 1.2em;
  width: 1.2em;
}
.splide__arrow:hover:not(:disabled) {
  opacity: 0.9;
}
.splide__arrow:disabled {
  opacity: 0.3;
}
.splide__arrow:focus-visible {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}
.splide__arrow--prev {
  left: 1em;
}
.splide__arrow--prev svg {
  transform: scaleX(-1);
}
.splide__arrow--next {
  right: 1em;
}
.splide.is-focus-in .splide__arrow:focus {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}
.splide__pagination {
  bottom: 0.5em;
  left: 0;
  padding: 0 1em;
  position: absolute;
  right: 0;
  z-index: 1;
}
.splide__pagination__page {
  background: #ccc;
  border: 0;
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  margin: 3px;
  opacity: 0.7;
  padding: 0;
  position: relative;
  transition: transform 0.2s linear;
  width: 8px;
}
.splide__pagination__page.is-active {
  background: #fff;
  transform: scale(1.4);
  z-index: 1;
}
.splide__pagination__page:hover {
  cursor: pointer;
  opacity: 0.9;
}
.splide__pagination__page:focus-visible {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}
.splide.is-focus-in .splide__pagination__page:focus {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}
.splide__progress__bar {
  background: #ccc;
  height: 3px;
}
.splide__slide {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.splide__slide:focus {
  outline: 0;
}
@supports (outline-offset: -3px) {
  .splide__slide:focus-visible {
    outline: 3px solid #0bf;
    outline-offset: -3px;
  }
}
@media screen and (-ms-high-contrast: none) {
  .splide__slide:focus-visible {
    border: 3px solid #0bf;
  }
}
@supports (outline-offset: -3px) {
  .splide.is-focus-in .splide__slide:focus {
    outline: 3px solid #0bf;
    outline-offset: -3px;
  }
}
@media screen and (-ms-high-contrast: none) {
  .splide.is-focus-in .splide__slide:focus {
    border: 3px solid #0bf;
  }
  .splide.is-focus-in .splide__track > .splide__list > .splide__slide:focus {
    border-color: #0bf;
  }
}
.splide__toggle {
  cursor: pointer;
}
.splide__toggle:focus-visible {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}
.splide.is-focus-in .splide__toggle:focus {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}
.splide__track--nav > .splide__list > .splide__slide {
  border: 3px solid transparent;
  cursor: pointer;
}
.splide__track--nav > .splide__list > .splide__slide.is-active {
  border: 3px solid #000;
}
.splide__arrows--rtl .splide__arrow--prev {
  left: auto;
  right: 1em;
}
.splide__arrows--rtl .splide__arrow--prev svg {
  transform: scaleX(1);
}
.splide__arrows--rtl .splide__arrow--next {
  left: 1em;
  right: auto;
}
.splide__arrows--rtl .splide__arrow--next svg {
  transform: scaleX(-1);
}
.splide__arrows--ttb .splide__arrow {
  left: 50%;
  transform: translate(-50%);
}
.splide__arrows--ttb .splide__arrow--prev {
  top: 1em;
}
.splide__arrows--ttb .splide__arrow--prev svg {
  transform: rotate(-90deg);
}
.splide__arrows--ttb .splide__arrow--next {
  bottom: 1em;
  top: auto;
}
.splide__arrows--ttb .splide__arrow--next svg {
  transform: rotate(90deg);
}
.splide__pagination--ttb {
  bottom: 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  left: auto;
  padding: 1em 0;
  right: 0.5em;
  top: 0;
}

.cms-page-link {
  color: var(--bs-link-color);
}
