/* Play Parks Catalog — matches approved mock design */

:root {
  --pp-navy: #1a3e72;
  --pp-navy-deep: #174689;
  --pp-orange: #f37a3a;
  --pp-text: #0c1a13;
  --pp-muted: #6b7280;
  --pp-line: #e8ebf0;
  --pp-bg: #f4f5f7;
  --pp-white: #ffffff;
  --pp-radius: 14px;
  --pp-max: 1300px;
}

/* -------------------------------------------------------------------------
   Catalog archives (shop / category)
   ------------------------------------------------------------------------- */

body.playparks-catalog-active,
body.playparks-product-active {
  background: var(--pp-bg);
}

body.playparks-catalog-active .shop-sidebar .wp-block-woocommerce-filter-wrapper,
body.playparks-catalog-active .shop-sidebar .wp-block-woocommerce-product-categories,
body.playparks-catalog-active .shop-sidebar .wc-block-components-price-slider,
body.playparks-catalog-active .shop-sidebar .wp-block-search {
  display: none !important;
}

.playparks-catalog-page {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.playparks-page-hero {
  background: linear-gradient(135deg, var(--pp-navy) 0%, var(--pp-navy-deep) 100%) !important;
  color: #fff !important;
  /* Full-bleed navy; side gutters match catalog shell (1300px + 1.25rem). */
  display: grid !important;
  grid-template-columns: minmax(1.25rem, 1fr) minmax(0, var(--pp-max)) minmax(1.25rem, 1fr) !important;
  padding: 2rem 0 1.85rem !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.playparks-page-hero > * {
  grid-column: 2;
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.playparks-page-hero .woocommerce-breadcrumb,
.playparks-page-hero .wp-block-woocommerce-breadcrumbs,
.playparks-page-hero nav,
.playparks-page-hero .wp-block-woocommerce-breadcrumbs.alignwide {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.85rem;
  margin-top: 0 !important;
  margin-bottom: 0.75rem !important;
}

.playparks-page-hero a {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.playparks-page-hero h1,
.playparks-page-hero .wp-block-query-title {
  color: #fff !important;
  margin: 0 0 0.5rem !important;
  font-size: clamp(1.75rem, 3vw, 2.4rem) !important;
  line-height: 1.15 !important;
}

.playparks-page-hero__intro,
.playparks-page-hero .wp-block-term-description,
.playparks-page-hero .term-description {
  margin: 0 !important;
  max-width: 46rem !important;
  color: rgba(255, 255, 255, 0.92) !important;
  opacity: 0.95;
}

.playparks-page-hero .wp-block-term-description {
  margin-bottom: 0.65rem !important;
}

.playparks-catalog-shell {
  background: var(--pp-bg) !important;
  padding: 1.75rem 1.25rem 3rem !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

/* Force sidebar + results side-by-side (don't trust theme column wrap) */
.playparks-catalog-columns.wp-block-columns,
.playparks-catalog-layout {
  display: grid !important;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) !important;
  gap: 1.75rem !important;
  align-items: start !important;
  width: 100% !important;
  max-width: var(--pp-max);
  margin: 0 auto !important;
  flex-wrap: nowrap !important;
}

.playparks-catalog-columns > .wp-block-column,
.playparks-catalog-columns > .playparks-sidebar-col,
.playparks-catalog-columns > .playparks-results-col {
  width: auto !important;
  max-width: none !important;
  flex-basis: auto !important;
  flex-grow: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.playparks-catalog-columns > .playparks-sidebar-col,
.playparks-catalog-columns > .shop-sidebar {
  grid-column: 1;
}

.playparks-catalog-columns > .playparks-results-col {
  grid-column: 2;
  min-width: 0;
}

.playparks-catalog-sidebar {
  position: sticky;
  top: 6rem;
  background: var(--pp-white);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  padding: 1.1rem 1rem 1.25rem;
}

/* Desktop: hide mobile-only drawer chrome / toggle. */
.playparks-filter-toggle,
.playparks-filter-backdrop,
.playparks-filter-drawer-close {
  display: none;
}

.playparks-filter-drawer-header {
  display: contents;
}

.playparks-filters-heading {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  color: var(--pp-text);
}

.playparks-catalog-filters {
  display: flex;
  flex-direction: column;
}

.playparks-filter-group + .playparks-filter-group {
  margin-top: 1.15rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--pp-line);
}

.playparks-filter-title {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pp-muted);
}

.playparks-filter-list,
.playparks-filter-children {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.playparks-filter-children {
  margin: 0.25rem 0 0.35rem 1.35rem;
}

.playparks-filter-list a,
.playparks-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  line-height: 1.3;
  font-size: 0.95rem;
  position: relative;
}

/* Theme/autop sometimes injects <br> inside labels — hide them */
.playparks-checkbox-label br {
  display: none !important;
}

.playparks-filter-checkbox {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.playparks-check {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid #9ca3af;
  border-radius: 3px;
  box-sizing: border-box;
  display: inline-grid;
  place-items: center;
}

/* Use ~ (not +) so injected <br> between input and .playparks-check don't break checked styles */
.playparks-filter-list .is-active .playparks-check,
.playparks-filter-checkbox:checked ~ .playparks-check {
  background: var(--pp-orange) !important;
  border-color: var(--pp-orange) !important;
  box-shadow: inset 0 0 0 2px #fff;
}

.playparks-label { flex: 1 1 auto; }

.playparks-count {
  display: none;
}

.playparks-filter-search {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--pp-line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
}

.playparks-filter-actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.playparks-filter-submit,
.playparks-filter-clear {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  height: 2.75rem;
  min-height: 2.75rem;
  max-height: 2.75rem;
  padding: 0 0.9rem !important;
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer;
  text-decoration: none !important;
  box-sizing: border-box !important;
  vertical-align: middle;
}

.playparks-filter-submit br,
.playparks-filter-clear br {
  display: none !important;
}

.playparks-filter-submit {
  border: 0;
  background: var(--pp-orange);
  color: #fff;
}

.playparks-filter-clear {
  border: 1px solid var(--pp-line) !important;
  background: transparent !important;
  color: var(--pp-navy) !important;
}

/* Instant AJAX: Apply is a no-JS fallback only */
html.playparks-ajax-filters .playparks-filter-submit {
  display: none !important;
}

.playparks-results-col {
  position: relative;
  min-height: 8rem;
  transition: opacity 0.15s ease;
}

.playparks-results-col.is-loading {
  opacity: 0.45;
  pointer-events: none;
}

.playparks-results-col.is-loading::after {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 50%;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  border: 3px solid var(--pp-line);
  border-top-color: var(--pp-orange);
  border-radius: 50%;
  animation: playparks-spin 0.7s linear infinite;
  z-index: 2;
}

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

.playparks-results-toolbar {
  margin-bottom: 1rem !important;
  width: 100%;
}

.playparks-results-toolbar .woocommerce-result-count,
.playparks-results-toolbar .wp-block-woocommerce-product-results-count {
  color: var(--pp-muted);
  margin: 0 !important;
}

.playparks-results-toolbar select,
.playparks-results-toolbar .woocommerce-ordering select {
  border: 1px solid var(--pp-line);
  background: var(--pp-white);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font: inherit;
}

/* Product grid — block collection + classic ul.products */
.playparks-catalog-active ul.products,
.playparks-catalog-active ul.wc-block-product-template,
.playparks-catalog-active .wc-block-product-template,
.playparks-product-collection .wc-block-product-template {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  float: none !important;
}

.playparks-catalog-active ul.products::before,
.playparks-catalog-active ul.products::after,
.playparks-catalog-active .wc-block-product-template::before,
.playparks-catalog-active .wc-block-product-template::after {
  display: none !important;
  content: none !important;
}

.playparks-catalog-active ul.products li.product,
.playparks-catalog-active .wc-block-product,
.playparks-catalog-active li.wc-block-product {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
  background: var(--pp-white);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  padding: 0 0 0.25rem !important;
  box-sizing: border-box;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.playparks-catalog-active ul.products li.product:hover,
.playparks-catalog-active .wc-block-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26, 62, 114, 0.08);
}

/* 4:3 frame matches Buglo renders; contain + inset = full equipment, no crop */
.playparks-catalog-active .wc-block-product .wc-block-components-product-image,
.playparks-catalog-active .wc-block-product .wp-block-woocommerce-product-image,
.playparks-catalog-active .wc-block-product > a:has(> img),
.playparks-catalog-active li.product .woocommerce-loop-product__link {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  max-height: none;
  background: #fff;
  overflow: hidden;
  display: block;
  border-bottom: 1px solid var(--pp-line);
  box-sizing: border-box;
}

.playparks-catalog-active .wc-block-product .wc-block-components-product-image a,
.playparks-catalog-active .wc-block-product .wp-block-woocommerce-product-image a {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.playparks-catalog-active .wc-block-product .wc-block-components-product-image img,
.playparks-catalog-active .wc-block-product .wp-block-woocommerce-product-image img,
.playparks-catalog-active .wc-block-product > a:has(> img) > img,
.playparks-catalog-active li.product a img,
.playparks-catalog-active .wc-block-product img {
  position: absolute !important;
  /* Inner padding so wide equipment isn’t flush against the frame edge */
  inset: 1.15rem !important;
  width: calc(100% - 2.3rem) !important;
  height: calc(100% - 2.3rem) !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 !important;
  display: block;
  border-radius: 0 !important;
  contain-intrinsic-size: auto !important;
}

.playparks-card-brand {
  color: var(--pp-navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.75rem 0.95rem 0.15rem;
}

.playparks-catalog-active .wc-block-product .wp-block-post-title,
.playparks-catalog-active .wc-block-product .wp-block-post-title a,
.playparks-catalog-active .woocommerce-loop-product__title {
  padding: 0 0.95rem !important;
  margin: 0.15rem 0 !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
  color: var(--pp-text) !important;
  text-decoration: none !important;
}

.playparks-card-meta {
  color: var(--pp-muted);
  font-size: 0.85rem;
  padding: 0 0.95rem 0.15rem;
}

.playparks-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem 1rem;
  margin-top: auto;
}

.playparks-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #eef2f7;
  color: var(--pp-navy);
}

.playparks-chip--accent {
  background: #fff1ea;
  color: var(--pp-orange);
}

.playparks-chip--muted {
  background: #f3f4f6;
  color: var(--pp-muted);
}

/* Hide price / cart on catalog surfaces */
.playparks-catalog-active .price,
.playparks-catalog-active .ajax_add_to_cart,
.playparks-catalog-active .button.add_to_cart_button,
.playparks-catalog-active .wp-block-woocommerce-product-price,
.playparks-catalog-active .wp-block-button,
body.playparks-product-active .price,
body.playparks-product-active .single_add_to_cart_button,
body.playparks-product-active form.cart,
body.playparks-product-active .woocommerce-product-rating,
body.playparks-product-active .wp-block-woocommerce-add-to-cart-form,
body.playparks-product-active .wp-block-woocommerce-product-price,
body.playparks-product-active .wp-block-woocommerce-product-meta {
  display: none !important;
}

body.playparks-catalog-active .wc-block-mini-cart,
body.playparks-product-active .wc-block-mini-cart {
  opacity: 0.35;
  pointer-events: none;
}

/* -------------------------------------------------------------------------
   Single product (PDP)
   ------------------------------------------------------------------------- */

.playparks-pdp-page {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.playparks-pdp-shell {
  background: var(--pp-bg) !important;
  padding: 1.25rem 1.25rem 3rem !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.playparks-pdp-shell > * {
  max-width: var(--pp-max);
  margin-left: auto;
  margin-right: auto;
}

.playparks-pdp-shell .woocommerce-breadcrumb,
.playparks-pdp-shell .wp-block-woocommerce-breadcrumbs {
  color: var(--pp-muted);
  margin: 0 0 1.25rem !important;
  font-size: 0.9rem;
}

.playparks-pdp-columns.wp-block-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) !important;
  gap: 1.75rem !important;
  align-items: start !important;
  width: 100% !important;
  max-width: var(--pp-max);
  margin: 0 auto 2rem !important;
  flex-wrap: nowrap !important;
}

.playparks-pdp-columns > .wp-block-column {
  width: auto !important;
  max-width: none !important;
  flex-basis: auto !important;
  margin: 0 !important;
}

.playparks-pdp-gallery {
  display: grid;
  gap: 0.75rem;
}

.playparks-pdp-gallery__stage {
  background: var(--pp-white);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  overflow: hidden;
}

.playparks-pdp-gallery__main {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #eef2f7;
  border: 0 !important;
}

.playparks-pdp-gallery__thumbs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.55rem;
}

.playparks-pdp-gallery__thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid var(--pp-line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--pp-white);
  cursor: pointer;
  line-height: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.playparks-pdp-gallery__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #eef2f7;
  border: 0 !important;
}

.playparks-pdp-gallery__thumb:hover,
.playparks-pdp-gallery__thumb:focus-visible {
  border-color: var(--pp-navy);
  outline: none;
}

.playparks-pdp-gallery__thumb.is-active {
  border-color: var(--pp-orange);
  box-shadow: 0 0 0 1px var(--pp-orange);
}

.playparks-pdp-summary-col {
  background: var(--pp-white);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  padding: 1.25rem 1.2rem 1.35rem !important;
}

.playparks-pdp-brand {
  color: var(--pp-navy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}

.playparks-pdp-title,
.playparks-pdp-summary-col .wp-block-post-title {
  margin: 0.15rem 0 0.75rem !important;
  font-size: clamp(1.55rem, 2.4vw, 2rem) !important;
  line-height: 1.15 !important;
  color: var(--pp-navy) !important;
}

.playparks-pdp-intro,
.playparks-pdp-summary-col .wp-block-post-excerpt,
.playparks-pdp-summary-col .woocommerce-product-details__short-description {
  margin: 0 0 1.1rem !important;
  color: #374151;
}

.playparks-pdp-intro p {
  margin: 0;
}

/* Product details tabs — JumpOn/block themes don't ship classic WC tab chrome */
.playparks-pdp-details {
  background: var(--pp-white);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  padding: 0;
  overflow: hidden;
  width: 100%;
  max-width: none !important;
  margin: 0 0 2rem !important;
}

.playparks-pdp-details .woocommerce-tabs,
body.playparks-product-active .woocommerce-tabs.wc-tabs-wrapper {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.playparks-pdp-details ul.tabs.wc-tabs,
body.playparks-product-active ul.tabs.wc-tabs {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.15rem;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 0.75rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--pp-line) !important;
  background: transparent;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.playparks-pdp-details ul.tabs.wc-tabs::before,
.playparks-pdp-details ul.tabs.wc-tabs::after,
body.playparks-product-active ul.tabs.wc-tabs::before,
body.playparks-product-active ul.tabs.wc-tabs::after {
  display: none !important;
  content: none !important;
}

.playparks-pdp-details ul.tabs.wc-tabs li,
body.playparks-product-active ul.tabs.wc-tabs li {
  display: block !important;
  float: none !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  position: relative;
}

.playparks-pdp-details ul.tabs.wc-tabs li::before,
.playparks-pdp-details ul.tabs.wc-tabs li::marker,
body.playparks-product-active ul.tabs.wc-tabs li::before,
body.playparks-product-active ul.tabs.wc-tabs li::marker {
  display: none !important;
  content: none !important;
}

.playparks-pdp-details ul.tabs.wc-tabs li a,
body.playparks-product-active ul.tabs.wc-tabs li a {
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 0.95rem 1.1rem !important;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  background: transparent !important;
  color: var(--pp-muted) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.playparks-pdp-details ul.tabs.wc-tabs li a:hover,
body.playparks-product-active ul.tabs.wc-tabs li a:hover {
  color: var(--pp-navy) !important;
}

.playparks-pdp-details ul.tabs.wc-tabs li.active a,
.playparks-pdp-details ul.tabs.wc-tabs li[aria-selected="true"] a,
body.playparks-product-active ul.tabs.wc-tabs li.active a {
  color: var(--pp-navy) !important;
  border-bottom-color: var(--pp-orange) !important;
}

.playparks-pdp-details .woocommerce-Tabs-panel,
body.playparks-product-active .woocommerce-Tabs-panel {
  margin: 0 !important;
  padding: 1.25rem 1.25rem 1.5rem !important;
  border: 0 !important;
  background: transparent !important;
}

/* Tab label already shown in the tab bar — hide duplicate panel titles */
.playparks-pdp-details .woocommerce-Tabs-panel > h2:first-child,
body.playparks-product-active .woocommerce-Tabs-panel > h2:first-child {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.playparks-pdp-details .woocommerce-product-attributes,
body.playparks-product-active .woocommerce-product-attributes {
  width: 100%;
  border-collapse: collapse;
}

.playparks-pdp-details .woocommerce-product-attributes th,
.playparks-pdp-details .woocommerce-product-attributes td,
body.playparks-product-active .woocommerce-product-attributes th,
body.playparks-product-active .woocommerce-product-attributes td {
  padding: 0.65rem 0.35rem;
  border-bottom: 1px solid var(--pp-line);
  text-align: left;
  vertical-align: top;
}

.playparks-pdp-details .woocommerce-product-attributes th,
body.playparks-product-active .woocommerce-product-attributes th {
  width: 32%;
  color: var(--pp-muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.playparks-pdp-details .woocommerce-product-attributes td p,
body.playparks-product-active .woocommerce-product-attributes td p {
  margin: 0;
}

/* Hide reviews (must beat tab li display:block !important above) */
.playparks-pdp-details ul.tabs.wc-tabs li.reviews_tab,
body.playparks-product-active ul.tabs.wc-tabs li.reviews_tab,
.playparks-pdp-details #tab-reviews,
body.playparks-product-active #tab-reviews,
body.playparks-product-active .woocommerce-Reviews {
  display: none !important;
}

.playparks-pdp-meta {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.2rem;
  padding: 0;
}

.playparks-pdp-meta > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 0.5rem;
  padding: 0 0 0.45rem;
  border-bottom: 1px solid var(--pp-line);
  margin: 0;
  font-size: 0.95rem;
}

.playparks-pdp-meta dt {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pp-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.playparks-pdp-meta dd {
  margin: 0;
  font-weight: 600;
}

.playparks-pdp-meta a {
  color: var(--pp-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.playparks-product-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
}

.playparks-download-button,
a.playparks-download-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 1 1 160px;
  padding: 0.75rem 1.1rem !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: 0 !important;
  background: var(--pp-orange) !important;
  color: #fff !important;
}

.playparks-download-button.is-secondary,
a.playparks-download-button.is-secondary {
  background: transparent !important;
  color: var(--pp-navy) !important;
  border: 1px solid var(--pp-line) !important;
}

.playparks-pdp-note {
  font-size: 0.9rem;
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #ffd7bf;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  margin: 0 0 0.85rem;
}

.playparks-pdp-enquire {
  display: inline-flex;
  margin-top: 0.15rem;
  font-weight: 700;
  color: var(--pp-navy);
  text-decoration: none;
}

.playparks-pdp-enquire:hover {
  color: var(--pp-orange);
  text-decoration: underline;
}

.playparks-pdp-shell .wp-block-woocommerce-product-details:not(.playparks-pdp-details) {
  background: var(--pp-white);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  padding: 1rem 1.15rem 1.25rem;
  margin: 0 auto 2rem !important;
  max-width: var(--pp-max);
}

.playparks-filter-live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.playparks-pdp-gallery:focus {
  outline: 2px solid var(--pp-orange);
  outline-offset: 4px;
}

.playparks-pdp-gallery__thumb:focus-visible {
  outline: 2px solid var(--pp-orange);
  outline-offset: 2px;
}

.playparks-filter-checkbox:focus-visible + .playparks-check,
.playparks-filter-checkbox:focus-visible ~ .playparks-check {
  outline: 2px solid var(--pp-orange);
  outline-offset: 2px;
}

/* Classic layout fallback wrappers */
.playparks-catalog-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
  width: 100%;
  max-width: var(--pp-max);
  margin: 0 auto 3rem;
  padding: 1.5rem 1.25rem 3rem;
  box-sizing: border-box;
}

.playparks-catalog-results {
  min-width: 0;
}

@media (max-width: 980px) {
  .playparks-catalog-columns.wp-block-columns,
  .playparks-catalog-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  /* Stack: Filters button, then full-width results (drawer is position:fixed). */
  .playparks-catalog-columns > .playparks-sidebar-col,
  .playparks-catalog-columns > .shop-sidebar {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    flex-basis: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .playparks-catalog-columns > .playparks-results-col {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: none !important;
  }

  .playparks-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    pointer-events: auto;
    position: relative;
    z-index: 2;
    margin: 0 0 1rem;
    padding: 0.65rem 1rem;
    border: 1px solid var(--pp-line);
    border-radius: 999px;
    background: var(--pp-white);
    color: var(--pp-navy);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(26, 62, 114, 0.08);
  }

  .playparks-filter-toggle__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--pp-orange);
    color: #fff;
    font-size: 0.72rem;
    line-height: 1;
  }

  .playparks-filter-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 10040;
    background: rgba(12, 26, 19, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .playparks-filter-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .playparks-catalog-sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 10050;
    width: min(340px, 88vw) !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 var(--pp-radius) var(--pp-radius) 0;
    border: 0;
    border-right: 1px solid var(--pp-line);
    box-shadow: 12px 0 32px rgba(12, 26, 19, 0.18);
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
  }

  .playparks-catalog-sidebar.is-open {
    transform: translateX(0);
  }

  .playparks-filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 1rem 1rem 0.85rem;
    background: var(--pp-white);
    border-bottom: 1px solid var(--pp-line);
  }

  .playparks-filter-drawer-header .playparks-filters-heading {
    margin: 0;
  }

  .playparks-filter-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: var(--pp-bg);
    color: var(--pp-text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
  }

  .playparks-catalog-sidebar .playparks-catalog-filters {
    padding: 1rem 1rem 1.5rem;
  }

  body.playparks-filters-open {
    overflow: hidden;
  }

  .playparks-catalog-active ul.products,
  .playparks-catalog-active ul.wc-block-product-template,
  .playparks-catalog-active .wc-block-product-template,
  .playparks-product-collection .wc-block-product-template {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .playparks-pdp-columns.wp-block-columns {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  .playparks-catalog-active ul.products,
  .playparks-catalog-active ul.wc-block-product-template,
  .playparks-catalog-active .wc-block-product-template,
  .playparks-product-collection .wc-block-product-template {
    grid-template-columns: 1fr !important;
  }

  .playparks-pdp-meta > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}
