@import url("../base/variables.5e7fedb82cda.css");
@import url("../base/reset.dae278e6190d.css");
@import url("../base/typography.c84c9b472a75.css");

/* =========================================
   ۱. تنظیمات پایه و لی‌آوت اصلی صفحه
========================================= */
body.page-products {
  background-color: var(--bg-main);
  color: var(--text-primary);
  overflow-x: hidden;
  padding-right: 0;
  margin: 0;
  font-family: "iranSans-m";
}

.products-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 12px 60px 12px;
  width: 100%;
}

@media (min-width: 768px) {
  .products-wrapper {
    padding: 20px 20px 40px 20px;
  }
}

@media (min-width: 1024px) {
  .products-wrapper {
    padding: 24px 24px 60px 24px;
  }

  .btn-mobile-filter,
  .mobile-only {
    display: none !important;
  }
}

/* =========================================
   ۲. دسته‌بندی‌های مصور بالای صفحه (کادر مدرن و شکیل)
========================================= */
.top-visual-categories {
  margin: 0 0 16px 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(254, 248, 243, 0.92) 100%
  );
  border: 1px solid rgba(196, 106, 43, 0.22);
  border-radius: 16px;
  padding: 14px 12px 6px 12px;
  box-shadow:
    0 4px 18px rgba(139, 94, 60, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.visual-category-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 6px 10px 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  align-items: flex-start;
}

.visual-category-track::-webkit-scrollbar {
  display: none;
}

.visual-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 96px;
  width: 96px;
  min-width: 96px;
  max-width: 96px;
  box-sizing: border-box;
  text-decoration: none;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.visual-category-item__img-box {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #FFE8D6 0%, #F5DCC8 100%);
  border: 2px solid rgba(196, 106, 43, 0.3);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(139, 94, 60, 0.12);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-category-item:hover .visual-category-item__img-box {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(196, 106, 43, 0.28);
  border-color: var(--secondary);
}

.visual-category-item:hover .visual-category-item__img-box img {
  transform: scale(1.1);
}

.visual-category-item__img-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-normal);
}

.visual-category-item__name {
  font-size: 0.78rem;
  color: var(--text-primary);
  font-weight: 700;
  text-align: center;
  width: 100%;
  max-width: 96px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  min-height: 2.7em;
  transition: color 0.2s ease;
}

.visual-category-item:hover .visual-category-item__name {
  color: var(--secondary);
}

/* =========================================
   ۳. هدر تخفیف‌های هیجان‌انگیز (تایمر و بنر شگفت‌انگیز)
========================================= */
.flash-sale-header {
  margin: 0 0 16px 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(254, 246, 238, 0.94) 100%);
  border: 1.5px solid rgba(196, 106, 43, 0.22);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow:
    0 4px 20px rgba(139, 94, 60, 0.07),
    0 1px 3px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.flash-sale-header::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle,
      rgba(196, 106, 43, 0.14) 0%,
      transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.flash-sale-header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.flash-sale-header__title-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.flash-sale-header__icon-badge {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FF6B35 0%, #C46A2B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(196, 106, 43, 0.35);
  color: #ffffff;
  font-size: 1.15rem;
  animation: pulseGlow 2.5s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(196, 106, 43, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.5);
  }
}

.flash-sale-header__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.flash-sale-header__title {
  font-size: 1.05rem;
  font-family: "iranSans-b", sans-serif;
  font-weight: 900;
  color: #8B3A14;
  margin: 0;
  line-height: 1.3;
}

.flash-sale-header__subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flash-sale-header__timer-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  direction: rtl;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(196, 106, 43, 0.2);
  padding: 6px 14px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(139, 94, 60, 0.04);
}

.flash-sale-header__timer-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: #8B3A14;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.flash-sale-header__timer-tag i {
  color: #C46A2B;
}

.flash-sale-header__timer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  direction: ltr;
  background: transparent;
  padding: 0;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.timer-box {
  background: linear-gradient(135deg, #DE3B3B 0%, #AF2426 100%);
  color: #ffffff;
  padding: 3px 7px;
  border-radius: 6px;
  font-family: "iranSans-b", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  min-width: 30px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(176, 65, 62, 0.32);
  line-height: 1.2;
}

.timer-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1;
}

