/**
 * LUXURY PERSIAN STOREFRONT - PRODUCT LISTING PAGE (PLP) & FACETED FILTER CSS
 * Full RTL support, high-velocity responsive grid/list switcher, faceted sidebar,
 * active chips rail, and iOS-style mobile bottom-sheet filter modal.
 * Reverse-engineered from Janebi, Zitro & PlazaDigital architecture.
 */

/* ==========================================================================
   1. PLP Header, Breadcrumb & Hero Category Strip
   ========================================================================== */
.plp-header-section {
  margin: 16px 0 20px 0;
  direction: rtl;
}

.plp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-secondary, #475569);
  margin-bottom: 12px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 4px;
}

.plp-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast, 180ms ease);
}

.plp-breadcrumb a:hover {
  color: var(--bento-amber, #b45309);
}

.plp-breadcrumb-sep {
  opacity: 0.85;
}

.plp-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.09));
}

.plp-category-title-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-width: 0;
  max-width: 100%;
}

.plp-category-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-primary, #18181b);
  letter-spacing: -0.02em;
}

.plp-count-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full, 9999px);
  background: var(--bento-amber-soft, rgba(180, 83, 9, 0.10));
  color: var(--bento-amber, #b45309);
  border: 1px solid rgba(180, 83, 9, 0.22);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   2. Main Layout Grid (Desktop: Sidebar 280px + Catalog 1fr)
   ========================================================================== */
.plp-layout-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
  direction: rtl;
}

.plp-catalog-area {
  min-width: 0;
  width: 100%;
}

/* ==========================================================================
   3. Desktop Faceted Filter Sidebar
   ========================================================================== */
.plp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 90px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.filter-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.09));
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--bento-shadow, 0 12px 30px -14px rgba(42, 34, 24, 0.10), 0 2px 8px rgba(42, 34, 24, 0.03));
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.filter-card:hover {
  border-color: rgba(180, 83, 9, 0.28);
  box-shadow: var(--bento-shadow-hover, 0 20px 42px -14px rgba(42, 34, 24, 0.14), 0 6px 16px rgba(42, 34, 24, 0.04));
}

.filter-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--text-primary, #18181b);
}

