/********************
	Part - Style global
********************/
html,
body {
  height: 100%;
  overflow-x: hidden;
}

@-ms-viewport {
  width: device-width;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: transparent;
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: 'Barlow Semi Condensed', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.25em;
  font-size: 16px;
}

[tabindex="-1"]:focus {
  outline: none !important
}

p {
  margin: 0;
}

b, strong {
  font-weight: bolder;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: .5rem;
}

h3, h4, .h3, .h4 {
  font-size: 1.125rem;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 700;
  line-height: 1.1;
  color: #272727;
}

h2, h3 {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 400;
  font-style: normal;
}

h2, .h2 {
  font-size: 20px;
}

abbr[data-original-title], abbr[title] {
  cursor: help;
  border-bottom: 1px dotted var(--color-grey-default)
}

address {
  font-style: normal;
  line-height: inherit
}

address, dl, ol, ul {
  margin-bottom: 1rem
}

dl, ol, ul {
  margin-top: 0
}

ol ol, ol ul, ul ol, ul ul {
  margin-bottom: 0
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

dt {
  font-weight: 700
}

dd {
  margin-bottom: .5rem;
  margin-left: 0
}

blockquote {
  margin: 0 0 1rem
}

a {
  color: inherit;
  text-decoration: none;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 500;
  background-color: transparent;
}

a:hover {
  color: var(--link-color-on-hover);
  text-decoration: none;
}

a:focus {
  color: #208094;
  text-decoration: underline;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px
}

a:not([href]):not([tabindex]),
a:not([href]):not([tabindex]):focus,
a:not([href]):not([tabindex]):hover {
  color: inherit;
  text-decoration: none
}

a:not([href]):not([tabindex]):focus {
  outline: none
}

figure {
  margin: 0 0 1rem
}

img {
  vertical-align: middle;
  max-width: 100%;
  object-fit: contain;
}

[role=button] {
  cursor: pointer
}

[role=button], a, area, button, input, label, select, summary, textarea {
  -ms-touch-action: manipulation;
  touch-action: manipulation
}

table {
  border-collapse: collapse;
  background-color: transparent
}

caption {
  padding-top: .75rem;
  padding-bottom: .75rem;
  color: var(--color-grey-font-default);
  caption-side: bottom
}

caption, th {
  text-align: left
}

label {
  display: inline-block;
  margin-bottom: .5rem
}

button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color
}

button, input, select, textarea {
  line-height: inherit
}

input[type=checkbox]:disabled,
input[type=radio]:disabled {
  cursor: not-allowed
}

input[type=date],
input[type=datetime-local],
input[type=month],
input[type=time] {
  -webkit-appearance: listbox
}

textarea {
  resize: vertical
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0
}

legend {
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: .5rem;
  font-size: 0.75rem;
  line-height: inherit
}

input[type=search] {
  -webkit-appearance: none
}

output {
  display: inline-block
}

[hidden] {
  display: none !important
}

.clearfix:after {
  content: "";
  display: table;
  clear: both
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto
}

.color,
.custom-checkbox input[type=checkbox] + span.color {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-block;
  margin: .3125rem;
  box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, .2);
  border: 1px solid rgba(0, 0, 0, .05);
  cursor: pointer;
  background-size: contain
}

.color.active, .color:hover,
.custom-checkbox input[type=checkbox] + span.color.active,
.custom-checkbox input[type=checkbox] + span.color:hover,
.facet-label.active .custom-checkbox span.color,
.facet-label:hover .custom-checkbox span.color {
  border: 2px solid var(--color-black-default)
}

.h1, .h2, .h3 {
  text-transform: uppercase;
  color: var(--color-black-default)
}

.h4 {
  font-weight: 700;
  color: var(--color-black-default)
}

.label, label {
  color: var(--color-black-default);
  text-align: right;
  font-size: .875rem
}

small.label, small.value {
  font-size: .8125rem
}

@media (max-width: 767px) {
  .bold {
    font-weight: 700
  }
}

.text-muted {
  font-size: .875rem
}

.done {
  color: #4cbb6c;
  display: inline-block;
  padding: 0 .8125rem;
  margin-right: 1.563rem
}

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

.group-span-filestyle label {
  margin: 0
}

.popover.bs-tether-element-attached-top {
  margin-top: 0
}

/********************
	Part - Style payment-confirmation
********************/
@media (max-width: 575px) {
  #payment-confirmation button {
    font-size: .875rem
  }

  #payment-confirmation button.btn {
    white-space: normal
  }
}

/********************
	Part - Style payment-binary
********************/
.js-payment-binary,
.js-payment-binary .accept-cgv {
  display: none
}

