/* Vishal Traders — Dedicated Shop Catalogue Styles */
.shop-page {
  padding-top: calc(var(--header-height, 70px) + 24px);
  padding-bottom: 80px;
  background-color: var(--bg, #f6f4ee);
  min-height: 100vh;
}

.shop-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4a463e;
  margin-bottom: 16px;
}
.shop-breadcrumb a {
  color: var(--ink, #1c1a17);
  font-weight: 500;
  text-decoration: none;
}
.shop-breadcrumb a:hover {
  color: var(--accent, #8b5e1b);
}

.shop-header-banner {
  background: linear-gradient(135deg, #1c1a17 0%, #2e2b26 100%);
  color: #fff;
  padding: 32px 36px;
  border-radius: 6px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--accent, #a78351);
}
.shop-header-banner h1 {
  font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.shop-header-banner p {
  color: #cfcac0;
  font-size: 14px;
  max-width: 650px;
  margin: 0;
  line-height: 1.5;
}

.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar Filters */
.shop-sidebar {
  background: #ffffff;
  border: 1px solid var(--line, #e5e1d8);
  border-radius: 6px;
  padding: 24px 20px;
  position: sticky;
  top: calc(var(--header-height, 70px) + 20px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.filter-group {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0ede6;
}
.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.filter-title {
  font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink, #1c1a17);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-search-box {
  position: relative;
  margin-bottom: 14px;
}
.filter-search-box input {
  width: 100%;
  padding: 9px 36px 9px 12px;
  border: 1px solid #dcd7ce;
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
  background: #faf9f6;
  transition: border-color .2s;
}
.filter-search-box input:focus {
  outline: none;
  border-color: var(--accent, #a78351);
  background: #fff;
}
.filter-search-box button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #4a463e;
  cursor: pointer;
  padding: 4px;
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.filter-item {
  margin-bottom: 8px;
}
.filter-item:last-child {
  margin-bottom: 0;
}
.filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  font-size: 13px;
  color: #24221d;
  font-weight: 500;
  padding: 5px 8px;
  border-radius: 4px;
  transition: all .15s;
}
.filter-link:hover {
  background: #faf8f2;
  color: var(--accent, #8b5e1b);
}
.filter-link.is-active {
  background: #1c1a17;
  color: #fff;
  font-weight: 700;
}
.filter-link.is-active .filter-count {
  background: var(--accent, #8b5e1b);
  color: #fff;
}
.filter-count {
  font-size: 11px;
  background: #e5e1d6;
  color: #1c1a17;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 700;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #24221d;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
}
.filter-checkbox-label input {
  accent-color: var(--accent, #a78351);
  margin-right: 8px;
  width: 15px;
  height: 15px;
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.price-inputs input {
  flex: 1;
  padding: 7px 8px;
  border: 1px solid #dcd7ce;
  border-radius: 4px;
  font-size: 13px;
  background: #faf9f6;
  width: 100%;
}
.price-inputs button {
  padding: 7px 12px;
  background: var(--ink, #1c1a17);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.price-inputs button:hover {
  background: var(--accent, #a78351);
}

.price-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.price-preset-pill {
  font-size: 11.5px;
  padding: 4px 9px;
  border: 1.5px solid #dcd7ce;
  border-radius: 4px;
  color: #24221d;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
  transition: all .15s;
}
.price-preset-pill:hover,
.price-preset-pill.is-active {
  background: #1c1a17;
  color: #fff;
  border-color: #1c1a17;
}

/* Filter Actions */
.filter-actions-bar {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.filter-actions-bar .btn-clear {
  flex: 1;
  padding: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  border: 1.5px solid #dcd7ce;
  color: #24221d;
  text-decoration: none;
  border-radius: 4px;
}
.filter-actions-bar .btn-clear:hover {
  background: #f0ede8;
}

/* Main Shop Area */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #ffffff;
  border: 1.5px solid var(--line, #e5e1d8);
  border-radius: 6px;
  padding: 14px 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.shop-results-count {
  font-size: 13.5px;
  color: #38352e;
  font-weight: 500;
}
.shop-results-count strong {
  color: var(--ink, #1c1a17);
  font-weight: 800;
}

.shop-sort-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.shop-sort-wrap label {
  font-size: 13px;
  font-weight: 700;
  color: #1c1a17;
  white-space: nowrap;
}
.shop-sort-select {
  padding: 8px 12px;
  border: 1.5px solid #c9c4b8;
  border-radius: 5px;
  font-size: 13px;
  background: #ffffff;
  color: var(--ink, #1c1a17);
  font-weight: 600;
  cursor: pointer;
}

/* Active Chips */
.active-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  align-items: center;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #edeae2;
  color: var(--ink, #1c1a17);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
  font-weight: 500;
}
.filter-chip:hover {
  background: #dfdacf;
}
.filter-chip i {
  font-size: 11px;
}
.filter-chip-clear-all {
  font-size: 12px;
  color: #a83c32;
  font-weight: 600;
  text-decoration: underline;
  margin-left: 6px;
}

/* Shop Products Grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}

/* Mobile Filter Drawer Toggle */
.mobile-filter-trigger {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--ink, #1c1a17);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* Pagination Bar */
.shop-pagination {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.page-btn {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #dcd7ce;
  background: #fff;
  color: var(--ink, #1c1a17);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all .15s;
}
.page-btn:hover {
  border-color: var(--accent, #a78351);
  color: var(--accent, #a78351);
}
.page-btn.is-active {
  background: var(--ink, #1c1a17);
  color: #fff;
  border-color: var(--ink, #1c1a17);
}
.page-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .mobile-filter-trigger {
    display: inline-flex;
  }
  .shop-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    overflow-y: auto;
    border-radius: 0;
    padding: 24px;
  }
  .shop-sidebar.is-open {
    display: block;
  }
  .shop-sidebar-close {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e1d8;
  }
  .shop-sidebar-close h3 {
    margin: 0;
    font-size: 18px;
  }
  .shop-sidebar-close button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
  }
}

@media (max-width: 600px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .shop-sort-wrap {
    justify-content: space-between;
  }
}
