
.product-cover,
.product-miniature img,
.js-product-cover {
    background: #ffffff;
    border-radius: 12px;
    padding: 8px;
}



.fg-swatch-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  transition: .2s ease;
  cursor: pointer;hove
}

.fg-swatch-img:hover {
  transform: scale(1.06);
  border-color: #111;
}

.input-color__input {
  display: none;
}

.input-color__input:checked + label img {
  border: 2px solid #111;
}



body {
  font-family: 'Montserrat', sans-serif;
  color: #111;
  background: #fff;
}
.fg-header {
  background: #fff;
  padding: 18px 40px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 999;
}

.fg-logo {
  max-height: 42px;
  width: auto;
}

.fg-header a {
  color: #111;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.fg-header a:hover {
  opacity: 0.7;
}

.product-miniature {
  border: none !important;
  box-shadow: none !important;
  padding: 0;
}

.product-miniature .thumbnail-container {
  border: none;
}

.product-title {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.price {
  font-size: 14px;
  font-weight: 400;
}




.product-thumbnail {
    background: #f4efe8;
}

.thumbnail-container {
    background: #f8f5f2;
}
/* themes/mon_theme/assets/css/marquinerie-artisanale.css */

/* ============================================
   VARIABLES - COULEURS ARTISANALES
   ============================================ */
:root {
  /* Palette principale - Tons cuir et naturels */
  --cuir-brun: #8B5E3C;
  --cuir-brun-fonce: #5C3A21;
  --cuir-brun-clair: #B87B4A;
  --cuir-cognac: #9B4B2E;
  --cuir-patina: #6B4C3A;
  
  /* Tons naturels */
  --lin-brut: #F4F2EE;
  --cire-dabeille: #E8C97A;
  --fibre-naturelle: #D4C4B0;
  --graine-cuir-vert: #4A6B5D;
  
  /* Métaux artisanaux */
  --laiton-ancien: #C6A56A;
  --cuivre: #B87333;
  --argent-vieilli: #A8A8A8;
  
  /* Neutres */
  --encrier: #2C241A;
  --toile-brut: #EBE5D9;
  --charbon-douce: #4A4238;
  
  /* Applications Bootstrap 5 */
  --bs-primary: var(--cuir-brun);
  --bs-secondary: var(--cuir-cognac);
  --bs-body-bg: var(--lin-brut);
  --bs-body-color: var(--encrier);
  --bs-link-color: var(--cuir-brun-fonce);
  --bs-link-hover-color: var(--cuir-cognac);
  --bs-border-color: var(--fibre-naturelle);
}


/* ============================================
   TYPOGRAPHIE ARTISANALE
   ============================================ */

/* Police pour les titres - style élégant manuscrit */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Cormorant+Garamond:wght@400;500;600&display=swap');

@font-face {
  font-family: 'Artisan Script';
  src: url('../fonts/playfair-display.woff2') format('woff2');
  font-display: swap;
}

body {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.1rem;
  line-height: 1.7;
  background-color: var(--lin-brut);
  color: var(--encrier);
	/* Style par défaut des liens - Marron foncé */
a {
    --bs-link-color-rgb: 44, 36, 26;  /* RGB du marron foncé (#5c3a21) */
    --bs-link-opacity: 1;
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
    text-decoration: none;
}

/* Survol - Beige */
a:hover {
    --bs-link-color-rgb: 184, 123, 74;  /* RGB du beige (#f5f5dc) */
    text-decoration: none;
}

/* Pour les liens sans href (généralement non applicables aux titres produits) */
a:not([href]):not([class]),
a:not([href]):not([class]):hover {
    color: inherit;
    text-decoration: none;
}
}

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* ============================================
   HEADER - SENSIBILITÉ CUIR
   ============================================ */

/* Bande supérieure type sangle de cuir */
#header {
  border-bottom: 3px solid var(--cuir-brun);
  background: linear-gradient(to bottom, #fff 0%, var(--lin-brut) 100%);
  position: relative;
}

/* Effet "couture" sur le bas du header */
#header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--cuir-cognac),
    var(--cuir-cognac) 10px,
    var(--fibre-naturelle) 10px,
    var(--fibre-naturelle) 20px
  );
}

