/* ===========================================
   Category Filters & Sort — Bijoux en Vogue
   3 UI variants: A (sidebar), B (drawer), C (inline)
   =========================================== */

/* ---- Sort Bar ---- */
.cf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.cf-results-count {
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  color: #666;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cf-results-count strong {
  color: #1a1a1a;
  font-weight: 600;
}

.cf-sort-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.cf-sort-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  white-space: nowrap;
}

.cf-sort-select {
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.5rem center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  color: #1a1a1a;
  transition: border-color 0.2s;
}

.cf-sort-select:focus {
  outline: 3px solid #d4af37;
  outline-offset: 2px;
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

/* ---- Filter Toggle Button (Variants B & C, and mobile for A) ---- */
.cf-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.2s;
}

.cf-filter-toggle:hover {
  border-color: #d4af37;
  color: #d4af37;
}

.cf-filter-toggle svg {
  width: 18px;
  height: 18px;
}

.cf-filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: #d4af37;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.cf-filter-badge:empty,
.cf-filter-badge[data-count="0"] {
  display: none;
}

/* ---- Active Filters (pills) ---- */
.cf-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cf-active-filters:empty {
  display: none;
}

.cf-active-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  background: #fdf8ed;
  border: 1px solid #d4af37;
  border-radius: 999px;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  color: #8a6d1b;
  cursor: pointer;
  transition: all 0.2s;
}

.cf-active-pill:hover {
  background: #d4af37;
  color: #fff;
}

.cf-active-pill svg {
  width: 12px;
  height: 12px;
}

.cf-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  color: #666;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.cf-reset-btn:hover {
  border-color: #ef4444;
  color: #ef4444;
}

/* ---- Maillage Links (subcategory links) ---- */
.cf-maillage {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.cf-maillage a {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #4b5563;
  text-decoration: none;
  transition: all 0.2s;
}

.cf-maillage a:hover {
  border-color: #d4af37;
  color: #d4af37;
}

/* ---- Maillage Groupé ---- */
.cf-maillage-grouped {
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}
.cf-maillage-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.cf-maillage-group-label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #9a7b4f;
  white-space: nowrap;
  padding-top: 0.45rem;
  min-width: 5.5rem;
  flex-shrink: 0;
}
.cf-maillage-group-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
@media (max-width: 640px) {
  .cf-maillage-group {
    flex-direction: column;
    gap: 0.375rem;
    align-items: center;
  }
  .cf-maillage-group-label {
    min-width: auto;
  }
}

/* ---- Filter Panel Common ---- */
.cf-panel-section {
  border-bottom: 1px solid #f3f4f6;
  padding: 0.75rem 0;
}

.cf-panel-section:last-child {
  border-bottom: none;
}

.cf-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 0.5rem 0;
  user-select: none;
}

.cf-section-title {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1a1a1a;
  font-weight: 600;
}

.cf-section-arrow {
  width: 16px;
  height: 16px;
  color: #9ca3af;
  transition: transform 0.2s;
}

.cf-panel-section.open .cf-section-arrow {
  transform: rotate(180deg);
}

.cf-section-body {
  display: none;
  padding: 0.5rem 0 0.25rem;
}

.cf-panel-section.open .cf-section-body {
  display: block;
}

/* Checkboxes */
.cf-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cf-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.8125rem;
  color: #374151;
  cursor: pointer;
  transition: color 0.15s;
}

.cf-checkbox-label:hover {
  color: #d4af37;
}

.cf-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #d4af37;
  cursor: pointer;
}

