/*
 * White Ash Reserve category shop
 *
 * Intentionally rooted at .wa-category-shop so WooCommerce checkout, account,
 * Friday Drop, and all non-category templates remain parent-theme owned.
 */

.wa-category-shop {
  --wa-shop-ink: #080807;
  --wa-shop-ink-soft: #11110f;
  --wa-shop-ink-raised: #171714;
  --wa-shop-cream: #f4f0e5;
  --wa-shop-cream-soft: #d7d1c4;
  --wa-shop-muted: #958f84;
  --wa-shop-action: #c87945;
  --wa-shop-action-ink: #0b0c0a;
  --wa-shop-line: rgba(244, 240, 229, 0.14);
  --wa-shop-line-strong: rgba(244, 240, 229, 0.28);
  --wa-shop-content: 1440px;
  --wa-shop-side: clamp(20px, 4vw, 64px);
  --wa-shop-content-edge: max(
    var(--wa-shop-side),
    calc((100vw - var(--wa-shop-content)) / 2)
  );
  --wa-shop-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wa-shop-serif: Georgia, "Times New Roman", serif;

  min-width: 320px;
  overflow: clip;
  background: var(--wa-shop-ink);
  color: var(--wa-shop-cream);
  font-family: var(--wa-shop-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wa-category-shop,
.wa-category-shop *,
.wa-category-shop *::before,
.wa-category-shop *::after {
  box-sizing: border-box;
}

/*
 * WooCommerce opens its theme wrapper after this scoped surface. Keep that
 * nested wrapper full-width so Blocksy's archive container cannot inset the
 * reviewed navigation, hero, or catalog.
 */
.wa-category-shop > main,
.wa-category-shop > .site-main,
.wa-category-shop > .ct-container,
.wa-category-shop > .ct-container-full,
.wa-category-shop > main > .ct-container,
.wa-category-shop > main > .ct-container-full,
.wa-category-shop > .site-main > .ct-container,
.wa-category-shop > .site-main > .ct-container-full {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.wa-category-shop button,
.wa-category-shop input,
.wa-category-shop select {
  font: inherit;
}

.wa-category-shop a,
.wa-category-shop button,
.wa-category-shop select,
.wa-category-shop summary {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.wa-category-shop button,
.wa-category-shop select,
.wa-category-shop summary {
  cursor: pointer;
}

.wa-category-shop img {
  max-width: 100%;
}

.wa-category-shop :focus-visible {
  outline: 2px solid var(--wa-shop-action);
  outline-offset: 4px;
}

.wa-category-shop [hidden] {
  display: none !important;
}

.wa-category-shop .screen-reader-text,
.wa-category-shop .wa-shop-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Category subnavigation */

.wa-category-shop .wa-category-nav {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--wa-shop-side);
  border-bottom: 1px solid var(--wa-shop-line);
  background: #0c0c0a;
}

.wa-category-shop .wa-category-nav > span {
  color: var(--wa-shop-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wa-category-shop .wa-category-nav > div,
.wa-category-shop .wa-category-nav > ul {
  min-width: 0;
  display: flex;
  gap: 4px;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wa-category-shop .wa-category-nav a {
  position: relative;
  min-height: 47px;
  display: grid;
  padding: 0 clamp(12px, 2vw, 28px);
  place-items: center;
  color: var(--wa-shop-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.wa-category-shop .wa-category-nav a::after {
  position: absolute;
  right: 10px;
  bottom: -1px;
  left: 10px;
  height: 2px;
  transform: scaleX(0);
  background: var(--wa-shop-action);
  content: "";
  transition: transform 160ms ease;
}

.wa-category-shop .wa-category-nav a:hover,
.wa-category-shop .wa-category-nav a.is-active,
.wa-category-shop .wa-category-nav a[aria-current="page"] {
  color: var(--wa-shop-cream);
}

.wa-category-shop .wa-category-nav a.is-active::after,
.wa-category-shop .wa-category-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Category hero */

.wa-category-shop .wa-category-hero {
  position: relative;
  min-height: min(590px, calc(100svh - 154px));
  display: grid;
  overflow: hidden;
  border-bottom: 1px solid var(--wa-shop-line);
  background:
    radial-gradient(circle at 88% 82%, rgba(200, 121, 69, 0.13), transparent 28%),
    var(--wa-shop-ink);
}

.wa-category-shop .wa-category-hero::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--wa-category-hero-image, none) center / cover no-repeat;
  content: "";
  opacity: var(--wa-category-hero-opacity, 0);
  pointer-events: none;
}

.wa-category-shop .wa-category-hero__copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  min-height: min(590px, calc(100svh - 154px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-inline: 0;
  padding:
    clamp(52px, 7vw, 112px)
    var(--wa-shop-content-edge);
}

.wa-category-shop .wa-category-hero--copy-only .wa-category-hero__copy {
  padding-right: max(
    var(--wa-shop-content-edge),
    clamp(40px, 15vw, 240px)
  );
}

.wa-category-shop--vapes .wa-category-hero,
.wa-category-shop--vapes .wa-category-hero__copy {
  min-height: 430px;
}

.wa-category-shop .wa-breadcrumbs {
  order: -2;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin: 0 0 clamp(48px, 7vw, 92px);
  color: #79746b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.wa-category-shop .woocommerce-breadcrumb.wa-breadcrumbs {
  padding: 0;
  border: 0;
  background: transparent;
}

.wa-category-shop .wa-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.wa-category-shop .wa-breadcrumbs a:hover,
.wa-category-shop .wa-breadcrumbs strong {
  color: var(--wa-shop-cream-soft);
}

.wa-category-shop .wa-breadcrumbs strong {
  font-weight: 700;
}

.wa-category-shop .wa-eyebrow {
  margin: 0 0 17px;
  color: var(--wa-shop-action);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.wa-category-shop .wa-category-hero__copy > .wa-eyebrow {
  order: -1;
}

.wa-category-shop .wa-category-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--wa-shop-cream);
  font-family: var(--wa-shop-serif);
  font-size: clamp(64px, 7vw, 112px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.86;
  text-transform: none;
}

.wa-category-shop--rosin .wa-category-hero h1 {
  max-width: 640px;
  font-size: clamp(58px, 6vw, 96px);
}

.wa-category-shop .wa-category-hero__description,
.wa-category-shop .wa-category-hero__copy > .term-description,
.wa-category-shop .wa-category-hero .term-description {
  max-width: 680px;
  margin: 30px 0 0;
  color: var(--wa-shop-cream-soft);
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.62;
}

.wa-category-shop .wa-category-hero .term-description > :first-child {
  margin-top: 0;
}

.wa-category-shop .wa-category-hero .term-description > :last-child {
  margin-bottom: 0;
}

.wa-category-shop .wa-category-hero .term-description a {
  color: var(--wa-shop-action);
  text-underline-offset: 3px;
}

/* Catalog heading and tools */

.wa-category-shop .wa-category-catalog {
  padding: clamp(72px, 8vw, 124px) var(--wa-shop-side)
    clamp(90px, 10vw, 150px);
  border-bottom: 1px solid var(--wa-shop-line);
  background:
    radial-gradient(circle at 82% 8%, rgba(200, 121, 69, 0.08), transparent 22%),
    var(--wa-shop-ink);
  color: var(--wa-shop-cream);
}

.wa-category-shop .wa-category-catalog__heading,
.wa-category-shop .wa-category-tools,
.wa-category-shop .wa-product-grid,
.wa-category-shop .wa-catalog-loader,
.wa-category-shop .wa-category-empty,
.wa-category-shop .woocommerce-notices-wrapper,
.wa-category-shop .woocommerce-pagination {
  width: 100%;
  max-width: var(--wa-shop-content);
  margin-right: auto;
  margin-left: auto;
}

.wa-category-shop .wa-category-catalog__heading {
  display: flex;
  gap: 32px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
}

.wa-category-shop .wa-category-catalog__heading h2 {
  margin: 0;
  color: var(--wa-shop-cream);
  font-family: var(--wa-shop-serif);
  font-size: clamp(48px, 5.2vw, 78px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-transform: none;
}

.wa-category-shop .wa-category-catalog__heading > p,
.wa-category-shop .woocommerce-result-count,
.wa-category-shop .wa-category-catalog__result-count {
  margin: 0 0 5px;
  color: var(--wa-shop-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.wa-category-shop .wa-category-catalog__result-count {
  flex: 0 0 auto;
  margin-left: auto;
  text-align: right;
}

.wa-category-shop .wa-category-catalog__result-count:empty {
  display: none;
}

.wa-category-shop .wa-category-catalog__result-count .woocommerce-result-count {
  margin: 0;
}

.wa-category-shop .wa-category-tools {
  min-height: 58px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-top: 1px solid var(--wa-shop-line);
  border-bottom: 1px solid var(--wa-shop-line);
}

/*
 * Shown when a requested ?wa_size could not be applied — a stale bookmark, an
 * indexed URL, or a size that has since sold out. The filter is deliberately
 * NOT applied in that case (emptying the archive instead left a dead end), so
 * this explains why every selection is on screen rather than leaving the
 * shopper to assume the filter silently worked.
 */
.wa-category-shop .wa-category-filter-notice,
.wa-category-catalog--empty .wa-category-filter-notice {
  display: block;
  /* Full width in either context: a block sibling above .wa-category-tools on a
     populated archive, and inside the empty-state section otherwise. flex-basis
     is kept only for the case where a parent is a flex container. */
  flex-basis: 100%;
  width: 100%;
  margin: 0 0 14px;
  padding: 10px 14px;
  border-left: 2px solid var(--wa-shop-action);
  background: var(--wa-shop-ink-soft);
  color: var(--wa-shop-cream-soft);
  font-size: 13px;
  line-height: 1.5;
}

.wa-category-shop .wa-filter-chips,
.wa-category-shop .wa-category-tools__actions,
.wa-category-shop .wa-view-controls {
  display: flex;
  align-items: center;
}

.wa-category-shop .wa-filter-chips {
  min-width: 0;
  gap: 5px;
  flex-wrap: wrap;
}

.wa-category-shop .wa-filter-chips__label {
  flex: 0 0 100%;
  color: var(--wa-shop-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wa-category-shop .wa-filter-chips button,
.wa-category-shop .wa-filter-chips a {
  min-height: 44px;
  display: inline-grid;
  padding: 8px 13px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--wa-shop-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}

.wa-category-shop .wa-filter-chips button:hover,
.wa-category-shop .wa-filter-chips a:hover,
.wa-category-shop .wa-filter-chips .is-active,
.wa-category-shop .wa-filter-chips [aria-pressed="true"] {
  border-color: var(--wa-shop-cream-soft);
  color: var(--wa-shop-cream);
}

.wa-category-shop .wa-filter-chips .is-active,
.wa-category-shop .wa-filter-chips [aria-pressed="true"] {
  background: var(--wa-shop-cream);
  color: var(--wa-shop-ink);
}

.wa-category-shop .wa-category-tools__actions {
  flex: 0 0 auto;
  /* The sort select is now intrinsically sized, so on a narrow viewport this
     row can exceed its container. Wrapping moves the view controls to a second
     line rather than clipping or forcing a horizontal scrollbar. */
  flex-wrap: wrap;
  gap: 18px;
}

.wa-category-shop .wa-filter-trigger {
  display: none;
  min-height: 44px;
  order: 0;
}

.wa-category-shop .wa-category-tools__actions .woocommerce-ordering {
  order: 1;
}

.wa-category-shop .wa-category-tools__actions .wa-sort-control {
  order: 1;
}

.wa-category-shop .wa-category-tools__actions .wa-view-controls {
  order: 2;
}

.wa-category-shop .wa-filter-trigger > summary {
  min-height: 44px;
  display: inline-flex;
  gap: 22px;
  align-items: center;
  padding: 9px 0;
  color: var(--wa-shop-cream-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  list-style: none;
  text-transform: uppercase;
}

.wa-category-shop .wa-filter-trigger > summary::-webkit-details-marker {
  display: none;
}

.wa-category-shop .wa-filter-trigger > summary::after {
  color: var(--wa-shop-action);
  content: "+";
  font-size: 15px;
  font-weight: 400;
}

.wa-category-shop .wa-filter-trigger[open] > summary::after {
  content: "−";
}

.wa-category-shop .wa-sort-control,
.wa-category-shop .woocommerce-ordering {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0;
  color: var(--wa-shop-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wa-category-shop .wa-sort-control select,
.wa-category-shop .woocommerce-ordering select {
  min-height: 44px;
  /* No width cap. This control renders woocommerce_catalog_ordering(), whose
     longest native option is "Sort by price: low to high" -- and the select
     inherits `text-transform: uppercase` and `letter-spacing: .1em` from
     .wa-sort-control, so the painted string is materially wider than the source
     text. A native select sizes to its widest option; a max-width below that
     intrinsic width clips the label instead of shrinking it, which is what
     truncated "Sort by latest" to "SORT BY LATI". Overflow is handled by
     letting .wa-category-tools__actions wrap, not by cutting the text. */
  max-width: none;
  padding: 8px 24px 8px 8px;
  border: 0;
  border-radius: 0;
  background: #0b0b09;
  color: var(--wa-shop-cream);
  color-scheme: dark;
  font-size: 10px;
  font-weight: 700;
  box-shadow: none;
}

.wa-category-shop .wa-sort-control select option,
.wa-category-shop .woocommerce-ordering select option {
  background: #0b0b09;
  color: var(--wa-shop-cream);
}

.wa-category-shop .wa-view-controls {
  gap: 3px;
}

.wa-category-shop .wa-view-controls button {
  width: 44px;
  height: 44px;
  display: grid;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--wa-shop-cream);
  opacity: 0.36;
}

.wa-category-shop .wa-view-controls button.is-active,
.wa-category-shop .wa-view-controls button[aria-pressed="true"] {
  opacity: 1;
}

.wa-category-shop .wa-grid-icon,
.wa-category-shop .wa-list-icon {
  width: 14px;
  height: 14px;
  display: block;
  background-repeat: no-repeat;
}

.wa-category-shop .wa-grid-icon {
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 6px 6px,
    linear-gradient(currentColor, currentColor) 100% 0 / 6px 6px,
    linear-gradient(currentColor, currentColor) 0 100% / 6px 6px,
    linear-gradient(currentColor, currentColor) 100% 100% / 6px 6px;
  background-repeat: no-repeat;
}

.wa-category-shop .wa-list-icon {
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px,
    linear-gradient(currentColor, currentColor) 0 6px / 100% 2px,
    linear-gradient(currentColor, currentColor) 0 12px / 100% 2px;
  background-repeat: no-repeat;
}

/* Native details-based layered filters */

.wa-category-shop .wa-filter-panel {
  position: absolute;
  z-index: 120;
  top: calc(100% + 1px);
  left: 0;
  width: min(440px, calc(100vw - (2 * var(--wa-shop-side))));
  max-height: min(620px, calc(100dvh - 120px));
  overflow-y: auto;
  padding: 26px;
  border: 1px solid var(--wa-shop-line-strong);
  background: var(--wa-shop-ink-soft);
  color: var(--wa-shop-cream);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.54);
  overscroll-behavior: contain;
}

.wa-category-shop .wa-filter-panel__header,
.wa-category-shop .wa-filter-panel__close[data-wa-filter-close] {
  display: none;
}

.wa-category-shop .wa-filter-panel__reset {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 22px;
  border-top: 1px solid var(--wa-shop-line);
  border-bottom: 1px solid var(--wa-shop-line);
  color: var(--wa-shop-cream-soft);
  font-family: var(--wa-shop-serif);
  font-size: 20px;
  text-decoration: none;
}

.wa-category-shop .wa-filter-panel__reset::after {
  color: var(--wa-shop-action);
  content: "↺";
  font-family: var(--wa-shop-sans);
  font-size: 14px;
}

.wa-category-shop .wa-filter-panel__reset:hover {
  color: var(--wa-shop-action);
}

.wa-category-shop .wa-filter-trigger {
  position: relative;
}

.wa-category-shop .wa-filter-group {
  padding: 22px 0;
  border-top: 1px solid var(--wa-shop-line);
}

.wa-category-shop .wa-filter-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.wa-category-shop .wa-filter-group:last-child {
  padding-bottom: 0;
}

.wa-category-shop .wa-filter-group > h3,
.wa-category-shop .wa-filter-group > p,
.wa-category-shop .wa-filter-group .widget-title {
  margin: 0 0 13px;
  color: var(--wa-shop-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wa-category-shop .wa-filter-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wa-category-shop .wa-filter-group li {
  border-top: 1px solid var(--wa-shop-line);
}

.wa-category-shop .wa-filter-group li:last-child {
  border-bottom: 1px solid var(--wa-shop-line);
}

.wa-category-shop .wa-filter-group a,
.wa-category-shop .wa-filter-group label {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--wa-shop-cream-soft);
  font-family: var(--wa-shop-serif);
  font-size: 20px;
  text-decoration: none;
}

.wa-category-shop .wa-filter-group a:hover,
.wa-category-shop .wa-filter-group .chosen a,
.wa-category-shop .wa-filter-group .current-cat a {
  color: var(--wa-shop-action);
}

.wa-category-shop .wa-filter-group .count {
  color: var(--wa-shop-muted);
  font-family: var(--wa-shop-sans);
  font-size: 9px;
}

/* Product grid and cards */

.wa-category-shop .wa-product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(38px, 4.2vw, 66px) clamp(14px, 2vw, 30px);
  margin-top: 38px !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.wa-category-shop .wa-product-grid::before,
.wa-category-shop .wa-product-grid::after {
  display: none !important;
  content: none !important;
}

.wa-category-shop--rosin .wa-product-grid,
.wa-category-shop--vapes .wa-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wa-category-shop .wa-product-grid > .wa-product-card {
  width: auto !important;
  min-width: 0;
  display: flex !important;
  flex-direction: column;
  gap: 0 !important;
  align-items: stretch;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: transparent;
  text-align: left;
}

.wa-category-shop .wa-product-card > figure {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 0;
}

.wa-category-shop
  .wa-product-card
  > .woocommerce-LoopProduct-link {
  min-width: 0;
  display: block;
  color: inherit;
  text-decoration: none;
}

.wa-category-shop .wa-product-card__media {
  position: relative;
  aspect-ratio: 0.83;
  display: block;
  overflow: hidden;
  background: var(--wa-shop-ink-raised);
  color: var(--wa-shop-cream);
  text-decoration: none;
  border-radius: 0;
}

.wa-category-shop .wa-product-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 8, 7, 0.43), transparent 32%);
  content: "";
  opacity: 0.48;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.wa-category-shop .wa-product-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 !important;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.wa-category-shop .wa-product-card__media:hover img {
  transform: scale(1.035);
}

.wa-category-shop .wa-product-card__media:hover::after {
  opacity: 1;
}

.wa-category-shop .wa-product-card__view,
.wa-category-shop [data-wa-view-details] {
  position: absolute;
  z-index: 2;
  right: 15px;
  bottom: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(16px);
  color: var(--wa-shop-cream);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0;
  text-transform: uppercase;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: none;
}

.wa-category-shop .wa-product-card__view i,
.wa-category-shop [data-wa-view-details] i {
  font-size: 14px;
  font-style: normal;
}

.wa-category-shop .wa-product-card__media:hover .wa-product-card__view,
.wa-category-shop .wa-product-card__media:hover [data-wa-view-details],
.wa-category-shop
  .wa-product-card__media:focus-within
  .wa-product-card__view,
.wa-category-shop
  .wa-product-card__media:focus-within
  [data-wa-view-details] {
  transform: translateY(0);
  opacity: 1;
}

.wa-category-shop--rosin .wa-product-card__media,
.wa-category-shop--vapes .wa-product-card__media {
  aspect-ratio: 1.12;
  background: #0d0d0b;
}

.wa-category-shop--rosin .wa-product-card__media img,
.wa-category-shop--vapes .wa-product-card__media img {
  object-fit: contain;
  transform: scale(1.03);
}

.wa-category-shop--rosin .wa-product-card__media:hover img,
.wa-category-shop--vapes .wa-product-card__media:hover img {
  transform: scale(1.07);
}

.wa-category-shop--flower .wa-product-card__media img {
  object-fit: contain;
  object-position: center center;
  transform: scale(0.94);
  transform-origin: center center;
}

.wa-category-shop--flower .wa-product-card__media:hover img {
  transform: scale(0.98);
}

.wa-category-shop--rosin .wa-product-card__media img {
  object-fit: contain;
  object-position: center 48%;
  transform: scale(0.94);
  transform-origin: center center;
}

.wa-category-shop--rosin .wa-product-card__media:hover img {
  transform: scale(0.98);
}

.wa-category-shop--vapes .wa-product-card__media img {
  object-fit: contain;
  object-position: center center;
  transform: scale(0.9);
  transform-origin: center center;
}

.wa-category-shop--vapes .wa-product-card__media:hover img {
  transform: scale(0.94);
}

.wa-category-shop .wa-product-card__badge {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 13px;
  padding: 8px 10px;
  background: rgba(8, 8, 7, 0.84);
  color: var(--wa-shop-cream);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.wa-category-shop .wa-product-card__meta {
  margin: 18px 0 7px;
  color: var(--wa-shop-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wa-category-shop .wa-product-card__meta span {
  color: var(--wa-shop-action);
}

/*
 * Recovery guard for Blocksy/customizer caches which were resolved before the
 * server-side product_meta layout filter ran. The authoritative render filter
 * removes this markup; hiding the exact card taxonomy node prevents a stale
 * cached stylesheet/layout pair from flashing the redundant category name.
 */
.wa-category-shop .wa-product-card > .entry-meta,
.wa-category-shop .wa-product-card .meta-categories {
  display: none !important;
}

.wa-category-shop .wa-product-card__title {
  margin: 0;
  color: var(--wa-shop-cream);
  font-family: var(--wa-shop-serif);
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-transform: none;
}

.wa-category-shop .wa-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.wa-category-shop .wa-product-card__price {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: var(--wa-shop-cream);
  font-size: 12px;
  font-weight: 700;
}

.wa-category-shop .wa-product-card__price .price,
.wa-category-shop .wa-product-card__price .amount {
  color: inherit;
  font: inherit;
}

.wa-category-shop .wa-product-card__price del {
  margin-right: 0.45em;
  color: var(--wa-shop-muted);
  opacity: 1;
}

.wa-category-shop .wa-product-card__price ins {
  color: var(--wa-shop-cream);
  text-decoration: none;
}

.wa-category-shop .wa-product-variation-ui {
  width: 100%;
  min-width: 0;
}

/*
 * Static reservation hold line. Card metadata treatment, reusing the existing
 * .wa-product-card__meta values so it reads as part of the same control rather
 * than as a new element. No colour literal is introduced - every colour is an
 * existing --wa-shop-* token. The live countdown is not this: that remains
 * Reserved Stock Pro's own fixed bar and is styled in style.css.
 */
.wa-category-shop .wa-product-card__reservation-hold {
  margin: 0;
  padding: 10px 0 0;
  color: var(--wa-shop-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.wa-category-shop .wa-product-variations,
.wa-category-shop [data-wa-variation-picker] {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 13px 0 14px;
  border: 0;
  border-bottom: 1px solid var(--wa-shop-line);
}

.wa-category-shop .wa-product-variations legend,
.wa-category-shop [data-wa-variation-picker] legend {
  margin: 0;
  padding: 0;
  color: var(--wa-shop-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.wa-category-shop .wa-product-variations__options,
.wa-category-shop .variation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.wa-category-shop .wa-product-variations__option,
.wa-category-shop [data-wa-variation-option] {
  min-width: 60px;
  min-height: 44px;
  display: inline-grid;
  padding: 0 14px;
  place-items: center;
  border: 1px solid var(--wa-shop-line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--wa-shop-cream-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    opacity 160ms ease;
}

.wa-category-shop .wa-product-variations__option:hover,
.wa-category-shop [data-wa-variation-option]:hover {
  border-color: var(--wa-shop-action);
  color: var(--wa-shop-cream);
}

.wa-category-shop .wa-product-variations__option.is-selected,
.wa-category-shop .wa-product-variations__option[aria-pressed="true"],
.wa-category-shop [data-wa-variation-option].is-selected,
.wa-category-shop [data-wa-variation-option][aria-pressed="true"] {
  border-color: var(--wa-shop-cream);
  background: var(--wa-shop-cream);
  color: var(--wa-shop-ink);
}

.wa-category-shop .wa-product-variations__option:disabled,
.wa-category-shop .wa-product-variations__option[aria-disabled="true"],
.wa-category-shop [data-wa-variation-option]:disabled,
.wa-category-shop [data-wa-variation-option][aria-disabled="true"] {
  border-color: var(--wa-shop-line);
  color: var(--wa-shop-muted);
  cursor: not-allowed;
  opacity: 0.42;
}

.wa-category-shop .wa-add-to-cart,
.wa-category-shop .added_to_cart {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 !important;
  padding: 14px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--wa-shop-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--wa-shop-cream-soft) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  line-height: 1.2 !important;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: none !important;
}

.wa-category-shop .wa-add-to-cart:hover,
.wa-category-shop .added_to_cart:hover {
  border-bottom-color: var(--wa-shop-cream) !important;
  color: var(--wa-shop-cream) !important;
}

.wa-category-shop .wa-add-to-cart[disabled],
.wa-category-shop .wa-add-to-cart.disabled,
.wa-category-shop .wa-add-to-cart.loading,
.wa-category-shop .wa-add-to-cart[aria-disabled="true"],
.wa-category-shop [data-wa-add-to-cart][aria-disabled="true"] {
  color: var(--wa-shop-muted) !important;
  cursor: not-allowed;
  opacity: 0.7;
}

.wa-category-shop .wa-product-card .ct-woo-card-actions {
  position: static !important;
  inset: auto !important;
  width: 100%;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  margin-top: auto;
  padding: 0;
  border-bottom: 0;
  transform: none !important;
  opacity: 1 !important;
}

.wa-category-shop .wa-product-card .ct-woo-card-actions > .price {
  min-width: 0;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--wa-shop-line);
  color: var(--wa-shop-cream);
  line-height: 1.35;
}

.wa-category-shop .wa-product-card .ct-woo-card-actions .wa-add-to-cart,
.wa-category-shop .wa-product-card .ct-woo-card-actions .added_to_cart,
.wa-category-shop .wa-product-card .ct-woo-card-actions [data-wa-add-to-cart] {
  width: 100%;
  justify-content: space-between;
  padding: 14px 0 !important;
  border-bottom: 1px solid var(--wa-shop-line) !important;
}

.wa-category-shop
  .wa-product-card
  .ct-woo-card-actions
  .add_to_cart_button.wa-add-to-cart::after {
  margin-left: 14px;
  color: var(--wa-shop-action);
  content: "+";
  font-size: 16px;
  font-weight: 400;
}

.wa-category-shop
  .wa-product-card
  .ct-woo-card-actions
  .product_type_variable.wa-add-to-cart::after,
.wa-category-shop
  .wa-product-card
  .ct-woo-card-actions
  .product_type_grouped.wa-add-to-cart::after,
.wa-category-shop .wa-product-card .ct-woo-card-actions .added_to_cart::after {
  margin-left: 14px;
  color: var(--wa-shop-action);
  content: "↗";
  font-size: 14px;
  font-weight: 400;
}

.wa-category-shop .wa-product-card .ct-woo-card-actions .star-rating {
  grid-column: 1 / -1;
  margin: 0 0 12px;
}

/* List view */

.wa-category-shop .wa-product-grid--list {
  grid-template-columns: 1fr !important;
  gap: 1px;
}

.wa-category-shop .wa-product-grid--list > .wa-product-card {
  display: grid !important;
  grid-template-columns: minmax(190px, 28%) minmax(0, 1fr) minmax(160px, 18%);
  /* Row 4 carries the static reservation hold line. When Reserved Stock Pro is
     absent, or does not manage the product, row 4 is simply the empty filler
     row that row 3 used to be, so the card renders exactly as before. */
  grid-template-rows: auto auto auto minmax(0, 1fr);
  align-items: stretch;
  border-top: 1px solid var(--wa-shop-line);
}

.wa-category-shop .wa-product-grid--list > .wa-product-card:last-child {
  border-bottom: 1px solid var(--wa-shop-line);
}

.wa-category-shop
  .wa-product-grid--list
  > .wa-product-card
  > .woocommerce-LoopProduct-link {
  display: contents;
}

.wa-category-shop .wa-product-grid--list > .wa-product-card > figure {
  grid-column: 1;
  grid-row: 1 / -1;
  min-height: 100%;
  overflow: hidden;
}

.wa-category-shop .wa-product-grid--list .wa-product-card__media {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.wa-category-shop .wa-product-grid--list .wa-product-card__meta {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 24px 30px 7px;
}

.wa-category-shop .wa-product-grid--list .wa-product-card__title {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  padding: 0 30px;
}

.wa-category-shop .wa-product-grid--list .wa-product-card__price {
  padding: 0;
}

.wa-category-shop
  .wa-product-grid--list
  .wa-product-variation-ui {
  grid-column: 2;
  grid-row: 3;
  align-self: start;
  padding: 12px 30px 22px;
}

.wa-category-shop
  .wa-product-grid--list
  .wa-product-variations {
  padding: 0;
  border-bottom: 0;
}

/*
 * List view places every card child explicitly, so the hold line is placed
 * explicitly too: column 2, the row added to grid-template-rows above, directly
 * under the picker. Auto-placement would have created an implicit row outside
 * the explicit grid, which the image and action columns do not span.
 * The picker's own 22px bottom padding supplies the separation, so this rule
 * clears the grid-view top padding.
 */
.wa-category-shop
  .wa-product-grid--list
  .wa-product-card__reservation-hold {
  grid-column: 2;
  grid-row: 4;
  align-self: start;
  padding: 0 30px 22px;
}

.wa-category-shop .wa-product-grid--list .ct-woo-card-actions {
  grid-column: 3;
  grid-row: 1 / -1;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 24px;
  border-bottom: 0;
  border-left: 1px solid var(--wa-shop-line);
}

.wa-category-shop .wa-product-grid--list .ct-woo-card-actions .wa-add-to-cart,
.wa-category-shop .wa-product-grid--list .ct-woo-card-actions .added_to_cart {
  width: 100%;
  justify-content: space-between;
  padding: 14px 0 !important;
  border-bottom: 1px solid var(--wa-shop-line) !important;
}

/* Progressive catalog loading with native pagination as the no-JS fallback. */

.wa-category-shop .wa-native-pagination {
  width: 100%;
  max-width: var(--wa-shop-content);
  margin-right: auto;
  margin-left: auto;
}

.wa-category-shop .wa-catalog-loader,
.wa-category-shop [data-wa-catalog-loader] {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
  justify-content: center;
  margin-top: clamp(46px, 5vw, 74px);
  padding-top: 28px;
  border-top: 1px solid var(--wa-shop-line);
  text-align: center;
}

.wa-category-shop .wa-catalog-loader.is-complete,
.wa-category-shop [data-wa-catalog-loader].is-complete {
  min-height: 72px;
}

.wa-category-shop .wa-catalog-loader__status,
.wa-category-shop .catalog-loader-status {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  color: var(--wa-shop-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.wa-category-shop .wa-catalog-loader.is-loading .wa-catalog-loader__status::before,
.wa-category-shop
  [data-wa-catalog-loader].is-loading
  .catalog-loader-status::before {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border: 1px solid var(--wa-shop-line-strong);
  border-top-color: var(--wa-shop-action);
  border-radius: 50%;
  content: "";
  animation: wa-catalog-spin 700ms linear infinite;
}

.wa-category-shop .wa-catalog-loader__button,
.wa-category-shop [data-wa-load-more] {
  min-height: 44px;
  display: inline-flex;
  gap: 22px;
  align-items: center;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--wa-shop-line-strong);
  background: transparent;
  color: var(--wa-shop-cream-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    opacity 160ms ease;
}

.wa-category-shop .wa-catalog-loader__button:hover,
.wa-category-shop [data-wa-load-more]:hover {
  border-bottom-color: var(--wa-shop-action);
  color: var(--wa-shop-cream);
}

.wa-category-shop .wa-catalog-loader__button[aria-disabled="true"],
.wa-category-shop [data-wa-load-more][aria-disabled="true"] {
  color: var(--wa-shop-muted);
  cursor: wait;
  opacity: 0.62;
  pointer-events: none;
}

.wa-category-shop .wa-catalog-loader.is-complete .wa-catalog-loader__button,
.wa-category-shop [data-wa-catalog-loader].is-complete [data-wa-load-more] {
  display: none;
}

.wa-category-shop .wa-catalog-loader.has-error .wa-catalog-loader__status,
.wa-category-shop [data-wa-catalog-loader].has-error .catalog-loader-status {
  color: var(--wa-shop-cream-soft);
}

.wa-category-shop [data-wa-catalog-end] {
  color: var(--wa-shop-muted);
}

@keyframes wa-catalog-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Empty states, pagination, notices, and category continuation */

.wa-category-shop .wa-category-empty {
  padding: 80px 0;
  text-align: center;
}

.wa-category-shop .wa-category-empty p {
  color: var(--wa-shop-cream-soft);
  font-family: var(--wa-shop-serif);
  font-size: 26px;
}

.wa-category-shop .wa-category-empty a,
.wa-category-shop .wa-category-empty button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--wa-shop-cream);
  background: transparent;
  color: var(--wa-shop-cream);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.wa-category-shop .woocommerce-notices-wrapper:empty {
  display: none;
}

.wa-category-shop .woocommerce-message,
.wa-category-shop .woocommerce-info,
.wa-category-shop .woocommerce-error {
  margin: 0 auto 28px;
  padding: 16px 18px;
  border: 1px solid var(--wa-shop-line-strong);
  border-radius: 0;
  background: var(--wa-shop-ink-soft);
  color: var(--wa-shop-cream-soft);
  font-size: 12px;
}

.wa-category-shop .woocommerce-pagination {
  margin-top: clamp(46px, 5vw, 74px);
  padding-top: 28px;
  border-top: 1px solid var(--wa-shop-line);
}

.wa-category-shop .woocommerce-pagination ul.page-numbers {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.wa-category-shop .woocommerce-pagination .page-numbers a,
.wa-category-shop .woocommerce-pagination .page-numbers span {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  padding: 8px;
  place-items: center;
  border: 1px solid var(--wa-shop-line);
  color: var(--wa-shop-cream-soft);
  font-size: 10px;
  text-decoration: none;
}

.wa-category-shop .woocommerce-pagination .page-numbers .current,
.wa-category-shop .woocommerce-pagination .page-numbers a:hover {
  border-color: var(--wa-shop-action);
  color: var(--wa-shop-action);
}

.wa-category-shop .wa-category-crosslinks {
  padding: clamp(80px, 9vw, 140px) var(--wa-shop-side);
  border-top: 1px solid var(--wa-shop-line);
  background: var(--wa-shop-ink);
  color: var(--wa-shop-cream);
}

.wa-category-shop .wa-category-crosslinks > p,
.wa-category-shop .wa-category-crosslinks > div {
  width: 100%;
  max-width: var(--wa-shop-content);
  margin-right: auto;
  margin-left: auto;
}

.wa-category-shop .wa-category-crosslinks > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--wa-shop-line);
  background: var(--wa-shop-line);
}

.wa-category-shop .wa-category-crosslinks a {
  min-height: 230px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  gap: 26px;
  align-items: end;
  padding: clamp(28px, 4vw, 52px);
  background: var(--wa-shop-ink-soft);
  color: var(--wa-shop-cream);
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.wa-category-shop .wa-category-crosslinks a:hover {
  background: var(--wa-shop-cream);
  color: var(--wa-shop-ink);
}

.wa-category-shop .wa-category-crosslinks a > span {
  grid-column: 1 / -1;
  align-self: start;
  color: var(--wa-shop-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.wa-category-shop .wa-category-crosslinks a strong {
  font-family: var(--wa-shop-serif);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.wa-category-shop .wa-category-crosslinks a i {
  font-size: 22px;
  font-style: normal;
}

/* Desktop tightening */

@media (max-width: 1100px) {
  .wa-category-shop .wa-filter-chips {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .wa-category-shop .wa-filter-chips::-webkit-scrollbar {
    display: none;
  }

  .wa-category-shop .wa-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .wa-category-shop .wa-category-hero,
  .wa-category-shop .wa-category-hero__copy {
    min-height: 540px;
  }

  .wa-category-shop .wa-breadcrumbs {
    margin-bottom: 44px;
  }

  .wa-category-shop .wa-category-hero h1,
  .wa-category-shop--rosin .wa-category-hero h1 {
    font-size: clamp(54px, 7vw, 72px);
  }
}

/* Mobile */

@media (max-width: 760px) {
  .wa-category-shop {
    --wa-shop-side: 16px;
  }

  .wa-category-shop .wa-category-nav {
    min-height: 45px;
    padding: 0;
  }

  .wa-category-shop .wa-category-nav > span {
    display: none;
  }

  .wa-category-shop .wa-category-nav > div,
  .wa-category-shop .wa-category-nav > ul {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .wa-category-shop .wa-category-nav > div::-webkit-scrollbar,
  .wa-category-shop .wa-category-nav > ul::-webkit-scrollbar {
    display: none;
  }

  .wa-category-shop .wa-category-nav a {
    min-width: calc((100% - 8px) / 3);
    min-height: 45px;
    flex: 0 0 calc((100% - 8px) / 3);
    padding: 0 10px;
    font-size: 8px;
  }

  .wa-category-shop .wa-category-hero,
  .wa-category-shop .wa-category-hero__copy {
    min-height: 470px;
  }

  .wa-category-shop .wa-category-hero__copy {
    padding: 34px var(--wa-shop-side) 42px;
  }

  .wa-category-shop .wa-category-hero--copy-only .wa-category-hero__copy {
    padding-right: var(--wa-shop-side);
  }

  .wa-category-shop--vapes .wa-category-hero,
  .wa-category-shop--vapes .wa-category-hero__copy {
    min-height: 430px;
  }

  .wa-category-shop .wa-breadcrumbs {
    margin-bottom: 46px;
  }

  .wa-category-shop .wa-category-hero h1,
  .wa-category-shop--vapes .wa-category-hero h1 {
    max-width: 100%;
    font-size: clamp(56px, 17vw, 76px);
  }

  .wa-category-shop--rosin .wa-category-hero h1 {
    max-width: 100%;
    font-size: clamp(50px, 14.6vw, 68px);
  }

  .wa-category-shop .wa-category-hero__description,
  .wa-category-shop .wa-category-hero__copy > .term-description,
  .wa-category-shop .wa-category-hero .term-description {
    max-width: 94%;
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.6;
  }

  .wa-category-shop .wa-category-catalog {
    padding: 68px var(--wa-shop-side) 88px;
  }

  .wa-category-shop .wa-category-catalog__heading {
    margin-bottom: 36px;
  }

  .wa-category-shop .wa-category-catalog__heading h2 {
    font-size: clamp(45px, 13vw, 58px);
  }

  .wa-category-shop .wa-category-catalog__heading > p,
  .wa-category-shop .woocommerce-result-count,
  .wa-category-shop .wa-category-catalog__result-count {
    margin-bottom: 3px;
    font-size: 8px;
  }

  .wa-category-shop .wa-category-tools {
    min-height: 53px;
  }

  .wa-category-shop .wa-filter-chips {
    display: none;
  }

  .wa-category-shop .wa-category-tools__actions {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .wa-category-shop .wa-filter-trigger {
    display: block;
  }

  .wa-category-shop .wa-sort-control,
  .wa-category-shop .woocommerce-ordering {
    margin-left: auto;
  }

  .wa-category-shop .wa-sort-control > span {
    display: none;
  }

  .wa-category-shop .wa-sort-control select,
  .wa-category-shop .woocommerce-ordering select {
    /* Was 132px, which clipped every option at this breakpoint. The "SORT"
       label is display:none here (see the rule above), so the control has more
       room than the cap assumed. */
    max-width: none;
    padding-right: 16px;
  }

  .wa-category-shop .wa-filter-panel {
    position: fixed;
    z-index: 180;
    inset: 0;
    width: 100%;
    height: 100dvh;
    min-height: 0;
    max-height: 100dvh;
    padding:
      max(20px, env(safe-area-inset-top))
      max(20px, env(safe-area-inset-right))
      max(20px, env(safe-area-inset-bottom))
      max(20px, env(safe-area-inset-left));
    border: 0;
  }

  .wa-category-shop .wa-filter-panel__header {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--wa-shop-line);
  }

  .wa-category-shop
    .wa-filter-panel__header
    > :not(.wa-filter-panel__close) {
    min-width: 0;
    margin: 0;
    color: var(--wa-shop-cream);
  }

  .wa-category-shop .wa-filter-panel__header h2 {
    font-family: var(--wa-shop-serif);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1;
    text-transform: none;
  }

  .wa-category-shop .wa-filter-panel__close[data-wa-filter-close] {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid var(--wa-shop-line-strong);
    border-radius: 0;
    background: transparent;
    color: var(--wa-shop-cream);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .wa-category-shop .wa-filter-panel__close[data-wa-filter-close]:hover {
    border-color: var(--wa-shop-action);
    color: var(--wa-shop-action);
  }

  .wa-category-shop .wa-filter-panel__close[data-wa-filter-close]:focus-visible {
    outline: 2px solid var(--wa-shop-action);
    outline-offset: 3px;
  }

  .wa-category-shop .wa-product-grid,
  .wa-category-shop--rosin .wa-product-grid,
  .wa-category-shop--vapes .wa-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 10px;
    margin-top: 28px !important;
  }

  .wa-category-shop .wa-product-card__media,
  .wa-category-shop--rosin .wa-product-card__media,
  .wa-category-shop--vapes .wa-product-card__media {
    aspect-ratio: 0.84;
  }

  .wa-category-shop .wa-product-card__badge {
    top: 8px;
    left: 8px;
    padding: 7px;
    font-size: 7px;
  }

  .wa-category-shop .wa-product-card__view,
  .wa-category-shop [data-wa-view-details] {
    display: none;
  }

  .wa-category-shop .wa-product-card__meta {
    min-height: 24px;
    margin-top: 13px;
    font-size: 7px;
    line-height: 1.55;
  }

  .wa-category-shop .wa-product-card__title {
    font-size: clamp(18px, 5.6vw, 23px);
  }

  .wa-category-shop .wa-product-card__price {
    font-size: 10px;
  }

  .wa-category-shop .wa-add-to-cart,
  .wa-category-shop .added_to_cart {
    min-height: 44px;
    padding: 10px 0 !important;
    font-size: 7px !important;
  }

  .wa-category-shop .wa-product-variations {
    padding: 10px 0 12px;
  }

  .wa-category-shop .wa-product-variations legend,
  .wa-category-shop .wa-product-variations__option,
  .wa-category-shop [data-wa-variation-option] {
    font-size: 7px;
  }

  .wa-category-shop .wa-product-variations__options,
  .wa-category-shop .variation-options {
    gap: 5px;
    margin-top: 8px;
  }

  .wa-category-shop .wa-product-variations__option,
  .wa-category-shop [data-wa-variation-option] {
    min-width: 56px;
    padding: 0 12px;
  }

  .wa-category-shop .wa-product-grid--list,
  .wa-category-shop--rosin .wa-product-grid--list,
  .wa-category-shop--vapes .wa-product-grid--list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .wa-category-shop .wa-product-grid--list > .wa-product-card {
    grid-template-columns: 94px 1fr;
    grid-template-rows: auto auto auto auto auto;
  }

  .wa-category-shop .wa-product-grid--list > .wa-product-card > figure {
    grid-column: 1;
    grid-row: 1 / -1;
  }

  .wa-category-shop .wa-product-grid--list .wa-product-card__media {
    height: 100%;
    min-height: 126px;
    aspect-ratio: auto;
  }

  .wa-category-shop .wa-product-grid--list .wa-product-card__meta {
    grid-column: 2;
    grid-row: 1;
    min-height: 0;
    margin: 0;
    padding: 15px 15px 5px;
  }

  .wa-category-shop .wa-product-grid--list .wa-product-card__title {
    grid-column: 2;
    grid-row: 2;
    padding: 0 15px;
  }

  .wa-category-shop
    .wa-product-grid--list
    .wa-product-variation-ui {
    grid-column: 2;
    grid-row: 3;
    padding: 8px 15px 10px;
  }

  .wa-category-shop
    .wa-product-grid--list
    .wa-product-variations {
    padding: 0;
  }

  /* Mobile list keeps rows 1-4 exactly as they were - row 4 stays reserved for
     .ct-woo-card-actions - and the hold line takes the row added above, so the
     two can never share a cell. */
  .wa-category-shop
    .wa-product-grid--list
    .wa-product-card__reservation-hold {
    grid-row: 5;
    padding: 0 15px 13px;
  }

  .wa-category-shop .wa-product-grid--list .ct-woo-card-actions {
    grid-column: 2;
    grid-row: 4;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin: 0;
    padding: 0 15px 13px;
    border-left: 0;
  }

  .wa-category-shop .wa-product-grid--list .ct-woo-card-actions .wa-add-to-cart,
  .wa-category-shop .wa-product-grid--list .ct-woo-card-actions .added_to_cart,
  .wa-category-shop
    .wa-product-grid--list
    .ct-woo-card-actions
    [data-wa-add-to-cart] {
    width: 100%;
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--wa-shop-line) !important;
  }

  .wa-category-shop .wa-category-crosslinks {
    padding: 72px var(--wa-shop-side);
  }

  .wa-category-shop .wa-catalog-loader,
  .wa-category-shop [data-wa-catalog-loader] {
    min-height: 98px;
    margin-top: 42px;
    padding-top: 22px;
  }

  .wa-category-shop .wa-catalog-loader.is-complete,
  .wa-category-shop [data-wa-catalog-loader].is-complete {
    min-height: 62px;
  }

  .wa-category-shop .wa-catalog-loader__status,
  .wa-category-shop .catalog-loader-status,
  .wa-category-shop .wa-catalog-loader__button,
  .wa-category-shop [data-wa-load-more] {
    font-size: 8px;
  }

  .wa-category-shop .wa-category-crosslinks > div {
    grid-template-columns: 1fr;
  }

  .wa-category-shop .wa-category-crosslinks a {
    min-height: 180px;
    padding: 26px;
  }

  .wa-category-shop .wa-category-crosslinks a strong {
    font-size: 38px;
  }
}

@media (max-width: 420px) {
  .wa-category-shop .wa-category-nav a,
  .wa-category-shop .wa-filter-trigger > summary,
  .wa-category-shop .wa-sort-control select,
  .wa-category-shop .woocommerce-ordering select,
  .wa-category-shop .woocommerce-pagination .page-numbers a,
  .wa-category-shop .woocommerce-pagination .page-numbers span,
  .wa-category-shop .wa-category-empty a,
  .wa-category-shop .wa-category-empty button {
    font-size: 10px;
  }

  .wa-category-shop--vapes .wa-category-catalog__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .wa-category-shop--vapes .wa-category-catalog__heading > p,
  .wa-category-shop--vapes .wa-category-catalog__heading .woocommerce-result-count {
    max-width: none;
    margin: 0;
    text-align: left;
  }

  .wa-category-shop .wa-product-grid,
  .wa-category-shop--rosin .wa-product-grid,
  .wa-category-shop--vapes .wa-product-grid {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }

  .wa-category-shop .wa-product-card__media,
  .wa-category-shop--rosin .wa-product-card__media,
  .wa-category-shop--vapes .wa-product-card__media {
    aspect-ratio: 1.05;
  }

  .wa-category-shop .wa-product-card__title {
    font-size: 28px;
  }

  .wa-category-shop .wa-product-card__meta,
  .wa-category-shop .wa-product-card__badge {
    font-size: 9px;
  }

  .wa-category-shop .wa-add-to-cart,
  .wa-category-shop .added_to_cart,
  .wa-category-shop .wa-product-variations__option,
  .wa-category-shop [data-wa-variation-option] {
    font-size: 10px !important;
  }

  .wa-category-shop .wa-category-catalog__heading > p,
  .wa-category-shop .woocommerce-result-count,
  .wa-category-shop .wa-category-catalog__result-count {
    max-width: 76px;
    font-size: 10px;
    text-align: right;
  }

  .wa-category-shop .wa-view-controls {
    display: none;
  }
}

/* Ultra-wide displays: increase readable scale without stretching card media. */

@media (min-width: 1800px) {
  .wa-category-shop {
    --wa-shop-content: 1440px;
    --wa-shop-side: clamp(64px, 5vw, 112px);
  }

  .wa-category-shop .wa-category-nav > span {
    font-size: 10px;
  }

  .wa-category-shop .wa-category-nav a {
    font-size: 11px;
  }

  .wa-category-shop .wa-category-hero,
  .wa-category-shop .wa-category-hero__copy {
    min-height: min(620px, calc(100svh - 154px));
  }

  .wa-category-shop--vapes .wa-category-hero,
  .wa-category-shop--vapes .wa-category-hero__copy {
    min-height: 460px;
  }

  .wa-category-shop .wa-breadcrumbs {
    font-size: 10px;
  }

  .wa-category-shop .wa-eyebrow {
    font-size: 10px;
  }

  .wa-category-shop .wa-category-hero h1 {
    max-width: 860px;
    font-size: 118px;
  }

  .wa-category-shop--rosin .wa-category-hero h1 {
    max-width: 760px;
    font-size: 102px;
  }

  .wa-category-shop .wa-category-hero__description,
  .wa-category-shop .wa-category-hero__copy > .term-description,
  .wa-category-shop .wa-category-hero .term-description {
    max-width: 760px;
    font-size: 21px;
  }

  .wa-category-shop .wa-category-catalog__heading h2 {
    font-size: 82px;
  }

  .wa-category-shop .wa-category-catalog__heading > p,
  .wa-category-shop .woocommerce-result-count,
  .wa-category-shop .wa-category-catalog__result-count,
  .wa-category-shop .wa-sort-control,
  .wa-category-shop .woocommerce-ordering {
    font-size: 10px;
  }

  .wa-category-shop .wa-filter-chips button,
  .wa-category-shop .wa-filter-chips a,
  .wa-category-shop .wa-filter-trigger > summary,
  .wa-category-shop .wa-sort-control select,
  .wa-category-shop .woocommerce-ordering select,
  .wa-category-shop .wa-catalog-loader__button,
  .wa-category-shop [data-wa-load-more] {
    font-size: 11px;
  }

  .wa-category-shop .wa-filter-group > h3,
  .wa-category-shop .wa-filter-group > p,
  .wa-category-shop .wa-filter-group .widget-title {
    font-size: 10px;
  }

  .wa-category-shop .wa-filter-group a,
  .wa-category-shop .wa-filter-group label {
    font-size: clamp(20px, 0.6vw, 23px);
  }

  .wa-category-shop .wa-product-grid {
    gap: 66px 30px;
  }

  .wa-category-shop .wa-product-card__title {
    font-size: 31px;
  }

  .wa-category-shop .wa-product-card__meta,
  .wa-category-shop .wa-product-card__badge {
    font-size: 10px !important;
  }

  .wa-category-shop .wa-add-to-cart,
  .wa-category-shop .added_to_cart {
    font-size: 11px !important;
  }

  .wa-category-shop .wa-product-card__price {
    font-size: clamp(12px, 0.36vw, 14px);
  }

  .wa-category-shop .wa-product-variations legend,
  .wa-category-shop .wa-product-variations__option,
  .wa-category-shop [data-wa-variation-option] {
    font-size: 10px;
  }

  .wa-category-shop .wa-product-card__view,
  .wa-category-shop [data-wa-view-details],
  .wa-category-shop .wa-catalog-loader__status,
  .wa-category-shop .catalog-loader-status {
    font-size: 10px;
  }

  .wa-category-shop .woocommerce-pagination .page-numbers a,
  .wa-category-shop .woocommerce-pagination .page-numbers span,
  .wa-category-shop .wa-category-empty a,
  .wa-category-shop .wa-category-empty button {
    font-size: 11px;
  }

  .wa-category-shop .wa-category-crosslinks a > span {
    font-size: 10px;
  }
}

/* True 4K: widen the reading frame and lift display/product type modestly. */

@media (min-width: 2400px) {
  .wa-category-shop {
    --wa-shop-content: 1640px;
    --wa-shop-side: clamp(112px, 5vw, 160px);
  }

  .wa-category-shop--vapes .wa-category-hero,
  .wa-category-shop--vapes .wa-category-hero__copy {
    min-height: 480px;
  }

  .wa-category-shop .wa-category-hero h1 {
    max-width: 980px;
    font-size: clamp(118px, 3.2vw, 124px);
  }

  .wa-category-shop--rosin .wa-category-hero h1 {
    max-width: 840px;
    font-size: clamp(102px, 2.8vw, 108px);
  }

  .wa-category-shop .wa-category-hero__description,
  .wa-category-shop .wa-category-hero__copy > .term-description,
  .wa-category-shop .wa-category-hero .term-description {
    font-size: 21px;
  }

  .wa-category-shop .wa-category-catalog__heading h2 {
    font-size: clamp(82px, 2.2vw, 86px);
  }

  .wa-category-shop .wa-product-card__title {
    font-size: 31px;
  }

  .wa-category-shop .wa-category-nav > span,
  .wa-category-shop .wa-breadcrumbs,
  .wa-category-shop .wa-eyebrow,
  .wa-category-shop .wa-category-catalog__heading > p,
  .wa-category-shop .woocommerce-result-count,
  .wa-category-shop .wa-category-catalog__result-count,
  .wa-category-shop .wa-sort-control,
  .wa-category-shop .woocommerce-ordering,
  .wa-category-shop .wa-filter-group > h3,
  .wa-category-shop .wa-filter-group > p,
  .wa-category-shop .wa-filter-group .widget-title,
  .wa-category-shop .wa-product-card__meta,
  .wa-category-shop .wa-product-card__badge,
  .wa-category-shop .wa-product-variations legend,
  .wa-category-shop .wa-catalog-loader__status,
  .wa-category-shop .catalog-loader-status,
  .wa-category-shop .wa-category-crosslinks a > span {
    font-size: 10px !important;
  }

  .wa-category-shop .wa-category-nav a,
  .wa-category-shop .wa-filter-chips button,
  .wa-category-shop .wa-filter-chips a,
  .wa-category-shop .wa-filter-trigger > summary,
  .wa-category-shop .wa-sort-control select,
  .wa-category-shop .woocommerce-ordering select,
  .wa-category-shop .wa-product-variations__option,
  .wa-category-shop [data-wa-variation-option],
  .wa-category-shop .wa-catalog-loader__button,
  .wa-category-shop [data-wa-load-more],
  .wa-category-shop .wa-add-to-cart,
  .wa-category-shop .added_to_cart,
  .wa-category-shop .woocommerce-pagination .page-numbers a,
  .wa-category-shop .woocommerce-pagination .page-numbers span,
  .wa-category-shop .wa-category-empty a,
  .wa-category-shop .wa-category-empty button {
    font-size: 11px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-category-shop *,
  .wa-category-shop *::before,
  .wa-category-shop *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