@media (max-width: 1199.98px) {
  #mobileMenu.ps-mainmenu--mobile,
  .ps-mainmenu--mobile.offcanvas {
    --bs-offcanvas-width: 100vw;
    width: 100vw !important;
    max-width: 100vw !important;
  }

  .ps-searchbar--mobile {
    display: block !important;
    width: 0;
    height: 0;
    overflow: visible;
  }

  .ps-searchbar--mobile > .header-block {
    display: none !important;
  }

  #searchCanvas.ps-searchbar__offcanvas {
    top: 4.75rem !important;
    right: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    border: 0;
    border-bottom: 1px solid rgba(44, 36, 26, 0.14);
    box-shadow: 0 12px 30px rgba(44, 36, 26, 0.14);
  }

  #searchCanvas .offcanvas-header {
    align-items: center;
    gap: .6rem;
    width: 100%;
    padding: .75rem 1rem;
    background: #fff;
  }

  #searchCanvas .ps-searchbar__container {
    flex: 1 1 auto;
    min-width: 0;
  }

  #searchCanvas #ps_searchbar,
  #searchCanvas .ps-searchbar__form {
    width: 100%;
  }

  #searchCanvas .ps-searchbar__form {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 2.7rem;
    border: 1px solid rgba(44, 36, 26, 0.22);
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
  }

  #searchCanvas .ps-searchbar__magnifier {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 2;
    width: 1.35rem;
    height: 1.35rem;
    margin: 0 !important;
    color: var(--encrier);
    font-size: 1.45rem;
    line-height: 1.35rem;
    pointer-events: none;
    text-align: center;
    transform: translateY(-50%);
  }

  #searchCanvas .ps-searchbar__input {
    height: 2.7rem;
    min-width: 0;
    padding-left: 3.1rem !important;
    padding-right: .95rem !important;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--encrier);
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  #searchCanvas .ps-searchbar__input::placeholder {
    color: rgba(44, 36, 26, 0.56);
    font-weight: 700;
    opacity: 1;
    text-transform: uppercase;
  }

  #searchCanvas [data-bs-dismiss="offcanvas"] {
    flex: 0 0 auto;
    color: var(--cuir-brun-fonce);
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
  }

  #mobileMenuSearchCanvas.mobile-menu-search-canvas {
    top: 4.75rem !important;
    right: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    border: 0;
    border-bottom: 1px solid rgba(44, 36, 26, 0.14);
    box-shadow: 0 12px 30px rgba(44, 36, 26, 0.14);
  }

  #mobileMenuSearchCanvas .offcanvas-header {
    align-items: center;
    gap: .6rem;
    width: 100%;
    padding: .75rem 1rem;
    background: #fff;
  }

  #mobileMenuSearchCanvas .mobile-menu-search-canvas__form {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 2.7rem;
    border: 1px solid rgba(44, 36, 26, 0.22);
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
  }

  #mobileMenuSearchCanvas .mobile-menu-search-canvas__icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 2;
    width: 1.35rem;
    height: 1.35rem;
    color: var(--encrier);
    font-size: 1.45rem;
    line-height: 1.35rem;
    pointer-events: none;
    text-align: center;
    transform: translateY(-50%);
  }

  #mobileMenuSearchCanvas .mobile-menu-search-canvas__input {
    width: 100%;
    height: 2.7rem;
    min-width: 0;
    padding-right: .95rem;
    padding-left: 3.1rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--encrier);
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    outline: 0;
    text-transform: uppercase;
  }

  #mobileMenuSearchCanvas .mobile-menu-search-canvas__input::placeholder {
    color: rgba(44, 36, 26, 0.56);
    font-weight: 700;
    opacity: 1;
    text-transform: uppercase;
  }

  #mobileMenuSearchCanvas .mobile-menu-search-canvas__cancel {
    flex: 0 0 auto;
    color: var(--cuir-brun-fonce);
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
  }
}

@media (max-width: 767.98px) {
  .header-bottom__row {
    min-height: 4.75rem;
    align-items: center !important;
    flex-wrap: nowrap;
    position: relative;
  }

  .header-bottom__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    margin: 0 !important;
    padding: 0;
  }

  .header-bottom__logo .navbar-brand {
    display: flex !important;
    justify-content: center;
  }

  .header-bottom__logo .logo {
    width: min(48vw, 13.5rem);
    height: auto !important;
    max-height: 2.2rem;
    object-fit: contain;
  }

  .ps-mainmenu__mobile-toggle {
    position: relative;
    z-index: 3;
  }

  .ps-mainmenu.ps-mainmenu--desktop {
    order: 1;
    flex: 0 0 auto;
    width: auto;
  }

  .ps-searchbar--mobile {
    order: 2;
    display: flex !important;
    flex: 0 0 auto;
    width: auto;
    height: auto;
  }

  .ps-searchbar--mobile > .header-block {
    display: flex !important;
  }

  #_mobile_ps_customersignin {
    order: 3;
    margin-left: auto;
  }

  #_mobile_ps_shoppingcart {
    order: 4;
  }

  .header-bottom .header-block,
  .header-bottom__row > [id^="_mobile_"],
  .ps-searchbar--mobile {
    position: relative;
    z-index: 3;
  }

  #_desktop_ps_searchbar {
    display: none !important;
  }

  .header-bottom .menu-toggle,
  .header-bottom .header-block__action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0 !important;
  }

  .header-bottom .material-icons,
  .header-bottom .header-block__icon {
    font-size: 1.75rem;
    line-height: 1;
  }

  #searchCanvas.ps-searchbar__offcanvas {
    top: 4.75rem !important;
    right: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    border: 0;
    border-bottom: 1px solid rgba(44, 36, 26, 0.14);
    box-shadow: 0 12px 30px rgba(44, 36, 26, 0.14);
  }

  #searchCanvas .offcanvas-header {
    align-items: center;
    gap: .6rem;
    width: 100%;
    padding: .75rem 1rem;
    background: #fff;
  }

  #searchCanvas .ps-searchbar__container {
    flex: 1 1 auto;
    min-width: 0;
  }

  #searchCanvas #ps_searchbar,
  #searchCanvas .ps-searchbar__form {
    width: 100%;
  }

  #searchCanvas .ps-searchbar__form {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 2.7rem;
    border: 1px solid rgba(44, 36, 26, 0.22);
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
  }

  #searchCanvas .ps-searchbar__magnifier {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 2;
    width: 1.35rem;
    height: 1.35rem;
    margin: 0 !important;
    color: var(--encrier);
    font-size: 1.45rem;
    line-height: 1.35rem;
    pointer-events: none;
    text-align: center;
    transform: translateY(-50%);
  }

  #searchCanvas .ps-searchbar__input {
    height: 2.7rem;
    min-width: 0;
    padding-left: 3.1rem !important;
    padding-right: .95rem !important;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--encrier);
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  #searchCanvas .ps-searchbar__input::placeholder {
    color: rgba(44, 36, 26, 0.56);
    font-weight: 700;
    opacity: 1;
    text-transform: uppercase;
  }

  #searchCanvas [data-bs-dismiss="offcanvas"] {
    flex: 0 0 auto;
    color: var(--cuir-brun-fonce);
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
  }

  .header-bottom__row {
    gap: .15rem;
  }

  .header-bottom__row > .ps-mainmenu,
  .header-bottom__row > .ps-searchbar--mobile,
  .header-bottom__row > #_mobile_ps_customersignin,
  .header-bottom__row > #_mobile_ps_shoppingcart {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .header-block__badge {
    top: .25rem;
    right: .25rem;
    min-width: 1.15rem;
    height: 1.15rem;
    font-size: .72rem;
    line-height: 1.15rem;
  }

  .ps-mainmenu--mobile .menu__link,
  .ps-mainmenu--mobile .js-menu-back-title,
  .ps-mainmenu--mobile .ps-mainmenu__additionnals,
  .header-bottom .header-block__title {
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  #mobileMenu .offcanvas-header {
    min-height: 4.75rem;
    position: relative;
  }

  #mobileMenu .mobile-menu__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    margin: 0 !important;
    padding: 0;
  }

  #mobileMenu .mobile-menu__logo .navbar-brand {
    display: flex !important;
    justify-content: center;
  }

  #mobileMenu .mobile-menu__logo .logo {
    width: min(48vw, 13.5rem);
    height: auto !important;
    max-height: 2.2rem;
    object-fit: contain;
  }

  #mobileMenu .mobile-menu__search {
    padding: 0;
  }

  #mobileMenu .mobile-menu__search-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .75rem;
    width: 100%;
    min-height: 3.25rem;
    padding: 0 1.25rem;
    border: 0;
    border-top: 1px solid rgba(44, 36, 26, 0.14);
    border-bottom: 1px solid rgba(44, 36, 26, 0.14);
    border-radius: 0;
    background: transparent;
    color: rgba(44, 36, 26, 0.66);
    box-shadow: none;
    font-family: 'Montserrat', sans-serif;
    font-size: inherit;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  #mobileMenu .mobile-menu__search-button:hover,
  #mobileMenu .mobile-menu__search-button:focus {
    background: var(--lin-brut);
    color: var(--encrier);
  }

  #mobileMenu .mobile-menu__search-icon {
    flex: 0 0 auto;
    color: currentColor;
    font-size: 1.35em;
  }

  #mobileMenu .menu--mobile:first-of-type {
    padding-top: 0;
  }
}

