
/* MiaTrust Stage 6.2 — Single Product refinement only */
body.single-product .mt-woo-main{
  padding: 34px 0 56px;
  background:
    radial-gradient(circle at 85% 8%, rgba(210,102,177,.08), transparent 26%),
    linear-gradient(180deg,#fff 0%,#fffafd 100%);
}
body.single-product .mt-woo-content{max-width:1500px}
body.single-product div.product{
  background:#fff;
  border:1px solid rgba(117,66,126,.10);
  border-radius:28px;
  padding:34px;
  box-shadow:0 18px 55px rgba(93,47,98,.07);
}
body.single-product div.product::after{content:"";display:block;clear:both}

/* Product media */
body.single-product div.product div.images{
  width:46%;
  margin:0;
  padding:12px;
}
body.single-product .woocommerce-product-gallery__wrapper{
  margin:0;
  border-radius:24px;
  background:linear-gradient(145deg,#fff,#fff8fc);
  min-height:520px;
  display:flex;
  align-items:center;
  justify-content:center;
}
body.single-product .woocommerce-product-gallery__image{
  width:100%;
  text-align:center;
}
body.single-product .woocommerce-product-gallery__image img{
  display:block;
  width:auto !important;
  max-width:100%;
  max-height:600px;
  margin:auto;
  object-fit:contain;
}
body.single-product .flex-control-thumbs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px !important;
}
body.single-product .flex-control-thumbs li{
  width:74px !important;
  border:1px solid #eee3ec;
  border-radius:12px;
  overflow:hidden;
  background:#fff;
}

/* Summary / purchase area */
body.single-product div.product div.summary{
  width:49%;
  margin:0;
  padding:30px 28px;
}
body.single-product .product_title{
  color:#4d3157;
  font-size:clamp(27px,2.2vw,40px);
  line-height:1.65;
  margin:0 0 18px;
  font-weight:800;
}
body.single-product div.product p.price{
  color:#d24e8c;
  font-size:25px;
  font-weight:800;
  margin:0 0 22px;
}
body.single-product .woocommerce-product-details__short-description{
  color:#625b65;
  font-size:16px;
  line-height:2.05;
  margin-bottom:22px;
}
body.single-product form.cart{
  display:flex;
  align-items:center;
  gap:12px;
  padding:18px 0 22px;
  margin:0 !important;
  border-top:1px solid #f1e8ef;
  border-bottom:1px solid #f1e8ef;
}
body.single-product .quantity .qty{
  width:72px;
  min-height:48px;
  border:1px solid #e5d9e4;
  border-radius:13px;
  background:#fff;
  text-align:center;
  font:inherit;
}
body.single-product .single_add_to_cart_button{
  min-height:50px;
  padding:0 34px !important;
  border:0 !important;
  border-radius:15px !important;
  color:#fff !important;
  background:linear-gradient(90deg,#df68a6,#a953c7) !important;
  font-weight:800 !important;
  box-shadow:0 10px 25px rgba(180,79,177,.20);
}
body.single-product .single_add_to_cart_button:hover{
  transform:translateY(-1px);
  filter:brightness(.98);
}
body.single-product .product_meta{
  margin-top:22px;
  padding:18px 20px;
  border-radius:16px;
  background:#fff9fc;
  color:#6e6570;
  line-height:2;
}
body.single-product .product_meta > span{display:block}
body.single-product .product_meta a{color:#8d4b9e;text-decoration:none}

/* Tabs */
body.single-product .woocommerce-tabs{
  clear:both;
  padding-top:42px;
}
body.single-product .woocommerce-tabs ul.tabs{
  display:flex;
  gap:8px;
  padding:0 !important;
  margin:0 0 22px !important;
  border-bottom:1px solid #eee3ec;
}
body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after{display:none !important}
body.single-product .woocommerce-tabs ul.tabs li{
  border:0 !important;
  background:#faf6f9 !important;
  border-radius:13px 13px 0 0 !important;
  margin:0 !important;
  padding:0 !important;
}
body.single-product .woocommerce-tabs ul.tabs li a{
  padding:13px 20px !important;
  color:#63546a !important;
  font-weight:700 !important;
}
body.single-product .woocommerce-tabs ul.tabs li.active{
  background:linear-gradient(90deg,#f7e8f2,#f3e9fa) !important;
}
body.single-product .woocommerce-tabs .panel{
  margin:0 !important;
  padding:28px 30px !important;
  border:1px solid #f0e6ed;
  border-radius:20px;
  background:#fff;
  color:#554f57;
  line-height:2.1;
}
body.single-product .woocommerce-tabs .panel h2,
body.single-product .woocommerce-tabs .panel h3{
  color:#53345e;
  line-height:1.7;
}

/* Related products */
body.single-product .related.products{
  clear:both;
  padding-top:44px;
}
body.single-product .related.products > h2{
  color:#4d3157;
  font-size:28px;
  margin:0 0 24px;
}
body.single-product .related.products ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}
body.single-product .related.products ul.products li.product{
  width:auto !important;
  margin:0 !important;
  float:none !important;
  display:flex;
  flex-direction:column;
  padding:18px !important;
  border:1px solid #f0e5ed;
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 32px rgba(88,49,93,.05);
}
body.single-product .related.products li.product img{
  aspect-ratio:1/1;
  object-fit:contain;
  border-radius:16px;
  background:#fffafd;
  margin-bottom:14px !important;
}
body.single-product .related.products .woocommerce-loop-product__title{
  color:#46394a;
  font-size:15px !important;
  line-height:1.9;
  min-height:58px;
}
body.single-product .related.products .price{
  color:#d24e8c !important;
  font-weight:800 !important;
  margin-top:auto !important;
}
body.single-product .related.products .button{
  display:block;
  text-align:center;
  margin-top:14px !important;
  padding:12px 10px !important;
  border-radius:13px !important;
  color:#fff !important;
  background:linear-gradient(90deg,#df68a6,#a953c7) !important;
}

/* Remove oversized default whitespace caused by floated Woo blocks */
body.single-product .woocommerce-notices-wrapper:empty{display:none}
body.single-product div.product .woocommerce-tabs,
body.single-product div.product .related.products{width:100%}

/* Tablet */
@media (max-width: 980px){
  body.single-product div.product{padding:22px}
  body.single-product div.product div.images,
  body.single-product div.product div.summary{
    float:none !important;
    width:100% !important;
  }
  body.single-product .woocommerce-product-gallery__wrapper{min-height:390px}
  body.single-product .related.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Mobile */
@media (max-width: 640px){
  body.single-product .mt-woo-main{padding:18px 0 34px}
  body.single-product div.product{padding:14px;border-radius:20px}
  body.single-product div.product div.images{padding:4px}
  body.single-product div.product div.summary{padding:22px 8px 8px}
  body.single-product .woocommerce-product-gallery__wrapper{min-height:310px}
  body.single-product .woocommerce-product-gallery__image img{max-height:380px}
  body.single-product .product_title{font-size:25px}
  body.single-product form.cart{align-items:stretch}
  body.single-product .single_add_to_cart_button{flex:1;padding:0 14px !important}
  body.single-product .woocommerce-tabs ul.tabs{overflow-x:auto;white-space:nowrap}
  body.single-product .woocommerce-tabs .panel{padding:20px 16px !important}
  body.single-product .related.products ul.products{grid-template-columns:1fr}
}