.timer-sep {
  color: #AF2426;
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1;
  align-self: flex-start;
  margin-top: 4px;
}

/* 📱 واکنش‌گرایی اختصاصی هدر تخفیف و دسته‌بندی‌ها در موبایل */
@media (max-width: 768px) {
  .top-visual-categories {
    margin: 0 0 12px 0;
    padding: 10px 8px 4px 8px;
    border-radius: 14px;
  }

  .visual-category-track {
    gap: 12px;
    padding: 2px 4px 6px 4px;
  }

  .visual-category-item {
    flex: 0 0 76px;
    width: 76px;
    min-width: 76px;
    max-width: 76px;
    gap: 5px;
  }

  .visual-category-item__img-box {
    width: 54px;
    height: 54px;
    padding: 2px;
  }

  .visual-category-item__name {
    font-size: 0.7rem;
    max-width: 76px;
    line-height: 1.3;
    min-height: 2.6em;
  }

  .flash-sale-header {
    margin: 0 0 12px 0;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .flash-sale-header__content {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .flash-sale-header__icon-badge {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    font-size: 0.92rem;
  }

  .flash-sale-header__title-box {
    gap: 8px;
    width: 100%;
    justify-content: flex-start;
  }

  .flash-sale-header__title {
    font-size: 0.92rem;
    font-weight: 800;
  }

  .flash-sale-header__subtext {
    display: none;
  }

  .flash-sale-header__timer-wrap {
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(196, 106, 43, 0.18);
    padding: 6px 10px;
    border-radius: 10px;
    justify-content: space-between;
    gap: 6px;
  }

  .flash-sale-header__timer-tag {
    font-size: 0.72rem;
  }

  .timer-box {
    font-size: 0.8rem;
    padding: 2px 5px;
    min-width: 25px;
    border-radius: 5px;
  }

  .timer-label {
    font-size: 0.55rem;
  }
}

/* =========================================
   ۴. لی‌آوت گرید (سایدبار فیلتر + محتوا)
========================================= */
.products-main-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 16px;
}

.products-content {
  flex: 1;
  width: 100%;
  min-width: 0;
  /* جلوگیری از بهم ریختگی Flexbox */
}

/* =========================================
   ۵. سایدبار و تاگل سوییچ‌ها (iOS Style + Mobile Drawer)
========================================= */
body.filter-drawer-open {
  overflow: hidden !important;
}

.products-sidebar {
  width: 280px;
  flex-shrink: 0;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: 80px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--transition-fast);
}

.products-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-color);
}

.products-sidebar__header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "iranSans-b", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #8B3A14;
}

.products-sidebar__header-title i {
  color: var(--primary);
  font-size: 1.1rem;
}

.active-filters-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 94, 60, 0.12);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
}

