/**
 * MessageCard Boutique v3.7.7 — ONLY the missing-product page.
 * No product listing, product detail, cart, database or new_products.php changes.
 */
body.tpl_messagecard #contentMainWrapper:has(#productInfoNoProduct) {
  width:100%!important;max-width:100%!important;
}
body.tpl_messagecard #contentMainWrapper > div:has(> #productInfoNoProduct) {
  float:none!important;clear:both!important;display:block!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  padding:0!important;margin:0 auto!important;
}
body.tpl_messagecard #productInfoNoProduct {
  box-sizing:border-box;clear:both;float:none!important;
  max-width:1140px;width:100%!important;min-width:0;
  margin:0 auto!important;padding:35px 22px 78px!important;
  color:#58483e;font-family:inherit;
}
body.tpl_messagecard #productInfoNoProduct *,
body.tpl_messagecard #productInfoNoProduct *::before,
body.tpl_messagecard #productInfoNoProduct *::after {box-sizing:border-box}
body.tpl_messagecard #productInfoNoProduct .mc377-not-found {
  width:100%;max-width:940px;margin:0 auto 62px;
  padding:42px 28px 48px;border:1px solid #eadbd2;border-radius:19px;
  background:linear-gradient(150deg,#fffdfb,#faf5f1);
  text-align:center;box-shadow:0 10px 30px rgba(91,66,54,.04);
}
body.tpl_messagecard #productInfoNoProduct .mc377-eyebrow {
  display:block;color:#b98b79;letter-spacing:.2em;
  font:700 11px/1.5 Georgia,serif;
}
body.tpl_messagecard #productInfoNoProduct .mc377-symbol {
  display:grid;place-items:center;width:58px;height:58px;
  border-radius:50%;margin:17px auto 18px;
  background:#f2e7df;color:#a97667;font:400 34px/1 Georgia,serif;
}
body.tpl_messagecard #productInfoNoProduct .mc377-not-found h1 {
  margin:0 auto 17px!important;padding:0!important;
  color:#5e463d;font:500 clamp(20px,2.6vw,29px)/1.65 'Yu Mincho','Hiragino Mincho ProN',serif!important;
  letter-spacing:.025em;text-wrap:balance;
}
body.tpl_messagecard #productInfoNoProduct .mc377-not-found p {
  margin:0 auto 27px!important;padding:0!important;
  color:#80736b;font-size:13px;font-weight:400;line-height:2.05;
  overflow-wrap:anywhere;
}
body.tpl_messagecard #productInfoNoProduct .mc377-actions {
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:11px;
}
body.tpl_messagecard #productInfoNoProduct .mc377-actions a {
  min-height:48px;padding:12px 22px;display:inline-flex;align-items:center;justify-content:center;
  gap:13px;border-radius:999px;font-size:13px;font-weight:700;
  text-align:center;line-height:1.55;text-decoration:none!important;
  transition:background .2s ease,transform .2s ease;
}
body.tpl_messagecard #productInfoNoProduct .mc377-actions a:hover {transform:translateY(-1px)}
body.tpl_messagecard #productInfoNoProduct .mc377-action-primary {
  color:#fff!important;background:#96675b!important;border:1px solid #96675b!important;
}
body.tpl_messagecard #productInfoNoProduct .mc377-action-primary:hover {
  background:#795045!important;border-color:#795045!important;
}
body.tpl_messagecard #productInfoNoProduct .mc377-action-secondary {
  color:#77564b!important;background:#fff!important;border:1px solid #d8beb1!important;
}
body.tpl_messagecard #productInfoNoProduct .mc377-action-secondary:hover {background:#f7ede7!important}
body.tpl_messagecard #productInfoNoProduct a:focus-visible {
  outline:3px solid #b9856f;outline-offset:3px;
}
/* Native Zen Cart new products module. All selectors scoped to THIS page. */
body.tpl_messagecard #productInfoNoProduct #whatsNew {
  display:block!important;clear:both!important;float:none!important;
  width:100%!important;max-width:1080px!important;
  margin:0 auto!important;padding:0 0 26px!important;
  border:none!important;box-shadow:none!important;background:transparent!important;
}
body.tpl_messagecard #productInfoNoProduct #whatsNew > div {display:block!important;width:100%!important}
body.tpl_messagecard #productInfoNoProduct #whatsNew .centerBoxHeading {
  display:block!important;float:none!important;width:100%!important;
  margin:0 auto 26px!important;padding:0 0 3px!important;
  border:0!important;background:transparent!important;
  font:500 clamp(22px,2.5vw,29px)/1.6 'Yu Mincho','Hiragino Mincho ProN',serif!important;
  text-align:center!important;color:#59463d!important;
}
body.tpl_messagecard #productInfoNoProduct #whatsNew .centerBoxHeading::before {
  content:'NEW ARRIVALS';display:block;margin-bottom:4px;
  color:#b88977;font:700 10px/1.6 Georgia,serif;letter-spacing:.2em;
}
/* Template default emits multiple .row wrappers, often 1 product per row.
   display:contents flattens them into a single responsive grid. */
