.postid-643 .site-main > .product {
  display: grid !important;
  grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
  gap: 58px;
  align-items: start;
  max-width: 1180px;
  margin: 42px auto 72px !important;
  padding: 0 24px;
}

.postid-643 .woocommerce-product-gallery {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.postid-643 .woocommerce-product-gallery__wrapper {
  overflow: hidden;
  border: 1px solid #e3e9e4;
  border-radius: 22px;
  background: #f7f9f7;
  box-shadow: 0 18px 48px rgba(16, 42, 26, .08);
}

.postid-643 .woocommerce-product-gallery__image {
  display: block !important;
  overflow: hidden;
  background: #f7f9f7;
}

.postid-643 .woocommerce-product-gallery__image:not(:first-child),
.postid-643 .flex-control-thumbs,
.postid-643 .woocommerce-product-gallery__trigger {
  display: none !important;
}

.postid-643 .woocommerce-product-gallery__image a {
  display: block !important;
  width: 100%;
  padding: 24px;
}

.postid-643 .woocommerce-product-gallery__image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

.postid-643 .summary {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.postid-643 .summary .product_title {
  margin: 0 0 14px !important;
  color: #102a1a;
  font-size: clamp(34px, 4vw, 50px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em;
}

.postid-643 .summary > .price {
  display: none !important;
}

.postid-643 .woocommerce-product-details__short-description {
  max-width: 650px;
  color: #526158;
  font-size: 17px;
  line-height: 1.65;
}

.pswa-square-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 225px;
  gap: 26px;
  margin: 26px 0 20px;
  padding: 28px;
  border: 1px solid #dce6dd;
  border-radius: 20px;
  background: #f7faf7;
  box-shadow: 0 14px 38px rgba(16, 42, 26, .07);
}

.pswa-eyebrow {
  margin: 0 0 7px;
  color: #159c34;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

.pswa-square-calculator h2 {
  margin: 0 0 8px;
  color: #102a1a;
  font-size: 27px;
  line-height: 1.15;
}

.pswa-calculator-copy > p:not(.pswa-eyebrow) {
  margin: 0;
  color: #59665d;
  line-height: 1.55;
}

.pswa-fields {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.pswa-fields label span {
  display: block;
  margin-bottom: 6px;
  color: #24392b;
  font-size: 13px;
  font-weight: 800;
}

.pswa-fields input {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  padding: 10px 13px;
  border: 1px solid #bdc9bd !important;
  border-radius: 9px;
  background: #fff !important;
  font-size: 17px;
}

.pswa-fields input:focus {
  border-color: #159c34 !important;
  box-shadow: 0 0 0 3px rgba(21, 156, 52, .12);
  outline: 0;
}

.pswa-price-box {
  padding: 16px 18px;
  border-radius: 11px;
  background: #102a1a;
  color: #fff;
}

.pswa-price-box span {
  display: block;
  font-size: 12px;
  opacity: .75;
}

.pswa-price-box strong {
  display: block;
  margin-top: 3px;
  font-size: 25px;
  line-height: 1.2;
}

.pswa-diagram {
  align-self: center;
  margin: 0;
  text-align: center;
}

.pswa-diagram-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #102a1a;
  cursor: zoom-in;
}

.pswa-diagram-zoom:focus-visible {
  outline: 3px solid #159c34;
  outline-offset: 4px;
}

.pswa-diagram-zoom-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  color: #159c34;
  font-size: 12px;
  font-weight: 800;
}

.pswa-diagram-zoom-label::before {
  content: "\1F50D";
  font-size: 14px;
}

.pswa-diagram img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid #e4eae4;
  border-radius: 14px;
  background: #fff;
}

.pswa-diagram figcaption {
  margin-top: 9px;
  color: #59665d;
  font-size: 12px;
  line-height: 1.4;
}

.pswa-lightbox[hidden] { display: none !important; }

.pswa-lightbox {
  display: flex;
  position: fixed;
  z-index: 999999;
  inset: 0;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 70px 32px 32px;
  background: rgba(4, 15, 9, .92);
  cursor: zoom-out;
}

.pswa-lightbox-image {
  display: block;
  width: auto;
  max-width: min(1400px, 96vw);
  height: auto;
  max-height: calc(100vh - 105px);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
  object-fit: contain;
  cursor: default;
}

.pswa-lightbox-close {
  position: fixed;
  z-index: 1;
  top: 18px;
  right: 24px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font: 400 34px/38px Arial, sans-serif;
  cursor: pointer;
}

.pswa-lightbox-close:focus-visible {
  outline: 3px solid #5ee47d;
  outline-offset: 3px;
}

body.pswa-lightbox-open { overflow: hidden; }

.postid-643 form.cart {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.postid-643 form.cart .pswa-square-calculator {
  flex: 0 0 100%;
}

.postid-643 form.cart .quantity input,
.postid-643 form.cart .single_add_to_cart_button {
  min-height: 50px !important;
  border-radius: 9px !important;
}

.postid-643 form.cart .single_add_to_cart_button {
  padding: 0 28px !important;
  background: #159c34 !important;
  font-weight: 800 !important;
}

.postid-643 .product_meta {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e5e9e5;
  color: #728078;
  font-size: 13px;
}

.postid-643 .woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 36px 40px;
  border-radius: 20px;
  background: #f8faf8;
}

.postid-643 .woocommerce-tabs > ul.tabs,
.postid-643 .related.products {
  display: none !important;
}

.postid-643 .woocommerce-tabs .panel {
  margin: 0 !important;
}

@media (max-width: 980px) {
  .postid-643 .site-main > .product {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .postid-643 .woocommerce-product-gallery__wrapper {
    max-width: 650px;
    margin: auto;
  }

  .pswa-square-calculator {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
}

@media (max-width: 650px) {
  .postid-643 .site-main > .product {
    margin-top: 22px !important;
    padding: 0 16px;
  }

  .postid-643 .woocommerce-product-gallery__image a {
    padding: 20px;
  }

  .postid-643 .summary .product_title {
    font-size: 34px !important;
  }

  .pswa-square-calculator {
    grid-template-columns: 1fr;
    padding: 21px;
  }

  .pswa-diagram {
    max-width: 300px;
    margin: auto;
  }

  .postid-643 .woocommerce-tabs {
    padding: 24px 20px;
  }

  .pswa-lightbox {
    padding: 64px 12px 20px;
  }

  .pswa-lightbox-close {
    top: 10px;
    right: 12px;
  }
}