.products-sidebar__header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-sidebar-reset {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-sidebar-reset:hover {
  color: var(--error);
  background: rgba(239, 68, 68, 0.08);
}

.btn-close-filters {
  background: #f3f4f6;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-close-filters:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
}

@media (max-width: 1023px) {
  .products-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 340px;
    max-width: 88vw;
    height: 100vh;
    height: 100dvh;
    z-index: 2000;
    border-radius: 20px 0 0 20px;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    padding: 0;
    box-shadow: none;
    overflow: hidden;
    background: #ffffff;
    border: none;
  }

  .products-sidebar.is-open {
    transform: translateX(0);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.28);
  }

  .products-sidebar__header {
    padding: 14px 18px;
    margin-bottom: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(139, 94, 60, 0.12);
    flex-shrink: 0;
  }

  .products-sidebar__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px;
    -webkit-overflow-scrolling: touch;
  }

  .products-sidebar__footer {
    padding: 12px 18px;
    padding-bottom: max(14px, env(safe-area-inset-bottom, 14px));
    background: #ffffff;
    border-top: 1px solid rgba(139, 94, 60, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
  }

  .btn-sidebar-footer-reset {
    flex: 1;
    height: 44px;
    padding: 0 10px;
    border: 1.5px solid rgba(139, 94, 60, 0.22);
    background: #ffffff;
    color: var(--text-secondary);
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s;
  }

  .btn-sidebar-footer-reset:hover {
    border-color: var(--error);
    color: var(--error);
    background: rgba(239, 68, 68, 0.05);
  }

  .btn-sidebar-footer-apply {
    flex: 1.4;
    height: 44px;
    padding: 0 14px;
    background: linear-gradient(135deg, #C46A2B 0%, #9E4B16 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 800;
    white-space: nowrap !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(196, 106, 43, 0.28);
    transition: all 0.2s;
  }

  .btn-sidebar-footer-apply:active {
    transform: scale(0.98);
  }
}

/* بخش‌ها و تیترهای سایدبار */
.sidebar-section {
  margin-bottom: 20px;
}

.sidebar-section__title {
  font-size: 0.92rem;
  font-family: "iranSans-b", sans-serif;
  font-weight: 800;
  color: #8B3A14;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-section__title i {
  color: var(--primary);
  font-size: 0.95rem;
}

.sidebar-divider {
  border: 0;
  height: 1px;
  background: rgba(139, 94, 60, 0.12);
  margin: 18px 0;
}

/* ساختار دسته‌بندی‌ها و دکمه‌های رادیویی */
.custom-radio-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  cursor: pointer;
  position: relative;
  margin: 0;
  padding: 0;
  user-select: none;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.custom-radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.radio-mark {
  position: relative;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid rgba(139, 94, 60, 0.35);
  border-radius: 50%;
  background: #ffffff;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.custom-radio:hover .radio-mark {
  border-color: var(--primary);
}

.custom-radio input:checked ~ .radio-mark {
  border-color: var(--primary);
  background: var(--primary);
}

.radio-mark::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  display: none;
}

.custom-radio input:checked ~ .radio-mark::after {
  display: block;
}

.radio-label {
  font-size: 0.86rem;
  color: var(--text-primary);
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-parent-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.custom-radio input:checked ~ .radio-label {
  color: #8B3A14;
  font-weight: 800;
}

.category-item-all {
  margin-bottom: 4px;
}

.category-item-all .custom-radio {
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(139, 94, 60, 0.04);
  border: 1px solid rgba(139, 94, 60, 0.12);
}

.category-item-group {
  margin-bottom: 6px;
}

/* هدر آکاردئونی دسته‌بندی والد */
.category-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(139, 94, 60, 0.035);
  border: 1px solid rgba(139, 94, 60, 0.09);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: all 0.22s ease;
}

.category-accordion-header:hover {
  background: rgba(139, 94, 60, 0.07);
  border-color: rgba(139, 94, 60, 0.2);
}

.category-accordion-header.is-parent-active,
.category-item-group.has-active-child .category-accordion-header {
  background: rgba(196, 106, 43, 0.08);
  border-color: rgba(196, 106, 43, 0.28);
}

.category-accordion-header__title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.cat-folder-icon {
  color: var(--primary);
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.category-accordion-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(139, 94, 60, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.75rem;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.category-accordion-header.is-collapsed .category-accordion-arrow {
  transform: rotate(-90deg);
  background: transparent;
  color: var(--text-muted);
}

.category-leaf-row {
  display: flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(139, 94, 60, 0.03);
  border: 1px solid rgba(139, 94, 60, 0.08);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.category-leaf-row:hover {
  background: rgba(139, 94, 60, 0.06);
  border-color: rgba(139, 94, 60, 0.18);
}

/* لیست زیردسته‌ها */
.sub-category-list {
  list-style: none;
  margin: 4px 14px 8px 0;
  padding: 4px 10px 4px 0;
  border-right: 2px solid rgba(196, 106, 43, 0.18);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.25s ease;
}

.sub-category-list.is-collapsed {
  display: none !important;
}

.sub-category-item {
  display: flex;
  align-items: center;
}

.sub-category-item--all .custom-radio {
  font-weight: 700;
  color: #8B3A14;
}

.sub-category-list .custom-radio {
  width: 100%;
  height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.sub-category-list .custom-radio:hover {
  background-color: rgba(139, 94, 60, 0.05);
}

.sub-category-list .custom-radio .radio-mark {
  width: 16px;
  height: 16px;
  min-width: 16px;
}

/* فیلتر قیمت */
.price-filter__inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.price-input-group {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FDFBF9;
  border: 1.5px solid rgba(139, 94, 60, 0.16);
  border-radius: 10px;
  padding: 6px 10px;
  flex: 1;
  min-width: 0;
  transition: all 0.2s ease;
}

.price-input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196, 106, 43, 0.12);
  background: #ffffff;
}

.price-input-group label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
}

.price-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-family: "iranSans-m", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  -moz-appearance: textfield;
}

