/* ==========================================================================
   DECOSIUM - Produits Catalogue & Listing Page Styles
   Strictly matched to Figma/Design Mockup & Mobile Responsive
   ========================================================================== */

:root {
  --color-primary-green: #183b2b;
  --color-primary-green-hover: #122c20;
  --color-gold-accent: #dfb26b;
  --color-gold-dark: #b68b48;
  --color-discount-red: #e11d48;
  --color-text-dark: #1e293b;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-border-subtle: #eae5de;
  --color-border-light: #f1ede8;
  --color-bg-card: #ffffff;
  --color-bg-page: #faf8f5;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 4px 16px rgba(24, 59, 43, 0.05);
  --shadow-card-hover: 0 12px 30px rgba(24, 59, 43, 0.12);
  --radius-card: 14px;
}

body.produits-page {
  background-color: var(--color-bg-page);
  color: var(--color-text-dark);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}


/* ==========================================================================
   Page Top: Breadcrumb & Title
   ========================================================================== */
.prod-header-section {
  padding: 24px 0 16px;
  background: transparent;
}

.prod-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.prod-breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

.prod-breadcrumb a:hover {
  color: var(--color-primary-green);
}

.prod-breadcrumb-sep {
  color: #cbd5e1;
  font-size: 0.78rem;
}

.prod-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.prod-page-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: #14281e;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}

.prod-global-count {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Top Category Pills Carousel (10 Items Row)
   ========================================================================== */
.prod-cats-carousel-wrap {
  width: 100%;
  margin-bottom: 32px;
  position: relative;
}

.prod-cats-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  padding: 4px 2px 12px;
  -webkit-overflow-scrolling: touch;
}

.prod-cats-track::-webkit-scrollbar {
  display: none;
}

.prod-cat-pill-card {
  flex: 0 0 122px;
  width: 122px;
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 14px;
  padding: 10px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  user-select: none;
}

.prod-cat-pill-card:hover {
  transform: translateY(-3px);
  border-color: #dfb26b88;
  box-shadow: 0 6px 16px rgba(24, 59, 43, 0.08);
}

.prod-cat-pill-card.active {
  border: 1.8px solid var(--color-primary-green);
  box-shadow: 0 4px 14px rgba(24, 59, 43, 0.12);
  background: #ffffff;
}

.prod-cat-thumb-box {
  width: 104px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: #f4ede3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.prod-cat-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.prod-cat-pill-card:hover .prod-cat-thumb-box img {
  transform: scale(1.08);
}

.prod-cat-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 8px);
  gap: 4px;
  justify-content: center;
  align-content: center;
  height: 100%;
}

.prod-cat-icon-grid span {
  width: 8px;
  height: 8px;
  background: var(--color-primary-green);
  border-radius: 2px;
}

.prod-cat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
  line-height: 1.3;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6em;
  word-break: break-word;
}

.prod-cat-pill-card.active .prod-cat-label {
  color: var(--color-primary-green);
  font-weight: 700;
}

/* ==========================================================================
   Main Catalog 2-Column Grid Layout
   ========================================================================== */
.prod-catalog-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.prod-main-grid {
  display: grid;
  grid-template-columns: 275px 1fr;
  gap: 36px;
  align-items: start;
}

/* ==========================================================================
   Left Filter Sidebar
   ========================================================================== */
.prod-sidebar {
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  padding: 22px 20px 24px;
  box-shadow: var(--shadow-subtle);
  position: static;
}

.prod-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: 18px;
}

.prod-filter-title-box {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #14281e;
}

.prod-filter-title-box svg {
  color: var(--color-primary-green);
}

.prod-filter-reset-link {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease;
}

.prod-filter-reset-link:hover {
  color: var(--color-primary-green);
  text-decoration: underline;
}

/* Filter Accordion / Sections */
.prod-filter-sec {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border-light);
}

.prod-filter-sec:last-of-type {
  border-bottom: none;
  margin-bottom: 12px;
  padding-bottom: 0;
}

.prod-filter-sec-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

/* Custom Checkbox List */
.prod-checkbox-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 6px 4px 10px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.prod-checkbox-list::-webkit-scrollbar {
  width: 5px;
}
.prod-checkbox-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.prod-checkbox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  color: #334155;
  cursor: pointer;
  user-select: none;
}

.prod-checkbox-item:hover {
  color: var(--color-primary-green);
}

.prod-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-grow: 1;
}