body.tpl_messagecard #productInfoNoProduct #whatsNew > div > div:last-child {
  display:grid!important;width:100%!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:stretch!important;gap:18px!important;
  margin:0!important;padding:0!important;
}
body.tpl_messagecard #productInfoNoProduct #whatsNew > div > div:last-child > div {
  display:contents!important;float:none!important;
}
body.tpl_messagecard #productInfoNoProduct #whatsNew > div > div:last-child > br {display:none!important}
body.tpl_messagecard #productInfoNoProduct #whatsNew .centerBoxContentsNew {
  width:100%!important;min-width:0!important;max-width:none!important;
  height:100%!important;min-height:0!important;float:none!important;clear:none!important;
  margin:0!important;padding:12px 12px 17px!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  border:1px solid #eadfd9!important;border-radius:13px!important;
  background:#fff!important;color:#96675b!important;
  box-shadow:0 5px 17px rgba(76,55,45,.045)!important;text-align:center!important;
  font-size:14px!important;line-height:1.7!important;
  transition:transform .2s,box-shadow .2s;
}
body.tpl_messagecard #productInfoNoProduct #whatsNew .centerBoxContentsNew:hover {
  transform:translateY(-2px);box-shadow:0 11px 24px rgba(76,55,45,.09)!important;
}
body.tpl_messagecard #productInfoNoProduct #whatsNew .centerBoxContentsNew > br {display:none!important}
body.tpl_messagecard #productInfoNoProduct #whatsNew .centerBoxContentsNew > a:has(img) {
  display:flex!important;align-items:center;justify-content:center;
  width:100%!important;height:auto!important;aspect-ratio:1/1;
  margin:0 0 13px!important;padding:6px!important;
  border-radius:9px!important;overflow:hidden;
  background:#f5efeb!important;text-decoration:none!important;
}
body.tpl_messagecard #productInfoNoProduct #whatsNew .centerBoxContentsNew > a > img {
  display:block!important;float:none!important;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;object-fit:contain!important;
  margin:0!important;padding:0!important;border:0!important;
}
body.tpl_messagecard #productInfoNoProduct #whatsNew .centerBoxContentsNew > a:not(:has(img)) {
  margin:0 0 10px!important;min-height:2.9em!important;
  display:block!important;color:#5b473e!important;
  font:600 13px/1.65 'Yu Mincho','Hiragino Mincho ProN',serif!important;
  text-decoration:none!important;overflow-wrap:anywhere;
}
body.tpl_messagecard #productInfoNoProduct #whatsNew .centerBoxContentsNew > a:not(:has(img)):hover {
  color:#a06a5c!important;text-decoration:underline!important;
}
body.tpl_messagecard #productInfoNoProduct #whatsNew .centerBoxContentsNew .productBasePrice,
body.tpl_messagecard #productInfoNoProduct #whatsNew .centerBoxContentsNew .productSpecialPrice,
body.tpl_messagecard #productInfoNoProduct #whatsNew .centerBoxContentsNew .normalprice,
body.tpl_messagecard #productInfoNoProduct #whatsNew .centerBoxContentsNew .productPriceDiscount {
  color:#98675a!important;font-weight:700!important;font-size:14px!important;
}
@media (max-width:950px){
  body.tpl_messagecard #productInfoNoProduct #whatsNew > div > div:last-child {
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media (max-width:680px){
  body.tpl_messagecard #productInfoNoProduct {padding:18px 15px 55px!important}
  body.tpl_messagecard #productInfoNoProduct .mc377-not-found {
    margin-bottom:49px;padding:35px 17px 34px;border-radius:15px;
  }
  body.tpl_messagecard #productInfoNoProduct .mc377-not-found p {font-size:12px!important}
  body.tpl_messagecard #productInfoNoProduct .mc377-not-found p br {display:none}
  body.tpl_messagecard #productInfoNoProduct .mc377-actions {flex-direction:column;gap:9px}
  body.tpl_messagecard #productInfoNoProduct .mc377-actions a {width:100%!important;max-width:330px!important}
  body.tpl_messagecard #productInfoNoProduct #whatsNew > div > div:last-child {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;
  }
  body.tpl_messagecard #productInfoNoProduct #whatsNew .centerBoxContentsNew {
    padding:9px 9px 13px!important;border-radius:10px!important;
  }
  body.tpl_messagecard #productInfoNoProduct #whatsNew .centerBoxContentsNew > a:not(:has(img)) {
    font-size:12px!important;min-height:3.3em!important;
  }
}
@media (max-width:340px){
  body.tpl_messagecard #productInfoNoProduct {padding-left:10px!important;padding-right:10px!important}
  body.tpl_messagecard #productInfoNoProduct #whatsNew > div > div:last-child {gap:9px!important}
}
@media (prefers-reduced-motion:reduce){
  body.tpl_messagecard #productInfoNoProduct #whatsNew *,
  body.tpl_messagecard #productInfoNoProduct .mc377-actions a {transition:none!important}
}
