/* Category collection and filters; retain Journal's filtering and drawer behavior. */
.route-product-category body { background: #fcfbf8; }
.route-product-category .page-title {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  font-weight: 400 !important;
  color: #353c34 !important;
  letter-spacing: -.5px;
}
#product-category { --collection-ink: #31483e; --collection-line: #e8e2d7; }
#product-category #content { min-width: 0; }
#product-category .products-filter {
  border: 1px solid var(--collection-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  padding: 12px 16px !important;
  margin-bottom: 24px !important;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 4px 16px rgba(43, 46, 30, .025);
}
#product-category .products-filter .grid-list { gap: 8px; align-items: center; }
#product-category .products-filter .view-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: #f5f2ec !important; color: #677067 !important;
}
#product-category .products-filter .view-btn.active {
  background: var(--collection-ink) !important; color: #fff !important;
}
#product-category .products-filter .compare-btn { color: #687267 !important; font-size: 12px !important; }
#product-category .products-filter .select-group { gap: 14px; }
#product-category .products-filter label { color: #7b7d70 !important; font-size: 12px !important; }
#product-category .products-filter select {
  min-height: 40px; border: 1px solid var(--collection-line) !important;
  border-radius: 8px !important; background-color: #fcfbf8 !important;
  color: #394439 !important;
}
#product-category .main-products.product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 0 !important;
  width: 100% !important;
}
#product-category .main-products.product-grid > .product-layout {
  min-width: 0 !important; width: 100% !important;
  margin: 0 !important; padding: 0 !important;
}
#product-category .main-products .product-thumb {
  border: 1px solid var(--collection-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 5px 18px rgba(47, 45, 29, .035) !important;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
#product-category .main-products .product-thumb:hover {
  border-color: #b8a17b !important;
  box-shadow: 0 10px 26px rgba(47, 45, 29, .08) !important;
}
#product-category .main-products.product-grid .product-thumb {
  display: flex !important; flex-direction: column !important; height: 100%; padding: 10px !important;
}
#product-category .main-products.product-grid .image-group { width: 100%; flex: 0 0 auto; }
#product-category .main-products .image {
  border-radius: 10px !important; overflow: hidden; background: #f7f5f0 !important;
}
#product-category .main-products.product-grid .product-img,
#product-category .main-products.product-grid .product-img > div {
  display: block; width: 100%; aspect-ratio: 1; border-radius: 10px !important;
}
#product-category .main-products.product-grid .product-img img {
  width: 100% !important; height: 100% !important; object-fit: contain;
  border-radius: 10px !important;
}
#product-category .main-products .product-img > div { position: relative; }
#product-category .main-products .product-img .img-second {
  position: absolute !important;
  inset: 0 !important;
}
#product-category .main-products.product-grid .caption {
  display: flex !important; flex-direction: column; flex: 1 0 auto;
  width: 100%; min-width: 0; padding: 16px 8px 10px !important;
}
#product-category .main-products .stats { color: #8a8c7d !important; font-size: 11px !important; margin-bottom: 9px !important; }
#product-category .main-products .name { margin: 0 0 12px !important; }
#product-category .main-products .name a {
  font-size: 14px !important; line-height: 1.55 !important; font-weight: 500 !important;
  color: #354137 !important; text-decoration: none;
}
#product-category .main-products.product-grid .name a {
  display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important;
  overflow: hidden; height: auto !important; min-height: 3.1em; max-height: 3.1em; white-space: normal !important;
}
#product-category .main-products .price {
  color: #8e6b38 !important; font-size: 18px !important; font-weight: 600 !important;
  border-top: 1px solid #eee8dc; padding-top: 12px !important;
}
#product-category .main-products .price-normal,
#product-category .main-products .price-new { color: #8e6b38 !important; }
#product-category .main-products .product-label-default {
  border-radius: 20px !important; overflow: hidden;
}
#product-category .main-products .product-label-1 {
  background: #31483e !important; color: #fff !important; border: 0 !important;
}
#product-category .pagination-results {
  margin-top: 28px !important; padding: 18px 0 !important;
  border-top: 1px solid var(--collection-line); color: #7a7f74;
}
.route-product-category #filter {
  border: 1px solid #e5dfd2 !important; border-radius: 16px !important;
  background: #fff !important; overflow: hidden;
  box-shadow: 0 7px 24px rgba(48, 45, 31, .04);
}
.route-product-category #filter > .module-title {
  background: #eef1e9 !important; color: #31483e !important;
  border: 0 !important; padding: 20px 18px !important; margin: 0 !important;
  display: flex; align-items: center; gap: 12px;
}
.route-product-category #filter .filter-title-text {
  font-family: Georgia, 'Times New Roman', serif; font-size: 24px; font-weight: 400;
}
.route-product-category #filter .reset-filter {
  margin-inline-start: auto; padding: 7px 10px !important;
  background: #fff !important; color: #59644e !important;
  border: 1px solid #d4dccb !important; border-radius: 20px !important;
  font-size: 11px !important;
}
.route-product-category #filter > .module-body { padding: 0 18px !important; }
.route-product-category #filter .panel-group { margin: 0 !important; }
.route-product-category #filter .panel {
  background: transparent !important; border: 0 !important;
  border-bottom: 1px solid #eee9df !important;
  margin: 0 !important; padding: 0 !important; box-shadow: none !important;
}
.route-product-category #filter .panel:last-child { border-bottom: 0 !important; }
.route-product-category #filter .panel::after { display: none !important; }
.route-product-category #filter .panel-heading { padding: 0 !important; background: transparent !important; border: 0 !important; }
.route-product-category #filter :is(.panel-collapse, .panel-body, .panel-title) { border: 0 !important; }
.route-product-category #filter .accordion-toggle {
  padding: 19px 0 !important; color: #3b493b !important;
  font-size: 13px !important; font-weight: 600 !important;
}
.route-product-category #filter .panel-body { padding: 0 0 18px !important; }
.route-product-category #filter :is(.filter-checkbox, .filter-radio) label {
  min-height: 36px; padding: 7px 8px !important; margin: 0 !important;
  border-radius: 7px; color: #66705f !important; font-size: 12px !important;
  gap: 8px;
}
.route-product-category #filter :is(.filter-checkbox, .filter-radio) label:hover,
.route-product-category #filter label:has(input:checked) { background: #f1f4ed !important; color: #31483e !important; }
.route-product-category #filter input[type='checkbox'],
.route-product-category #filter input[type='radio'] { accent-color: #31483e; width: 16px; height: 16px; flex-shrink: 0; }
.route-product-category #filter .count-badge {
  border: 0 !important; background: #f0eee6 !important; color: #8a8371 !important;
  border-radius: 12px !important; min-width: 23px; font-size: 10px !important;
}
.route-product-category #filter .extra-controls { gap: 7px; }
.route-product-category #filter .extra-controls input {
  min-width: 0; border: 1px solid #e5dfd2 !important; border-radius: 8px !important;
  background: #faf9f5 !important; color: #374536 !important; min-height: 40px;
}
.route-product-category #filter .irs-bar { background: #809278 !important; }
.route-product-category #filter :is(.irs-handle, .irs-slider) {
  background: #31483e !important; border: 3px solid #fff !important;
  box-shadow: 0 0 0 1px #829078;
}
.route-product-category.mobile-header-active #filter > .module-title { display: none !important; }
.route-product-category .mobile-filter-container .mobile-wrapper-header {
  background: #eef1e9 !important; color: #31483e !important;
  border-bottom: 1px solid #e5dfd2 !important;
}
.route-product-category .mobile-filter-container .mobile-wrapper-header > span {
  font-family: Georgia, 'Times New Roman', serif; font-size: 24px; font-weight: 400;
}
.route-product-category .mobile-filter-container .reset-filter,
.route-product-category .mobile-filter-trigger {
  background: #31483e !important; color: #fff !important;
  border: 0 !important; border-radius: 24px !important;
}
@media (min-width: 1600px) {
  #product-category .main-products.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (max-width: 1199px) {
  #product-category .main-products.product-grid { gap: 16px !important; }
}
@media (max-width: 767px) {
  #product-category .main-products.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  #product-category .main-products.product-grid .product-thumb { border-radius: 12px !important; padding: 6px !important; }
  #product-category .main-products.product-grid .caption { padding: 12px 4px 8px !important; }
  #product-category .main-products .name a { font-size: 12px !important; }
  #product-category .main-products .price { font-size: 15px !important; }
  #product-category .products-filter { padding: 10px !important; gap: 12px; }
  #product-category .products-filter .select-group { width: 100%; gap: 10px; }
  #product-category .products-filter .sort-by { flex: 1; min-width: 0; }
  #product-category .products-filter .sort-by select { width: 100%; min-width: 0; max-width: none !important; }
  #product-category .products-filter .per-page { flex-shrink: 0; }
  .route-product-category #filter { border-radius: 0 !important; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  #product-category .main-products .product-thumb { transition: none; }
}
