/* Product category archives — shared by all product_cat URLs */

.product-cat-page {
  background: #eef1f5;
}

.wellhw-product-cat-main {
  display: block;
  width: 100%;
  clear: both;
}

.wellhw-product-cat-main .container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.wellhw-product-cat-main .section {
  padding: 4rem 0;
}

.cat-top {
  padding: 1.5rem 0 2.5rem;
  background: linear-gradient(180deg, #eef1f5 0%, #f8f9fb 100%);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  color: var(--steel);
  font-size: 0.92rem;
}

.breadcrumb a:hover {
  color: var(--brass);
}

.cat-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.cat-hero-copy h1 {
  margin-bottom: 1rem;
}

.cat-description {
  color: var(--steel);
  font-size: 1.03rem;
  line-height: 1.7;
}

.cat-description p {
  margin: 0 0 1rem;
}

.cat-meta {
  margin: 1rem 0 1.5rem;
  color: var(--brass);
  font-weight: 600;
  font-size: 0.95rem;
}

.cat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.cat-hero-media {
  justify-self: end;
  width: 100%;
  max-width: 420px;
}

.cat-hero-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.cat-products {
  background: var(--white);
}

.wellhw-product-cat-main ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  clear: none !important;
}

.wellhw-product-cat-main ul.products li.product {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
}

.wellhw-product-cat-main ul.products::before,
.wellhw-product-cat-main ul.products::after {
  display: none;
}

.wellhw-product-cat-main .wellhw-loop-product {
  margin: 0;
  padding: 0;
  width: 100%;
}

.wellhw-product-cat-main .product-card {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wellhw-product-cat-main .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(8, 24, 43, 0.16);
}

.wellhw-product-cat-main .product-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--white);
}

.wellhw-product-cat-main .product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.wellhw-product-cat-main .product-card:hover .product-media img {
  transform: scale(1.05);
}

.wellhw-product-cat-main .product-body {
  padding: 1.2rem;
}

.wellhw-product-cat-main .product-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.wellhw-product-cat-main .product-body p {
  margin: 0 0 0.75rem;
  color: var(--steel);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wellhw-product-cat-main .product-body h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wellhw-product-cat-main .woocommerce-loop-product__title {
  font-family: "Barlow Condensed", sans-serif;
}

.cat-pagination {
  margin-top: 2.5rem;
}

.cat-pagination .woocommerce-pagination {
  margin: 0;
}

.cat-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  border: none;
  background: transparent;
  box-shadow: none;
}

.cat-pagination ul.page-numbers li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cat-pagination ul.page-numbers li::marker,
.cat-pagination ul.page-numbers li::before {
  content: none;
  display: none;
}

.cat-pagination a.page-numbers,
.cat-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  margin: 0;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
}

.cat-pagination span.page-numbers.current,
.cat-pagination a.page-numbers:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.cat-pagination a.page-numbers.dots,
.cat-pagination span.page-numbers.dots {
  min-width: auto;
  padding: 0 0.35rem;
  border-color: transparent;
  background: transparent;
  color: var(--steel);
}

.cat-related {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 247, 250, 1));
}

.cat-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.cat-related-card {
  display: block;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.cat-related-card:hover {
  transform: translateY(-3px);
}

.cat-related-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.cat-related-card p {
  margin: 0 0 0.75rem;
  color: var(--steel);
  font-size: 0.95rem;
}

.cat-cta {
  background: #eef1f5;
}

.cat-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  color: var(--white);
}

.cat-cta-banner h2 {
  margin: 0.35rem 0 0.75rem;
  color: var(--white);
}

