/* =========================================================
   All Products — editorial catalogue index (last layer)
   3-col browse grid, no staggered marketplace tiles.
   ========================================================= */

html body.page-products-catalog .pcat-section--all {
  background-color: #ebe6dc !important;
  background-image:
    linear-gradient(180deg, rgba(20, 14, 10, 0.035), transparent 18%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.14'/%3E%3C/svg%3E") !important;
  background-size: auto, 180px 180px !important;
  background-blend-mode: normal, multiply !important;
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
}

html body.page-products-catalog .pcat-section--all .pcat-head--all {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) !important;
  grid-template-areas:
    "eyebrow eyebrow"
    "title lead" !important;
  column-gap: clamp(1.5rem, 4vw, 3.5rem) !important;
  row-gap: 0.65rem !important;
  align-items: end !important;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem) !important;
  max-width: none !important;
}

html body.page-products-catalog .pcat-section--all .pcat-head--all .eyebrow {
  grid-area: eyebrow !important;
  margin: 0 !important;
  color: rgba(26, 21, 16, 0.5) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.5) !important;
  letter-spacing: 0.18em !important;
}

html body.page-products-catalog .pcat-section--all .pcat-head--all h2 {
  grid-area: title !important;
  max-width: 12ch !important;
  margin: 0 !important;
  font-family: var(--wa-font-display, "Cormorant Garamond"), Georgia, serif !important;
  font-size: clamp(2.4rem, 5.2vw, 3.6rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.05 !important;
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
}

html body.page-products-catalog .pcat-section--all .pcat-head--all h2::before,
html body.page-products-catalog .pcat-section--all .pcat-head--all h2::after {
  display: none !important;
  content: none !important;
}

html body.page-products-catalog .pcat-section--all .pcat-head--all p {
  grid-area: lead !important;
  max-width: 34ch !important;
  margin: 0 0 0.35rem !important;
  font-family: var(--wa-font-display, "Cormorant Garamond"), Georgia, serif !important;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  letter-spacing: 0.01em !important;
  color: rgba(26, 21, 16, 0.72) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.72) !important;
}

/* ---- Toolbar ---- */
html body.page-products-catalog .pcat-toolbar--all {
  position: sticky !important;
  top: 4.5rem !important;
  z-index: 40 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 1rem 1.75rem !important;
  align-items: center !important;
  margin: 0 0 clamp(1.75rem, 3.5vw, 2.75rem) !important;
  padding: 0.95rem 0 !important;
  background: rgba(235, 230, 220, 0.92) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-top: 1px solid rgba(26, 21, 16, 0.14) !important;
  border-bottom: 1px solid rgba(26, 21, 16, 0.14) !important;
  box-shadow: none !important;
}

html body.page-products-catalog .pcat-toolbar--all .pcat-filter-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.65rem !important;
  min-width: 0 !important;
}

html body.page-products-catalog .pcat-toolbar--all .pcat-filter__label {
  margin: 0 !important;
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-size: 0.62rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(26, 21, 16, 0.45) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.45) !important;
}

html body.page-products-catalog .pcat-toolbar--all .pcat-filter {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.45rem !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

html body.page-products-catalog .pcat-toolbar--all .pcat-filter a,
html body.page-products-catalog .pcat-toolbar--all .pcat-filter a.pcat-filter__btn {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0.72rem 1.15rem !important;
  border: 1px solid rgba(26, 21, 16, 0.18) !important;
  border-radius: 0.85rem !important;
  background: rgba(255, 252, 247, 0.72) !important;
  background-color: rgba(255, 252, 247, 0.72) !important;
  box-shadow: none !important;
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  color: rgba(26, 21, 16, 0.62) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.62) !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition:
    color 0.3s ease,
    -webkit-text-fill-color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.35s ease !important;
}

html body.page-products-catalog .pcat-toolbar--all .pcat-filter a::before,
html body.page-products-catalog .pcat-toolbar--all .pcat-filter a::after,
html body.page-products-catalog .pcat-toolbar--all .pcat-filter a.pcat-filter__btn::before,
html body.page-products-catalog .pcat-toolbar--all .pcat-filter a.pcat-filter__btn::after {
  content: none !important;
  display: none !important;
}

html body.page-products-catalog .pcat-toolbar--all .pcat-filter a:hover:not(.is-active),
html body.page-products-catalog .pcat-toolbar--all .pcat-filter a.pcat-filter__btn:hover:not(.is-active) {
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
  background: #fffdf8 !important;
  background-color: #fffdf8 !important;
  border-color: rgba(26, 21, 16, 0.35) !important;
  border-radius: 0.85rem !important;
  box-shadow: 0 8px 18px rgba(26, 21, 16, 0.08) !important;
}

