.soloteche-product-archive {
  --pa-gutter: 48px;
  background: var(--wp--preset--color--background);
  color: var(--wp--preset--color--foreground);
}

.soloteche-product-archive * { box-sizing: border-box; }

.soloteche-pa-products,
.soloteche-pa-configurator-cta,
.soloteche-pa-benefits > .wp-block-group,
.soloteche-pa-reviews,
.soloteche-pa-faq {
  width: min(1280px, calc(100% - (var(--pa-gutter) * 2)));
  margin-inline: auto;
}

.soloteche-pa-products > *,
.soloteche-pa-configurator-cta > *,
.soloteche-pa-benefits > .wp-block-group > *,
.soloteche-pa-reviews > *,
.soloteche-pa-faq > * {
  max-width: none !important;
}

.soloteche-product-archive .soloteche-pa-breadcrumbs {
  width: 100%;
  margin: 0 0 48px;
  padding: 0;
  font-size: var(--wp--preset--font-size--sm);
  color: var(--wp--preset--color--muted);
}

.soloteche-product-archive .woocommerce-breadcrumb {
  margin: 0;
  color: inherit;
}

.soloteche-product-archive .woocommerce-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.soloteche-pa-hero {
  border-top: 1px solid var(--wp--preset--color--border);
  border-bottom: 1px solid var(--wp--preset--color--border);
}

.soloteche-pa-hero__inner {
  width: 100%;
  max-width: none !important;
  margin: 0;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 !important;
  align-items: stretch !important;
  min-height: 430px;
}

.soloteche-pa-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 56px 72px 64px max(var(--pa-gutter), calc((100vw - 1280px) / 2));
}

.soloteche-pa-hero__copy .wp-block-query-title,
.soloteche-pa-hero__copy h1 {
  margin: 0 0 24px;
  font-size: var(--wp--preset--font-size--6-xl);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.soloteche-pa-hero__intro {
  max-width: 560px;
  margin: 0;
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--lg);
  line-height: 1.6;
}

.soloteche-pa-hero__media {
  min-height: 430px;
  height: 100%;
  margin: 0;
}

.soloteche-pa-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.soloteche-pa-products {
  padding-block: 96px 64px;
}

.soloteche-product-archive-empty .soloteche-pa-products {
  padding-block: 64px 72px;
}

.soloteche-pa-products__toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px;
  margin-bottom: 32px;
  font-size: var(--wp--preset--font-size--sm);
}

.soloteche-pa-products__toolbar .woocommerce-result-count,
.soloteche-pa-products__toolbar .wc-block-product-results-count { margin: 0; }

.soloteche-pa-products__toolbar select {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 0;
  background: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--foreground);
  font: inherit;
}

.soloteche-pa-products .wp-block-woocommerce-product-collection { margin: 0; }

.soloteche-pa-products .wc-block-product-template {
  gap: 48px 24px;
}

.soloteche-pa-products .wc-block-product {
  position: relative;
  min-width: 0;
  text-align: left;
}

.soloteche-pa-products .wc-block-product .wc-block-components-product-image,
.soloteche-pa-products .wc-block-product .wc-block-components-product-image a {
  display: block;
  margin: 0 0 16px;
}

.soloteche-pa-products .wc-block-product .wc-block-components-product-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
}

.soloteche-pa-products .wc-block-product .wp-block-post-title {
  margin: 0 0 8px;
  font-size: var(--wp--preset--font-size--base);
  line-height: 1.35;
  font-weight: 500;
}

.soloteche-pa-products .wc-block-product .wp-block-post-title a {
  color: var(--wp--preset--color--foreground);
  text-decoration: none;
}

.soloteche-pa-products .wc-block-product .wp-block-woocommerce-product-price {
  margin: 0 0 8px;
  font-size: var(--wp--preset--font-size--base);
}