.js-payment-binary.disabled {
  opacity: .6;
  cursor: not-allowed
}

.js-payment-binary.disabled:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none
}

.js-payment-binary.disabled .accept-cgv {
  display: block
}

/********************
	Part - Style table-labeled
********************/
.table-labeled td, .table-labeled th {
  vertical-align: middle
}

.table-labeled .label {
  font-weight: 400;
  border-radius: 3px;
  font-size: inherit;
  padding: .25rem .375rem;
  margin: .125rem;
  color: #fff;
  white-space: nowrap
}

/********************
	Part - Style definition-list
********************/
.definition-list dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap
}

.definition-list dl dt {
  font-weight: 400
}

.definition-list dl dd, .definition-list dl dt {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 45%;
  flex: 0 0 45%;
  background: var(--color-grey-default);
  padding: .625rem;
  margin: .125rem
}

.definition-list dl dd:nth-of-type(2n), .definition-list dl dt:nth-of-type(2n) {
  background: #f6f6f6
}

/********************
	Part - nav-item
********************/
.nav-item .nav-link, .nav-item .nav-separtor {
  color: var(--color-grey-font-default);
  font-weight: 700
}

.nav-item .nav-link.active, .nav-item .nav-separtor.active {
  color: var(--color-black-default)
}

/********************
	Part -separator
********************/
.separator {
  margin: 0;
  border-color: rgba(0, 0, 0, .25)
}

/********************
	Part - page authentication
********************/
#authentication .tooltip.tooltip-bottom {
  padding: 0;
  margin: 0
}

#authentication .custom-checkbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex
}

#authentication .custom-checkbox span {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 0.9375rem;
  flex: 0 0 0.9375rem
}

#authentication .custom-checkbox label {
  padding-left: .625rem
}

#authentication .radio-inline, #identity .radio-inline {
  padding: 0
}

#authentication .radio-inline .custom-radio, #identity .radio-inline .custom-radio {
  margin-right: 0
}

/********************
	Part - order-confirmation
********************/
#order-confirmation #registration-form {
  width: 50%;
  margin: 0 auto 1rem
}

@media (max-width: 991px) {
  #order-confirmation #registration-form {
    width: 100%
  }
}

/********************
	Part - order-items
********************/
#order-items {
  border-right: 1px solid var(--color-grey-default)
}

#order-items hr {
  border-top-color: var(--color-black-default)
}

#order-items table {
  width: 100%
}

#order-items table tr {
  height: 1.875rem
}

#order-items table tr td:last-child {
  text-align: right
}

#order-items .order-line {
  margin-top: 1rem
}

#order-items .image img {
  width: 100%;
  border: 1px solid gray-lighter;
  margin-bottom: 1rem
}

#order-items .details {
  margin-bottom: 1rem
}

#order-items .details .customizations {
  margin-top: .625rem
}

#order-items .qty {
  margin-bottom: 1rem
}

@media (max-width: 767px) {
  #order-items {
    border-right: 0;
    margin-bottom: 2.5rem
  }

  #order-items .card-title {
    border-bottom: 1px solid var(--color-grey-default);
    margin-bottom: 1rem;
    padding-bottom: 1rem
  }

  #order-items hr {
    border-top-color: var(--color-grey-default)
  }
}

/********************
	Part - order-details
********************/
#order-details {
  padding-left: 1.875rem
}

#order-details > .card-title {
  margin-bottom: 1.875rem
}

#order-details ul {
  margin-bottom: 1.25rem
}

#order-details ul li {
  margin-bottom: .625rem
}

@media (max-width: 767px) {
  #order-details {
    padding-left: .9375rem
  }

  #order-details .card-title {
    border-bottom: 1px solid var(--color-grey-default);
    margin-bottom: 1rem;
    padding-bottom: 1rem
  }
}

/********************
	Part - page page-order
********************/
.page-order .table {
  margin-bottom: 0
}

.page-order table td, .page-order table th {
  padding: .5rem
}

.page-order table thead th {
  text-align: center
}

/********************
	Part - page-order-detail
********************/
.page-order-detail {
  font-size: .875rem;
  color: var(--color-grey-font-default)
}

.page-order-detail .box {
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .2);
  background: #fff;
  padding: 1rem;
  margin-bottom: 1rem
}

.page-order-detail h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-black-default);
  margin-bottom: 1rem
}

.page-order-detail #order-infos ul {
  margin: 0
}

.page-order-detail #order-history .history-lines .history-line {
  padding: .5rem 0;
  border-bottom: 1px solid #f6f6f6
}

.page-order-detail #order-history .history-lines .history-line:last-child {
  border-bottom: 0
}