/* Color swatches */
.cf-color-list {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cf-color-swatch {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  cursor: pointer;
  transition: all 0.2s;
}

.cf-color-swatch:hover,
.cf-color-swatch.active {
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

.cf-color-swatch.active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4af37;
}

.cf-color-swatch[data-color="Jaune"] { background: linear-gradient(135deg, #ffd700, #daa520); }
.cf-color-swatch[data-color="Blanc"] { background: linear-gradient(135deg, #f5f5f5, #e0e0e0); }
.cf-color-swatch[data-color="Rose"] { background: linear-gradient(135deg, #f4c2c2, #e8a0a0); }

.cf-color-swatch-label {
  display: block;
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  color: #666;
  margin-top: 0.25rem;
}

/* Tag pills filter */
.cf-tag-group-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin: 0.625rem 0 0.25rem;
}

.cf-tag-group-title:first-child {
  margin-top: 0;
}

.cf-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.25rem;
}

.cf-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.cf-tag-pill:hover {
  border-color: #d4af37;
  color: #d4af37;
}

.cf-tag-pill.active {
  background: #d4af37;
  border-color: #d4af37;
  color: #fff;
}

.cf-tag-pill:focus {
  outline: 3px solid #d4af37;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

/* Inline dropdown panel wider for tags */
.cf-inline-dropdown[data-filter="tags"] .cf-inline-dropdown-panel {
  min-width: 300px;
  max-height: 400px;
}

/* Price inputs */
.cf-price-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cf-price-input {
  width: 100%;
  padding: 0.5rem 0.625rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 0.8125rem;
  color: #1a1a1a;
  text-align: center;
}

.cf-price-input:focus {
  outline: 3px solid #d4af37;
  outline-offset: 2px;
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

.cf-price-sep {
  color: #9ca3af;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

/* Gravure toggle */
.cf-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0;
}

.cf-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  background: #d1d5db;
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.cf-toggle.active {
  background: #d4af37;
}

.cf-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.cf-toggle.active::after {
  transform: translateX(18px);
}

.cf-toggle-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.8125rem;
  color: #374151;
}

/* Panel Apply button (inside drawer) */
.cf-apply-btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.75rem;
  background: #d4af37;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.cf-apply-btn:hover {
  background: #b8941f;
}

/* ---- Load More / Pagination ---- */
.cf-load-more {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 0;
}

.cf-load-more-btn {
  display: inline-block;
  padding: 0.75rem 2.5rem;
  border: 1px solid #d4af37;
  background: transparent;
  color: #d4af37;
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s;
}

.cf-load-more-btn:hover {
  background: #d4af37;
  color: #fff;
}

.cf-load-more-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cf-loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #d4af37;
  border-top-color: transparent;
  border-radius: 50%;
  animation: cf-spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 0.5rem;
}

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

/* =============================================
   VARIANT A — Sidebar Desktop + Drawer Mobile
   ============================================= */

.cf-layout-A {
  display: flex;
  gap: 2rem;
}

.cf-sidebar-A {
  width: 260px;
  flex-shrink: 0;
  border-right: 1px solid #f3f4f6;
  padding-right: 1.5rem;
}

.cf-sidebar-A .cf-panel-inner {
  position: sticky;
  top: 6rem;
}

.cf-main-A {
  flex: 1;
  min-width: 0;
}

/* Mobile: hide sidebar, show filter button */
@media (max-width: 1023px) {
  .cf-sidebar-A {
    display: none;
  }
  .cf-layout-A {
    display: block;
  }
  .cf-filter-toggle-A {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .cf-filter-toggle-A {
    display: none;
  }
  /* 3 cols when sidebar takes space */
  .cf-main-A #products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* =============================================
   VARIANT B — Drawer everywhere
   ============================================= */

.cf-sidebar-B {
  display: none;
}

/* =============================================
   VARIANT C — Inline horizontal dropdowns
   ============================================= */

.cf-inline-bar-C {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.cf-inline-dropdown {
  position: relative;
}

.cf-inline-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.8125rem;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.cf-inline-dropdown-btn:hover,
.cf-inline-dropdown-btn.active {
  border-color: #d4af37;
  color: #d4af37;
}

.cf-inline-dropdown-btn svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.cf-inline-dropdown.open .cf-inline-dropdown-btn svg {
  transform: rotate(180deg);
}

.cf-inline-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 0.75rem;
  z-index: 30;
}

.cf-inline-dropdown.open .cf-inline-dropdown-panel {
  display: block;
}

/* Toolbar responsive: wrap on small screens */
@media (max-width: 767px) {
  .cf-toolbar {
    flex-wrap: wrap;
  }
  .cf-inline-bar-C {
    flex-wrap: wrap;
    order: 3;
    flex-basis: 100%;
  }
}

/* =============================================
   Filter Drawer (shared by A-mobile and B)
   ============================================= */

.cf-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.cf-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cf-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #fff;
  z-index: 61;
  transform: translateX(-100%);
  transition: transform 0.3s ease-out;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cf-drawer.open {
  transform: translateX(0);
}

.cf-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.cf-drawer-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.cf-drawer-close {
  padding: 0.375rem;
  color: #9ca3af;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.cf-drawer-close:hover {
  color: #1a1a1a;
}

.cf-drawer-close svg {
  width: 20px;
  height: 20px;
}

.cf-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 1.25rem;
}

.cf-drawer-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
}

/* ---- Product price fix for range prices ---- */
.product-price {
  white-space: normal !important;
  text-align: right !important;
}

.price-from {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  line-height: 1.4;
  white-space: nowrap;
}

/* ---- Focus styles (accessibility) ---- */
.cf-filter-toggle:focus,
.cf-inline-dropdown-btn:focus,
.cf-apply-btn:focus,
.cf-load-more-btn:focus,
.cf-drawer-close:focus,
.cf-reset-btn:focus,
.cf-active-pill:focus,
.cf-maillage a:focus {
  outline: 3px solid #d4af37;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

.cf-color-swatch:focus {
  outline: 3px solid #d4af37;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

.cf-toggle:focus {
  outline: 3px solid #d4af37;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

.cf-checkbox-label input[type="checkbox"]:focus {
  outline: 3px solid #d4af37;
  outline-offset: 2px;
}

/* ---- Grid transition ---- */
#products-grid {
  transition: opacity 0.2s;
}

#products-grid.cf-loading {
  opacity: 0.4;
  pointer-events: none;
}

/* ---- SEO text: one-line teaser + expandable ---- */
.cf-seo-text {
  max-width: 52rem;
  margin: 0.5rem auto 1.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6b6b6b;
}
@media (min-width: 768px) {
  .cf-seo-text {
    font-size: 0.9375rem;
  }
}
/* Collapsed: single line with "En savoir plus" inline at end */
.cf-seo-text:not(.expanded) {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.cf-seo-text:not(.expanded) .cf-seo-teaser {
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cf-seo-text:not(.expanded) .cf-seo-toggle {
  flex-shrink: 0;
  margin-top: 0;
}
/* Toggle button */
.cf-seo-text .cf-seo-toggle {
  background: none;
  border: none;
  color: #d4af37;
  font-family: 'Lato', sans-serif;
  font-size: 0.8125rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
  white-space: nowrap;
}
.cf-seo-text .cf-seo-toggle:hover {
  color: #b8941e;
}
/* Expanded: full article layout */
.cf-seo-text.expanded .cf-seo-toggle {
  display: inline-block;
  margin: 1rem 0 0;
}
.cf-seo-text:not(.expanded) .cf-seo-full {
  display: none;
}
.cf-seo-text.expanded .cf-seo-teaser {
  display: none;
}
.cf-seo-text.expanded {
  text-align: left;
  max-width: 60rem;
  display: block;
}
/* Rich content typography */
.cf-seo-full h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}
.cf-seo-full h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #333;
  margin: 1.5rem 0 0.5rem;
  line-height: 1.3;
}
.cf-seo-full h4 {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #444;
  margin: 1rem 0 0.375rem;
  line-height: 1.4;
}
.cf-seo-full p {
  line-height: 1.8;
  margin-bottom: 0.875rem;
  color: #555;
}
.cf-seo-full ul,
.cf-seo-full ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.cf-seo-full li {
  line-height: 1.7;
  margin-bottom: 0.375rem;
  color: #555;
}
.cf-seo-full ul li {
  list-style-type: disc;
}
.cf-seo-full ol li {
  list-style-type: decimal;
}
.cf-seo-full a {
  color: #d4af37;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.cf-seo-full a:hover {
  color: #8a6d1b;
}
.cf-seo-full h2:first-child {
  margin-top: 0.5rem;
}
@media (min-width: 768px) {
  .cf-seo-full h2 { font-size: 1.5rem; }
  .cf-seo-full h3 { font-size: 1.25rem; }
}

/* ---- Breadcrumb: smaller + gold + spacing from header ---- */
nav[aria-label="Fil d'Ariane"] {
  margin-top: 0.75rem;
}
@media (min-width: 768px) {
  nav[aria-label="Fil d'Ariane"] {
    margin-top: 1.25rem;
  }
}
nav[aria-label="Fil d'Ariane"] ol {
  font-size: 8px !important;
  color: #c4a24e !important;
  letter-spacing: 0.18em !important;
}
@media (min-width: 768px) {
  nav[aria-label="Fil d'Ariane"] ol {
    font-size: 9px !important;
  }
}
nav[aria-label="Fil d'Ariane"] a {
  color: #c4a24e !important;
  transition: color 0.2s;
}
nav[aria-label="Fil d'Ariane"] a:hover {
  color: #8a6d1b !important;
}
nav[aria-label="Fil d'Ariane"] li:last-child > span[itemprop="name"] {
  color: #b8941e !important;
  font-weight: 600;
}

/* ---- Club Price on product cards ---- */
.club-price-card {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.club-price-card:hover {
  opacity: 0.8;
}
.club-badge-sm {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: linear-gradient(135deg, #d4af37, #f0d060);
  padding: 1px 5px;
  border-radius: 3px;
  line-height: 1.4;
}
.club-price-amount {
  font-size: 0.75rem;
  color: #d4af37;
  font-weight: 600;
}

/* ---- Gravure badge on product cards ---- */
.gravure-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(255,255,255,0.92);
  border: 1px solid #d4af37;
  color: #d4af37;
  font-family: 'Lato', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: 3px;
  line-height: 1;
  pointer-events: none;
}
.gravure-badge svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

/* Rhodié badge on category cards */
.product-image-container .rhodie-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  font-family: 'Lato', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  color: #4a6fa5;
  background: linear-gradient(135deg, rgba(238,243,251,0.92), rgba(220,231,247,0.92));
  border: 1px solid rgba(74,111,165,0.2);
  border-radius: 12px;
  line-height: 1;
  pointer-events: none;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}
.product-image-container .rhodie-badge svg {
  stroke: #4a6fa5;
}
/* When both gravure + rhodié badges, stack rhodié below */
.product-image-container .gravure-badge + .rhodie-badge {
  top: 30px;
}

/* ---- Mobile touch: show add-to-cart button (no hover on touch) ---- */
@media (hover: none) {
  .add-to-cart-btn {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

/* ---- Mobile 2-col: compact product cards ---- */
@media (max-width: 639px) {
  .product-card {
    padding: 0.5rem !important;
  }
  .product-name {
    font-size: 0.8rem !important;
    min-height: 2rem !important;
    max-height: 2rem !important;
  }
  .product-info {
    height: 110px !important;
    min-height: 110px !important;
  }
  .product-price {
    font-size: 1rem !important;
  }
  .add-to-cart-btn {
    padding: 0.375rem 0.5rem !important;
    font-size: 0.7rem !important;
  }
}

/* ---- Breadcrumb: min size 10px on mobile (lisibilité) ---- */
@media (max-width: 767px) {
  nav[aria-label="Fil d'Ariane"] ol {
    font-size: 10px !important;
  }
}

/* ---- Mobile touch targets: min 44px height (WCAG 2.5.5) ---- */
@media (max-width: 767px) {
  .cf-active-pill {
    min-height: 36px;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }
  .cf-reset-btn {
    min-height: 36px;
    padding: 0.4rem 0.75rem;
  }
  .cf-maillage a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  .cf-tag-pill {
    min-height: 38px;
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }
  .cf-filter-toggle {
    min-height: 44px;
    padding: 0.625rem 1rem;
  }
  .cf-inline-dropdown-btn {
    min-height: 44px;
    padding: 0.625rem 1rem;
  }
  .cf-drawer-close {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cf-sort-select {
    min-height: 44px;
  }
  .cf-checkbox-label {
    min-height: 44px;
    padding: 0.25rem 0;
  }
  .cf-color-swatch {
    width: 44px;
    height: 44px;
  }
}