/* Logo - effet embossé cuir */
.logo img {
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
  transition: filter 0.3s ease;
}

.logo img:hover {
  filter: drop-shadow(4px 4px 8px rgba(0,0,0,0.15));
}

/* ============================================
   PRODUITS - GALERIE ARTISANALE
   ============================================ */

.product-thumbnail {
  position: relative;
  overflow: hidden;
  background: var(--fibre-naturelle);
  border-radius: 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Effet "patine" au survol */
.product-thumbnail img {
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.product-thumbnail:hover img {
  transform: scale(1.05);
}

/* Badge "Artisanal" */
.product-flag.artisanal {
  background: var(--cuir-cognac);
  font-family: 'Playfair Display', serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 0.3rem 0.8rem;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.product-flag.artisanal::before {
  content: '✧';
  margin-right: 5px;
}

/* Prix - effet embossé */
.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cuir-brun-fonce);
  position: relative;
  display: inline-block;
}

.product-price::after {
  content: '€';
  font-size: 0.9rem;
  position: relative;
  top: -0.2em;
  margin-left: 2px;
}

/* ============================================
   BOUTONS - STYLE ATELIER
   ============================================ */

.btn {
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
  font-family: 'Playfair Display', serif;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--cuir-brun);
  border: 1px solid var(--cuir-brun-fonce);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 2px 5px rgba(0,0,0,0.1);
}

.btn-primary:hover {
  background-color: var(--cuir-brun-fonce);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 5px 15px rgba(0,0,0,0.15);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--cuir-brun);
  color: var(--cuir-brun);
}

.btn-secondary:hover {
  background-color: var(--cuir-brun);
  color: white;
  border-color: var(--cuir-brun);
}

/* Bouton "Ajouter au panier" - style étiquette cuir */
.btn-add-to-cart {
  background: linear-gradient(135deg, var(--cuir-brun) 0%, var(--cuir-brun-fonce) 100%);
  border: none;
  position: relative;
}

.btn-add-to-cart::after {
  content: '✧';
  margin-left: 8px;
  font-size: 1.1rem;
  opacity: 0.8;
}

/* ============================================
   CARTES PRODUITS - ÉTAGÈRE ARTISANALE
   ============================================ */

.card {
  background: var(--toile-brut);
  border: none;
  border-radius: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--encrier);
  border-left: 3px solid var(--cuir-cognac);
  padding-left: 12px;
}

/* ============================================
   PANIER - STYLE CUIR PATINÉ
   ============================================ */

.cart-summary-line {
  border-bottom: 1px dashed var(--fibre-naturelle);
  padding: 1rem 0;
}

.cart-total {
  background: var(--fibre-naturelle);
  border-left: 4px solid var(--cuir-brun);
  padding: 1.5rem;
  margin-top: 1rem;
}

.cart-grid .bootstrap-touchspin,
.cart-detailed-product-line .bootstrap-touchspin,
.product-line-grid .bootstrap-touchspin {
  display: inline-flex;
  align-items: stretch;
  flex-wrap: nowrap;
}