.page-order-detail #order-history .history-lines .history-line .label {
  display: inline-block;
  margin: .25rem 0;
  padding: .25rem .375rem;
  color: #fff;
  border-radius: 3px
}

.page-order-detail .addresses {
  margin: 0 -.9375rem
}

.page-order-detail .addresses h4 {
  font-size: 1rem;
  font-weight: 700
}

.page-order-detail #order-products.return {
  margin-bottom: 1rem
}

.page-order-detail #order-products.return th.head-checkbox {
  width: 30px
}

.page-order-detail #order-products.return td {
  padding: 1.375rem .75rem
}

.page-order-detail #order-products.return td.qty {
  min-width: 125px
}

.page-order-detail #order-products.return td.qty .current {
  width: 30%;
  float: left;
  text-align: right;
  padding-right: .5rem
}

.page-order-detail #order-products.return td.qty .select {
  width: 70%;
  float: left;
  margin: -.625rem 0;
  padding-left: .25rem
}

.page-order-detail #order-products.return td.qty .select select {
  text-align: center
}

.page-order-detail .order-items {
  padding: 0 !important
}

.page-order-detail .order-items .order-item {
  padding: 1rem 1rem 0;
  border-bottom: 1px solid #f6f6f6
}

.page-order-detail .order-items .order-item .checkbox {
  width: 30px;
  float: left;
  padding: 0 .9375rem
}

.page-order-detail .order-items .order-item .content {
  width: calc(100% - 30px);
  float: left;
  padding: 0 .9375rem
}

.page-order-detail .order-items .order-item .desc {
  margin-bottom: 1rem
}

.page-order-detail .order-items .order-item .desc .name {
  font-weight: 700
}

.page-order-detail .order-items .order-item .qty {
  margin-bottom: 1rem
}

.page-order-detail .order-items .order-item .qty .q,
.page-order-detail .order-items .order-item .qty .s {
  margin-bottom: .25rem
}

.page-order-detail .messages .message {
  margin-top: .5rem;
  border-bottom: 1px solid #f6f6f6
}

.page-order-detail .messages .message:last-child {
  border-bottom: 0
}

.page-order-detail .messages .message > div {
  margin-bottom: .5rem
}

.page-order-detail .customization {
  margin-top: .75rem
}

/********************
	Part - order-return-infos
********************/
#order-return-infos .thead-default th {
  color: var(--color-black-default)
}

#order-return-infos .customization {
  margin-top: .75rem
}

/********************
	Part - login
********************/
.login-form {
  margin-top: 15px
}

/********************
	Part - renew password
********************/
.send-renew-password-link {
  padding-left: 10px;
  padding-right: 10px
}

.renew-password {
  margin-left: 10px
}

.renew-password .email {
  padding-bottom: 30px;
  padding-left: 15px;
}

/********************
	Part - ???
********************/
.comments_note {
  text-align: center;
  color: var(--color-grey-font-default)
}

.count {
  color: var(--color-grey-font-default);
  font-weight: 700;
  position: relative;
  bottom: .5rem
}

/********************
	Part - #products
********************/
#products .products-select {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between
}

#products .up {
  margin-bottom: 1rem
}

#products .up .btn-secondary,
#products .up .btn-tertiary {
  color: var(--color-grey-font-default);
  text-transform: inherit
}

#products .up .btn-secondary .material-icons, #products .up .btn-tertiary .material-icons {
  margin-right: 0
}

/********************
	Part - advertising-block
********************/
.advertising-block {
  margin-bottom: 1.563rem
}

.advertising-block img {
  width: 100%
}

/********************
	Part - content wrapper
********************/
@media (max-width: 767px) {
  #best-sales #content-wrapper,
  #new-products #content-wrapper,
  #prices-drop #content-wrapper {
    width: 100%
  }
}

/********************
	Part - card
********************/
@media screen and (max-width: 767px) {
  .card-block {
    padding: 0
  }

  .card {
    box-shadow: none;
    background-color: inherit;
    border: none
  }
}

.input-color {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 1.25rem;
  width: 1.25rem
}

.input-container {
  position: relative
}

.input-radio {
  position: absolute;
  top: 0;
  cursor: pointer;
  opacity: 0;
  width: 100%;
  height: 100%
}

.input-color:checked + span, .input-color:hover + span, .input-radio:checked + span, .input-radio:hover + span {
  border: 2px solid var(--color-black-default)
}

.radio-label {
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .2);
  background: #fff;
  display: inline-block;
  padding: .125rem .625rem;
  font-weight: 600;
  border: 2px solid #fff
}


#main .page-content h6 {
  margin-bottom: 1.125rem
}

