/* ========================================
   COLLECTION BANNER - NEW DESIGN
   ======================================== */
.collection-banner-new {
  max-width: 1200px;
  margin: 20px auto 20px;
  padding: 0 20px; }

.collection-banner-new .banner-inner {
  width: 100%;
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #ff6d4d 0%, #ff9a7a 100%); }

.collection-banner-new .banner-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover; }

/* ========================================
   FILTER BAR - HORIZONTAL STYLE
   ======================================== */
.collection-filter-bar-new {
  padding: 16px 0;
  margin-bottom: 20px;
  position: sticky;
  top: 181px;
  z-index: 999;
  width: 100%; }
  .collection-filter-bar-new.has-active-filters {
    background: #ffffff; }

.collection-filter-bar-new .filter-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px; }

.collection-filter-bar-new .filter-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap; }

.collection-filter-bar-new .filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 20px;
  border-right: 1px solid #e5e5e5; }

.collection-filter-bar-new .filter-label svg {
  width: 24px;
  height: 24px; }

.collection-filter-bar-new .filter-label span {
  font-family: 'SF Pro Display', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #18181a;
  letter-spacing: 0.16px;
  font-weight: 400; }

.collection-filter-bar-new .filter-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap; }

.collection-filter-bar-new .filter-btn-wrapper {
  position: relative; }

.collection-filter-bar-new .filter-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid #464646;
  border-radius: 8px;
  font-family: 'SF Pro Display', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #464646;
  cursor: pointer;
  transition: all 0.2s ease;
  height: 35px;
  white-space: nowrap;
  outline: none; }

.collection-filter-bar-new .filter-btn:hover {
  border-color: #ff6d4d;
  color: #ff6d4d; }

.collection-filter-bar-new .filter-btn.active {
  border-color: #ff6d4d;
  background: rgba(255, 109, 77, 0.1);
  color: #ff6d4d; }

.collection-filter-bar-new .filter-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease; }

.collection-filter-bar-new .filter-btn.active svg {
  transform: rotate(180deg); }

/* Filter Button Active State - Filled */
.collection-filter-bar-new .filter-btn.active {
  background: #ff6d4d;
  border-color: #ff6d4d;
  color: #ffffff; }

.collection-filter-bar-new .filter-btn.active svg {
  transform: rotate(180deg); }

/* Filter Dropdown Panel - Full Width */
.collection-filter-bar-new .filter-dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #f4f4f4;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  z-index: 99;
  padding: 30px 0; }

.collection-filter-bar-new .filter-dropdown-panel.show {
  display: block; }

.collection-filter-bar-new .filter-panel-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px; }

/* Filter Options Grid - 3 Columns */
.collection-filter-bar-new .filter-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 100px; }

.collection-filter-bar-new .filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'SF Pro Display', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #000000;
  cursor: pointer;
  transition: color 0.2s ease; }