.cart-grid .bootstrap-touchspin .input-group-btn-vertical,
.cart-detailed-product-line .bootstrap-touchspin .input-group-btn-vertical,
.product-line-grid .bootstrap-touchspin .input-group-btn-vertical {
  display: inline-flex;
  flex-direction: row;
  align-items: stretch;
}

.cart-grid .bootstrap-touchspin .btn-touchspin,
.cart-detailed-product-line .bootstrap-touchspin .btn-touchspin,
.product-line-grid .bootstrap-touchspin .btn-touchspin {
  position: static;
  width: 48px;
  height: 48px;
  border-radius: 0;
}

.cart-grid .bootstrap-touchspin input,
.cart-detailed-product-line .bootstrap-touchspin input,
.product-line-grid .bootstrap-touchspin input {
  width: 72px;
  height: 48px;
  text-align: center;
  order: 2;
}

.cart-grid .bootstrap-touchspin .bootstrap-touchspin-down,
.cart-detailed-product-line .bootstrap-touchspin .bootstrap-touchspin-down,
.product-line-grid .bootstrap-touchspin .bootstrap-touchspin-down {
  order: 1;
}

.cart-grid .bootstrap-touchspin .bootstrap-touchspin-up,
.cart-detailed-product-line .bootstrap-touchspin .bootstrap-touchspin-up,
.product-line-grid .bootstrap-touchspin .bootstrap-touchspin-up {
  order: 3;
}

.product-line__content-right {
  min-width: 176px;
}

.product-line__quantity-button .quantity-button__group {
  display: grid;
  grid-template-columns: 48px 72px 48px;
  width: 168px;
  min-width: 168px;
  flex-wrap: nowrap;
}

.product-line__quantity-button .quantity-button__group .btn-square-icon,
.product-line__quantity-button .quantity-button__group .form-control {
  width: 100%;
  min-width: 0;
  height: 48px;
  border-radius: 0;
}

.product-line__quantity-button .quantity-button__group .form-control {
  text-align: center;
}

/* ============================================
   FORMULAIRES - TOUCHES ATELIER
   ============================================ */

.form-control, .input-group-text {
  border-radius: 0;
  border: 1px solid var(--fibre-naturelle);
  background: white;
  font-family: 'Cormorant Garamond', serif;
}

.form-control:focus {
  border-color: var(--cuir-brun);
  box-shadow: 0 0 0 0.2rem rgba(139, 94, 60, 0.15);
}

/* ============================================
   FOOTER - FINITION CUIR
   ============================================ */

#footer {
  background: linear-gradient(to bottom, var(--encrier), #1a1510);
  color: var(--fibre-naturelle);
  border-top: 3px solid var(--cuir-cognac);
  position: relative;
  margin-top: 4rem;
}

#footer::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  background: repeating-linear-gradient(
    45deg,
    var(--cuir-brun),
    var(--cuir-brun) 20px,
    var(--cuir-cognac) 20px,
    var(--cuir-cognac) 40px
  );
}

.footer-title {
  color: var(--cire-dabeille);
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--cuir-brun-clair);
  display: inline-block;
  padding-bottom: 5px;
}

/* ============================================
   ANIMATIONS - EFFET "PATINE NATURELLE"
   ============================================ */

@keyframes grain {
  0% { background-position: 0 0; }
  100% { background-position: 100px 100px; }
}

/* Texture grain sur le body pour effet "papier artisanal" */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  z-index: 9999;
  opacity: 0.5;
}

/* ============================================
   RESPONSIVE - ADAPTATIONS MOBILE
   ============================================ */

@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
  }
  
  .product-title {
    font-size: 1rem;
  }
  
  .footer-links {
    text-align: center;
  }
}

/* Fix fond blanc images produits */
.product-miniature img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* IMPORTANT */
    background: transparent !important;
}

.product-thumbnail,
.thumbnail-container {
    background: #f8f5f2;
}
}
.product-cover,
.product-thumbnail,
.thumbnail-container {
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f6f1ea 100%
    );
    padding: 25px;
}

.product-cover,
.product-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-cover img,
.product-miniature img,
.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent !important;
}

.img-fluid {
    height: 100% !important;
}

    .accordion-item {
        background-color: #FFFFFFF;
        border: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);
        color: var(--bs-accordion-color)
    }
    
    /* Liens du footer - Blancs par défaut, marron au survol */
#footer a {
  --bs-link-color-rgb: --lin-brut; 
  --bs-link-opacity: 1;
  color: rgb(255, 255, 255);
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer a:hover {
  --bs-link-color-rgb: 139, 94, 60;  /* RGB de var(--cuir-brun) */
  color: var(--cuir-brun);
}

.footer-title {
  color: var(--cire-dabeille);
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--cuir-brun-clair);
  display: inline-block;
  padding-bottom: 5px;
}

/* ============================================
   PASTILLES DE COULEURS - VARIANTS PRODUITS
   ============================================ */