@media (max-width: 991px) {
  .container {
    max-width: 100%
  }
}

@media (max-width: 767px) {
  #checkout-cart-summary {
    float: none;
    width: 100%;
    margin-top: 1rem
  }

  .default-input {
    min-width: 100%
  }

  label {
    clear: both
  }

  .dropdown-item,
  .menu {
    padding-left: 0
  }
}

/* ==============================================================
   Page Blog — /actualites (module ybc_blog)
   ============================================================== */
#ybc_blog_page #wrapper
{
  padding-top: 50px;
}

#ybc_blog_page #content-wrapper, #content-wrapper.js-content-wrapper {
  padding-top: 0;
  margin-top: 0;
}
.breadcrumb__wrapper nav {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

#wrapper {
  background: #fff;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  #ybc_blog_page #wrapper {
    margin-top: 50px !important;
  }
}

.ybc-blog #content-wrapper .ybc-blog-wrapper {
  width: 100%;
}
.ybc-blog #content-wrapper .ybc-blog-wrapper {
  background-color: #fff;
  margin-bottom: 30px;
}

/* Reduce the excessive top spacing added by the ybc_blog module on blog list wrapper */
#ybc_blog_page #content-wrapper .ybc-blog-wrapper.ybc-page-home {
  padding-top: 0;
  margin-top: 0;
}


.ybc-page-home {
  margin-bottom: 0;
}
.ybc-blog-list > li .ybc_item_img {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: #f2f2f4;
  background-size: 80% auto !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

#ybc_blog_page .breadcrumb__item {
  font-weight: 400;
  color: #A0A0A0 !important;
  opacity: .9;
  text-transform: lowercase;
  font-size: 10px;
}

#ybc_blog_page .breadcrumb__item > a > span{
  font-size: 11px;
  font-family: 'Barlow', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #A0A0A0 !important;
  opacity: .9;
}

#ybc_blog_page .ybc_title_block:hover {
  color: #000000 !important;
}

#ybc_blog_page .breadcrumb__list .breadcrumb__item::after {
  margin: 0 2px !important;
}

h1.page-heading.product-listing {
  font-size: 30px;
  margin: 30px 0;
  text-align: center;
  letter-spacing: normal;
}

#ybc_blog_page a {
  outline: none !important;
}

.ybc-blog-wrapper-blog-list .page-heading {
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: #232323;
  margin: 0 0 2.5rem;
}

.ybc-blog-wrapper-blog-list ul.ybc-blog-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0 -3px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.ybc-blog-wrapper-blog-list ul.ybc-blog-list > li {
  width: 33.3333333%;
  display: flex;
  margin: 0 -10px 0 -2px !important;
  padding: 0 !important;
}

/* ---- Carte article ---- */
.ybc-blog-wrapper-blog-list .post-wrapper {
  background: #fff;
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
}

/* Point indicateur au hover */
.ybc-blog-wrapper-blog-list .post-wrapper::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0758D1;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0;
}

.ybc-blog-wrapper-blog-list .post-wrapper:hover::after {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

/* Zone texte — fond blanc */
.ybc-blog-wrapper-blog-list .post-wrapper .ybc-blog-wrapper-content {
  padding: 1.25rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #fff;
}

.ybc-blog-wrapper-blog-list .post-wrapper .ybc-blog-wrapper-content-main {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

#ybc_blog_page .ybc_title_block {
  font-weight: 700;
  color: #000;
  text-align: center;
  font-size: 20px;
  line-height: 25px;
  margin-top: 9px;
  padding: 5px 0 9px;
}

.ybc-blog-wrapper-blog-list .post-wrapper .ybc-blog-latest-toolbar {
  display: none;
}

.ybc-blog-wrapper-blog-list .post-wrapper .ybc-blog-sidear-post-meta {
  display: none;
}

#ybc_blog_page .blog_description {
  clear: left;
  font-size: 14px;
  color: #414141;
}

#ybc_blog_page .blog_description p {
  font-family: 'Barlow', Arial, Helvetica, sans-serif !important;
  font-weight: 400;
  font-size: 14px;
  text-align: justify;
  color: #414141;
  line-height: 20px;
}

#ybc_blog_page .ybc-blog-wrapper-content .blog_description,
#ybc_blog_page .ybc-blog-wrapper-content h1 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.ybc-blog-list>li,
.ybc_blog_layout_grid .ybc-blog-list li,
.ybc_blog_layout_large_grid .ybc-blog-list li {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
}

.ybc-blog-wrapper-blog-list .post-wrapper a.read_more {
  display: none;
}

