/* Mahnoor L Manal product-page visual system – scoped to plugin */
.khypro{--khy-red:#c51e59;--tt-plum:#94123e;--tt-baby:#fce2ea;--tt-border:#f0c5d2;--tt-text:#17212d;--tt-heading:42px;--tt-radius:12px;--tt-font:Poppins;background:#fff!important;color:var(--tt-text)!important;font-family:var(--tt-font),Arial,sans-serif!important}
.khypro .khypro-inner{padding-top:26px}
.khypro .khypro-name{color:var(--tt-plum)!important;font-size:clamp(34px,3.25vw,min(60px,calc(var(--tt-heading) + 6px)))!important;font-style:normal!important;font-weight:800!important;text-transform:none!important;letter-spacing:-.7px!important;line-height:1.13!important}
.khypro .khypro-price{font-size:36px!important;line-height:1.25!important}
.khypro .khypro-description{font-size:16px!important;line-height:1.55!important}
.khypro .khypro-type{font-size:15px!important;line-height:1.5!important}
.khypro .khypro-buy,.khypro .khypro-details{color:var(--tt-text)}
.khypro .khypro-breadcrumb,.khypro .khypro-description,.khypro .khypro-type{color:var(--tt-text)}
.khypro .khypro-price,.khypro .khypro-price ins{color:var(--khy-red)!important}
.khypro .khypro-eyebrow,.khypro .khypro-section-title{color:var(--tt-plum)!important}
.khypro .khypro-hero-photo,.khypro .khypro-thumb{background:var(--tt-baby)!important;border-radius:18px!important}
.khypro .khypro-hero-photo>img{border-radius:18px}
.khypro .khypro-tag{border-radius:16px!important}
.khypro .khypro-gallery-btn,.khypro .khypro-zoom{background:var(--tt-plum)!important;border:0!important;border-radius:50%!important}
.khypro .khypro-thumbs{gap:12px;margin-top:14px}
.khypro .khypro-native-cart select,.khypro .khypro-native-cart input.qty{border:1px solid var(--tt-border)!important;background:#fff!important;color:var(--tt-text)!important;border-radius:12px!important}
.khypro .khypro-native-cart .single_add_to_cart_button,.khypro .khypro-visit-product,.khypro .khypro-reviews-section #review_form input[type=submit]{background:var(--khy-red)!important;border-radius:var(--tt-radius)!important;border:0!important;color:#fff!important;font-weight:700!important;text-transform:none!important;box-shadow:0 6px 18px rgba(197,30,89,.13)!important}
.khypro .khypro-native-cart form.cart .khypro-inside-buy{background:var(--tt-plum)!important;border:0!important;border-radius:var(--tt-radius)!important;box-shadow:none!important;font-weight:700!important;text-transform:none!important}
.khypro .khypro-native-cart form.cart .khypro-inside-buy:hover{background:var(--tt-plum)!important}
.khypro .khypro-native-cart .single_add_to_cart_button:hover{filter:brightness(.93)}
.khypro .khypro-trust.khypro-trust-compact{background:var(--tt-baby)!important;border:1px solid var(--tt-border)!important;border-radius:16px!important}
.khypro .khypro-trust.khypro-trust-compact .khypro-trust-item{background:var(--tt-baby)!important;border-color:var(--tt-border)!important}
.khypro .khypro-trust.khypro-trust-compact .khypro-trust-item strong{color:var(--tt-plum)!important}
.khypro .khypro-trust.khypro-trust-compact .khypro-trust-item small{color:var(--tt-text)!important}
.khypro .khypro-benefits h2,.khypro .khypro-specs h2,.khypro .khypro-delivery h2,.khypro .khypro-faq h2,.khypro .khypro-reviews-section>h2,.khypro .khypro-related h2{color:var(--tt-plum)!important;font-style:normal!important;text-transform:none!important;font-weight:800!important;letter-spacing:-.6px!important}
.khypro .khypro-benefit-grid article{background:var(--tt-baby)!important;border:1px solid var(--tt-border);border-radius:16px!important}
.khypro .khypro-benefit-grid h3{color:var(--tt-plum)!important}
.khypro .khypro-benefit-grid p,.khypro .khypro-benefits>p,.khypro .khypro-specs>div>p{color:var(--tt-text)!important}
.khypro .khypro-delivery{background:var(--tt-baby)!important;border:1px solid var(--tt-border)!important;border-radius:18px;color:var(--tt-text)!important}
.khypro .khypro-delivery p,.khypro .khypro-delivery-grid p{color:var(--tt-text)!important}
.khypro .khypro-delivery a{color:var(--tt-plum)!important}
.khypro .khypro-delivery-grid b{color:var(--tt-plum)}
.khypro .khypro-faq details{border-color:var(--tt-border)}
.khypro .khypro-faq summary{color:var(--tt-plum);text-transform:none!important}
.khypro .khypro-faq details p{color:var(--tt-text)}
.khypro .khypro-reviews-section{background:#fff!important;border:1px solid var(--tt-border)!important;border-radius:18px!important}
.khypro .khypro-review-overview,.khypro .khypro-review-info,.khypro .khypro-reviews-section .comment-form-khypro-photo{background:var(--tt-baby)!important;border-color:var(--tt-border)!important;border-radius:12px!important}
.khypro .khypro-reviews-section #comments h2,.khypro .khypro-reviews-section #review_form h3{color:var(--tt-plum)!important}
.khypro .khypro-reviews-section #review_form textarea,.khypro .khypro-reviews-section #review_form input[type=text],.khypro .khypro-reviews-section #review_form input[type=email],.khypro .khypro-reviews-section #review_form select{border-color:var(--tt-border)!important;border-radius:12px!important}
.khypro .khypro-reviews-section .comment-form-khypro-photo input[type=file]::file-selector-button{background:var(--tt-plum)!important;border-radius:10px!important}
.khypro .khypro-editorial{background:var(--tt-baby)!important;color:var(--tt-plum)!important;border-radius:18px;overflow:hidden}
.khypro .khypro-editorial h2{color:var(--tt-plum)!important;font-style:normal!important;text-transform:none!important}
.khypro .khypro-editorial p{color:var(--tt-text)!important}
.khypro .khypro-related ul.products li.product{background:white!important;border:1px solid var(--tt-border)!important;border-radius:16px!important;overflow:hidden}
.khypro .khypro-related ul.products li.product .button{background:var(--khy-red)!important;border-radius:var(--tt-radius)!important;color:white!important}
.khypro a:focus-visible,.khypro button:focus-visible,.khypro input:focus-visible,.khypro select:focus-visible{outline:2px solid var(--khy-red)!important;outline-offset:2px}
@media(max-width:650px){.khypro .khypro-inner{padding-left:14px;padding-right:14px}.khypro .khypro-name{font-size:clamp(30px,8vw,min(54px,calc(var(--tt-heading) + 6px)))!important}.khypro .khypro-price{font-size:32px!important}.khypro .khypro-description{font-size:16px!important}.khypro .khypro-hero-photo{border-radius:12px!important}.khypro .khypro-delivery{padding:22px 16px!important}}

/* v3.7 fixes: circular media controls, smoother gallery, related product fallback styling */
.khypro .khypro-gallery-btn,
.khypro .khypro-zoom{
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  min-height:52px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  aspect-ratio:1/1;
  line-height:1!important;
  text-align:center!important;
  box-shadow:0 8px 20px rgba(148,18,62,.18)!important;
  z-index:4!important;
}
.khypro .khypro-gallery-btn{font-size:22px!important;}
.khypro .khypro-zoom{font-size:20px!important;}
.khypro .khypro-hero-photo{overflow:hidden;position:relative;}
.khypro .khypro-thumbs{scroll-behavior:smooth;}
.khypro .khypro-related-empty{
  background:#fff;
  border:1px dashed var(--tt-border);
  color:var(--tt-text);
  border-radius:16px;
  padding:18px;
}
@media(max-width:650px){
  .khypro .khypro-gallery-btn,
  .khypro .khypro-zoom{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
  }
}

/* v3.9.3: typography for native WooCommerce single-product layouts, outside .khypro. */
body.single-product.woocommerce div.product .summary .product_title{font-size:46px!important;line-height:1.15!important}
body.single-product.woocommerce div.product .summary p.price,
body.single-product.woocommerce div.product .summary span.price{font-size:24px!important;line-height:1.35!important}
body.single-product.woocommerce div.product .summary .woocommerce-product-details__short-description,
body.single-product.woocommerce div.product .summary .woocommerce-product-details__short-description p{font-size:18px!important;line-height:1.55!important}
body.single-product.woocommerce div.product .summary .product_meta{font-size:16px!important;line-height:1.5!important}
/* Enlarge only the quantity input; Add to Cart and Buy Now button boxes stay untouched. */
body.single-product.woocommerce div.product form.cart .quantity input.qty,
.khypro .khypro-native-cart .quantity input.qty{height:48px!important;min-height:48px!important;font-size:18px!important;line-height:1!important;box-sizing:border-box!important}
@media(max-width:650px){
  body.single-product.woocommerce div.product .summary .product_title{font-size:clamp(32px,8.5vw,40px)!important;line-height:1.16!important}
  body.single-product.woocommerce div.product .summary p.price,
  body.single-product.woocommerce div.product .summary span.price{font-size:22px!important}
  body.single-product.woocommerce div.product .summary .woocommerce-product-details__short-description,
  body.single-product.woocommerce div.product .summary .woocommerce-product-details__short-description p{font-size:17px!important}
}

/* v3.9.5 — matching full-width checkout controls, scoped to this plugin's Buy Now. */
body.single-product form.cart:not(.variations_form):has(> .khypro-buy-now-row),
.khypro .khypro-native-cart form.cart:not(.variations_form):has(> .khypro-buy-now-row){
  display:grid!important;
  grid-template-columns:minmax(110px,140px) minmax(0,1fr)!important;
  column-gap:10px!important;
  row-gap:10px!important;
  align-items:stretch!important;
  width:100%!important;
}
body.single-product form.cart:has(.khypro-buy-now-row) .woocommerce-variation-add-to-cart,
.khypro .khypro-native-cart form.cart:has(.khypro-buy-now-row) .woocommerce-variation-add-to-cart{
  display:grid!important;
  grid-template-columns:minmax(110px,140px) minmax(0,1fr)!important;
  gap:10px!important;
  width:100%!important;
  align-items:stretch!important;
}
body.single-product form.cart:has(.khypro-buy-now-row) .quantity,
.khypro .khypro-native-cart form.cart:has(.khypro-buy-now-row) .quantity{
  grid-column:1!important;
  float:none!important;
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:50px!important;
  min-height:50px!important;
  margin:0!important;
  padding:0!important;
}
body.single-product form.cart:has(.khypro-buy-now-row) .quantity input.qty,
.khypro .khypro-native-cart form.cart:has(.khypro-buy-now-row) .quantity input.qty{
  min-width:0!important;
  max-width:100%!important;
  height:50px!important;
  min-height:50px!important;
  flex:1 1 auto!important;
  text-align:center!important;
  margin:0!important;
}
body.single-product form.cart:has(.khypro-buy-now-row) .quantity button,
.khypro .khypro-native-cart form.cart:has(.khypro-buy-now-row) .quantity button{
  flex:0 0 40px!important;
  height:50px!important;
  margin:0!important;
}
body.single-product form.cart:has(.khypro-buy-now-row) .single_add_to_cart_button:not(.khypro-inside-buy),
.khypro .khypro-native-cart form.cart:has(.khypro-buy-now-row) .single_add_to_cart_button:not(.khypro-inside-buy){
  grid-column:2!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:50px!important;
  min-height:50px!important;
  padding:8px 14px!important;
  margin:0!important;
  border-radius:8px!important;
  font-size:15px!important;
  line-height:1.2!important;
  text-align:center!important;
}
body.single-product form.cart:has(.khypro-buy-now-row) .khypro-buy-now-row,
.khypro .khypro-native-cart form.cart:has(.khypro-buy-now-row) .khypro-buy-now-row{
  grid-column:1 / -1!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  clear:both!important;
}
body.single-product form.cart:has(.khypro-buy-now-row) .khypro-buy-now-row .khypro-inside-buy,
.khypro .khypro-native-cart form.cart:has(.khypro-buy-now-row) .khypro-buy-now-row .khypro-inside-buy{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:50px!important;
  min-height:50px!important;
  margin:0!important;
  padding:8px 14px!important;
  border:0!important;
  border-radius:8px!important;
  box-shadow:none!important;
  background:var(--khypro-buy-color,#94123e)!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:700!important;
  line-height:1.2!important;
  text-align:center!important;
}
/* Variable products: keep variation selectors and prices above the controls. */
body.single-product form.cart.variations_form:has(.khypro-buy-now-row) .variations,
body.single-product form.cart.variations_form:has(.khypro-buy-now-row) .single_variation_wrap,
body.single-product form.cart.variations_form:has(.khypro-buy-now-row) .single_variation{
  width:100%!important;
}
@media(max-width:480px){
  body.single-product form.cart:not(.variations_form):has(> .khypro-buy-now-row),
  body.single-product form.cart:has(.khypro-buy-now-row) .woocommerce-variation-add-to-cart,
  .khypro .khypro-native-cart form.cart:not(.variations_form):has(> .khypro-buy-now-row),
  .khypro .khypro-native-cart form.cart:has(.khypro-buy-now-row) .woocommerce-variation-add-to-cart{
    grid-template-columns:minmax(92px,112px) minmax(0,1fr)!important;
    gap:8px!important;
  }
}

/* v3.9.6: Add to Cart pink only — preserves existing layout and Buy Now colour. */
.khypro .khypro-native-cart form.cart .single_add_to_cart_button:not(.khypro-inside-buy),
body.single-product .khypro form.cart:has(.khypro-buy-now-row) .single_add_to_cart_button:not(.khypro-inside-buy){
  background-color:#e92c70!important;
  background-image:none!important;
  border-color:#e92c70!important;
  color:#ffffff!important;
}
.khypro .khypro-native-cart form.cart .single_add_to_cart_button:not(.khypro-inside-buy):hover,
body.single-product .khypro form.cart:has(.khypro-buy-now-row) .single_add_to_cart_button:not(.khypro-inside-buy):hover{
  background-color:#d71b60!important;
  border-color:#d71b60!important;
}
/* v3.9.7: related products use the homepage product cards */
.khypro .khypro-mml-related{margin-top:14px;font-family:Poppins,sans-serif}
.khypro .khypro-mml-related .mml-grid{max-width:none;gap:22px}
.khypro .khypro-mml-related a{text-decoration:none}
.khypro .khypro-mml-related img{max-width:100%}
@media(max-width:1100px) and (min-width:768px){.khypro .khypro-mml-related .mml-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(max-width:767px){.khypro .khypro-mml-related .mml-grid{gap:12px}}