.soloteche-pa-products .wc-block-product .wp-block-woocommerce-product-rating {
  margin: 0;
  font-size: var(--wp--preset--font-size--sm);
}

.soloteche-pa-products .wc-block-product .soloteche-wishlist-button--archive {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
}

.soloteche-pa-products .wc-block-product .soloteche-wishlist-button--archive .soloteche-wishlist-label {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.soloteche-pa-products .wc-block-product .soloteche-wishlist-icon,
.soloteche-pa-products .wc-block-product .soloteche-wishlist-icon svg {
  width: 22px;
  height: 22px;
}

.soloteche-pa-products .wc-block-product .soloteche-wishlist-status { display: none; }

.soloteche-pa-products .wp-block-query-pagination {
  margin-top: 64px;
}

.soloteche-pa-products .wp-block-query-pagination-next,
.soloteche-pa-products .wp-block-query-pagination-previous {
  padding: 10px 18px;
  border: 1px solid var(--wp--preset--color--foreground);
  color: var(--wp--preset--color--foreground);
  background: transparent;
  text-decoration: none;
}

.soloteche-pa-products .wp-block-woocommerce-product-collection-no-results {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
}

.soloteche-pa-empty {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 48px 0;
  border-top: 1px solid var(--wp--preset--color--border);
  border-bottom: 1px solid var(--wp--preset--color--border);
  text-align: left;
}

.soloteche-pa-empty > * {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.soloteche-pa-empty h3 {
  max-width: 520px;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  font-size: var(--wp--preset--font-size--3-xl);
  line-height: 1.12;
  font-weight: 500;
}

.soloteche-pa-empty p {
  max-width: 620px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  color: var(--wp--preset--color--muted);
}

.soloteche-pa-configurator-cta {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px !important;
  align-items: center;
  padding-block: 48px 80px;
  border-top: 1px solid var(--wp--preset--color--border);
}

.soloteche-pa-configurator-cta__copy {
  margin: 0 !important;
}

.soloteche-pa-configurator-cta__heading {
  max-width: 560px;
  margin: 0 0 16px !important;
  font-size: var(--wp--preset--font-size--3-xl);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.soloteche-pa-configurator-cta__text {
  max-width: 620px;
  margin: 0 !important;
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--base);
  line-height: 1.6;
}

.soloteche-pa-configurator-cta__actions {
  justify-content: flex-end !important;
  gap: 12px !important;
  margin: 0 !important;
}

.soloteche-pa-configurator-cta__actions .wp-block-button__link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.soloteche-pa-benefits {
  padding-block: 72px;
  border-top: 1px solid var(--wp--preset--color--border);
  border-bottom: 1px solid var(--wp--preset--color--border);
  background: var(--wp--preset--color--surface-alt);
}

.soloteche-pa-benefits__title {
  margin: 0 0 48px;
  text-align: center;
  font-size: var(--wp--preset--font-size--3-xl);
  font-weight: 500;
  line-height: 1.15;
}

.soloteche-pa-benefits__grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 !important;
}

.soloteche-pa-benefit {
  padding: 0 32px;
  border-left: 1px solid var(--wp--preset--color--border);
}

.soloteche-pa-benefit:first-child {
  padding-left: 0;
  border-left: 0;
}

.soloteche-pa-benefit:last-child { padding-right: 0; }

.soloteche-pa-benefit .wp-block-image {
  margin: 0 0 20px;
}

.soloteche-pa-benefit .wp-block-image img {
  width: 28px;
  height: 28px;
}

.soloteche-pa-benefit h3 {
  margin: 0 0 8px;
  font-size: var(--wp--preset--font-size--lg);
  font-weight: 500;
  line-height: 1.2;
}

.soloteche-pa-benefit p {
  margin: 0;
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--sm);
  line-height: 1.55;
}

.soloteche-pa-reviews {
  padding-block: 112px 80px;
}