/* Date de publication */
.ybc-blog-wrapper-blog-list .post-wrapper .post-date {
  display: block;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #A0A0A0;
  text-align: center;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

/* Lien "Lire la suite" */
.ybc-blog-wrapper-blog-list .post-wrapper a.post-read-more {
  display: inline-block;
  align-self: center;
  font-family: Montserrat, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #232323;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  margin-top: 0.5rem;
  transition: color 0.2s ease;
}

.ybc-blog-wrapper-blog-list .post-wrapper a.post-read-more:hover {
  color: #F99F81;
  border-bottom-color: #F99F81;
}

/* Hover titre — couleur corail cohérente avec le thème */
#ybc_blog_page .ybc_title_block:hover {
  color: #F99F81;
}

/* ---- Pagination ----
   Le module génère : <dev class="links"><b>1</b><a>2</a>....<a class="next">></a><a class="last">>|</a></dev>
   "dev" est la balise container non-standard utilisée par le module.
   ---------------------------------------------------------------- */
.ybc-blog-wrapper-blog-list .blog-paggination {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.ybc-blog-wrapper-blog-list .blog-paggination dev.links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Tous les liens et la page active */
.ybc-blog-wrapper-blog-list .blog-paggination dev.links a,
.ybc-blog-wrapper-blog-list .blog-paggination dev.links b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: #232323;
  background: transparent;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease;
}

/* Page active — fond bleu */
.ybc-blog-wrapper-blog-list .blog-paggination dev.links b {
  background: #0054B7;
  color: #A9C5E7;
  font-weight: 700;
  border-radius: 2px;
}

/* Hover sur les liens numérotés */
.ybc-blog-wrapper-blog-list .blog-paggination dev.links a:hover {
  color: #2980b9;
}

/* Flèches next/last — légèrement espacées */
.ybc-blog-wrapper-blog-list .blog-paggination dev.links a.next,
.ybc-blog-wrapper-blog-list .blog-paggination dev.links a.last {
  margin-left: 4px;
}

.ybc-blog-wrapper-blog-list .blog-paggination dev.links a.frist,
.ybc-blog-wrapper-blog-list .blog-paggination dev.links a.prev {
  margin-right: 4px;
}

/* Remplacer ">|" et "|<" par des symboles propres */
.ybc-blog-wrapper-blog-list .blog-paggination dev.links a.last span,
.ybc-blog-wrapper-blog-list .blog-paggination dev.links a.frist span {
  font-size: 0;
}

.ybc-blog-wrapper-blog-list .blog-paggination dev.links a.last span::after {
  content: '»';
  font-size: 0.875rem;
}

.ybc-blog-wrapper-blog-list .blog-paggination dev.links a.frist span::after {
  content: '«';
  font-size: 0.875rem;
}

/* Cacher le compteur "Showing X to Y of Z" */
.ybc-blog-wrapper-blog-list .blog-paggination div.results {
  display: none;
}

@media (max-width: 991px) {
  .ybc-blog-wrapper-blog-list ul.ybc-blog-list > li {
    width: 50%;
  }
}

@media (max-width: 575px) {
  .ybc-blog-wrapper-blog-list ul.ybc-blog-list > li {
    width: 100%;
  }
}

/* ==============================================================
   Page Blog — détail article (module ybc_blog)
   ============================================================== */

.ybc-blog-wrapper-detail .ybc-blog-wrapper-content .blog_description,
.ybc-blog-wrapper-detail .ybc-blog-wrapper-content h1,
#ybc_blog_page .ybc-blog-wrapper-content .blog_description,
#ybc_blog_page .ybc-blog-wrapper-content h1 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

#ybc_blog_page .blog_description p {
  font-family: 'Barlow', Arial, Helvetica, sans-serif !important;
  font-weight: 400;
  text-align: justify;
}

#ybc_blog_page .title_cat {
  font-size: 32px;
  font-weight: 700;
}

.page-heading .title_cat {
  float: left;
  line-height: 100%;
  margin-bottom: 15px;
  margin-top: 15px;
  text-transform: uppercase;
  width: 100%;
}

span {
  font-family: 'Barlow Semi Condensed', sans-serif;
}

.ybc-blog-wrapper-detail .blog_description p {
  font-family: 'Barlow Semi Condensed', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  margin-bottom: 1em;
}

.ybc-blog-wrapper-detail .blog_description ul {
  list-style: disc;
  padding-left: 30px;
}

.ybc-blog-wrapper-detail .blog_description img,
.ybc_blog_img_wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==============================================================
   Articles similaires — carousel (module ybc_blog)
   Sélecteurs préfixés "div." pour dépasser la spécificité des
   règles identiques présentes dans product.css du module.
   ============================================================== */