html body.page-products-catalog .pcat-toolbar--all .pcat-filter a.is-active,
html body.page-products-catalog .pcat-toolbar--all .pcat-filter a.pcat-filter__btn.is-active,
html body.page-products-catalog .pcat-toolbar--all .pcat-filter a.is-active:hover,
html body.page-products-catalog .pcat-toolbar--all .pcat-filter a.pcat-filter__btn.is-active:hover {
  color: #f5efe4 !important;
  -webkit-text-fill-color: #f5efe4 !important;
  background: #1a1510 !important;
  background-color: #1a1510 !important;
  border-color: #1a1510 !important;
  border-radius: 0.85rem !important;
  box-shadow: 0 10px 22px rgba(26, 21, 16, 0.16) !important;
  opacity: 1 !important;
}

html body.page-products-catalog .pcat-toolbar--all .pcat-filter a.is-active::after,
html body.page-products-catalog .pcat-toolbar--all .pcat-filter a:hover::after {
  display: none !important;
  transform: none !important;
}

html body.page-products-catalog .pcat-toolbar--all .pcat-tools {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 1.25rem !important;
  min-width: min(100%, 22rem) !important;
}

html body.page-products-catalog .pcat-toolbar--all .pcat-search {
  display: block !important;
  flex: 1 1 11rem !important;
  min-width: 9rem !important;
  max-width: 16rem !important;
  margin: 0 !important;
}

html body.page-products-catalog .pcat-toolbar--all .pcat-search input {
  width: 100% !important;
  margin: 0 !important;
  padding: 0.55rem 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(26, 21, 16, 0.22) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
  outline: none !important;
}

html body.page-products-catalog .pcat-toolbar--all .pcat-search input::placeholder {
  color: rgba(26, 21, 16, 0.4) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.4) !important;
}

html body.page-products-catalog .pcat-toolbar--all .pcat-search input:focus {
  border-bottom-color: #1a1510 !important;
}

/* View density toggle — like premium catalog toolbars */
html body.page-products-catalog .pcat-view {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  flex-shrink: 0 !important;
}

html body.page-products-catalog .pcat-view__btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1.85rem !important;
  height: 1.85rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0.35rem !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(26, 21, 16, 0.28) !important;
  cursor: pointer !important;
  transition: color 0.25s ease, background-color 0.25s ease !important;
}

html body.page-products-catalog .pcat-view__btn svg {
  display: block !important;
  width: 1.05rem !important;
  height: 1.05rem !important;
  fill: currentColor !important;
}

html body.page-products-catalog .pcat-view__btn:hover {
  color: rgba(26, 21, 16, 0.62) !important;
  background: rgba(26, 21, 16, 0.04) !important;
}

html body.page-products-catalog .pcat-view__btn.is-active {
  color: #1a1510 !important;
  background: transparent !important;
}

/* ---- Product grid ---- */
html body.page-products-catalog .pcat-grid--all,
html body.page-products-catalog .pcat-grid--all.is-dense,
html body.page-products-catalog .pcat-grid--all[data-pcat-density="dense"] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.1rem, 2.2vw, 1.75rem) !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.page-products-catalog .pcat-grid--all.is-roomy,
html body.page-products-catalog .pcat-grid--all[data-pcat-density="roomy"] {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(2.25rem, 4.5vw, 3.75rem) clamp(1.5rem, 3vw, 2.75rem) !important;
}

html body.page-products-catalog .pcat-card--all,
html body.page-products-catalog .pcat-card--all:nth-child(even),
html body.page-products-catalog .pcat-card--all:nth-child(odd) {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
}

html body.page-products-catalog .pcat-card--all[hidden],
html body.page-products-catalog .pcat-card--all.is-filtered-out {
  display: none !important;
}

html body.page-products-catalog .pcat-card--all .pcat-card__media {
  position: relative !important;
  display: block !important;
  aspect-ratio: 4 / 5 !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  background: #ddd4c6 !important;
}

html body.page-products-catalog .pcat-grid--all.is-roomy .pcat-card--all .pcat-card__media,
html body.page-products-catalog .pcat-grid--all[data-pcat-density="roomy"] .pcat-card--all .pcat-card__media {
  aspect-ratio: 5 / 6 !important;
}

html body.page-products-catalog .pcat-card--all .pcat-card__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transform: scale(1.01) !important;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

html body.page-products-catalog .pcat-card--all .pcat-card__body {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0.4rem !important;
  padding: 0.95rem 0 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border-top: 0 !important;
}

html body.page-products-catalog .pcat-card--all .pcat-card__meta {
  display: flex !important;
  align-items: baseline !important;
  gap: 0.65rem !important;
  margin: 0 !important;
}

html body.page-products-catalog .pcat-card--all .pcat-card__index {
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-size: 0.62rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  color: rgba(26, 21, 16, 0.38) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.38) !important;
}