.prod-custom-check {
  width: 17px;
  height: 17px;
  border-radius: 4px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.prod-checkbox-item input[type="checkbox"] {
  display: none;
}

.prod-checkbox-item input[type="checkbox"]:checked + .prod-checkbox-label .prod-custom-check {
  background: var(--color-primary-green);
  border-color: var(--color-primary-green);
}

.prod-custom-check svg {
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.15s ease;
  color: #ffffff;
}

.prod-checkbox-item input[type="checkbox"]:checked + .prod-checkbox-label .prod-custom-check svg {
  opacity: 1;
  transform: scale(1);
}

.prod-count-badge {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
  margin-left: 6px;
}

/* Price Range Slider */
.prod-price-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prod-dual-range-container {
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
}

.prod-range-track {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: #e2e8f0;
  border-radius: 4px;
}

.prod-range-selected {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary-green);
  border-radius: 4px;
}

.prod-range-input {
  position: absolute;
  width: 100%;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  margin: 0;
}

.prod-range-input::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-primary-green);
  border: 2px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.prod-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.prod-price-boxes {
  display: flex;
  align-items: center;
  gap: 12px;
}

.prod-price-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid var(--color-border-subtle);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.85rem;
  color: #1e293b;
  font-weight: 600;
}

.prod-price-box input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  outline: none;
}

/* Brand Mini Search Box */
.prod-brand-search {
  position: relative;
  margin-bottom: 12px;
}

.prod-brand-search input {
  width: 100%;
  padding: 8px 12px 8px 32px;
  border-radius: 8px;
  border: 1px solid var(--color-border-subtle);
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.18s ease;
  background: #fdfdfd;
}

.prod-brand-search input:focus {
  border-color: var(--color-primary-green);
  background: #ffffff;
}

.prod-brand-search svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

/* Color Circles */
.prod-colors-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prod-color-circle {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.prod-color-circle:hover {
  transform: scale(1.15);
}

.prod-color-circle.active {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--color-primary-green);
  transform: scale(1.08);
}

/* Sidebar Apply Filters CTA Button */
.btn-sidebar-apply {
  width: 100%;
  height: 44px;
  background: var(--color-primary-green);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  margin-top: 18px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(24, 59, 43, 0.2);
}

.btn-sidebar-apply:hover {
  background: var(--color-primary-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(24, 59, 43, 0.28);
}

/* ==========================================================================
   Right Content Area: Toolbar, Results Count, Product Grid
   ========================================================================== */
.prod-right-content {
  display: flex;
  flex-direction: column;
}

/* Top Toolbar */
.prod-top-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.prod-main-search-wrap {
  position: relative;
  flex: 1;
  max-width: 520px;
}

.prod-main-search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.prod-main-search-input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 42px;
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 9px;
  font-size: 0.88rem;
  color: #1e293b;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-subtle);
}

.prod-main-search-input:focus {
  border-color: var(--color-primary-green);
  box-shadow: 0 0 0 3px rgba(24, 59, 43, 0.08);
}

.prod-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.prod-sort-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #475569;
  white-space: nowrap;
}

.prod-sort-select {
  height: 42px;
  padding: 0 32px 0 12px;
  background: #ffffff 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='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--color-border-subtle);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #1e293b;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: var(--shadow-subtle);
}

.prod-sort-select:focus {
  border-color: var(--color-primary-green);
}

.prod-view-switchers {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 8px;
  padding: 3px;
  box-shadow: var(--shadow-subtle);
}

.prod-view-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.18s ease;
}

.prod-view-btn.active {
  background: #f1f5f9;
  color: #0f172a;
}

/* Mobile Trigger Button for Filters Drawer */
.btn-mobile-filters-trigger {
  display: none;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
}

.btn-mobile-filters-trigger .filter-badge {
  background: var(--color-primary-green);
  color: #ffffff;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 9999px;
  font-weight: 700;
}

/* Results Count Text */
.prod-results-info-row {
  margin-bottom: 20px;
}

.prod-results-info-row .results-count {
  font-size: 1.02rem;
  font-weight: 700;
  color: #1e293b;
}

.prod-results-info-row .results-count span {
  font-weight: 400;
  color: #475569;
  margin-left: 4px;
}

/* ==========================================================================
   Product Grid & Product Cards
   ========================================================================== */
.prod-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}

/* 4-Columns Product Card */
.prod-card {
  background: #ffffff;
  border: 1px solid #efeae3;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.prod-card:hover {
  transform: translateY(-5px);
  border-color: #dfb26b99;
  box-shadow: var(--shadow-card-hover);
}

/* Image Box */
.prod-card-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.95;
  background: #f6f3ee;
  overflow: hidden;
}

.prod-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.prod-card:hover .prod-card-img {
  transform: scale(1.06);
}

/* Discount Badge */
.prod-badge-discount {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-discount-red);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 2;
  letter-spacing: 0.2px;
}