/* Conteneur global */
.ybc-blog-related-posts {
  border-top: none;
  padding-top: 30px;
  position: relative;
}

/* Titre */
.ybc-blog-related-posts .title_blog {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: #232323;
  padding-bottom: 20px;
  letter-spacing: 0.04em;
}

/* Espace pour les flèches extérieures */
.ybc-blog-related-posts .ybc-blog-related-posts-wrapper {
  padding: 0 55px;
}

/* Image : carré forcé sur le conteneur, fond gradient visible en letterbox */
div.ybc-blog-related-posts .ybc_item_img {
  display: block;
  float: none;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

div.ybc-blog-related-posts a.ybc_item_img,
div.ybc-blog-related-posts a.ybc_item_img:hover {
  background: linear-gradient(to bottom, #e5e5e5, #ffffff) !important;
  background-color: unset !important;
}

div.ybc-blog-related-posts .ybc_item_img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: none;
}

/* Texte centré */
.ybc-blog-related-posts .ybc_blog_content_block_item {
  text-align: center;
}

/* Titre article */
.ybc-blog-related-posts .ybc_title_block {
  display: block;
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #232323;
  text-decoration: none;
  margin-top: 0.75rem;
  line-height: 1.3;
}

.ybc-blog-related-posts .ybc_title_block:hover {
  color: #0054B7;
}

/* Description */
.ybc-blog-related-posts .blog_description {
  font-size: 0.8125rem;
  color: #555;
  margin-top: 0.375rem;
}

/* Masquer les éléments inutiles */
.ybc-blog-related-posts .ybc-blog-sidear-post-meta,
.ybc-blog-related-posts .ybc-blog-latest-toolbar,
.ybc-blog-related-posts .blog_view_all_button,
.ybc-blog-related-posts .read_more {
  display: none;
}

/* Le module force position:static sur .ybc-blog-related-posts-list, annulant
   le position:relative posé par Slick — on le rétablit avec une spécificité
   suffisante pour que les flèches se positionnent bien par rapport au slider. */
div.ybc-blog-related-posts.ybc_blog_carousel .ybc-blog-related-posts-list.slick-slider {
  position: relative;
}

div.ybc-blog-related-posts.ybc_blog_carousel button.slick-arrow {
  width: 43px;
  height: 43px;
  background: transparent !important;
  border: 1px solid #232323;
  color: #232323 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
  font-size: 0;
  float: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

div.ybc-blog-related-posts.ybc_blog_carousel .ybc-blog-related-posts-list button.slick-arrow.slick-prev {
  left: 0;
  right: auto;
}

div.ybc-blog-related-posts.ybc_blog_carousel .ybc-blog-related-posts-list button.slick-arrow.slick-next {
  right: 0;
  left: auto;
}

div.ybc-blog-related-posts.ybc_blog_carousel button.slick-arrow:hover {
  background: #232323 !important;
}

div.ybc-blog-related-posts.ybc_blog_carousel button.slick-arrow.slick-next:before,
div.ybc-blog-related-posts.ybc_blog_carousel button.slick-arrow.slick-prev:before {
  position: static;
  display: block;
  flex-shrink: 0;
}

div.ybc-blog-related-posts.ybc_blog_carousel button.slick-arrow.slick-next:before {
  transform: rotate(45deg);
}

div.ybc-blog-related-posts.ybc_blog_carousel button.slick-arrow.slick-prev:before {
  transform: rotate(227deg);
}

/* =====================================================
   Produits associés — blog post (style "Vous aimerez aussi")
   ===================================================== */

#ybc-blog-related-products {
  border-top: none;
  padding: 70px 0;
  position: relative;
  float: none !important;
  width: 100%;
  margin-bottom: 0 !important;
  padding-top: 70px !important;
  padding-bottom: 70px !important;
}

#ybc-blog-related-products .title_blog {
  font-size: 40px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgb(65, 65, 65);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 70px 40px;
  letter-spacing: 0.04em;
  text-align: left;
}

#ybc-blog-related-products .title_blog a {
  color: rgb(65, 65, 65);
}

/* Espace pour les flèches */
#ybc-blog-related-products .ybc-blog-related-products-wrapper {
  padding: 0 70px;
  max-width: 1400px;
  margin: 0 auto;
  float: none;
}

/* Cartes moins larges + plus d'air */
#ybc-blog-related-products .ajax_block_product {
  padding: 0 22px;
}

#ybc-blog-related-products .product-container {
  max-width: 330px;
  margin: 0 auto;
  max-height: 600px;
  overflow: hidden;
}

/* Neutralise le style global (autres listes) */
#ybc-blog-related-products .ajax_block_product .left-block {
  height: auto;
}