.soloteche-pa-reviews h2,
.soloteche-pa-faq h2 {
  margin: 0;
  font-size: var(--wp--preset--font-size--4-xl);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.soloteche-pa-reviews__note {
  margin: 12px 0 40px;
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--sm);
}

.soloteche-has-product-reviews .soloteche-pa-reviews__mock,
.soloteche-has-product-reviews .soloteche-pa-reviews__note {
  display: none !important;
}

body:not(.soloteche-has-product-reviews) .soloteche-pa-reviews__real {
  display: none !important;
}

.soloteche-pa-reviews__layout {
  display: grid !important;
  grid-template-columns: .82fr repeat(3, 1fr);
  gap: 16px !important;
  align-items: stretch;
}

.soloteche-pa-reviews__summary {
  padding: 28px 28px 28px 0;
}

.soloteche-pa-reviews__score {
  margin: 0 0 8px;
  font-size: var(--wp--preset--font-size--5-xl);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.soloteche-pa-reviews__stars,
.soloteche-pa-review-card__stars {
  margin: 0 0 12px;
  color: var(--wp--preset--color--warning);
  letter-spacing: .08em;
}

.soloteche-pa-products .wc-block-components-product-rating__stars,
.soloteche-pa-products .star-rating span::before,
.soloteche-pa-reviews .wc-block-components-review-list-item__rating__stars span::before {
  color: var(--wp--preset--color--warning) !important;
}

.soloteche-pa-reviews__summary p:last-child {
  margin-bottom: 0;
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--sm);
}

.soloteche-pa-review-card {
  padding: 28px;
  border: 1px solid var(--wp--preset--color--border);
  background: var(--wp--preset--color--surface);
}

.soloteche-pa-review-card h3 {
  margin: 0 0 12px;
  font-size: var(--wp--preset--font-size--lg);
  font-weight: 500;
  line-height: 1.2;
}

.soloteche-pa-review-card p {
  margin: 0 0 18px;
  line-height: 1.55;
}

.soloteche-pa-review-card__author {
  margin: 0 !important;
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--sm);
}

.soloteche-pa-reviews__real {
  margin-top: 40px;
}

.soloteche-pa-faq {
  padding-block: 80px 112px;
}

.soloteche-pa-faq h2 {
  margin-bottom: 40px;
}

.soloteche-pa-faq .wp-block-details {
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid var(--wp--preset--color--border);
}

.soloteche-pa-faq .wp-block-details:last-child {
  border-bottom: 1px solid var(--wp--preset--color--border);
}

.soloteche-pa-faq .wp-block-details summary {
  position: relative;
  padding-right: 48px;
  list-style: none;
  cursor: pointer;
  font-size: var(--wp--preset--font-size--base);
  font-weight: 500;
}

.soloteche-pa-faq .wp-block-details summary::-webkit-details-marker { display: none; }

.soloteche-pa-faq .wp-block-details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -1px;
  font-size: 1.25em;
  line-height: 1;
  font-weight: 400;
}

.soloteche-pa-faq .wp-block-details[open] summary::after { content: "−"; }

.soloteche-pa-faq .wp-block-details p {
  max-width: 760px !important;
  margin: 16px 0 0;
  color: var(--wp--preset--color--muted);
}

.soloteche-pa-seo {
  border-top: 1px solid var(--wp--preset--color--border);
  background: var(--wp--preset--color--surface-alt);
}

.soloteche-pa-seo__inner {
  width: 100%;
  max-width: none !important;
  margin: 0;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 !important;
  align-items: start !important;
}

.soloteche-pa-seo__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 64px 72px 40px max(var(--pa-gutter), calc((100vw - 1280px) / 2));
}