/* Wishlist Heart Button */
.prod-btn-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.prod-btn-wishlist:hover {
  transform: scale(1.12);
  background: #ffffff;
  color: var(--color-discount-red);
}

.prod-btn-wishlist.active {
  color: var(--color-discount-red);
}

.prod-btn-wishlist.active svg {
  fill: var(--color-discount-red);
}

/* Card Body Content */
.prod-card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.prod-card-title {
  font-size: 0.94rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px;
  line-height: 1.35;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.18s ease;
}

.prod-card-title:hover {
  color: var(--color-primary-green);
}

.prod-card-store {
  font-size: 0.81rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  display: block;
}

.prod-card-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.prod-price-now {
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--color-primary-green);
}

.prod-price-old {
  font-size: 0.82rem;
  color: var(--color-text-light);
  text-decoration: line-through;
  font-weight: 500;
}

/* Card Bottom Action Row */
.prod-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 6px;
}

.prod-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}

.prod-card-rating .star-icon {
  color: #f59e0b;
  font-size: 0.88rem;
}

.prod-card-rating .rating-count {
  color: var(--color-text-muted);
  font-weight: 400;
}

.btn-prod-add-cart {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--color-primary-green);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(24, 59, 43, 0.15);
}

.btn-prod-add-cart:hover {
  background: var(--color-primary-green-hover);
  transform: scale(1.08);
}

.btn-prod-add-cart:active {
  transform: scale(0.96);
}

/* ==========================================================================
   List View Mode (Alternative to Grid)
   ========================================================================== */
.prod-catalog-grid.list-view {
  grid-template-columns: 1fr;
  gap: 16px;
}

.prod-catalog-grid.list-view .prod-card {
  flex-direction: row;
  height: 160px;
}

.prod-catalog-grid.list-view .prod-card-img-box {
  width: 200px;
  height: 100%;
  aspect-ratio: auto;
  flex-shrink: 0;
}

.prod-catalog-grid.list-view .prod-card-body {
  justify-content: center;
}

/* ==========================================================================
   Bottom Pagination Row
   ========================================================================== */
.prod-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 20px 0;
}

.prod-page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.18s ease;
  user-select: none;
}

.prod-page-btn:hover {
  border-color: var(--color-primary-green);
  color: var(--color-primary-green);
}

.prod-page-btn.active {
  background: var(--color-primary-green);
  border-color: var(--color-primary-green);
  color: #ffffff;
}

.prod-page-dots {
  color: #94a3b8;
  font-weight: 700;
  padding: 0 4px;
}

/* ==========================================================================
   Mobile Filter Off-Canvas Drawer & Overlay
   ========================================================================== */
.mobile-filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-filter-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-filter-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 86%;
  max-width: 360px;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.25);
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.mobile-drawer-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #14281e;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-close-drawer {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border-subtle);
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
}

.mobile-drawer-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--color-border-subtle);
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-drawer-reset {
  flex: 1;
  height: 44px;
  border: 1px solid var(--color-border-subtle);
  border-radius: 8px;
  background: #f8fafc;
  font-weight: 600;
  font-size: 0.88rem;
  color: #64748b;
  cursor: pointer;
}