.product-miniature__variants .color,
.product-variant__colors .color,
.search-filters__form-check--color .form-check-label .color {
    background-size: contain;
    border: 1px solid #e8e4df;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    height: 1.2rem;
    outline: 0.125rem solid transparent;
    outline-offset: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 1.2rem;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Survol */
.product-miniature__variants .color:hover,
.product-variant__colors .color:hover,
.search-filters__form-check--color .form-check-label .color:hover {
    border-color: #6b1d2f;
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(107, 29, 47, 0.15);
    outline-color: rgba(107, 29, 47, 0.2);
}

/* Pastille sélectionnée */
.product-miniature__variants .color.selected,
.product-miniature__variants .color.active,
.product-variant__colors .color.selected,
.product-variant__colors .color.active,
.search-filters__form-check--color .form-check-input:checked + .form-check-label .color {
    border: 2px solid #1a1a1a;
    outline: 0.125rem solid #1a1a1a;
    outline-offset: 1px;
    transform: scale(1.1);
    box-shadow: 0 2px 10px rgba(26, 26, 26, 0.2);
}

/* Option : Style Bordeaux pour la sélection */
.product-miniature__variants .color.selected,
.product-variant__colors .color.selected {
    border-color: #6b1d2f;
    outline-color: #6b1d2f;
    box-shadow: 0 0 0 2px rgba(107, 29, 47, 0.1);
}

/* ============================================
   VARIANTES DE TAILLE (si utilisé)
   ============================================ */

.product-miniature__variants .size,
.product-variant__sizes .size {
    border: 1px solid #e8e4df;
    border-radius: 0;
    padding: 4px 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
    color: #1a1a1a;
}

.product-miniature__variants .size:hover,
.product-variant__sizes .size:hover {
    border-color: #6b1d2f;
    background: #f5f0eb;
}

.product-miniature__variants .size.selected,
.product-variant__sizes .size.selected {
    background: #1a1a1a;
    color: #fafafa;
    border-color: #1a1a1a;
}

/* ============================================
   FILTRES COULEURS (sidebar)
   ============================================ */

.search-filters__form-check--color {
    margin-bottom: 8px;
}

.search-filters__form-check--color .form-check-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #1a1a1a;
}

.search-filters__form-check--color .form-check-label:hover .color {
    border-color: #6b1d2f;
}

/* Checkbox caché */
.search-filters__form-check--color .form-check-input {
    display: none;
}

.search-filters__form-check--color .form-check-input:checked + .form-check-label {
    color: #6b1d2f;
    font-weight: 500;
}

.search-filters__form-check--color .form-check-input:checked + .form-check-label .color {
    border: 2px solid #1a1a1a;
    outline: 0.125rem solid #6b1d2f;
    outline-offset: 1px;
    box-shadow: 0 0 0 3px rgba(107, 29, 47, 0.08);
}

/* ============================================
   PASTILLES DANS LA PAGE PRODUIT
   ============================================ */

.product-variants .product-variants-item {
    margin-bottom: 20px;
}

.product-variants .product-variants-item .control-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 12px;
}

/* Container des pastilles */
.product-variants .product-variants-item ul {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
}

/* Option de couleur indisponible */
.product-miniature__variants .color.not-available,
.product-variant__colors .color.not-available {
    opacity: 0.3;
    cursor: not-allowed;
    position: relative;
}

.product-miniature__variants .color.not-available::after,
.product-variant__colors .color.not-available::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #1a1a1a;
    transform: rotate(-45deg);
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Animation de sélection */
@keyframes selectVariant {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1.1); }
}

.product-miniature__variants .color:active,
.product-variant__colors .color:active {
    animation: selectVariant 0.3s ease;
}

/* Tooltip au survol */
.product-miniature__variants .color {
    position: relative;
}

.product-miniature__variants .color::before {
    content: attr(data-color-name);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background: #1a1a1a;
    color: #fafafa;
    padding: 3px 8px;
    border-radius: 2px;
    font-size: 0.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.product-miniature__variants .color:hover::before {
    opacity: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .product-miniature__variants .color,
    .product-variant__colors .color {
        height: 1rem;
        width: 1rem;
    }
    
    .product-variants .product-variants-item ul {
        gap: 8px;
    }
}

.product-miniature__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.product-miniature__prices {
    order: 1;
    text-align: left;
}

.product-miniature__actions .btn,
.product-miniature__actions form {
    order: 2;
    margin-left: auto;
}

/* Category pages: full-width grid, 4 products per row on desktop */
body#category .category-craft-hero {
    position: relative;
    min-height: clamp(18rem, 42vw, 31rem);
    margin: 0 0 2rem;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: #201812;
}

body#category .category-craft-hero__media,
body#category .category-craft-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

body#category .category-craft-hero__media img {
    object-fit: cover;
    transform: scale(1.02);
}

body#category .category-craft-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(18, 12, 8, 0.20) 0%, rgba(18, 12, 8, 0.58) 72%, rgba(18, 12, 8, 0.82) 100%),
        linear-gradient(90deg, rgba(18, 12, 8, 0.68) 0%, rgba(18, 12, 8, 0.18) 58%, rgba(18, 12, 8, 0.40) 100%);
}

body#category .category-craft-hero__content {
    position: relative;
    z-index: 2;
    width: min(100%, 1320px);
    margin: 0 auto;
    padding: clamp(2.25rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem);
}

body#category .category-craft-hero .breadcrumb,
body#category .category-craft-hero a {
    color: rgba(255, 255, 255, 0.82);
}

body#category .category-craft-hero h1,
body#category .category-craft-hero .h1 {
    max-width: 760px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.32);
}

body#category .category-craft-hero .subcategory {
    width: min(100%, 760px);
    margin-top: 1.25rem;
}

body#category .category-craft-hero .subcategory__list {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 0;
    padding: 0;
}

body#category .category-craft-hero .subcategory__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    max-width: 100%;
    padding: .72rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(8px);
    font-family: 'Montserrat', sans-serif;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

body#category .category-craft-hero .subcategory__link:hover,
body#category .category-craft-hero .subcategory__link:focus {
    border-color: #fff;
    background: #fff;
    color: var(--encrier);
}