.price-input::-webkit-outer-spin-button,
.price-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.price-quick-presets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin: 10px 0 12px 0;
}

.price-preset-chip {
  height: 34px;
  padding: 0 8px;
  background: #ffffff;
  border: 1px solid rgba(139, 94, 60, 0.16);
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.price-preset-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(139, 94, 60, 0.04);
}

.price-preset-chip.is-active {
  background: rgba(196, 106, 43, 0.12);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
}

.btn-apply-price {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  background-color: rgba(139, 94, 60, 0.04);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.btn-apply-price:hover {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(139, 94, 60, 0.2);
}

.btn-apply-price:active {
  transform: scale(0.98);
}

.filter-toggles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.filter-toggle-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(139, 94, 60, 0.08);
}

.filter-toggle-item:last-child {
  border-bottom: none;
}

.filter-toggle-item__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.filter-toggle-item__label {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--text-primary);
}

.filter-toggle-item__hint {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* استایل سوییچ شبیه اپلیکیشن‌ها */
.toggle-switch {
  position: relative;
  width: 42px;
  height: 24px;
  display: inline-block;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #D1D5DB;
  border-radius: 24px;
  transition: 0.25s ease;
}

.toggle-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked+.toggle-slider {
  background-color: var(--primary);
}

input:checked+.toggle-slider::before {
  transform: translateX(18px);
}

/* =========================================
   ۶. تولبار (جستجو، تب‌ها، مرتب‌سازی)
========================================= */
.products-toolbar {
  margin-bottom: 14px;
}

.products-search-box {
  position: relative;
  margin-bottom: 12px;
}

.products-search-box__input {
  width: 100%;
  height: 46px;
  padding: 0 44px 0 38px;
  background-color: #ffffff;
  border: 1.5px solid rgba(139, 94, 60, 0.18);
  border-radius: 50px;
  font-size: 0.88rem;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.products-search-box__input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3.5px rgba(196, 106, 43, 0.14), 0 4px 12px rgba(139, 94, 60, 0.06);
  background: #ffffff;
}

.products-search-box__icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 0.95rem;
  pointer-events: none;
  opacity: 0.8;
}

.products-search-box__clear {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-muted);
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.2s ease;
}

.products-search-box__clear:hover {
  color: var(--text-primary);
  background: var(--border-color);
}

.products-tabs-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.products-tabs-track::-webkit-scrollbar {
  display: none;
}

.product-tab {
  flex-shrink: 0;
  scroll-snap-align: start;
  height: 38px;
  padding: 0 16px;
  background-color: #ffffff;
  border: 1.5px solid rgba(139, 94, 60, 0.16);
  border-radius: 50px;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.product-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.product-tab.is-active {
  background: linear-gradient(135deg, #C46A2B 0%, #9E4B16 100%);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(196, 106, 43, 0.3);
  font-weight: 700;
}

/* مرتب‌سازی */
.products-sorting-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  margin-bottom: 14px;
  width: 100%;
  font-size: 0.85rem;
}

.products-sorting-bar__right {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0 4px 0;
}

.products-sorting-bar__right::-webkit-scrollbar {
  display: none;
}

.sorting-icon {
  color: var(--primary);
  font-size: 0.95rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.sorting-label {
  color: var(--text-muted);
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 600;
  flex-shrink: 0;
}

.sorting-list {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sorting-item {
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 2px;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.sorting-item:hover {
  color: var(--primary);
}

.sorting-item.is-active {
  color: #B0413E;
  font-weight: 800;
}

.sorting-item.is-active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: #B0413E;
  border-radius: 2px;
}

.btn-mobile-filter {
  flex-shrink: 0;
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: #ffffff;
  border: 1.5px solid rgba(139, 94, 60, 0.22);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(139, 94, 60, 0.06);
  position: relative;
  z-index: 10;
}

.btn-mobile-filter:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(139, 94, 60, 0.04);
}

.btn-mobile-filter.has-active-filters {
  border-color: var(--primary);
  background: rgba(139, 94, 60, 0.1);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(139, 94, 60, 0.2);
}

.filter-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 768px) {
  .sorting-label {
    display: none !important;
  }

  .products-sorting-bar {
    gap: 8px;
  }

  .sorting-list {
    gap: 12px;
  }
}

/* =========================================
   ۶.۱ نوار فیلترهای فعال (Active Chips Bar)
========================================= */
.active-filters-bar {
  margin-bottom: 16px;
  width: 100%;
}

.active-filters-bar__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px dashed rgba(139, 94, 60, 0.25);
  border-radius: var(--radius-md);
}