html body.page-products-catalog .pcat-card--all .pcat-card__cat,
html body.page-products-catalog .pcat-card--all .eyebrow {
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-size: 0.62rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: rgba(26, 21, 16, 0.55) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.55) !important;
}

html body.page-products-catalog .pcat-card--all .pcat-card__body h3 {
  margin: 0 !important;
  font-family: var(--wa-font-display, "Cormorant Garamond"), Georgia, serif !important;
  font-size: clamp(1.28rem, 1.7vw, 1.55rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.15 !important;
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
}

html body.page-products-catalog .pcat-grid--all.is-roomy .pcat-card--all .pcat-card__body h3,
html body.page-products-catalog .pcat-grid--all[data-pcat-density="roomy"] .pcat-card--all .pcat-card__body h3 {
  font-size: clamp(1.55rem, 2.2vw, 2rem) !important;
}

html body.page-products-catalog .pcat-card--all .pcat-card__body h3 a {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  text-decoration: none !important;
}

html body.page-products-catalog .pcat-card--all .pcat-card__body p {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  max-width: 34ch !important;
  margin: 0 !important;
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-size: 0.84rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.01em !important;
  color: rgba(26, 21, 16, 0.65) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.65) !important;
}

html body.page-products-catalog .pcat-grid--all.is-dense .pcat-card--all .pcat-card__body p,
html body.page-products-catalog .pcat-grid--all[data-pcat-density="dense"] .pcat-card--all .pcat-card__body p {
  -webkit-line-clamp: 1 !important;
  font-size: 0.8rem !important;
}

html body.page-products-catalog .pcat-card--all .pcat-card__cta,
html body.page-products-catalog a.pcat-card--all .pcat-card__cta,
html body.page-products-catalog .pcat-card--all a.pcat-card__cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  width: fit-content !important;
  margin-top: 0.35rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--wa-font-body, Sora), system-ui, sans-serif !important;
  font-size: 0.66rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  color: #1a1510 !important;
  -webkit-text-fill-color: #1a1510 !important;
}

html body.page-products-catalog .pcat-grid--all.is-dense .pcat-card--all .pcat-card__cta,
html body.page-products-catalog .pcat-grid--all[data-pcat-density="dense"] .pcat-card--all .pcat-card__cta {
  display: none !important;
}

html body.page-products-catalog .pcat-card--all .pcat-card__cta::before,
html body.page-products-catalog .pcat-card--all .pcat-card__cta::after {
  display: none !important;
  content: none !important;
}

html body.page-products-catalog .pcat-card--all .pcat-card__cta-arrow {
  display: inline-block !important;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

html body.page-products-catalog .pcat-section--all .pcat-empty {
  margin-top: 2rem !important;
  text-align: center !important;
  font-family: var(--wa-font-display, "Cormorant Garamond"), Georgia, serif !important;
  font-style: italic !important;
  color: rgba(26, 21, 16, 0.55) !important;
  -webkit-text-fill-color: rgba(26, 21, 16, 0.55) !important;
}

@media (hover: hover) and (pointer: fine) {
  html body.page-products-catalog .pcat-card--all:hover,
  html body.page-products-catalog .pcat-card--all:nth-child(even):hover {
    transform: none !important;
    box-shadow: none !important;
  }

  html body.page-products-catalog .pcat-card--all:hover .pcat-card__media img {
    transform: scale(1.045) !important;
  }

  html body.page-products-catalog .pcat-card--all:hover .pcat-card__cta-arrow {
    transform: translateX(0.28rem) !important;
  }
}

@media (max-width: 980px) {
  html body.page-products-catalog .pcat-grid--all.is-dense,
  html body.page-products-catalog .pcat-grid--all[data-pcat-density="dense"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  html body.page-products-catalog .pcat-section--all .pcat-head--all {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "eyebrow"
      "title"
      "lead" !important;
    align-items: start !important;
  }

  html body.page-products-catalog .pcat-section--all .pcat-head--all h2 {
    max-width: none !important;
  }

  html body.page-products-catalog .pcat-toolbar--all {
    top: 4rem !important;
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  html body.page-products-catalog .pcat-toolbar--all .pcat-tools {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: space-between !important;
  }

  html body.page-products-catalog .pcat-toolbar--all .pcat-search {
    max-width: none !important;
  }

  html body.page-products-catalog .pcat-grid--all,
  html body.page-products-catalog .pcat-grid--all.is-dense,
  html body.page-products-catalog .pcat-grid--all.is-roomy,
  html body.page-products-catalog .pcat-grid--all[data-pcat-density="dense"],
  html body.page-products-catalog .pcat-grid--all[data-pcat-density="roomy"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  html body.page-products-catalog .pcat-grid--all.is-dense .pcat-card--all .pcat-card__cta,
  html body.page-products-catalog .pcat-grid--all[data-pcat-density="dense"] .pcat-card--all .pcat-card__cta {
    display: inline-flex !important;
  }
}