.cat-cta-banner p {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow.light {
  color: var(--brass-light);
}

.wellhw-product-cat-main .woocommerce-info,
.wellhw-product-cat-main .woocommerce-message {
  border-radius: var(--radius);
}

@media (max-width: 980px) {
  .cat-hero,
  .cat-related-grid,
  .wellhw-product-cat-main ul.products {
    grid-template-columns: 1fr 1fr;
  }

  .cat-hero {
    grid-template-columns: 1fr;
  }

  .cat-hero-media {
    justify-self: start;
    max-width: none;
  }

  .cat-cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .cat-related-grid,
  .wellhw-product-cat-main ul.products {
    grid-template-columns: 1fr;
  }

  .wellhw-product-cat-main .section,
  .cat-top {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* Single product pages — /product/* */

.product-single-page {
  background: #eef1f5;
}

.wellhw-product-single-main {
  display: block;
  width: 100%;
  clear: both;
}

.wellhw-product-single-main .container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.wellhw-product-single-main .section {
  padding: 4rem 0;
}

.product-top {
  padding: 1.5rem 0 2.5rem;
  background: linear-gradient(180deg, #eef1f5 0%, #f8f9fb 100%);
  border-bottom: 1px solid var(--line);
}

.product-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.product-gallery-main {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-gallery-featured {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.product-gallery-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.product-gallery-thumb.is-active {
  border-color: var(--brass);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-summary h1 {
  margin: 0 0 1rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--navy);
}

.product-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-bottom: 1.25rem;
  color: var(--steel);
  font-size: 0.95rem;
}

.product-meta-list strong {
  color: var(--navy);
}

.product-meta-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(200, 146, 42, 0.12);
  color: var(--brass);
  font-weight: 600;
  font-size: 0.82rem;
}

.product-short-description {
  margin-bottom: 1.5rem;
  color: var(--steel);
  font-size: 1.03rem;
  line-height: 1.7;
}

.product-short-description p {
  margin: 0 0 0.75rem;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  align-items: start;
}

.product-article {
  padding: 1.75rem 1.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-article h2 {
  margin: 0 0 1rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.65rem;
  color: var(--navy);
}

.product-article h2:not(:first-child) {
  margin-top: 2rem;
}

.product-article p,
.product-article li {
  color: var(--steel);
  line-height: 1.75;
}

.product-article img {
  max-width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 4px);
}

.product-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.product-spec-table th,
.product-spec-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.product-spec-table th {
  width: 34%;
  color: var(--navy);
  font-weight: 600;
  background: rgba(15, 39, 68, 0.03);
}

.product-spec-table td {
  color: var(--steel);
}

.product-sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 96px;
}

.product-sidebar .sidebar-card,
.product-sidebar .sidebar-cta {
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-sidebar .sidebar-card h2,
.product-sidebar .sidebar-cta h2 {
  margin: 0 0 1rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
}

.product-sidebar .sidebar-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-sidebar .sidebar-card li {
  margin-bottom: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.product-sidebar .sidebar-card li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.product-sidebar .sidebar-card a {
  display: block;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.product-sidebar .sidebar-card a:hover {
  color: var(--brass);
}

.product-sidebar .sidebar-card .date {
  display: block;
  margin-top: 0.2rem;
  color: var(--steel);
  font-size: 0.85rem;
  font-weight: 400;
}

.product-sidebar .sidebar-cta {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  color: var(--white);
}

.product-sidebar .sidebar-cta h2 {
  color: var(--white);
}

.product-sidebar .sidebar-cta p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.product-sidebar .sidebar-cta .btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
}

.product-related {
  background: var(--white);
}

.product-related .section-head {
  margin-bottom: 2rem;
}

.product-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.wellhw-product-single-main .product-card {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wellhw-product-single-main .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(8, 24, 43, 0.16);
}

.wellhw-product-single-main .product-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--white);
}

.wellhw-product-single-main .product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.wellhw-product-single-main .product-card:hover .product-media img {
  transform: scale(1.05);
}

.wellhw-product-single-main .product-body {
  padding: 1.2rem;
}

.wellhw-product-single-main .product-body h3 {
  margin: 0 0 0.5rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  color: var(--navy);
}

.wellhw-product-single-main .product-body p {
  margin: 0 0 0.75rem;
  color: var(--steel);
  font-size: 0.95rem;
}

.wellhw-product-single-main .card-link {
  font-weight: 600;
  color: var(--brass);
}

@media (max-width: 980px) {
  .product-hero,
  .product-layout,
  .product-related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-hero,
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .product-related-grid {
    grid-template-columns: 1fr;
  }

  .product-article {
    padding: 1.25rem 1.15rem;
  }
}