.filter-card-arrow {
  width: 18px;
  height: 18px;
  transition: transform 200ms ease;
  color: var(--text-muted, #78716c);
}

.filter-card.is-collapsed .filter-card-arrow {
  transform: rotate(180deg);
}

.filter-card-body {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-card.is-collapsed .filter-card-body {
  display: none;
}

/* Quick Search in Brand list */
.filter-search-input {
  width: 100%;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 0.8125rem;
  border: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.10));
  border-radius: 12px;
  background: var(--bg-surface-muted, #f2ede3);
  color: var(--text-primary, #18181b);
  outline: none;
  transition: all var(--transition-fast, 180ms ease);
}

.filter-search-input:focus {
  border-color: var(--bento-cobalt, #1d4ed8);
  background: var(--bg-surface, #ffffff);
  box-shadow: 0 0 0 3px var(--bento-cobalt-soft, rgba(29, 78, 216, 0.12));
}

/* Filter Checkbox Items */
.filter-options-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.filter-checkbox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  cursor: pointer;
  padding: 7px 10px;
  border-radius: 12px;
  font-size: 0.84375rem;
  color: var(--text-primary, #18181b);
  transition: all var(--transition-fast, 180ms ease);
}

.filter-checkbox-item:hover {
  background: var(--bg-surface-muted, #f2ede3);
  color: var(--bento-amber, #b45309);
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.filter-checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.5px solid var(--border-default, rgba(24, 24, 27, 0.22));
  background-color: var(--bg-surface-muted, #f2ede3);
  accent-color: var(--bento-cobalt, #1d4ed8);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 150ms ease;
}

[data-theme="dark"] .filter-checkbox-label input[type="checkbox"] {
  border-color: rgba(255, 255, 255, 0.22);
  background-color: #202632;
}

.filter-checkbox-label input[type="checkbox"]:checked {
  background-color: var(--bento-cobalt, #1d4ed8);
  border-color: var(--bento-cobalt, #1d4ed8);
  background-image: 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='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.filter-checkbox-item:has(input[type="checkbox"]:checked) {
  background: var(--bento-cobalt-soft, rgba(29, 78, 216, 0.09));
  color: var(--bento-cobalt, #1d4ed8);
  font-weight: 700;
}

[data-theme="dark"] .filter-checkbox-item:has(input[type="checkbox"]:checked) {
  background: rgba(96, 165, 250, 0.14);
  color: #93c5fd;
}

.filter-count-label {
  font-size: 0.75rem;
  color: var(--color-text-muted, #334155);
  font-weight: 600;
  flex-shrink: 0;
}

/* iOS-Style Switch Row */
.filter-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  padding: 6px 0;
  min-width: 0;
}

.filter-switch-row > div {
  min-width: 0;
  flex: 1;
}

.filter-switch-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-main, #18181b);
}

.filter-switch-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-text-muted, #334155);
  margin-top: 2px;
}

.ios-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

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

.ios-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #d6cfc2;
  transition: 280ms ease;
  border-radius: 24px;
}

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

.ios-switch input:checked + .ios-slider {
  background-color: var(--bento-amber, #b45309);
}

.ios-switch input:checked + .ios-slider:before {
  transform: translateX(20px);
}

/* Price Range Inputs */
.price-range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  min-width: 0;
}

.price-input-box {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-input-box label {
  font-size: 0.7rem;
  color: var(--text-muted, #78716c);
  font-weight: 600;
}

.price-input-box input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  border: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.10));
  border-radius: 10px;
  background: var(--bg-surface-muted, #f2ede3);
  color: var(--text-primary, #18181b);
  outline: none;
  text-align: center;
}

.btn-price-apply {
  width: 100%;
  padding: 8px;
  margin-top: 8px;
  border-radius: 9999px;
  background: var(--bento-cobalt-soft, rgba(29, 78, 216, 0.09));
  color: var(--bento-cobalt, #1d4ed8);
  border: 1px solid rgba(29, 78, 216, 0.22);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast, 180ms ease);
}

.btn-price-apply:hover {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
}

/* Clear all sidebar button - Bento Sand Capsule */
.btn-clear-filters {
  width: 100%;
  padding: 12px 16px;
  border-radius: 9999px;
  background: var(--bg-surface, #ffffff);
  color: var(--text-secondary, #57534e);
  border: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.10));
  box-shadow: var(--bento-shadow, 0 6px 18px -8px rgba(42, 34, 24, 0.10));
  font-family: inherit;
  font-size: 0.84375rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.clear-filter-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: var(--bg-surface-muted, #f2ede3);
  color: var(--text-muted, #78716c);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 200ms ease;
}

.btn-clear-filters:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #dc2626;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.12);
}

.btn-clear-filters:hover .clear-filter-icon-box {
  background: #fee2e2;
  color: #dc2626;
}

[data-theme="dark"] .btn-clear-filters {
  background: #181c24;
  border-color: rgba(255, 255, 255, 0.09);
  color: #a1a1aa;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .clear-filter-icon-box {
  background: #202632;
  color: #a1a1aa;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .btn-clear-filters:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fca5a5;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.15);
}

[data-theme="dark"] .btn-clear-filters:hover .clear-filter-icon-box {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.3);
}

/* Luxury Pagination Controls - Bento Sand */
.plp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 24px;
  padding-top: 8px;
  max-width: 100%;
  box-sizing: border-box;
}

.page-nav-btn {
  height: 42px;
  padding: 0 18px;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  border: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.10));
  background: var(--bg-surface, #ffffff);
  color: var(--text-primary, #18181b);
  box-shadow: 0 2px 8px rgba(42, 34, 24, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.page-nav-btn:hover {
  background: var(--bento-amber-soft, rgba(180, 83, 9, 0.10));
  border-color: var(--bento-amber, #b45309);
  color: var(--bento-amber, #b45309);
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.14);
}

.page-numbers-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.page-num-btn {
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 800;
  border: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.10));
  background: var(--bg-surface, #ffffff);
  color: var(--text-secondary, #57534e);
  box-shadow: 0 2px 6px rgba(42, 34, 24, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-num-btn.is-active {
  background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
  border-color: #18181b;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(24, 24, 27, 0.25);
}

[data-theme="dark"] .page-nav-btn {
  background: #181c24;
  border-color: rgba(255, 255, 255, 0.09);
  color: #f4f4f5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .page-nav-btn:hover {
  background: rgba(245, 158, 11, 0.14);
  border-color: #f59e0b;
  color: #fbbf24;
}

[data-theme="dark"] .page-num-btn {
  background: #181c24;
  border-color: rgba(255, 255, 255, 0.09);
  color: #a1a1aa;
}

[data-theme="dark"] .page-num-btn.is-active {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: #f59e0b;
  color: #11141a;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
  font-weight: 900;
}

/* ==========================================================================
   4. Active Filter Chips Rail
   ========================================================================== */
.plp-active-chips-rail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  min-height: 32px;
}

.filter-chip-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--color-surface, #ffffff);
  border: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.12));
  color: var(--color-text-main, #18181b);
  font-size: 0.78125rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.filter-chip-remove {
  border: none;
  background: transparent;
  color: var(--text-secondary, #475569);
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
  padding: 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-chip-remove:hover {
  color: var(--accent-crimson-text, #be123c);
}

.filter-chips-clear-all {
  font-size: 0.75rem;
  color: var(--accent-crimson-text, #be123c);
  text-decoration: underline;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
  font-weight: 700;
  padding: 4px 6px;
}

/* ==========================================================================
   4A. Mobile-Only Smart Phone Detector (#mobileAutoDetectBanner)
   Strictly hidden on desktop; revealed only on mobile visitors via .is-mobile-visible
   ========================================================================== */
.mobile-auto-detect-banner,
#mobileAutoDetectBanner {
  display: none;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: var(--bento-radius, 22px);
  background: linear-gradient(135deg, #ffffff 0%, #f4ede0 100%);
  border: 1px solid rgba(180, 83, 9, 0.24);
  box-shadow: var(--bento-shadow, 0 12px 30px -14px rgba(42, 34, 24, 0.10));
  direction: rtl;
}

[data-theme="dark"] .mobile-auto-detect-banner,
[data-theme="dark"] #mobileAutoDetectBanner {
  background: linear-gradient(135deg, #181c24 0%, #1e2430 100%);
  border-color: rgba(245, 158, 11, 0.30);
}

.mobile-auto-detect-banner.is-mobile-visible,
#mobileAutoDetectBanner.is-mobile-visible {
  display: block;
}

.mobile-auto-detect-banner .mobile-detect-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.mobile-auto-detect-banner .mobile-detect-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mobile-auto-detect-banner .mobile-detect-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bento-amber-soft, rgba(180, 83, 9, 0.10));
  color: var(--bento-amber, #b45309);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-auto-detect-banner .mobile-detect-title {
  font-size: 0.84rem;
  font-weight: 900;
  color: var(--text-primary, #18181b);
  line-height: 1.35;
}

.mobile-auto-detect-banner .mobile-detect-sub {
  font-size: 0.72rem;
  color: var(--text-secondary, #57534e);
  margin-top: 2px;
  line-height: 1.45;
}

.mobile-auto-detect-banner .mobile-detect-chips {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.mobile-auto-detect-banner .mobile-detect-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 9999px;
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-default, rgba(24, 24, 27, 0.16));
  color: var(--text-primary, #18181b);
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 180ms ease;
}

.mobile-auto-detect-banner .mobile-detect-chip.is-active {
  background: var(--bento-amber, #b45309);
  border-color: var(--bento-amber, #b45309);
  color: #ffffff;
}

[data-theme="dark"] .mobile-auto-detect-banner .mobile-detect-chip.is-active {
  color: #11141a;
}

/* ==========================================================================
   4B. Quick Device Model Selector Bar (#plpDeviceQuickBar)
   ========================================================================== */
.plp-device-quick-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 16px;
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.09));
  border-radius: 22px;
  box-shadow: var(--bento-shadow, 0 12px 30px -14px rgba(42, 34, 24, 0.10), 0 2px 8px rgba(42, 34, 24, 0.03));
  direction: rtl;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.plp-device-quick-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--text-primary, #18181b);
  white-space: nowrap;
  flex-shrink: 0;
}

.plp-device-quick-icon {
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  background: var(--bento-amber-soft, rgba(180, 83, 9, 0.10));
  color: var(--bento-amber, #b45309);
  border: 1px solid rgba(180, 83, 9, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plp-device-quick-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.device-quick-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.12));
  background: var(--bg-surface-muted, #f2ede3);
  color: var(--text-primary, #18181b);
  font-family: inherit;
  font-size: 0.78125rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.device-quick-chip:hover {
  border-color: var(--bento-amber, #b45309);
  color: var(--bento-amber, #b45309);
  background: var(--bento-amber-soft, rgba(180, 83, 9, 0.10));
}

.device-quick-chip.is-active {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  border-color: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

/* ==========================================================================
   5. Horizontal Sort Bar & View Mode Toggle
   ========================================================================== */
.plp-sort-bar {
  width: 100%;
  box-sizing: border-box;
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.09));
  border-radius: 20px;
  padding: 10px 16px;
  box-shadow: var(--bento-shadow, 0 8px 24px -12px rgba(42, 34, 24, 0.08));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 20px;
}

.plp-sort-options {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
}

.sort-label-lead {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted, #78716c);
  margin-left: 8px;
}

.sort-tab-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted, #78716c);
  cursor: pointer;
  transition: all var(--transition-fast, 180ms ease);
}

.sort-tab-btn:hover {
  color: var(--bento-amber, #b45309);
  background: var(--bg-surface-muted, #f2ede3);
}

.sort-tab-btn.is-active {
  background: var(--bento-amber-soft, rgba(180, 83, 9, 0.10));
  color: var(--bento-amber, #b45309);
  font-weight: 800;
}

.plp-view-switchers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.view-btn {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.10));
  background: var(--bg-surface, #ffffff);
  color: var(--text-muted, #78716c);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast, 180ms ease);
}

.view-btn.is-active {
  border-color: var(--bento-cobalt, #1d4ed8);
  color: var(--bento-cobalt, #1d4ed8);
  background: var(--bento-cobalt-soft, rgba(29, 78, 216, 0.09));
}

/* ==========================================================================
   6. Product Catalog Grid & List Layout (Zero-Overlap 3B Bento Sand)
   ========================================================================== */
.plp-products-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

/* Preserve flat flex-column card layout on tablet/desktop */
.plp-products-container .card-media-col,
.plp-products-container .card-info-col,
.plp-products-grid .card-media-col,
.plp-products-grid .card-info-col {
  display: contents;
}

.plp-products-container .catalog-card {
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.09));
  border-radius: var(--bento-radius, 22px);
  padding: 14px;
  gap: 10px;
  box-shadow: var(--bento-shadow, 0 12px 30px -14px rgba(42, 34, 24, 0.10), 0 2px 8px rgba(42, 34, 24, 0.03));
}

.plp-products-container .catalog-card:hover {
  border-color: rgba(180, 83, 9, 0.40);
  box-shadow: var(--bento-shadow-hover, 0 20px 42px -14px rgba(42, 34, 24, 0.16), 0 6px 16px rgba(42, 34, 24, 0.05));
}

.plp-products-container .card-stage-dual {
  background: var(--warm-stage-bg, radial-gradient(circle at 50% 45%, #fcfaf6 22%, #f1ebe0 100%));
  border: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.09));
  border-radius: 16px;
  padding: 0;
}

.plp-products-container .stage-view-default {
  padding: 46px 12px 12px;
}

.plp-products-container .card-stage-dual img.card-preview-img,
.plp-products-container .card-stage-dual img.catalog-card-img {
  max-width: 100%;
  max-height: 158px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: var(--warm-cutout-shadow, drop-shadow(0 12px 18px rgba(34, 26, 18, 0.16)));
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.plp-products-container .catalog-card:hover .card-stage-dual img.card-preview-img,
.plp-products-container .catalog-card:hover .card-stage-dual img.catalog-card-img {
  transform: translateY(-4px) scale(1.04);
}

.card-empty-studio-capsule {
  width: 86px;
  height: 86px;
  border-radius: 9999px;
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.10));
  color: var(--bento-amber, #b45309);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--bento-shadow, 0 10px 24px -10px rgba(42, 34, 24, 0.12));
  flex-shrink: 0;
}

.plp-products-container .badge-discount-circle {
  background: var(--bento-amber, #b45309);
  box-shadow: 0 4px 10px rgba(180, 83, 9, 0.32);
  z-index: 3;
}

.plp-products-container .swatch-pill:hover,
.plp-products-container .swatch-pill.active {
  box-shadow: 0 0 0 2px var(--bento-amber, #b45309);
}

/* Stacked Zero-Overlap Card Footer Across 1280px, 768px & 360px */
.plp-products-container .catalog-card-footer {
  background: var(--bg-surface-muted, #f2ede3);
  border: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.09));
  border-radius: 16px;
  padding: 11px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  margin-top: auto;
  min-width: 0;
}

.plp-products-container .catalog-card:hover .catalog-card-footer {
  background: var(--bg-surface, #ffffff);
  border-color: rgba(180, 83, 9, 0.28);
}

.plp-products-container .card-price-group {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 8px;
  min-height: 22px;
  width: 100%;
  min-width: 0;
}

.plp-products-container .card-main-price {
  order: 1;
  font-size: 0.94rem;
  font-weight: 900;
  color: var(--text-primary, #18181b);
  white-space: nowrap;
}

.plp-products-container .card-price-group .text-price-strike,
.plp-products-container .card-strike-price {
  order: 2;
  font-size: 0.72rem;
  color: var(--text-muted, #78716c);
  white-space: nowrap;
}

.plp-products-container .card-buy-btn {
  width: 100%;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px -4px rgba(24, 24, 27, 0.28);
  padding: 9px 14px;
  font-size: 0.78rem;
  gap: 6px;
  margin-inline-start: 0;
}

.plp-products-container .card-buy-btn:hover {
  background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
  box-shadow: 0 6px 16px -4px rgba(180, 83, 9, 0.38);
}

.plp-products-container .card-buy-btn.is-out-of-stock {
  background: var(--bg-surface-sunken, #e7dfd0);
  color: var(--text-muted, #78716c);
  box-shadow: none;
}

/* Installment Payment Badges (SnappPay, TorobPay, DigiPay) & Optional Admin Features */
.card-bnpl-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.card-bnpl-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  border: 1px solid transparent;
  white-space: nowrap;
}

.card-bnpl-badge.is-torob {
  background: rgba(180, 83, 9, 0.10);
  color: #b45309;
  border-color: rgba(180, 83, 9, 0.22);
}

.card-bnpl-badge.is-digipay {
  background: rgba(29, 78, 216, 0.09);
  color: #1d4ed8;
  border-color: rgba(29, 78, 216, 0.22);
}

[data-theme="dark"] .card-bnpl-badge.is-torob {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.28);
}

[data-theme="dark"] .card-bnpl-badge.is-digipay {
  background: rgba(96, 165, 250, 0.14);
  color: #93c5fd;
  border-color: rgba(96, 165, 250, 0.30);
}

.card-admin-features {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--text-muted, #78716c);
}

.card-admin-feature-item {
  padding: 2px 7px;
  border-radius: 9999px;
  background: var(--bg-surface-muted, #f2ede3);
  border: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.09));
}

[data-theme="dark"] .card-admin-feature-item {
  background: #202632;
  border-color: rgba(255, 255, 255, 0.09);
  color: #d4d4d8;
}

/* List Mode View Switch */
.plp-products-container.is-list-view {
  grid-template-columns: 1fr;
  gap: 12px;
}

.plp-products-container.is-list-view .catalog-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 14px 18px;
  gap: 18px;
}

.plp-products-container.is-list-view .card-media-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 150px;
  flex-shrink: 0;
}

.plp-products-container.is-list-view .card-stage-dual {
  width: 150px;
  height: 150px;
}

.plp-products-container.is-list-view .card-info-col {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 8px;
}

.plp-products-container.is-list-view .product-card-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 14px 20px;
  gap: 20px;
}

.plp-products-container.is-list-view .product-thumb-stage {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.plp-products-container.is-list-view .product-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plp-products-container.is-list-view .product-pricing-strip {
  align-items: flex-start;
}

/* Empty State */
.plp-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-surface, #ffffff);
  border-radius: 22px;
  border: 1px dashed var(--border-default, rgba(24, 24, 27, 0.16));
}

.plp-empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.plp-empty-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary, #18181b);
  margin-bottom: 6px;
}

.plp-empty-desc {
  font-size: 0.84375rem;
  color: var(--text-muted, #78716c);
  max-width: 400px;
  margin: 0 auto 16px auto;
}

/* ==========================================================================
   7. Mobile Floating Filter Bar & Bottom Sheet Modal
   ========================================================================== */
.plp-mobile-filter-bar {
  display: none;
  position: relative;
  z-index: 90;
  background: transparent;
  border-bottom: none;
  padding: 12px 0 4px 0;
  margin: 0 0 10px 0;
  gap: 8px;
}

.mobile-filter-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 9999px;
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.10));
  box-shadow: var(--bento-shadow, 0 4px 12px rgba(42, 34, 24, 0.06));
  color: var(--text-primary, #18181b);
  font-family: inherit;
  font-size: 0.84375rem;
  font-weight: 700;
  cursor: pointer;
}

.mobile-filter-badge {
  background: var(--bento-amber, #b45309);
  color: #ffffff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.6875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Bottom Sheet Modal */
.plp-bottom-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 280ms ease, visibility 280ms;
}

.plp-bottom-sheet-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.plp-bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 85vh;
  background: var(--bg-surface, #ffffff);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 32px rgba(24, 24, 27, 0.22);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), visibility 320ms;
  direction: rtl;
}

.plp-bottom-sheet.is-open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.plp-bottom-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.09));
}

.plp-bottom-sheet-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary, #18181b);
}

.plp-bottom-sheet-close {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted, #78716c);
  cursor: pointer;
  padding: 4px;
}

.plp-bottom-sheet-body {
  padding: 16px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plp-bottom-sheet-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px calc(env(safe-area-inset-bottom, 10px) + 8px) 20px;
  border-top: 1px solid var(--border-subtle, rgba(24, 24, 27, 0.09));
  background: var(--bg-surface, #ffffff);
}

.btn-sheet-apply {
  flex: 2;
  padding: 12px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease;
}

.btn-sheet-apply:hover {
  background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
}

.btn-sheet-clear {
  flex: 1;
  padding: 12px;
  border-radius: 9999px;
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fda4af;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   8. Responsive Media Queries (320px - 1024px)
   ========================================================================== */
@media (max-width: 1120px) {
  .plp-sort-bar {
    padding: 8px 12px;
    gap: 8px;
  }
  .plp-sort-options {
    gap: 4px;
  }
  .sort-tab-btn {
    padding: 5px 8px;
    font-size: 0.75rem;
  }
  .plp-view-switchers {
    font-size: 0.75rem;
  }
}

@media (max-width: 1024px) {
  .plp-products-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .plp-layout-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .plp-catalog-area,
  .plp-products-container,
  .catalog-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .plp-device-quick-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
  }
  .plp-device-quick-chips::-webkit-scrollbar {
    display: none;
  }
  .plp-sidebar {
    display: none; /* Hidden on mobile; moved to bottom sheet */
  }
  .plp-mobile-filter-bar {
    display: flex;
  }
  .plp-sort-bar {
    display: none; /* Managed by mobile sort modal */
  }
  .clear-filter-icon-box,
  .page-num-btn,
  .view-btn {
    border-radius: 50%;
  }
}

@media (max-width: 640px) {
  .plp-products-container {
    grid-template-columns: 1fr; /* Single column on compact mobile */
    gap: 12px;
  }
  .card-stage-dual {
    height: 180px;
    aspect-ratio: auto;
  }
  .stage-view-default svg {
    max-width: 76px;
    max-height: 76px;
  }
  .plp-category-title {
    font-size: 1.15rem;
  }
}

@media (max-width: 600px) {
  .plp-device-quick-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px;
    margin-bottom: 14px;
  }
  .plp-products-container,
  .plp-products-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .plp-products-container .catalog-card,
  .plp-products-grid .catalog-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  .plp-products-container .catalog-card:hover,
  .plp-products-grid .catalog-card:hover {
    transform: none;
  }
  .plp-products-container .card-media-col,
  .plp-products-grid .card-media-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100px;
    flex-shrink: 0;
  }
  .plp-products-container .card-stage-dual,
  .plp-products-grid .card-stage-dual {
    width: 100px;
    height: 100px;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    flex-shrink: 0;
  }
  .plp-products-container .stage-view-default,
  .plp-products-grid .stage-view-default {
    padding: 34px 8px 8px !important;
  }
  .plp-products-container .card-stage-dual img.card-preview-img,
  .plp-products-container .card-stage-dual img.catalog-card-img,
  .plp-products-grid .card-stage-dual img.card-preview-img,
  .plp-products-grid .card-stage-dual img.catalog-card-img {
    max-height: 54px !important;
  }
  .plp-products-container .stage-view-default svg,
  .plp-products-grid .stage-view-default svg {
    max-width: 48px;
    max-height: 48px;
  }
  .plp-products-container .card-empty-studio-capsule,
  .plp-products-grid .card-empty-studio-capsule {
    width: 52px;
    height: 52px;
  }
  .plp-products-container .card-empty-studio-capsule svg,
  .plp-products-grid .card-empty-studio-capsule svg {
    max-width: 26px;
    max-height: 26px;
  }
  .plp-products-container .stage-view-hover,
  .plp-products-container .hover-detail-badge,
  .plp-products-grid .stage-view-hover,
  .plp-products-grid .hover-detail-badge {
    display: none !important;
  }
  .plp-products-container .card-stage-dual .badge-discount-circle,
  .plp-products-grid .card-stage-dual .badge-discount-circle {
    top: 6px !important;
    right: 6px !important;
    width: 26px !important;
    height: 26px !important;
    font-size: 0.65rem !important;
  }
  .plp-products-container .card-stage-dual .btn-icon,
  .plp-products-grid .card-stage-dual .btn-icon {
    top: 6px !important;
    left: 6px !important;
    width: 26px !important;
    height: 26px !important;
  }
  .plp-products-container .card-color-swatches,
  .plp-products-grid .card-color-swatches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin: 0 !important;
    max-width: 100%;
  }
  .plp-products-container .card-color-swatches .swatch-active-label,
  .plp-products-grid .card-color-swatches .swatch-active-label {
    display: none;
  }
  .plp-products-container .card-info-col,
  .plp-products-grid .card-info-col {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    gap: 6px;
    justify-content: space-between;
  }
  .plp-products-container .text-card-title,
  .plp-products-grid .text-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 0 !important;
    font-size: 0.8125rem !important;
    line-height: 1.45 !important;
    margin: 0;
  }
  .plp-products-container .card-compat-hint,
  .plp-products-grid .card-compat-hint {
    align-self: flex-start;
    max-width: 100%;
  }
  .plp-products-container .card-bnpl-badges,
  .plp-products-grid .card-bnpl-badges {
    margin-top: 2px;
    gap: 4px;
  }
  .plp-products-container .catalog-card-footer,
  .plp-products-grid .catalog-card-footer {
    margin-top: auto;
    padding: 9px 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    border-radius: 14px;
    min-width: 0;
  }
  .plp-products-container .card-price-group,
  .plp-products-grid .card-price-group {
    justify-content: space-between;
    gap: 4px 8px;
  }
  .plp-products-container .card-main-price,
  .plp-products-grid .card-main-price {
    font-size: 0.88rem;
  }
  .plp-products-container .card-buy-btn,
  .plp-products-grid .card-buy-btn {
    width: 100%;
    justify-content: center;
    padding: 7px 10px;
    font-size: 0.74rem;
    gap: 5px;
    margin-inline-start: 0;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .plp-header-section {
    margin: 10px 0 14px 0;
  }
  .plp-breadcrumb {
    font-size: 0.75rem;
  }
  .mobile-filter-btn {
    font-size: 0.78125rem;
    padding: 8px 10px;
  }
  .plp-pagination {
    gap: 6px;
  }
  .page-nav-btn {
    height: 36px;
    padding: 0 10px;
    font-size: 0.75rem;
    border-radius: 9999px;
    gap: 4px;
  }
  .page-numbers-group {
    gap: 4px;
  }
  .page-num-btn {
    width: 34px;
    height: 34px;
    font-size: 0.78125rem;
    border-radius: 50%;
  }
}

/* ==========================================================================
   9. Dark Mode Adaptations (Warm Editorial 3B Bento Sand)
   ========================================================================== */
[data-theme="dark"] .filter-card,
[data-theme="dark"] .plp-sort-bar,
[data-theme="dark"] .plp-bottom-sheet,
[data-theme="dark"] .plp-bottom-sheet-footer,
[data-theme="dark"] .filter-chip-pill,
[data-theme="dark"] .plp-empty-state,
[data-theme="dark"] .plp-device-quick-bar {
  background: #181c24;
  border-color: rgba(255, 255, 255, 0.09);
}

[data-theme="dark"] .plp-products-container .catalog-card {
  background: #181c24;
  border-color: rgba(255, 255, 255, 0.09);
}

[data-theme="dark"] .plp-products-container .catalog-card:hover {
  border-color: rgba(245, 158, 11, 0.40);
}

[data-theme="dark"] .plp-products-container .card-stage-dual {
  background: var(--warm-stage-bg, radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.02) 100%));
  border-color: rgba(255, 255, 255, 0.09);
}

[data-theme="dark"] .card-empty-studio-capsule {
  background: #202632;
  border-color: rgba(255, 255, 255, 0.12);
  color: #fbbf24;
}

[data-theme="dark"] .plp-products-container .catalog-card-footer {
  background: #202632;
  border-color: rgba(255, 255, 255, 0.09);
}

[data-theme="dark"] .plp-products-container .catalog-card:hover .catalog-card-footer {
  background: #1e2430;
  border-color: rgba(245, 158, 11, 0.30);
}

[data-theme="dark"] .plp-products-container .card-main-price {
  color: #f4f4f5;
}

[data-theme="dark"] .plp-products-container .card-buy-btn {
  background: linear-gradient(135deg, #b45309 0%, #1d4ed8 100%);
  color: #ffffff;
}

[data-theme="dark"] .plp-products-container .card-buy-btn.is-out-of-stock {
  background: #141820;
  color: #8a8a93;
}

[data-theme="dark"] .plp-device-quick-label {
  color: #f4f4f5;
}

[data-theme="dark"] .plp-device-quick-icon {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.28);
}

[data-theme="dark"] .device-quick-chip {
  background: #202632;
  border-color: rgba(255, 255, 255, 0.12);
  color: #e4e4e7;
}

[data-theme="dark"] .device-quick-chip:hover {
  border-color: #f59e0b;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
}

[data-theme="dark"] .device-quick-chip.is-active {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  border-color: #60a5fa;
  color: #11141a;
}

[data-theme="dark"] .filter-card-header,
[data-theme="dark"] .plp-category-title,
[data-theme="dark"] .filter-switch-title,
[data-theme="dark"] .plp-bottom-sheet-title,
[data-theme="dark"] .plp-empty-title,
[data-theme="dark"] .filter-checkbox-item,
[data-theme="dark"] .filter-chip-pill {
  color: #f4f4f5;
}

[data-theme="dark"] .plp-count-badge {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.28);
}

[data-theme="dark"] .plp-breadcrumb {
  color: #a1a1aa;
}

[data-theme="dark"] .filter-chip-remove {
  color: #d4d4d8;
}

[data-theme="dark"] .filter-chips-clear-all,
[data-theme="dark"] .filter-chip-remove:hover {
  color: #fda4af;
}

[data-theme="dark"] .btn-price-apply {
  background: rgba(96, 165, 250, 0.14);
  color: #93c5fd;
  border-color: rgba(96, 165, 250, 0.30);
}

[data-theme="dark"] .btn-price-apply:hover {
  background: #3b82f6;
  color: #ffffff;
  border-color: #60a5fa;
}

[data-theme="dark"] .btn-sheet-apply {
  background: linear-gradient(135deg, #b45309 0%, #1d4ed8 100%);
  color: #ffffff;
}

[data-theme="dark"] .btn-clear-filters {
  background: #181c24;
  color: #d4d4d8;
  border-color: rgba(255, 255, 255, 0.10);
}

[data-theme="dark"] .btn-sheet-clear {
  background: rgba(244, 63, 94, 0.14);
  color: #fda4af;
  border-color: rgba(244, 63, 94, 0.4);
}

[data-theme="dark"] .filter-search-input,
[data-theme="dark"] .price-input-box input,
[data-theme="dark"] .mobile-filter-btn,
[data-theme="dark"] .view-btn {
  background: #202632;
  border-color: rgba(255, 255, 255, 0.12);
  color: #f4f4f5;
}

[data-theme="dark"] .sort-tab-btn.is-active {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
}

[data-theme="dark"] .view-btn.is-active {
  border-color: #60a5fa;
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.14);
}

[data-theme="dark"] .ios-slider {
  background-color: #2e3646;
}

[data-theme="dark"] .ios-switch input:checked + .ios-slider {
  background-color: #f59e0b;
}

[data-theme="dark"] .ios-slider:before {
  background-color: #f4f4f5;
}
