/* PRAASIA Shops V15.25: full-width shop pages and trade-contact assistant.
   A single scoped stylesheet shared by shop_index.php and shop_product.php.
   The original 3-column layout, business logic, and member contact privileges remain unchanged. */
@media (min-width:1024px) {
  body.ps-shop-home .psi-shell,
  body.ps-shop-home .psi-account-bar,
  body.ps-shop-home .psi-footer {
    width:calc(100% - 32px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.ps-v157-page.pra-v154-product .pra-product-shell {
    display:block!important;
    width:calc(100% - 32px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.ps-v157-page .pra-shops-lang-bar,
  body.ps-v157-page .ps-page-footer {
    width:calc(100% - 32px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}
/* Give the product columns full available width without letting children cause overflow. */
body.ps-v157-page .pra-product-shell,
body.ps-v157-page .pra-product-shell :is(.ps-main-column,.ps-side-column,.ps-info-layout,.ps-section,.ps-hero,.ps-shop-cover) {
  min-width:0;
}
body.ps-v157-page .pra-product-shell img {max-width:100%;}
/* Shared label/value display on the shop homepage. */
body.ps-shop-home .psi-data-row .psi-contact-id {overflow-wrap:anywhere;word-break:break-word;}
body.ps-shop-home .psi-trade-assistant {background:#38271c;color:#f0ddbd;}
body.ps-shop-home .psi-trade-assistant .psi-heading {background:#493221;color:#f6dfae;}
body.ps-shop-home .psi-assistant-body {padding:13px;display:grid;gap:12px;min-width:0;}
body.ps-shop-home .psi-assistant-intro,
body.ps-shop-home .psi-assistant-note,
body.ps-shop-home .psi-assistant-empty {margin:0;color:#e8d1ae;font-size:12px;line-height:1.65;overflow-wrap:anywhere;}
body.ps-shop-home .psi-assistant-contact {
 display:flex;align-items:center;gap:9px;padding:10px;
 min-width:0;background:#2a1b12;border:1px solid #745638;border-radius:11px;
}
body.ps-shop-home .psi-assistant-icon {display:grid;place-items:center;flex:none;width:35px;height:35px;border-radius:10px;font-size:19px;}
body.ps-shop-home .psi-assistant-icon.is-line {background:#e5f5e4;color:#26713c;}
body.ps-shop-home .psi-assistant-icon.is-wechat {background:#e6f0dd;color:#45832e;}
body.ps-shop-home .psi-assistant-contact-value {min-width:0;flex:1 1 auto;}
body.ps-shop-home .psi-assistant-contact-value small {display:block;font-size:11px;color:#d9b985;}
body.ps-shop-home .psi-assistant-contact-value strong {display:block;font-size:13px;color:#fff1d5;overflow-wrap:anywhere;}
body.ps-shop-home .psi-assistant-actions {display:flex;align-items:center;gap:5px;flex:none;}
body.ps-shop-home .psi-assistant-action {
 display:grid;place-items:center;min-width:33px;height:34px;padding:0 5px;
 border:1px solid #a98148;border-radius:8px;background:#604327;color:#fff0d3;
 font-size:15px;cursor:pointer;text-decoration:none;
}
body.ps-shop-home .psi-assistant-action:hover,
body.ps-shop-home .psi-assistant-action:focus-visible {color:#fff;background:#865b2e;outline:2px solid #e6b86d;outline-offset:1px;}
body.ps-shop-home .psi-assistant-message {
 display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;
 padding:8px 12px;border:1px solid #e4b76a;border-radius:9px;
 background:linear-gradient(180deg,#edcf93,#c29348);color:#39230e!important;
 font-weight:700;font-size:13px;text-decoration:none!important;
}
body.ps-shop-home .psi-assistant-message:hover {background:#f8dfaa;}
body.ps-shop-home .psi-assistant-note {border-top:1px solid #735538;padding-top:10px;color:#c9b18f;font-size:11px;}
@media (max-width:690px) {
  body.ps-shop-home .psi-assistant-body {padding:12px;}
}

/* Standalone Shops pages that still have a 1000px shell. */
@media (min-width:1024px) {
  body.pra-v154-ad .ad-shell,
  body.pra-v154-tarad .tarad-shell {
    width:calc(100% - 32px)!important;max-width:none!important;
    margin-left:auto!important;margin-right:auto!important;
  }
  body.pra-v154-ad .ad-wrap {width:calc(100% - 36px)!important;max-width:none!important;}
}
body.pra-v154-ad .ad-shell img,body.pra-v154-tarad .tarad-shell img {max-width:100%;height:auto;}

body.ps-v157-page .ps-shop-social-id {overflow-wrap:anywhere;word-break:break-word;}