/* Carte produit : vertical */
#ybc-blog-related-products .product-container {
  display: flex;
  flex-direction: column;
  border: none !important;
}

/* Image : carré avec fond dégradé */
#ybc-blog-related-products .left-block {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: transparent;
  float: none;
}

/* Ajout au panier au hover */
#ybc-blog-related-products .ybc-blog-item-add-to-cart {
  color: #fff;
  padding: 16px;
  width: 100%;
  font-size: 13px;
  font-family: 'Barlow', Arial, Helvetica, sans-serif;
  display: inline-block;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: all .5s ease;
  border: 1px solid #004bd6;
  background-color: #004bd6;
  cursor: pointer;
  text-transform: uppercase;
  margin-top: 40px;
}

#ybc-blog-related-products .ajax_block_product:hover .ybc-blog-item-add-to-cart {
  opacity: 1;
  pointer-events: auto;
}

#ybc-blog-related-products .ybc-blog-item-add-to-cart:hover {
  background-color: #003e8a;
  border-color: #003e8a;
}

#ybc-blog-related-products .left-block a.ybc_item_img {
  display: block;
  width: 100%;
  height: 100%;
}
#ybc-blog-related-products .slick-list .slick-track .ajax_block_product .product-container .left-block a.ybc_item_img,
#ybc-blog-related-products .slick-list .slick-track .ajax_block_product .product-container .left-block a.ybc_item_img:hover {
  background: linear-gradient(to bottom, #e5e5e5, #ffffff);
}

.ajax_block_product .left-block {
  position: relative;
  height: 300px;
  background: transparent;
}

.ajax_block_product .left-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #e5e5e5, #ffffff);
  mix-blend-mode: multiply;
  pointer-events: none; /* le lien reste cliquable */
}

/* Texte : centré sous l'image */
#ybc-blog-related-products .right-block {
  float: none;
  width: 100%;
  text-align: center;
  padding: 0.75rem 0 0;
}

#ybc-blog-related-products .right-block h5 {
  margin: 0 0 0.25rem;
}

#ybc-blog-related-products .right-block h5 a {
  text-transform: uppercase;
  color: rgb(65, 65, 65);
  text-decoration: none;
}

#ybc-blog-related-products .owl-item .right-block h5 a,
#ybc-blog-related-products .slick-slide .right-block h5 a {
  color: rgb(65, 65, 65);
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: -1px;
  font-weight: 700;
  font-size: 16px;
  display: inline-block;
  width: fit-content;
  padding-bottom: 1px;
  font-family: Barlow, Arial, Helvetica, sans-serif !important;
}

#ybc-blog-related-products .right-block h5 a:hover {
  color: #0054B7;
}

#ybc-blog-related-products .blog-product-desc {
  font-size: 0.8125rem;
  color: #555;
  margin: 0.25rem 0;
}

#ybc-blog-related-products .content_price {
  text-align: center;
}

#ybc-blog-related-products .blog-product-list .right-block .content_price .bp-price-display {
  padding: 0 10px;
}

#ybc-blog-related-products .owl-item .right-block .bp-price-display,
#ybc-blog-related-products .slick-slide .right-block .bp-price-display {
  font-weight: 500;
}

#ybc-blog-related-products .content_price span {
  font-size: 16px;
  text-align: center;
  color: rgb(65, 65, 65);
}

#ybc-blog-related-products .bp-price-label,
#ybc-blog-related-products .bp-price-old-label,
#ybc-blog-related-products .bp-percent-label,
#ybc-blog-related-products .bp-save-label {
  display: none;
}

/* Flèches carousel — toujours visibles (Slick ajoute .slick-hidden quand slideCount <= slidesToShow) */
#ybc-blog-related-products .ybc_blog_carousel button.slick-arrow.slick-hidden,
div.ybc-blog-related-posts.ybc_blog_carousel button.slick-arrow.slick-hidden {
  display: flex !important;
}

/* Même problème que pour related posts : le module force position:static
   sur le slider produits. On rétablit position:relative avec une spécificité plus haute. */
#ybc-blog-related-products .ybc-blog-related-products-list .ybc_blog_carousel.slick-slider {
  position: relative;
}

#ybc-blog-related-products .ybc_blog_carousel button.slick-arrow {
  width: 43px;
  height: 43px;
  background: transparent !important;
  border: 1px solid #232323;
  color: #232323!important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
  font-size: 0;
  right: auto;
  left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ybc-blog-related-products .ybc-blog-related-products-list .ybc_blog_carousel button.slick-arrow.slick-prev {
  left: -53px;
  right: auto;
}

