/*
 THEGROWNS PDP REFINEMENT 02
 STAGING ONLY
*/

/* 1. Restore complete product photography */
body.single-product div.product
.woocommerce-product-gallery__image img {
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:560px !important;
  object-fit:contain !important;
  object-position:center center !important;
  margin:0 auto !important;
}

body.single-product div.product
.woocommerce-product-gallery__image {
  overflow:visible !important;
}

body.single-product div.product
.woocommerce-product-gallery__wrapper {
  overflow:visible !important;
}

body.single-product div.product
.woocommerce-product-gallery {
  overflow:hidden !important;
}

/* 2. More compact, intentional purchase panel */
body.single-product div.product
.summary.entry-summary {
  padding:clamp(20px,2.5vw,34px) !important;
}

body.single-product div.product
.summary.entry-summary .product_title {
  margin-bottom:14px !important;
}

body.single-product div.product
.summary.entry-summary > .price {
  margin-bottom:14px !important;
  padding-bottom:16px !important;
}

body.single-product div.product
.summary.entry-summary
.woocommerce-product-details__short-description {
  margin-bottom:14px !important;
  line-height:1.65 !important;
}

body.single-product div.product
.summary.entry-summary
.woocommerce-product-details__short-description p {
  margin-bottom:10px !important;
}

body.single-product div.product
.summary.entry-summary table.variations {
  border-spacing:0 6px !important;
  margin-bottom:10px !important;
}

body.single-product div.product
.summary.entry-summary table.variations select {
  min-height:44px !important;
}

body.single-product div.product
.summary.entry-summary .single_add_to_cart_button {
  min-height:48px !important;
}

/* 3. Bring description closer to the product area */
body.single-product div.product .woocommerce-tabs {
  clear:both;
  margin-top:24px !important;
  padding-top:0 !important;
}

/* 4. Branded description presentation */
body.single-product div.product
.woocommerce-tabs .woocommerce-Tabs-panel {
  box-sizing:border-box;
  border:1px solid rgba(31,38,54,.09);
  border-radius:20px;
  padding:clamp(20px,3vw,38px) !important;
  background:
    linear-gradient(145deg,#fff 0%,#fcfcfe 100%);
  box-shadow:0 12px 38px rgba(20,25,38,.035);
}

body.single-product div.product
.woocommerce-tabs .woocommerce-Tabs-panel h1,
body.single-product div.product
.woocommerce-tabs .woocommerce-Tabs-panel h2,
body.single-product div.product
.woocommerce-tabs .woocommerce-Tabs-panel h3 {
  margin-top:22px;
  margin-bottom:14px;
}

body.single-product div.product
.woocommerce-tabs .woocommerce-Tabs-panel h1:first-child,
body.single-product div.product
.woocommerce-tabs .woocommerce-Tabs-panel h2:first-child {
  margin-top:0;
}

body.single-product div.product
.woocommerce-tabs .woocommerce-Tabs-panel p,
body.single-product div.product
.woocommerce-tabs .woocommerce-Tabs-panel li {
  line-height:1.8;
}

/* 5. Preserve related cards and their gradients */
body.single-product .related.products {
  margin-top:32px !important;
}

/* Mobile */
@media(max-width:767px) {
  body.single-product div.product
  .woocommerce-product-gallery__image img {
    max-height:440px !important;
  }

  body.single-product div.product
  .summary.entry-summary {
    padding:20px 17px !important;
  }

  body.single-product div.product
  .woocommerce-tabs {
    margin-top:18px !important;
  }

  body.single-product div.product
  .woocommerce-tabs .woocommerce-Tabs-panel {
    padding:20px 17px !important;
    border-radius:16px;
  }
}