.collection-filter-bar-new .filter-option:hover {
  color: #ff6d4d; }

.collection-filter-bar-new .filter-option.selected {
  color: #ff6d4d; }

/* Custom Checkbox Style */
.collection-filter-bar-new .filter-checkbox {
  width: 16px;
  height: 16px;
  border: 1px solid #9ca3af;
  border-radius: 4px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease; }

.collection-filter-bar-new .filter-option.selected .filter-checkbox {
  background: #ff6d4d;
  border-color: #ff6d4d; }

.collection-filter-bar-new .filter-checkbox svg {
  width: 10px;
  height: 10px;
  display: none; }

.collection-filter-bar-new .filter-option.selected .filter-checkbox svg {
  display: block; }

/* Hidden native checkbox */
.collection-filter-bar-new .filter-option input[type="checkbox"],
.collection-filter-bar-new .filter-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0; }

/* Price Range Panel */
.collection-filter-bar-new .price-range-panel {
  text-align: center; }

.collection-filter-bar-new .price-range-title {
  font-family: 'SF Pro Display', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 20px; }

.collection-filter-bar-new .price-range-slider {
  position: relative;
  width: 600px;
  max-width: 100%;
  margin: 0 auto 15px;
  height: 4px;
  background: #ff6d4d;
  border-radius: 2px; }

.collection-filter-bar-new .price-range-slider .range-track {
  position: absolute;
  height: 100%;
  background: #ff6d4d;
  border-radius: 2px;
  left: 20%;
  right: 20%; }

.collection-filter-bar-new .price-range-slider .range-handle {
  position: absolute;
  width: 16px;
  height: 16px;
  background: #ff6d4d;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer; }

.collection-filter-bar-new .price-range-slider .range-handle.min {
  left: 0%;
  margin-left: -8px; }

.collection-filter-bar-new .price-range-slider .range-handle.max {
  right: 0%;
  margin-right: -8px; }

.collection-filter-bar-new .price-range-values {
  display: flex;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto; }

.collection-filter-bar-new .price-value {
  font-family: 'SF Pro Display', sans-serif;
  font-size: 16px;
  color: #000000; }

.collection-filter-bar-new .price-value-label {
  font-size: 14px;
  color: #666;
  margin-right: 8px; }

/* Sort Options - Single Row */
.collection-filter-bar-new .sort-options-row {
  display: flex;
  gap: 60px;
  justify-content: center; }

/* Filter Overlay */
.filter-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 98;
  cursor: pointer;
  transition: opacity 0.2s ease; }

.filter-overlay.show {
  display: block; }

/* Filter Right - Pagination */
.collection-filter-bar-new .filter-right {
  display: flex;
  align-items: center;
  gap: 16px; }

/* Clear All Filters Button */
.collection-filter-bar-new .btn-clear-all-filters {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #f5f5f5;
  border: 1px solid #d1d1d1;
  border-radius: 8px;
  font-family: 'SF Pro Display', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap; }

.collection-filter-bar-new .btn-clear-all-filters:hover {
  background: #fff;
  border-color: #ff6d4d;
  color: #ff6d4d; }

.collection-filter-bar-new .btn-clear-all-filters svg {
  width: 14px;
  height: 14px; }

/* Show clear button when filters are active */
.collection-filter-bar-new.has-active-filters .btn-clear-all-filters {
  display: flex; }

/* Filter button with active filter indicator */
.collection-filter-bar-new .filter-btn.has-filter {
  border-color: #ff6d4d;
  background: rgba(255, 109, 77, 0.08);
  color: #ff6d4d; }

.collection-filter-bar-new .filter-btn.has-filter::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  background: #ff6d4d;
  border-radius: 50%; }

.collection-filter-bar-new .pagination-arrows {
  display: flex;
  align-items: center;
  gap: 8px; }

.collection-filter-bar-new .pagination-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  background: transparent;
  border: none;
  padding: 0; }

.collection-filter-bar-new .pagination-arrow:hover {
  opacity: 1; }

.collection-filter-bar-new .pagination-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed; }

.collection-filter-bar-new .pagination-arrow svg {
  width: 16px;
  height: 16px; }

.collection-filter-bar-new .pagination-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  letter-spacing: 0.16px; }

.collection-filter-bar-new .pagination-current-page {
  width: 40px;
  height: 28px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  text-align: center;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  background: #fff;
  outline: none;
  transition: all 0.2s ease;
  -moz-appearance: textfield; }

.collection-filter-bar-new .pagination-current-page::-webkit-outer-spin-button,
.collection-filter-bar-new .pagination-current-page::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0; }

.collection-filter-bar-new .pagination-current-page:focus {
  border-color: #ff6d4d;
  box-shadow: 0 0 0 2px rgba(255, 109, 77, 0.15); }

.collection-filter-bar-new .pagination-current-page:hover {
  border-color: #999; }

.collection-filter-bar-new .pagination-current-page.error {
  border-color: #dc3545;
  animation: shake 0.3s ease; }

@keyframes shake {
  0%, 100% {
    transform: translateX(0); }
  25% {
    transform: translateX(-4px); }
  75% {
    transform: translateX(4px); } }

.collection-filter-bar-new .pagination-current {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  font-weight: 400; }

/* Responsive */
@media (max-width: 992px) {
  .collection-filter-bar-new .filter-container {
    flex-direction: column;
    align-items: flex-start; }
  .collection-filter-bar-new .filter-left {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch; }
  .collection-filter-bar-new .filter-label {
    border-right: none;
    padding-right: 0; }
  .collection-filter-bar-new .filter-right {
    width: 100%;
    justify-content: start; }
  .collection-filter-bar-new .filter-options-grid {
    gap: 20px; }
  .collection-filter-bar-new .filter-panel-inner {
    padding: 0px 20px; } }

@media (max-width: 768px) {
  .collection-banner-new .banner-inner {
    height: 150px; }
  .collection-filter-bar-new .filter-btn {
    padding: 6px 12px;
    font-size: 13px; } }