#ybc-blog-related-products .ybc-blog-related-products-list .ybc_blog_carousel button.slick-arrow.slick-next {
  right: -53px;
  left: auto;
}

#ybc-blog-related-products .ybc_blog_carousel button.slick-arrow:hover {
  background: #232323 !important;
}

#ybc-blog-related-products .ybc_blog_carousel button.slick-arrow.slick-next:before,
#ybc-blog-related-products .ybc_blog_carousel button.slick-arrow.slick-prev:before {
  content: "";
  display: block;
  position: static;
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-top: 2px solid #232323;
  border-right: 2px solid #232323;
  transition: border-color 0.2s;
}

#ybc-blog-related-products .ybc_blog_carousel button.slick-arrow:hover:before {
  border-color: #fff;
}

#ybc-blog-related-products .ybc_blog_carousel button.slick-arrow.slick-next:before {
  transform: rotate(45deg);
}

#ybc-blog-related-products .ybc_blog_carousel button.slick-arrow.slick-prev:before {
  transform: rotate(225deg);
}

/* Navigation prev/next article */
.ybc-blog-post-nav {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 1rem;
  margin: 2rem 0;
  border-top: 1px solid #e5e5e5;
  padding-top: 0.75rem;
}

.ybc-blog-post-nav__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 48%;
  text-decoration: none;
  color: #232323;
}

.ybc-blog-post-nav__item:hover {
  color: #232323;
  text-decoration: none;
}

.ybc-blog-post-nav__item:hover .ybc-blog-post-nav__title {
  text-decoration: underline;
}

.ybc-blog-post-nav__next {
  text-align: right;
  margin-left: auto;
}

.ybc-blog-post-nav__label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
}

.ybc-blog-post-nav__title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}

.ybc-blog-post-nav__disabled {
  display: block;
  max-width: 48%;
}

/* ============================================================
   Header cart hover preview dropdown
   Markup: themes/bwa/modules/ps_shoppingcart/ps_shoppingcart.tpl
   Opens on hover over .cart-info (desktop only). Refreshed by the
   core 'updateCart' event since it lives inside .blockcart.
   Source mirrored in _dev/css/components/header/header.scss for
   the next build (kept in two places due to current build drift).
   ============================================================ */
.cart-info {
  position: relative;
}

.cart-info .cart-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 50;
  width: 360px;
  max-width: 90vw;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

.cart-info:hover .cart-dropdown,
.cart-info:focus-within .cart-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}

.cart-dropdown__content {
  background: #fff;
  border: 1.5px solid #000;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

/* Product list */
.cart-dropdown__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 320px;
  overflow-y: auto;
}

.cart-dropdown__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
}

.cart-dropdown__item + .cart-dropdown__item {
  border-top: 1px solid #e7e7e7;
}

.cart-dropdown__item-img {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
}

.cart-dropdown__item-img a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.cart-info .cart-dropdown__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-dropdown__item-info {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.cart-dropdown__product-name {
  font-size: 12px;
  line-height: 16px;
  font-family: "Barlow", sans-serif;
  text-transform: uppercase;
}

.cart-dropdown__product-name a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #000;
}

.cart-dropdown__product-price {
  flex: 0 0 auto;
  text-align: right;
  font-size: 12px;
  line-height: 16px;
  font-family: "Barlow", sans-serif;
  color: #000;
  white-space: nowrap;
}

/* Totals — full-width separators, text inset to align with product rows */
.cart-dropdown__totals {
  border-top: 1px solid #e7e7e7;
  border-bottom: 1px solid #e7e7e7;
  padding: 12px 10px;
}

.cart-dropdown__total-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 0;
}

.cart-dropdown__total-line .label,
.cart-dropdown__total-line .value {
  color: #000;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 13px;
}

.cart-dropdown__total-line--grand .label,
.cart-dropdown__total-line--grand .value {
  font-weight: 600;
}

/* CTA button — black full-width per the target mockup */
.cart-dropdown__action {
  margin-top: 12px;
}

.cart-dropdown__cta {
  display: block;
  width: 100%;
  padding: 14px 10px;
  background: #000;
  border: 1px solid #000;
  color: #fff;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

/* #header .cart-info scope (1,2,0) beats the page rule
   body#cart .cart-detailed-totals * (1,1,1) without !important */
#header .cart-info .cart-dropdown__cta {
  color: #fff;
}

#header .cart-info .cart-dropdown__cta:hover,
#header .cart-info .cart-dropdown__cta:focus {
  background: #fff;
  color: #000;
  text-decoration: none;
}

/* Hide hover preview on tablet and below (no hover on touch) */
@media (max-width: 768px) {
  .cart-info .cart-dropdown {
    display: none;
  }
}

