/* MessageCard Boutique v3.5.1 — visual clean-up for product pages.
   Designed for v3.5 reviewed template. Scoped to #productGeneral.
   Does not touch checkout, pricing, cart, or product options. */

/* Category is already in breadcrumbs: remove duplicate icon and tiny thumbnail. */
body.tpl_messagecard #productGeneral #categoryIcon{display:none!important}

/* No photo in product data: replace Zen Cart's "NO PICTURE AVAILABLE"
   with a neutral branded placeholder; never pretend a mock image is the product. */
body.tpl_messagecard #productGeneral #pinfo-left .mc-pdp-image-placeholder{
  width:100%;min-height:440px;padding:36px 24px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:10px;text-align:center;background:#fffcfa;
  border:1px dashed #dccbc0;border-radius:10px;color:#7a6057;
}
/* Older v2.1 CSS draws its own empty-gallery :after; suppress duplication. */
body.tpl_messagecard #productGeneral #pinfo-left:has(.mc-pdp-image-placeholder):not(:has(#productMainImage))::after{
  display:none!important;content:none!important;
}
body.tpl_messagecard #productGeneral .mc-pdp-placeholder-symbol{
  display:flex;align-items:center;justify-content:center;width:60px;height:60px;
  color:#bb8f7b;background:#f5eae3;border-radius:50%;
  font:400 34px/1 'Yu Mincho',serif;margin-bottom:10px;
}
body.tpl_messagecard #productGeneral .mc-pdp-image-placeholder strong{
  font-size:16px;font-weight:600;letter-spacing:.07em;color:#6d5047;
}
body.tpl_messagecard #productGeneral .mc-pdp-image-placeholder>span:last-child{
  font-size:12px;line-height:1.7;color:#9a8479;
}

/* Restyle link contents using HTML text so no legacy blue GIF buttons appear. */
body.tpl_messagecard #productGeneral #productQuestions{
  display:block!important;float:none!important;margin:22px 0 0!important;padding:0!important;
}
body.tpl_messagecard #productGeneral a.mc-pdp-action,
body.tpl_messagecard #productGeneral #productReviewLink a{
  display:inline-flex!important;align-items:center;justify-content:space-between;
  gap:18px;float:none!important;width:auto!important;max-width:100%;
  min-height:46px;padding:10px 20px!important;
  border:1px solid #b98e80;border-radius:999px;
  background:#fffaf7!important;color:#82594e!important;
  font-size:13px!important;line-height:1.5;font-weight:600;
  text-align:center;text-decoration:none!important;box-shadow:none!important;
  transition:background-color .2s ease, border-color .2s ease;
}
body.tpl_messagecard #productGeneral a.mc-pdp-action:hover,
body.tpl_messagecard #productGeneral #productReviewLink a:hover{
  color:#674338!important;background:#f4e9e1!important;border-color:#936354;
  text-decoration:none!important;
}
body.tpl_messagecard #productGeneral #productReviewLink{
  float:none!important;clear:both!important;display:block!important;
  width:100%!important;margin:36px 0 12px!important;
  padding:24px 0 0!important;border-top:1px solid #eadfd7;
  background:transparent!important;text-align:left!important;
}
body.tpl_messagecard #productGeneral #productReviewLink a{
  display:inline-flex!important;background:#fff!important;
}
body.tpl_messagecard #productGeneral #productReviewLink .mc-pdp-action{
  border:0!important;background:none!important;color:inherit!important;
  min-height:0!important;padding:0!important;font:inherit!important;
  display:inline-flex;align-items:center;gap:18px;
}
body.tpl_messagecard #productGeneral #productReviewLink + br.clearBoth{display:none!important}

/* The date-added stamp is admin/catalog metadata, not a purchase decision aid. */
body.tpl_messagecard #productGeneral #productDateAdded{
  display:none!important;
}

/* Keep labels and photos free from inherited global stretching. */
body.tpl_messagecard #productGeneral #productQuestions a img,
body.tpl_messagecard #productGeneral #productReviewLink img{width:auto!important;max-width:100%;height:auto!important}

@media(max-width:700px){
  body.tpl_messagecard #productGeneral #pinfo-left .mc-pdp-image-placeholder{min-height:280px;padding:28px 15px}
  body.tpl_messagecard #productGeneral #productQuestions a.mc-pdp-action{width:100%!important;justify-content:center}
  body.tpl_messagecard #productGeneral #productReviewLink{margin-top:24px!important;padding-top:18px!important}
  body.tpl_messagecard #productGeneral #productReviewLink a{width:100%!important;justify-content:center}
}
@media(prefers-reduced-motion:reduce){
  body.tpl_messagecard #productGeneral a.mc-pdp-action,
  body.tpl_messagecard #productGeneral #productReviewLink a{transition:none!important}
}