body#category .category-craft-hero .subcategory__name {
    overflow-wrap: anywhere;
    white-space: normal;
}

body#category .category-craft-hero .category-cover,
body#category .category-craft-hero img.category-cover {
    display: none;
}

body#category #left-column {
    display: none !important;
}

body#category #center-column {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

body#category #js-product-list .products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .9rem .55rem;
}

body#category .layout-full-width .products {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

body#category #js-product-list .product-miniature {
    width: 100%;
    max-width: 100%;
}

body#category #js-product-list .product-miniature__image-container,
body#category #js-product-list .thumbnail-container {
    padding: clamp(.25rem, 1vw, .5rem) !important;
}

body#category #js-product-list .product-miniature__image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body#category #js-product-list .product-miniature__image,
body#category #js-product-list .product-miniature img {
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    padding: 0 !important;
    object-fit: contain;
    transform: scale(1.1);
    transform-origin: center;
}

body#category #js-product-list .product-miniature__image-container:hover .product-miniature__image,
body#category #js-product-list .product-miniature__image-container:hover img {
    transform: scale(1.3);
}

body#category .category-top-hooks {
    margin: 0 0 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(44, 36, 26, 0.12);
    border-bottom: 1px solid rgba(44, 36, 26, 0.12);
}

body#category .category-top-hooks:empty {
    display: none;
}

body#category .category-top-hooks .left-block__title {
    display: none;
}

body#category .category-top-hooks .ps-categorytree,
body#category .category-top-hooks .left-block {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

body#category .category-top-hooks .accordion,
body#category .category-top-hooks nav,
body#category .category-top-hooks .category-tree__child {
    width: 100%;
}

body#category .category-top-hooks .category-tree__list[data-depth="0"] {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

body#category .category-top-hooks .category-tree__item {
    border: 0;
    list-style: none;
}

body#category .category-top-hooks .category-tree__item-header {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

body#category .category-top-hooks .category-tree__item-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: .55rem .9rem;
    border: 1px solid rgba(44, 36, 26, 0.18);
    background: #fff;
    color: var(--encrier);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body#category .category-top-hooks .category-tree__item-link:hover {
    border-color: var(--cuir-brun);
    color: var(--cuir-brun-fonce);
}

body#category .category-top-hooks .accordion-button {
    width: 2.5rem;
    height: 2.5rem;
    min-height: 2.5rem;
    padding: 0;
    border: 1px solid rgba(44, 36, 26, 0.18);
    background: #fff;
    box-shadow: none;
}

body#category .category-top-hooks .accordion-button::after {
    margin: auto;
}

body#category .category-top-hooks .accordion-collapse {
    position: absolute;
    z-index: 20;
    min-width: 220px;
    margin-top: .5rem;
    background: #fff;
    border: 1px solid rgba(44, 36, 26, 0.14);
    box-shadow: 0 12px 30px rgba(44, 36, 26, 0.12);
}

body#category .category-top-hooks .accordion-body {
    padding: .5rem;
}

body#category .category-top-hooks .category-tree__list[data-depth="1"] {
    display: grid;
    gap: .25rem;
    margin: 0;
    padding: 0;
}

body#category .category-top-hooks .category-tree__list[data-depth="1"] .category-tree__item-link {
    width: 100%;
    border: 0;
    background: transparent;
    text-transform: none;
    letter-spacing: 0;
}

@media (max-width: 1199.98px) {
    body#category #js-product-list .products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    body#category .category-craft-hero {
        min-height: 21rem;
        margin-bottom: 1.5rem;
    }

    body#category .category-craft-hero__content {
        padding: 2rem 1rem;
    }

    body#category .category-craft-hero .subcategory {
        width: min(100%, 26rem);
        margin-top: 1rem;
        margin-right: auto;
        margin-left: auto;
    }

    body#category .category-craft-hero .subcategory__list {
        display: grid;
        grid-template-columns: 1fr;
        gap: .65rem;
        justify-items: stretch;
    }

    body#category .category-craft-hero .subcategory__link {
        width: 100%;
        min-height: 3rem;
        padding: .75rem .95rem;
        border-radius: 8px;
        font-size: .7rem;
        letter-spacing: .06em;
    }

    body#category .category-top-hooks {
        overflow-x: auto;
        padding-bottom: .75rem;
    }

    body#category .category-top-hooks .category-tree__list[data-depth="0"] {
        flex-wrap: nowrap;
        width: max-content;
    }

    body#category #js-product-list .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem .45rem;
    }
}

/* Product page: make the image zoom action easier to see */
body#product .product__zoom {
    width: 3.25rem;
    height: 3.25rem;
    border: 2px solid #fff;
    background: var(--cuir-brun);
    color: #fff;
    box-shadow: 0 10px 24px rgba(44, 36, 26, 0.28);
}

body#product .product__zoom .material-icons {
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
}

body#product .product__zoom:hover,
body#product .product__zoom:focus {
    background: var(--cuir-brun-fonce);
    color: #fff;
    border-color: #fff;
    box-shadow: 0 12px 28px rgba(44, 36, 26, 0.34);
}

/* Category facets: compact editorial filter bar */
body#category .category-top-hooks .ps-facetedsearch {
    width: 100%;
}

body#category .category-top-hooks .ps-facetedsearch .left-block__title {
    display: block !important;
    margin: 0 .5rem 0 0;
    color: var(--charbon-douce);
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: 2.55rem;
    text-transform: uppercase;
    white-space: nowrap;
}

