#header {
    position: relative;
    z-index: 999;
    color: #7a7a7a;
    background: #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.top-menu .sub-menu {
    z-index: 18;
    width: 100vw;
    min-width: 100vw;
    margin-left:0px;
    padding:3rem;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: opacity .5s ease, visibility .5s ease;
    transition: opacity .5s ease, visibility .5s ease;
}

.block-category.card.card-block {
    background :#f7f0e8;
}

.block-category .block-category-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.block-category .block-category-inner .category-text-col {
    flex: 1;
}

.block-category .block-category-inner .category-cover {
    flex-shrink: 0;
}

.block-category .block-category-inner .category-cover img {
    width: 548px;
    height: 379px;
    border-radius: 8px;
}
.cart-products-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
}
#header .header-nav .cart-preview.active {
    background: #ffffff;
}
.icon-cart-empty {
  height: 48px;
  width: auto;
}

.icon-user {
  height: 22px;
  width: auto;
}
#header .header-nav .blockcart {
    padding: 0;}
.cart-icon-wrapper {
  position: relative;
  display: inline-flex;
}

.cart-icon-wrapper .cart-products-count {
  position: absolute;
  top: 22px;
  right: 4px;
}

#header .header-nav .user-info {
    margin-left: 1rem!important;
}

/* ── Utility bar ───────────────────────────────────── */
.utility-bar {
  background: #000;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.utility-bar__text {
  color: #fff;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  margin: 0;
}

/* ── Header principal ──────────────────────────────── */
.header-main {
  border-bottom: 1px solid #f0f0f0;
}

/* Desktop */
.header-row-desktop {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.header-logo {
  flex-shrink: 0;
}

.header-logo h1 {
  margin: 0;
}

#header .logo {
  height: 52px;
  width: auto;
}

.header-menu {
  flex: 1;
  display: flex;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* Supprime les anciens marges verticaux du header-nav sur les items displayNav2 */
.header-actions .user-info,
.header-actions .language-selector,
.header-actions .currency-selector,
.header-actions #search_widget {
  margin-top: 0 !important;
}

/* Mobile */
.header-row-mobile {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
}

.mobile-burger {
  cursor: pointer;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.mobile-logo {
  flex: 1;
  text-align: center;
}

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.mobile-actions .search-toggle {
  padding: 0;
}

.mobile-actions #_mobile_cart .blockcart {
  padding: 0;
}

#custom-text {
    padding: 3.125rem;
    margin-bottom: 1.5rem;
    text-align: left;
    background: #f7f0e8;
    border-radius: 8px;
}
#custom-text h2 {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 800;
    color: #232323;
    text-transform: none;
}


.top-menu a[data-depth="0"] {
    padding: 2rem .625rem;
    font-size: 1rem;
    font-weight: 400;
}

.product-prices {
  margin-top: 1.25rem;
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem; 
}


/* REASSURANCE HOMEPAGE */

div#block-reassurance, .blockreassurance_product {
    width: auto;
    display: flex;
    justify-content: center;
    margin: 3rem 0rem;
}

.blockreassurance_product img {
    width: 40%;
}

#block-reassurance img {
    width: 3rem;
    margin-right: .3rem;
}

.block-reassurance-item img {
    width: 56px;
}
.block-reassurance-item {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

#block-reassurance li {
    float: left;
    margin: 0 1rem;
    border-bottom: none;
}
#block-reassurance {
    background: transparent!important;
}

.footer-container li a, div#contact-infos, .footer-container .h3, #block_myaccount_infos .myaccount-title a, .footer-container .h4 {
    color: #f7f0e8;
}

/* FAQ */

.card-block.category-additional-description {
  background-color: #f7f0e8;
}
.at-faq-section { max-width: 700px; margin: 4rem auto; }
.at-faq-caption { letter-spacing: 2px; color: #777;text-align: center;  }
.at-faq-title { font-size: 2rem; margin-bottom: 1.5rem; text-align: center; }

.at-faq-item {
  border-bottom: 0.5px solid #bab2a9;
  margin-bottom: 10px;
  overflow: hidden;
}

.at-faq-button {
  width: 100%;
  padding: 18px 20px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #222;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.at-faq-button:hover { color: #000; }
.at-faq-button:focus { outline: none; }

.at-faq-icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid #bab2a9;
  border-bottom: 2px solid #bab2a9;
  transform: rotate(45deg);
  transition: transform .3s ease;
  margin-top: -4px;
}
.at-faq-button.is-open .at-faq-icon {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.at-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.at-faq-content-inner {
  padding: 0 20px 20px;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 767px) {
    #wrapper .breadcrumb {display: none;}
}

/* ── Hover image swap + zoom smooth (product list) ── */

/* L'image en transition sur transform et opacité */
.product-miniature .product-thumbnail img {
  transition: transform 0.8s ease, opacity 0.2s ease;
  transform: scale(1);
  display: block;
  width: 100%;
  height: auto;
}

/* Zoom au survol — .thumbnail-top a déjà overflow:hidden dans theme.css */
.product-miniature .js-hoverimg:hover img {
  transform: scale(1.07);
  opacity: 0.92;
}

/* Menu déroulant user - latelierdupapierpeint */
.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}

.user-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: #fff;
  border: 1px solid #e0e0e0;
  min-width: 180px;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.user-dropdown.active .user-dropdown-menu {
  display: block;
}

.user-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: inherit;
  text-decoration: none;
  font-size: 14px;
}

.user-dropdown-menu .dropdown-item:hover {
  background: #f5f5f5;
}