.btn-drawer-apply {
  flex: 2;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: var(--color-primary-green);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet (max-width: 1200px) */
@media (max-width: 1200px) {
  .prod-catalog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

/* Small Tablet / Large Mobile (max-width: 1024px) */
@media (max-width: 1024px) {
  .prod-main-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .prod-sidebar {
    display: none; /* Hidden on tablet & mobile, replaced by drawer */
  }

  .btn-mobile-filters-trigger {
    display: inline-flex;
  }

  .prod-top-toolbar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .prod-main-search-wrap {
    max-width: 100%;
    order: 1;
  }

  .prod-toolbar-actions {
    width: 100%;
    justify-content: space-between;
    order: 2;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .prod-page-title {
    font-size: 2rem;
  }

  .prod-title-row {
    margin-bottom: 16px;
  }

  .prod-cat-pill-card {
    flex: 0 0 94px;
    width: 94px;
    padding: 6px 6px 8px;
  }

  .prod-cat-thumb-box {
    width: 80px;
    height: 58px;
  }

  .prod-cat-label {
    font-size: 0.76rem;
  }

  /* 2-Columns Grid on Mobile */
  .prod-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 32px;
  }

  .prod-card-body {
    padding: 10px 10px 12px;
  }

  .prod-card-title {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .prod-card-store {
    font-size: 0.74rem;
    margin-bottom: 6px;
  }

  .prod-price-now {
    font-size: 0.92rem;
  }

  .prod-price-old {
    font-size: 0.75rem;
  }

  .prod-card-rating {
    font-size: 0.74rem;
  }

  .btn-prod-add-cart {
    width: 32px;
    height: 32px;
    border-radius: 6px;
  }

  .prod-pagination {
    gap: 4px;
  }

  .prod-page-btn {
    min-width: 32px;
    height: 32px;
    font-size: 0.8rem;
    padding: 0 6px;
  }

  .prod-right-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .prod-top-toolbar {
    width: 100%;
    max-width: 100%;
    gap: 10px;
  }

  .prod-main-search-wrap {
    width: 100%;
    max-width: 100%;
  }

  .prod-main-search-input {
    width: 100%;
    box-sizing: border-box;
  }

  .prod-toolbar-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .btn-mobile-filters-trigger {
    flex-shrink: 0;
    height: 38px;
    font-size: 0.82rem;
    padding: 0 12px;
  }

  .prod-sort-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
  }

  .prod-sort-group label {
    display: none;
  }

  .prod-sort-select {
    font-size: 0.8rem;
    height: 38px;
    padding-left: 8px;
    max-width: 170px;
    width: 100%;
    box-sizing: border-box;
  }

  .prod-view-switchers {
    display: none;
  }
}

/* Extra Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  .prod-catalog-container {
    padding: 0 12px 60px;
  }

  .prod-badge-discount {
    font-size: 0.68rem;
    padding: 2px 6px;
    top: 8px;
    left: 8px;
  }

  .prod-btn-wishlist {
    width: 28px;
    height: 28px;
    top: 8px;
    right: 8px;
  }
}


/* ==========================================================================
   Compact Home Hero Banner (Produits Catalogue)
   ========================================================================== */
.home-hero-banner {
  position: relative;
  width: 100%;
  min-height: 240px;
  height: 250px;
  max-height: 260px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(16, 32, 26, 0.92) 0%, rgba(16, 32, 26, 0.75) 45%, rgba(16, 32, 26, 0.20) 80%, rgba(16, 32, 26, 0.05) 100%), 
              url('../assets/images/hero_interior.jpg') center 38% / cover no-repeat;
  overflow: hidden;
  margin-bottom: 0;
}

.home-hero-content {
  max-width: 620px;
  text-align: left;
  color: #ffffff;
  padding: 10px 0;
  position: relative;
  z-index: 2;
}

.home-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #dfb26b;
  background: rgba(223, 178, 107, 0.15);
  border: 1px solid rgba(223, 178, 107, 0.32);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  backdrop-filter: blur(4px);
}

.home-hero-sparkle {
  font-size: 0.8rem;
  color: #dfb26b;
}

.home-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.18;
  color: #ffffff;
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.home-hero-desc {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 0.92rem;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 560px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* RTL Support */
html[dir="rtl"] .home-hero-banner,
body.rtl .home-hero-banner {
  background: linear-gradient(270deg, rgba(16, 32, 26, 0.92) 0%, rgba(16, 32, 26, 0.75) 45%, rgba(16, 32, 26, 0.20) 80%, rgba(16, 32, 26, 0.05) 100%), 
              url('../assets/images/hero_interior.jpg') center 38% / cover no-repeat;
}

html[dir="rtl"] .home-hero-content,
body.rtl .home-hero-content {
  text-align: right;
  margin-left: auto;
  margin-right: 0;
}

html[dir="rtl"] .home-hero-title,
body.rtl .home-hero-title {
  font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
}

@media (max-width: 991px) {
  .home-hero-banner {
    height: 220px;
    min-height: 210px;
  }
  .home-hero-title {
    font-size: 1.8rem;
  }
  .home-hero-desc {
    font-size: 0.86rem;
  }
}

@media (max-width: 768px) {
  .home-hero-banner {
    height: 185px;
    min-height: 175px;
    background: linear-gradient(90deg, rgba(16, 32, 26, 0.94) 0%, rgba(16, 32, 26, 0.84) 65%, rgba(16, 32, 26, 0.45) 100%), 
                url('../assets/images/hero_interior.jpg') center 38% / cover no-repeat;
  }
  html[dir="rtl"] .home-hero-banner,
  body.rtl .home-hero-banner {
    background: linear-gradient(270deg, rgba(16, 32, 26, 0.94) 0%, rgba(16, 32, 26, 0.84) 65%, rgba(16, 32, 26, 0.45) 100%), 
                url('../assets/images/hero_interior.jpg') center 38% / cover no-repeat;
  }
  .home-hero-eyebrow {
    font-size: 0.65rem;
    padding: 3px 9px;
    margin-bottom: 6px;
  }
  .home-hero-title {
    font-size: 1.45rem;
    margin-bottom: 6px;
  }
  .home-hero-desc {
    font-size: 0.78rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
