
/* MiaTrust Stage 6.2.2 — Product polish */

/* Dark MiaTrust purple instead of navy/charcoal on product-page headings */
body.single-product .product_title,
body.single-product .woocommerce-tabs .panel h2,
body.single-product .woocommerce-tabs .panel h3,
body.single-product .woocommerce-tabs .panel h4,
body.single-product .related.products > h2,
body.single-product .related.products .woocommerce-loop-product__title {
    color:#573160 !important;
}

/* Supporting text: warm dark purple-gray rather than cold navy */
body.single-product .woocommerce-product-details__short-description,
body.single-product .woocommerce-tabs .panel,
body.single-product .product_meta {
    color:#625365;
}

/* Keep price/CTA in MiaTrust pink-purple family */
body.single-product div.product p.price,
body.single-product .related.products .price {
    color:#d24e8c !important;
}

/* Gallery thumbnail: make it a deliberate small selector below the main image */
body.single-product .flex-control-thumbs{
    display:flex !important;
    justify-content:center !important;
    align-items:center;
    gap:10px;
    margin:12px auto 0 !important;
    padding:0 !important;
}
body.single-product .flex-control-thumbs li{
    width:62px !important;
    height:72px !important;
    margin:0 !important;
    padding:4px !important;
    border:1px solid #eadce7 !important;
    border-radius:12px !important;
    background:#fff !important;
    overflow:hidden !important;
}
body.single-product .flex-control-thumbs li img{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    margin:0 !important;
}

/* If Woo renders gallery images beyond the main slide before its gallery JS finishes,
   prevent those images from appearing in the sales-copy column. */
body.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child){
    max-width:72px;
    margin:10px auto 0;
}


/* MiaTrust Stage 10A — Product conversion helper */
body.single-product .mt-product-help{
    margin:18px 0 0;
    padding:0;
}
body.single-product .mt-product-help-main{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:12px;
    padding:14px 15px;
    border:1px solid rgba(166,91,166,.14);
    border-radius:16px;
    background:linear-gradient(135deg,#fffafd,#fbf4fd);
}
body.single-product .mt-product-help-icon{
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    border-radius:13px;
    background:linear-gradient(135deg,#f5dfea,#eee3f8);
    color:#7e4b89;
    font-size:17px;
}
body.single-product .mt-product-help-main strong,
body.single-product .mt-product-help-main small{
    display:block;
}
body.single-product .mt-product-help-main strong{
    color:#5b3b63;
    font-size:12px;
    margin-bottom:3px;
}
body.single-product .mt-product-help-main small{
    color:#857789;
    font-size:10.5px;
    line-height:1.8;
}
body.single-product .mt-product-help-main > a{
    white-space:nowrap;
    padding:9px 12px;
    border-radius:999px;
    background:#fff;
    border:1px solid rgba(155,83,160,.18);
    color:#894e91 !important;
    font-size:10.5px;
    font-weight:900;
    text-decoration:none;
}
body.single-product .mt-product-help-main > a:hover{
    background:#fbf3fc;
}
body.single-product .mt-product-assurance{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:9px;
}
body.single-product .mt-product-assurance span,
body.single-product .mt-product-assurance a{
    padding:6px 9px;
    border-radius:999px;
    background:#faf7fb;
    color:#7c6e80 !important;
    font-size:9.5px;
    text-decoration:none;
}
@media(max-width:640px){
    body.single-product .mt-product-help-main{
        grid-template-columns:auto minmax(0,1fr);
    }
    body.single-product .mt-product-help-main > a{
        grid-column:1 / -1;
        width:100%;
        text-align:center;
    }
}


/* MiaTrust Stage 10B — Single Product mobile polish */
body.single-product .woocommerce-product-details__short-description p:first-child{margin-top:0}
body.single-product .woocommerce-product-details__short-description p:last-child{margin-bottom:0}
body.single-product form.cart .quantity{flex:0 0 auto}
body.single-product .single_add_to_cart_button{flex:1 1 auto}
body.single-product .woocommerce-variation-price{margin:8px 0 12px}
body.single-product p.stock{margin:8px 0 12px;color:#6d5f71;font-size:12px}
body.single-product p.stock.out-of-stock{color:#a65e72}
body.single-product .related.products li.product{overflow:hidden;padding:0 0 14px!important}
body.single-product .related.products li.product img{width:100%!important;height:210px!important;padding:14px!important;margin:0 0 8px!important;object-fit:contain!important;border-radius:0!important}
body.single-product .related.products .woocommerce-loop-product__title,body.single-product .related.products .price{padding-left:13px!important;padding-right:13px!important}
body.single-product .related.products .button{margin:10px 13px 0!important}
@media(max-width:640px){
  body.single-product .mt-woo-main{padding:10px 0 28px!important}
  body.single-product .mt-woo-content > .product{padding:11px!important;border-radius:18px!important}
  body.single-product .woocommerce-product-gallery__wrapper{border-radius:17px!important}
  body.single-product .woocommerce-product-gallery__image{min-height:260px!important}
  body.single-product .woocommerce-product-gallery__image img{max-height:300px!important}
  body.single-product div.product div.summary{padding:15px 4px 4px!important}
  body.single-product .product_title{font-size:22px!important;line-height:1.6!important;margin-bottom:8px!important}
  body.single-product div.product p.price{font-size:20px!important;margin-bottom:11px!important}
  body.single-product .woocommerce-product-details__short-description{font-size:13.5px!important;line-height:1.95!important;margin-bottom:12px!important}
  body.single-product form.cart{display:grid!important;grid-template-columns:68px minmax(0,1fr);gap:9px!important;padding:13px 0 15px!important}
  body.single-product form.cart .quantity{width:68px}
  body.single-product .quantity .qty{width:68px!important;min-height:46px!important}
  body.single-product .single_add_to_cart_button{min-height:46px!important;width:100%!important;padding:0 10px!important;border-radius:13px!important;font-size:12px!important}
  body.single-product .product_meta{margin-top:12px!important;padding:11px 13px!important;font-size:11px}
  body.single-product .woocommerce-tabs{padding-top:18px!important}
  body.single-product .woocommerce-tabs ul.tabs li a{padding:10px 13px!important;font-size:11px!important}
  body.single-product .woocommerce-tabs .panel{padding:16px 13px!important;font-size:13px;line-height:2!important;border-radius:15px!important}
  body.single-product .related.products{padding-top:25px!important}
  body.single-product .related.products > h2{font-size:21px!important;margin-bottom:14px!important}
  body.single-product .related.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body.single-product .related.products li.product{padding-bottom:10px!important;border-radius:16px!important}
  body.single-product .related.products li.product img{height:145px!important;padding:8px!important}
  body.single-product .related.products .woocommerce-loop-product__title{min-height:51px!important;font-size:10.8px!important;line-height:1.75!important;padding:7px 8px 2px!important}
  body.single-product .related.products .price{padding:0 8px!important;font-size:11px!important}
  body.single-product .related.products .button{margin:7px 8px 0!important;padding:8px 5px!important;font-size:9.5px!important}
}
@media(max-width:380px){body.single-product .related.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.single-product .related.products li.product img{height:132px!important}}