.active-filters-bar__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.active-filters-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(139, 94, 60, 0.08);
  border: 1px solid rgba(139, 94, 60, 0.2);
  border-radius: 16px;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  transition: all 0.2s;
}

.active-chip__remove {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--primary);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
}

.active-chip__remove:hover {
  opacity: 1;
  transform: scale(1.15);
}

.btn-clear-all-chips {
  background: transparent;
  border: none;
  color: var(--error);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-clear-all-chips:hover {
  background: rgba(239, 68, 68, 0.08);
}

/* =========================================
   ۷. گرید محصولات و استایل کارت‌ها
========================================= */
.catalog-grid {
  display: grid;
  width: 100%;
  /* در موبایل 2 ستونه، در دسکتاپ بر اساس فضا */
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 768px) {
  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }
}

/* =========================================
   ۷. گرید محصولات و استایل کارت‌های لوکس (Modern Luxury Catalog Cards)
========================================= */
.catalog-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1280px) {
  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
}

.catalog-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

@media (min-width: 768px) {
  .catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.09);
    border-color: rgba(139, 94, 60, 0.35);
  }
}

/* ناحیه تصویر کارت */
.catalog-card__image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--bg-muted);
  overflow: hidden;
}

.catalog-card__img-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.catalog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.catalog-card:hover .catalog-card__img {
  transform: scale(1.06);
}

/* ردیف نشان‌ها */
.catalog-card__badges-row {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}