.soloteche-pa-seo__copy h2 {
  margin: 0 0 24px;
  font-size: var(--wp--preset--font-size--4-xl);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.soloteche-pa-seo__copy h3 {
  margin: 32px 0 12px;
  font-size: var(--wp--preset--font-size--xl);
  font-weight: 500;
  line-height: 1.2;
}

.soloteche-pa-seo__copy p {
  max-width: 620px;
  margin: 0 0 12px;
  color: var(--wp--preset--color--muted);
  line-height: 1.65;
}

.soloteche-pa-seo__copy a { color: var(--wp--preset--color--foreground); }

.soloteche-pa-seo__lead {
  margin-bottom: 0 !important;
}

.soloteche-pa-seo__details {
  width: 100%;
  max-width: 620px;
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--wp--preset--color--border);
}

.soloteche-pa-seo__details summary {
  position: relative;
  padding-right: 28px;
  list-style: none;
  cursor: pointer;
  font-weight: 500;
}

.soloteche-pa-seo__details summary::-webkit-details-marker { display: none; }

.soloteche-pa-seo__details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  line-height: 1;
  font-weight: 400;
}

.soloteche-pa-seo__details[open] summary::after { content: "−"; }

.soloteche-pa-seo__details[open] summary {
  margin-bottom: 8px;
}

.soloteche-pa-seo__details h3:first-of-type {
  margin-top: 28px;
}

.soloteche-pa-seo__media {
  height: 440px;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  align-self: start;
}

.soloteche-pa-seo__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

@media (max-width: 1023px) {
  .soloteche-product-archive { --pa-gutter: 32px; }

  .soloteche-pa-hero__copy,
  .soloteche-pa-seo__copy {
    padding-right: 48px;
  }

  .soloteche-pa-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px !important;
  }

  .soloteche-pa-benefit:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .soloteche-pa-reviews__layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .soloteche-pa-reviews__summary {
    padding-right: 28px;
  }
}

@media (max-width: 767px) {
  .soloteche-product-archive { --pa-gutter: 16px; }

  .soloteche-pa-hero__inner,
  .soloteche-pa-seo__inner {
    grid-template-columns: 1fr;
  }

  .soloteche-pa-hero__copy,
  .soloteche-pa-seo__copy {
    padding: 48px var(--pa-gutter);
  }

  .soloteche-product-archive .soloteche-pa-breadcrumbs {
    margin-bottom: 32px;
  }

  .soloteche-pa-hero__media,
  .soloteche-pa-hero__media img {
    min-height: 300px;
  }

  .soloteche-pa-products,
  .soloteche-product-archive-empty .soloteche-pa-products {
    padding-block: 64px 40px;
  }

  .soloteche-pa-configurator-cta {
    grid-template-columns: 1fr;
    gap: 32px !important;
    padding-block: 40px 64px;
  }

  .soloteche-pa-configurator-cta__actions {
    justify-content: flex-start !important;
  }

  .soloteche-pa-configurator-cta__actions .wp-block-button,
  .soloteche-pa-configurator-cta__actions .wp-block-button__link {
    width: 100%;
  }

  .soloteche-pa-products__toolbar {
    align-items: flex-start !important;
  }

  .soloteche-pa-benefits {
    padding-block: 64px;
  }

  .soloteche-pa-benefits__title {
    margin-bottom: 32px;
    text-align: left;
  }

  .soloteche-pa-benefits__grid,
  .soloteche-pa-reviews__layout {
    grid-template-columns: 1fr;
  }

  .soloteche-pa-benefit,
  .soloteche-pa-benefit:first-child,
  .soloteche-pa-benefit:nth-child(3) {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--wp--preset--color--border);
  }

  .soloteche-pa-benefit:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .soloteche-pa-reviews,
  .soloteche-pa-faq {
    padding-block: 64px;
  }

  .soloteche-pa-reviews__summary {
    padding: 0 0 8px;
  }

  .soloteche-pa-review-card {
    padding: 24px;
  }

  .soloteche-pa-seo__media {
    height: 320px;
    min-height: 0;
  }

  .soloteche-pa-seo__media img {
    height: 100%;
    min-height: 0;
  }
}