body#category .category-top-hooks .ps-facetedsearch #search-filters,
body#category .category-top-hooks .ps-facetedsearch .accordion {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    width: 100%;
}

body#category .category-top-hooks .ps-facetedsearch .accordion {
    flex-wrap: wrap;
}

body#category .category-top-hooks .ps-facetedsearch .accordion-item {
    position: relative;
    flex: 0 0 auto;
    border: 0;
    background: transparent;
}

body#category .category-top-hooks .ps-facetedsearch .accordion-button {
    width: auto;
    min-width: 0;
    height: 2.55rem;
    min-height: 2.55rem;
    padding: 0 2.35rem 0 1rem;
    border: 1px solid rgba(44, 36, 26, 0.18);
    border-radius: 999px;
    background: #fff;
    color: var(--encrier);
    box-shadow: 0 4px 14px rgba(44, 36, 26, 0.04);
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1.15;
    text-transform: uppercase;
    white-space: nowrap;
}

body#category .category-top-hooks .ps-facetedsearch .accordion-button:hover,
body#category .category-top-hooks .ps-facetedsearch .accordion-button:not(.collapsed) {
    border-color: var(--cuir-brun);
    background: var(--encrier);
    color: #fff;
}

body#category .category-top-hooks .ps-facetedsearch .accordion-button::after {
    position: absolute;
    right: .9rem;
    width: .75rem;
    height: .75rem;
    margin: 0;
    background-size: .75rem;
    filter: none;
}

body#category .category-top-hooks .ps-facetedsearch .accordion-button:not(.collapsed)::after {
    filter: invert(1);
}

body#category .category-top-hooks .ps-facetedsearch .accordion-collapse {
    position: absolute;
    top: calc(100% + .6rem);
    left: 0;
    z-index: 60;
    width: max-content;
    min-width: 17rem;
    max-width: min(28rem, calc(100vw - 2rem));
    margin: 0;
    border: 1px solid rgba(44, 36, 26, 0.14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(44, 36, 26, 0.18);
}

body#category .category-top-hooks .ps-facetedsearch .accordion-body {
    display: grid;
    gap: .35rem;
    max-height: 22rem;
    margin: 0;
    padding: .75rem;
    overflow: auto;
    list-style: none;
}

body#category .category-top-hooks .ps-facetedsearch .accordion-body li {
    list-style: none;
}

body#category .category-top-hooks .ps-facetedsearch .search-filters__form-check {
    min-height: 2.15rem;
    margin: 0;
    padding: 0;
}

body#category .category-top-hooks .ps-facetedsearch .form-check-input:not(.d-none) {
    width: 1rem;
    height: 1rem;
    margin: .58rem .6rem 0 0;
    border-color: rgba(44, 36, 26, 0.28);
}

body#category .category-top-hooks .ps-facetedsearch .form-check-input:checked {
    background-color: var(--cuir-brun);
    border-color: var(--cuir-brun);
}

body#category .category-top-hooks .ps-facetedsearch .search-filters__form-label,
body#category .category-top-hooks .ps-facetedsearch .search-filters__link {
    display: flex;
    align-items: center;
    gap: .55rem;
    width: 100%;
    margin: 0;
    color: var(--encrier);
    font-family: 'Montserrat', sans-serif;
    font-size: .82rem;
    line-height: 1.25;
    text-decoration: none;
}

body#category .category-top-hooks .ps-facetedsearch .search-filters__form-label {
    padding: .45rem .5rem;
    border-radius: 6px;
    cursor: pointer;
}

body#category .category-top-hooks .ps-facetedsearch .search-filters__form-label:hover {
    background: var(--lin-brut);
}

body#category .category-top-hooks .ps-facetedsearch .search-filters__magnitude {
    margin-left: auto;
    color: rgba(44, 36, 26, 0.58);
    font-size: .72rem;
}

body#category .category-top-hooks .ps-facetedsearch .search-filters__color-label {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

body#category .category-top-hooks .ps-facetedsearch .search-filters__form-check--color .color {
    flex: 0 0 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid rgba(44, 36, 26, 0.20);
    box-shadow: inset 0 0 0 2px #fff, 0 2px 7px rgba(44, 36, 26, 0.10);
}

body#category .category-top-hooks .ps-facetedsearch .search-filters__form-check--color .form-check-input:checked + .form-check-label {
    color: var(--cuir-brun-fonce);
    font-weight: 600;
}

body#category .category-top-hooks .ps-facetedsearch .search-filters__form-check--color .form-check-input:checked + .form-check-label .color {
    border-color: var(--cuir-brun-fonce);
    outline: 2px solid var(--cuir-brun-fonce);
    outline-offset: 2px;
}

body#category .active_filters,
body#category .active-filters {
    margin: 0 0 1.25rem;
}

@media (min-width: 768px) {
    body#category .category-top-hooks .ps-facetedsearch .accordion-item:last-child .accordion-collapse {
        right: 0;
        left: auto;
    }
}