.catalog-card__badge-sale {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  font-size: 0.72rem;
  font-family: "iranSans-b", sans-serif;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.catalog-card__badge-featured {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  font-size: 0.7rem;
  font-family: "iranSans-b", sans-serif;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.catalog-card__badge-outofstock {
  background: rgba(71, 85, 105, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.7rem;
  font-family: "iranSans-b", sans-serif;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

/* دکمه لایک/علاقه‌مندی شناور */
.catalog-card__fav-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.catalog-card__fav-btn:hover {
  transform: scale(1.12);
  color: #ef4444;
  background: #fff;
}

.catalog-card__fav-btn.is-active {
  color: #ef4444;
  background: #fff;
}

.catalog-card__fav-btn.is-active i {
  color: #ef4444;
}

/* بدنه محتوای کارت */
.catalog-card__body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.catalog-card__title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.catalog-card__title {
  font-size: 0.88rem;
  font-weight: 700;
  font-family: "iranSans-b", sans-serif;
  color: var(--text-primary);
  line-height: 1.5;
  margin: 0;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.catalog-card__title-link:hover .catalog-card__title {
  color: var(--primary);
}

/* متادیتای غرفه و شهر */
.catalog-card__vendor-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.catalog-card__shop-info {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 65%;
}

.catalog-card__shop-info .shop-icon {
  color: var(--secondary);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.catalog-card__shop-info .shop-name {
  font-weight: 600;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-card__shop-info .verified-icon {
  color: #10b981;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.catalog-card__location {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.catalog-card__location i {
  color: #94a3b8;
  font-size: 0.72rem;
}

/* امتیاز و نظرات */
.catalog-card__social-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
}

.catalog-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.1);
  padding: 2px 6px;
  border-radius: 6px;
}

.catalog-card__rating .star-filled {
  color: #f59e0b;
  font-size: 0.75rem;
}

.catalog-card__rating .rating-value {
  font-weight: 700;
  color: #b45309;
}

.catalog-card__reviews {
  color: var(--text-muted);
}

/* فوتر کارت (قیمت و دکمه خرید) */
.catalog-card__footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.catalog-card__price-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-old-row {
  display: flex;
  align-items: center;
}

.price-old {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-main-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 1.1rem;
  font-family: "iranSans-b", sans-serif;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.price-currency {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* دکمه افزودن به سبد خرید */
.catalog-card__add-btn {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  background: linear-gradient(135deg, rgba(139, 94, 60, 0.08) 0%, rgba(139, 94, 60, 0.03) 100%);
  border: 1.5px solid rgba(139, 94, 60, 0.22);
  border-radius: 12px;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(139, 94, 60, 0.04);
}

.catalog-card__add-btn i {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

@media (min-width: 768px) {
  .catalog-card__add-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 5px 16px rgba(139, 94, 60, 0.28);
    transform: translateY(-1px);
  }

  .catalog-card__add-btn:hover i {
    transform: scale(1.15);
  }
}

.catalog-card__add-btn:active {
  transform: scale(0.97);
}

/* حالت ناموجود */
.catalog-card.is-out-of-stock .catalog-card__img {
  opacity: 0.75;
  filter: grayscale(20%);
}

.catalog-card__add-btn.is-out-of-stock,
.catalog-card__add-btn:disabled {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
  pointer-events: none !important;
  opacity: 0.88;
}

.catalog-card__add-btn.is-out-of-stock i,
.catalog-card__add-btn:disabled i {
  color: #94a3b8 !important;
  transform: none !important;
}



/* =========================================
   اصلاحات موبایل (واترمارک و لایه پس‌زمینه فیلتر)
========================================= */

/* لایه تاریک پشت فیلترها */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 1999;
  /* دقیقاً یک لایه زیر سایدبار که z-index: 2000 داشت */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* کوچک کردن واترمارک تو نسخه موبایل */
@media (max-width: 767px) {
  .catalog-card__watermark {
    font-size: 0.55rem;
    /* فونت ریزتر */
    padding: 4px 6px;
    /* پدینگ جمع‌وجورتر */
    transform: rotate(-2deg);
    top: 6px;
    left: 6px;
    border-radius: 4px;
  }

  .catalog-card__watermark i {
    font-size: 0.65rem;
  }

  .price-new {
    display: flex;
    align-items: center;
    /* 👈 تراز کردن دقیق عمودی */
    justify-content: flex-end;
    /* هُل دادن به سمت راست/چپ بسته به زبان */
    gap: 6px;
    /* فاصله تمیز بین درصد و مبلغ */
  }

  .discount-percent {
    /* اگر مارجین اضافه‌ای داره حذف کن که تراز رو به هم نریزه */
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* =========================================
   ۸. وضعیت بارگذاری و حالت خالی (Loading & Empty States)
========================================= */
.catalog-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.empty-state-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(139, 94, 60, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.catalog-empty-state h3 {
  font-family: "iranSans-b", sans-serif;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0;
}

.catalog-empty-state p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 360px;
  margin: 0;
  line-height: 1.6;
}

.btn-reset-filters-empty {
  margin-top: 8px;
  padding: 9px 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(139, 94, 60, 0.2);
}

.btn-reset-filters-empty:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 94, 60, 0.3);
}

/* Skeleton Loading Cards */
.catalog-card-skeleton {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.skeleton-img {
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(90deg, var(--bg-muted) 25%, rgba(200, 200, 200, 0.3) 50%, var(--bg-muted) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-line {
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--bg-muted) 25%, rgba(200, 200, 200, 0.3) 50%, var(--bg-muted) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-line.w-80 { width: 80%; }
.skeleton-line.w-50 { width: 50%; }
.skeleton-line.w-30 { width: 30%; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.catalog-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 18px 0 8px;
}

.catalog-loader .spinner {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid rgba(139, 94, 60, 0.18);
  border-top-color: var(--primary, #8b5e3c);
  animation: catalog-spin 0.8s linear infinite;
}

.catalog-loader.is-active .spinner {
  display: block;
}

.catalog-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--primary, #8b5e3c);
  background: var(--bg-surface, #fff);
  color: var(--primary, #8b5e3c);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.catalog-load-more-btn:hover {
  background: var(--primary, #8b5e3c);
  color: #fff;
}

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