@media (max-width: 767.98px) {
    body#category .category-top-hooks {
        overflow: visible;
    }

    body#category .category-top-hooks #search_filters_wrapper {
        display: none !important;
    }

    body#category .category-top-hooks .ps-facetedsearch--mobile {
        color: var(--encrier);
        background: var(--lin-brut);
    }

    body#category .category-top-hooks .ps-facetedsearch--mobile .offcanvas-header {
        border-bottom: 1px solid rgba(44, 36, 26, 0.14);
        background: #fff;
    }

    body#category .category-top-hooks .ps-facetedsearch--mobile .offcanvas-title {
        margin: 0;
        color: var(--encrier);
        font-family: 'Playfair Display', 'Times New Roman', serif;
        font-weight: 500;
    }

    body#category .category-top-hooks .ps-facetedsearch--mobile .offcanvas-body {
        padding: 1rem;
    }

    body#category .category-top-hooks .ps-facetedsearch--mobile #search-filters,
    body#category .category-top-hooks .ps-facetedsearch--mobile .accordion {
        display: block;
    }

    body#category .category-top-hooks .ps-facetedsearch--mobile .accordion-item {
        margin-bottom: .65rem;
        border: 1px solid rgba(44, 36, 26, 0.12);
        border-radius: 8px;
        background: #fff;
        overflow: hidden;
    }

    body#category .category-top-hooks .ps-facetedsearch--mobile .accordion-button {
        width: 100%;
        height: auto;
        min-height: 3rem;
        padding: .8rem 1rem;
        border: 0;
        border-radius: 0;
        background: #fff;
        color: var(--encrier);
        box-shadow: none;
        font-family: 'Montserrat', sans-serif;
        font-size: .78rem;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    body#category .category-top-hooks .ps-facetedsearch--mobile .accordion-button:not(.collapsed) {
        background: var(--encrier);
        color: #fff;
    }

    body#category .category-top-hooks .ps-facetedsearch--mobile .accordion-collapse {
        position: static;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    body#category .category-top-hooks .ps-facetedsearch--mobile .accordion-body {
        max-height: none;
        padding: .75rem;
        overflow: visible;
    }
}

/* Infinite scroll: refined category loading control */
#anis_blackout {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

#anis_container {
    z-index: 10 !important;
    width: 100% !important;
    margin: 2.25rem auto 0 !important;
    padding: 0 0 .5rem;
    text-align: center;
}

#anis_container .anis_button_more_products {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    min-width: min(100%, 17rem);
    min-height: 3.1rem;
    margin: 0 auto !important;
    padding: .8rem 1.45rem !important;
    border: 1px solid rgba(44, 36, 26, 0.22) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--encrier) !important;
    box-shadow: 0 12px 28px rgba(44, 36, 26, 0.08);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem !important;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: 1.2 !important;
    text-align: center;
    text-transform: uppercase;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

#anis_container .anis_button_more_products:hover {
    border-color: var(--cuir-brun) !important;
    background: var(--encrier) !important;
    color: #fff !important;
    box-shadow: 0 16px 34px rgba(44, 36, 26, 0.16);
    transform: translateY(-1px);
}

#anis_container .anis_button_more_products::before {
    content: "";
    flex: 0 0 1rem;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(139, 94, 60, 0.24);
    border-top-color: var(--cuir-brun);
    border-radius: 50%;
    opacity: .72;
}

#anis_container .anis_button_more_products:hover::before {
    border-color: rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
}

#anis_container #anis_loader_image {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

#anis_container .anis_button_more_products:has(#anis_loader_image[style*="display: block"]) {
    cursor: wait;
}

#anis_container .anis_button_more_products:has(#anis_loader_image[style*="display: block"])::before {
    animation: anis-craft-spin .75s linear infinite;
    opacity: 1;
}

#anis_container .anis_button_text {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    line-height: 1.2 !important;
    color: inherit !important;
    font-size: 0 !important;
}

#anis_container .anis_button_text::after {
    content: "Voir plus de produits";
    font-size: .75rem;
}

#anis_container .anis_button_more_products:has(#anis_loader_image[style*="display: block"]) .anis_button_text::after {
    content: "Chargement des produits";
}

@keyframes anis-craft-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    #anis_container .anis_button_more_products,
    #anis_container .anis_button_more_products::before {
        transition: none;
        animation: none !important;
    }
}

@media (max-width: 575.98px) {
    #anis_container {
        margin-top: 1.5rem !important;
    }

    #anis_container .anis_button_more_products {
        width: 100%;
        min-width: 0;
    }
}

/* Product page: align Made in France labels from the module */
body#product .product__right .madefrance-labels-right {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: .75rem;
    width: auto;
    max-width: 100%;
    margin: 1rem 0;
    padding: .65rem .75rem;
    text-align: left;
    vertical-align: middle;
}

body#product .product__right .madefrance-labels-right .madefrance-label-img {
    flex: 0 0 auto;
    width: auto;
    height: var(--madefrance-product-label-size, 2.5rem);
    max-width: none;
    max-height: var(--madefrance-product-label-size, 2.5rem);
    object-fit: contain;
}

@media (max-width: 575.98px) {
    body#product .product__right .madefrance-labels-right {
        gap: .55rem;
        padding: .55rem .65rem;
    }

}

/* Cart quantity controls: give the native qty widget enough room */
body#cart .product-line__content-right,
.cart-overview .product-line__content-right {
    flex: 0 0 220px;
    max-width: 220px;
}

body#cart .product-line__quantity-button.quantity-button,
.cart-overview .product-line__quantity-button.quantity-button {
    display: flex;
    justify-content: flex-end;
    min-width: 190px;
    max-width: none;
}

body#cart .product-line__quantity-button .quantity-button__group.input-group,
.cart-overview .product-line__quantity-button .quantity-button__group.input-group {
    flex-wrap: nowrap;
    width: max-content;
}

@media (max-width: 767.98px) {
    body#cart .product-line__content-right,
    .cart-overview .product-line__content-right {
        flex-basis: 190px;
        max-width: 190px;
    }

    body#cart .product-line__quantity-button.quantity-button,
    .cart-overview .product-line__quantity-button.quantity-button {
        min-width: 170px;
    }
}
