/* Praasia V15.16 — Shop home. One semantic shell, Classic Gold, no nested presentation tables. */
body.ps-shop-home {
  --psi-bg:#20130e; --psi-chocolate:#382519; --psi-deep:#271910;
  --psi-gold:#b88a4b; --psi-gold-light:#edc98b; --psi-cream:#fff9ef;
  --psi-paper:#fffdf8; --psi-ink:#37261a; --psi-muted:#705742; --psi-edge:#e6d5bd;
  margin:0; padding:0; min-width:0; overflow-x:clip;
  background:#20130e; color:#f5e6cb;
  font:14px/1.65 Tahoma,"Noto Sans Thai",Arial,sans-serif;
}
body.ps-shop-home *,body.ps-shop-home *::before,body.ps-shop-home *::after {box-sizing:border-box}
body.ps-shop-home img {max-width:100%;height:auto}
body.ps-shop-home button,body.ps-shop-home input,body.ps-shop-home textarea {font:inherit}
body.ps-shop-home a {text-decoration:none}
body.ps-shop-home :focus-visible {outline:3px solid #d5a75a;outline-offset:3px}
body.ps-shop-home .psi-sr-only {position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}
body.ps-shop-home .psi-shell {width:min(100%,1160px);max-width:1160px;margin:0 auto 28px;min-width:0;background:#38271c;border-inline:1px solid #765537;box-shadow:0 14px 44px #10080366}
body.ps-shop-home .psi-top-banner img {width:100%;display:block;max-height:235px;object-fit:cover;object-position:center}
body.ps-shop-home .psi-shop-cover img {width:100%;display:block;max-height:330px;aspect-ratio:20/6.4;object-fit:cover;object-position:center}
body.ps-shop-home .psi-shop-cover-fallback {min-height:130px;display:grid;place-items:center;text-align:center;background:#25160f;color:#e8cc9f;padding:20px}
body.ps-shop-home .psi-account-bar {width:min(100%,1160px); margin:0 auto; min-width:0; background:#2d1c12;border-inline:1px solid #765537;border-bottom:1px solid #705032;padding:9px 16px}
body.ps-shop-home .psi-login {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body.ps-shop-home .psi-login .login-input {width:170px;max-width:100%;min-height:38px;border:1px solid #a58253;border-radius:8px;padding:7px 10px;background:#fffcf7;color:#362314}
body.ps-shop-home .psi-remember {display:inline-flex;align-items:center;gap:6px;color:#f2e0c4;margin:0 6px 0 2px;white-space:nowrap;font-size:12px}
body.ps-shop-home .psi-remember input {accent-color:#b98a44;width:15px;height:15px}
body.ps-shop-home .login-btn {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;cursor:pointer;padding:8px 13px;border:1px solid #c39348;border-radius:8px;background:#b8863d;color:#211507;font-weight:700;box-shadow:none}
body.ps-shop-home .login-btn.secondary {background:transparent;border-color:#755738;color:#f3dfbc}
body.ps-shop-home .psi-account-signed,body.ps-shop-home .psi-account-links {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
body.ps-shop-home .psi-account-greeting {display:inline-flex;align-items:center;gap:7px;font-size:13px;color:#f1d6a4}
body.ps-shop-home .psi-account-links a {display:inline-flex;align-items:center;gap:6px;color:#f1dbb9;font-weight:600;font-size:12px}
body.ps-shop-home .psi-account-links a:hover {color:#fff}
body.ps-shop-home .psi-suspension {position:fixed;inset:0;z-index:100000;background:#110a07b8;display:grid;place-items:center;padding:20px}
body.ps-shop-home .psi-suspension>div {display:flex;align-items:center;gap:12px;padding:23px;max-width:560px;border:1px solid #d39a64;border-radius:14px;background:#7a231c;color:#fff;font-size:18px}
body.ps-shop-home .psi-error {padding:45px 20px;text-align:center;min-height:180px;color:#fff1da}
body.ps-shop-home .psi-error i {font-size:28px;color:#f2bb6e}
body.ps-shop-home .psi-error a {color:#ffe2a0;text-decoration:underline}
body.ps-shop-home .psi-site-header {display:grid;grid-template-columns:auto 1fr minmax(200px,265px);align-items:center;gap:14px;padding:15px 19px;background:#2c1d15;border-bottom:1px solid #785634;position:relative;z-index:20}
body.ps-shop-home .psi-site-header .ps-brand {display:flex;align-items:center;gap:11px;min-width:0}
body.ps-shop-home .psi-site-header .ps-brand-mark {width:42px;height:42px;display:grid;place-items:center;border:1px solid #b68a4b;border-radius:11px;color:#eac37e;background:#4b3020;font-size:20px;flex:none}
body.ps-shop-home .psi-site-header .ps-brand-title {display:block;line-height:1.22;letter-spacing:1px;font-size:19px;font-weight:800;color:#f3d9a3}
body.ps-shop-home .psi-site-header .ps-brand-sub {display:block;font-size:10px;line-height:1.45;color:#e0c9a8}
body.ps-shop-home .psi-site-header .ps-main-nav {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;min-width:0;overflow:visible}
body.ps-shop-home .psi-site-header .ps-main-nav > a {display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;color:#f1e0c4;padding:9px 10px;border:1px solid transparent;border-radius:9px;font-weight:600;font-size:13px}
body.ps-shop-home .psi-site-header .ps-main-nav > a i {color:#e4b873;font-size:16px}
body.ps-shop-home .psi-site-header .ps-main-nav > a:hover,body.ps-shop-home .psi-site-header .ps-main-nav > a.is-current {background:#493325;border-color:#6b4f37}
body.ps-shop-home .psi-site-header .ps-main-nav .pra-shops-lang-bar {padding:0!important;min-height:0!important;margin:0!important;max-width:none!important;width:auto!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.ps-shop-home .psi-site-header .ps-main-nav .pra-shops-lang-trigger {min-height:40px;padding:7px 12px;font-size:13px}
body.ps-shop-home .psi-search {display:flex;align-items:center;gap:8px;min-width:0;min-height:40px;padding-left:10px;border:1px solid #b68c59;border-radius:10px;background:#fffbf3;color:#906741;overflow:hidden}
body.ps-shop-home .psi-search input[type="search"] {flex:1;min-width:0;width:100%;height:38px;border:0;background:transparent;outline:0;color:#392519;font-size:13px;padding:0}
body.ps-shop-home .psi-search button {flex:none;width:42px;align-self:stretch;border:0;background:#dfb565;color:#332111;cursor:pointer}
body.ps-shop-home .psi-search button:hover {background:#efc782}
body.ps-shop-home .psi-crumb-bar {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 20px;background:#3b281b;border-bottom:1px solid #765234;color:#f5ddac;font-size:13px}
body.ps-shop-home .psi-crumb-bar>span {display:inline-flex;align-items:center;gap:9px;min-width:0;overflow-wrap:anywhere}
body.ps-shop-home .psi-crumb-bar i {color:#dcb36c}
body.ps-shop-home .psi-share {display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border:1px solid #7f5938;border-radius:7px;color:#ffe5b7}
body.ps-shop-home .psi-share:hover {background:#543622;color:#fff}
body.ps-shop-home .psi-hero {display:grid;grid-template-columns:132px minmax(0,1fr) auto;gap:22px;align-items:center;padding:25px;background:#fff9ef;color:#332319;border-bottom:1px solid #d3b58a}
body.ps-shop-home .psi-logo {width:132px;height:132px;padding:5px;background:#f2e6d5;border:1px solid #ceb994;border-radius:16px;overflow:hidden}
body.ps-shop-home .psi-logo img {width:100%;height:100%;object-fit:contain;border-radius:11px}
body.ps-shop-home .psi-hero-info {min-width:0}
body.ps-shop-home .psi-hero h1 {font-size:clamp(22px,2.5vw,31px);font-weight:750;line-height:1.35;margin:0 0 10px;color:#392417;overflow-wrap:anywhere}
body.ps-shop-home .psi-shop-badges {display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}
body.ps-shop-home .psi-badge {display:inline-flex;gap:6px;align-items:center;border:1px solid #d7c3a5;border-radius:999px;padding:3px 9px;background:#f6ead6;color:#67442a;font-size:11px;font-weight:700}
body.ps-shop-home .psi-badge i {color:#a27737}
body.ps-shop-home .psi-badge.is-online {background:#f2e9d9;border-color:#d7bd91;color:#73502c}
body.ps-shop-home .psi-badge.is-online i {color:#b08a48;font-size:8px}
body.ps-shop-home .psi-badge.is-offline i {color:#a55245;font-size:8px}
body.ps-shop-home .psi-shop-stats {display:flex;flex-wrap:wrap;gap:0;min-width:0}
body.ps-shop-home .psi-shop-stats>div {display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:6px;align-items:center;padding:0 17px;border-right:1px solid #e4d0b0}
body.ps-shop-home .psi-shop-stats>div:first-child {padding-left:0}
body.ps-shop-home .psi-shop-stats>div:last-child {border-right:0}
body.ps-shop-home .psi-shop-stats i {grid-row:1; color:#ad7d40}
body.ps-shop-home .psi-shop-stats strong {grid-row:1;color:#412a1a;font-size:17px}
body.ps-shop-home .psi-shop-stats small {grid-column:1/-1;color:#765c43;font-size:11px}
body.ps-shop-home .psi-hero-actions {display:flex;flex-direction:column;gap:9px;min-width:170px}
body.ps-shop-home .psi-button {display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;min-height:40px;padding:9px 13px;text-align:center;border-radius:9px;border:1px solid #a87539;font-size:13px;font-weight:700}
body.ps-shop-home .psi-button-primary {background:#8b522e;color:#fff2dc}
body.ps-shop-home .psi-button-primary:hover {background:#744024;color:#fff}
body.ps-shop-home .psi-button-outline {background:#fffaf2;color:#6c432b}
body.ps-shop-home .psi-button-outline:hover {background:#f1e1cb}
body.ps-shop-home .psi-unread {border-radius:99px;background:#9e4037;color:#fff;padding:0 5px;font-size:11px}
body.ps-shop-home .psi-info-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;padding:16px 16px 0}
body.ps-shop-home .psi-section {min-width:0;background:#fffdf8;color:var(--psi-ink);border:1px solid #ddcbb1;border-radius:14px;overflow:hidden;margin:0 16px 16px}
body.ps-shop-home .psi-info-grid .psi-section {margin:0}
body.ps-shop-home .psi-heading {display:flex;gap:9px;align-items:center;min-height:48px;padding:10px 15px;background:#3b281b;border-bottom:1px solid #6f4d32;color:#f5dfb3}
body.ps-shop-home .psi-heading>i {font-size:17px;color:#e7b875}
body.ps-shop-home .psi-heading h2 {margin:0;color:inherit;font-size:15px;line-height:1.5;font-weight:750}
body.ps-shop-home .psi-heading a.psi-more {margin-left:auto;display:inline-flex;gap:5px;align-items:center;color:#ffe1aa;font-size:12px;font-weight:600;white-space:nowrap}
body.ps-shop-home .psi-data-rows {margin:0;padding:2px 15px 8px}
body.ps-shop-home .psi-data-row {display:grid;grid-template-columns:minmax(105px,38%) minmax(0,1fr);align-items:start;gap:12px;padding:11px 0;border-bottom:1px solid #ede2d3;line-height:1.55}
body.ps-shop-home .psi-data-row:last-child {border-bottom:0}
body.ps-shop-home .psi-data-row dt {display:flex;align-items:center;gap:8px;min-width:0;font-size:12px;font-weight:700;color:#69462e}
body.ps-shop-home .psi-data-row dt i {display:inline-grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;background:#f9ecda;color:#915e31;font-size:15px}
body.ps-shop-home .psi-data-row dd {margin:0;min-width:0;text-align:right;color:#3c2517;font-size:13px;font-weight:600;overflow-wrap:anywhere}
body.ps-shop-home .psi-data-row .psi-address {white-space:pre-line}
body.ps-shop-home .psi-data-row .psi-days {display:block;margin-top:3px;color:#955f31;font-size:11px}
body.ps-shop-home .psi-welcome {padding:14px 17px 2px}
body.ps-shop-home .psi-welcome-copy {font-size:14px;line-height:1.85;overflow-wrap:anywhere;color:#422e1f}
body.ps-shop-home .psi-welcome-copy * {max-width:100%;color:inherit!important}
body.ps-shop-home .psi-welcome-copy table {width:100%!important;max-width:100%;table-layout:auto}
body.ps-shop-home .psi-welcome-copy img {max-width:100%;height:auto}
body.ps-shop-home .psi-welcome p {margin:0 0 14px;color:#705742}
body.ps-shop-home .psi-warranty {padding:0 17px 16px}
body.ps-shop-home .psi-warranty h3 {display:flex;align-items:center;gap:8px;margin:11px 0 7px;color:#674226;font-size:13px}
body.ps-shop-home .psi-warranty h3 i {color:#a87839}
body.ps-shop-home .psi-warranty ul {list-style:none;padding:0;margin:0}
body.ps-shop-home .psi-warranty li {display:flex;align-items:flex-start;gap:8px;padding:6px 0;border-top:1px solid #f0e6d8;color:#533c2c;font-size:12px}
body.ps-shop-home .psi-warranty li i {color:#9d6b33;flex:none}
body.ps-shop-home .psi-message-content {padding:15px}
body.ps-shop-home .psi-message-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:start}
body.ps-shop-home .psi-message-grid>textarea {grid-column:1/-1}
body.ps-shop-home .psi-message-grid>input:first-of-type,body.ps-shop-home .psi-translate-control {grid-column:1/-1}
body.ps-shop-home .psi-message-grid input,body.ps-shop-home .psi-message-grid textarea,body.ps-shop-home .psi-message-signin input {width:100%;min-width:0;border:1px solid #ccac80;border-radius:8px;background:#fffefa;color:#3c291b;padding:10px;font-size:13px}
body.ps-shop-home .psi-message-grid textarea {resize:vertical;min-height:90px}
body.ps-shop-home .psi-message-grid button,body.ps-shop-home .psi-message-signin button {border:1px solid #a7793a;border-radius:8px;background:#b58440;color:#211507;padding:9px 12px;font-size:12px;cursor:pointer;font-weight:700;white-space:normal}
body.ps-shop-home .psi-message-grid .shoppm_submit {background:#70412b;color:#fff2d8;border-color:#70412b}
body.ps-shop-home .psi-message-signin {display:grid;grid-template-columns:1fr 1fr auto auto;gap:9px;padding-top:13px;margin-top:13px;border-top:1px solid #ead9c1;align-items:center}
body.ps-shop-home .psi-register {color:#814e2d;font-size:12px;font-weight:700;text-decoration:underline}
body.ps-shop-home .shoppm_translated_container {position:relative;z-index:5;max-height:200px;overflow:auto;color:#2f2015;background:#fff}
body.ps-shop-home .shoppm_translated_container .translated_td {cursor:pointer}
body.ps-shop-home .psi-products-section {background:#fffdf8}
body.ps-shop-home .psi-product-grid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;background:#fff;border:0;padding:4px 8px 10px;min-width:0}
body.ps-shop-home .shop-product-card {min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;border:0;border-right:1px solid #ebdecb;border-bottom:1px solid #ebdecb;border-radius:0;margin:0;padding:12px 8px;background:#fff;color:#3b281a;box-shadow:none}
body.ps-shop-home .shop-product-card .shop-product-image {display:block;overflow:hidden;width:100%;aspect-ratio:1/1;border-radius:9px;background:#f0e6d7}
body.ps-shop-home .shop-product-card img {width:100%;height:100%;object-fit:cover;display:block}
body.ps-shop-home .shop-product-card .shop-product-body {display:flex;flex-direction:column;gap:7px;padding:8px 0 0;min-height:116px;flex:1;min-width:0}
body.ps-shop-home .shop-product-card .shop-product-name {display:block;height:3em;max-height:3em;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b99061 #f6ecde;color:#3a291b;font-size:12px;line-height:1.5;font-weight:700;overflow-wrap:anywhere}
body.ps-shop-home .shop-product-card .shop-product-meta {display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;margin-top:auto;font-size:11px}
body.ps-shop-home .shop-product-card .shop-product-meta .price {color:#8d4c2b;font-weight:800;overflow-wrap:anywhere}
body.ps-shop-home .shop-product-card .shop-product-meta .status {display:inline-block;padding:2px 6px;border-radius:99px;border:1px solid #d3bc99;background:#f8efd9;color:#71482c;font-size:10px;font-weight:700}
body.ps-shop-home .shop-product-card .shop-product-meta .status.sale {border-color:#dfc6a1;background:#f7edda;color:#81502c}
body.ps-shop-home .shop-product-card .shop-product-meta .status.sold {border-color:#d8b0a5;background:#faeae5;color:#9f3e32}
body.ps-shop-home .shop-product-card .score-row {margin-top:4px;min-height:18px;display:flex;gap:6px;align-items:center;justify-content:space-between;color:#825d39;font-size:10px}
body.ps-shop-home .shop-product-card .score-bar {height:4px;min-width:32px;flex:1;border-radius:5px;background:#e9dfd1;overflow:hidden}
body.ps-shop-home .shop-product-card .score-bar i {display:block;height:100%;background:#a1784d}
/* V15.17: high-contrast product rows. Specificity intentionally wins over the
   legacy V15.4 .hot-product-scroll rules while changing only the shop home. */
body.ps-shop-home.pra-v154-shop .psi-product-grid .shop-product-card {
  width:auto; min-width:0; height:auto; min-height:0; margin:0;
  padding:12px 9px; border:0; border-right:1px solid #e5d6c1;
  border-bottom:1px solid #e5d6c1; border-radius:0;
  background:#fffaf2; color:#302015; box-shadow:none;
}
body.ps-shop-home.pra-v154-shop .psi-product-grid .shop-product-image {
  width:100%; height:auto; aspect-ratio:1/1; flex:0 0 auto;
  border-radius:9px; background:#f0e5d5;
}
body.ps-shop-home.pra-v154-shop .psi-product-grid .shop-product-image img {
  width:100%; height:100%; aspect-ratio:1/1; object-fit:cover;
}
body.ps-shop-home.pra-v154-shop .psi-product-grid .shop-product-body {
  display:flex; flex:1 1 auto; flex-direction:column; gap:8px;
  height:auto; min-height:116px; padding:10px 2px 3px;
  background:#fffaf2; color:#302015;
}
body.ps-shop-home.pra-v154-shop .psi-product-grid .shop-product-name,
body.ps-shop-home.pra-v154-shop .psi-product-grid .shop-product-name:link,
body.ps-shop-home.pra-v154-shop .psi-product-grid .shop-product-name:visited {
  display:block; height:3.15em; min-height:3.15em; max-height:3.15em;
  overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain;
  scrollbar-width:thin; scrollbar-color:#ae8555 #f5e9d8;
  color:#322014; font-size:13px; font-weight:700; line-height:1.55;
  overflow-wrap:anywhere; text-decoration:none;
}
body.ps-shop-home.pra-v154-shop .psi-product-grid .shop-product-name:hover {color:#743e24;text-decoration:underline}
body.ps-shop-home.pra-v154-shop .psi-product-grid .shop-product-name::-webkit-scrollbar {width:4px}
body.ps-shop-home.pra-v154-shop .psi-product-grid .shop-product-name::-webkit-scrollbar-thumb {background:#ae8555;border-radius:6px}
body.ps-shop-home.pra-v154-shop .psi-product-grid .shop-product-meta {
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:6px; height:auto; margin-top:auto;
  color:#4b3422; font-size:12px;
}
body.ps-shop-home.pra-v154-shop .psi-product-grid .shop-product-meta .price {
  color:#78391f; font-size:13px; font-weight:800;
}
body.ps-shop-home.pra-v154-shop .psi-product-grid .shop-product-meta .status {
  background:#f0e0c3; border:1px solid #c9a979;
  color:#54351f; font-size:11px; line-height:1.4; font-weight:700;
}
body.ps-shop-home.pra-v154-shop .psi-product-grid .shop-product-meta .status.sold {
  background:#f3deda; border-color:#d4afa8; color:#812f27;
}
body.ps-shop-home.pra-v154-shop .psi-product-grid .score-row {
  display:flex; align-items:center; justify-content:space-between; gap:6px;
  min-height:18px; margin-top:1px; color:#64462c; font-size:11px;
}
body.ps-shop-home.pra-v154-shop .psi-product-grid .score-bar {
  height:4px; min-width:25px; flex:1; overflow:hidden;
  border-radius:5px; background:#e8dac5;
}
body.ps-shop-home.pra-v154-shop .psi-product-grid .score-bar i {
  display:block; height:100%; background:#97703d;
}
body.ps-shop-home .psi-empty {margin:0;padding:20px;color:#6f5640;text-align:center}
body.ps-shop-home .psi-footer {max-width:1160px;margin:0 auto;color:#d6bb91;padding-bottom:24px}
body.ps-shop-home .pra-swal {font-family:Tahoma,"Noto Sans Thai",Arial,sans-serif}
@media(max-width:1080px){
  body.ps-shop-home .psi-site-header {grid-template-columns:1fr auto;}
  body.ps-shop-home .psi-site-header .ps-main-nav {justify-content:flex-end}
  body.ps-shop-home .psi-search {grid-column:1/-1;justify-self:stretch}
  body.ps-shop-home .psi-hero {grid-template-columns:115px minmax(0,1fr)}
  body.ps-shop-home .psi-logo {width:115px;height:115px}
  body.ps-shop-home .psi-hero-actions {grid-column:1/-1;flex-direction:row;justify-content:flex-end}
  body.ps-shop-home .psi-product-grid {grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:690px){
  body.ps-shop-home .psi-account-bar {padding:9px 10px}
  body.ps-shop-home .psi-login .login-input {flex:1 1 calc(50% - 6px);min-width:0;width:auto}
  body.ps-shop-home .psi-login .psi-remember {flex:1 1 100%}
  body.ps-shop-home .psi-login .login-btn {flex:1 1 45%;min-width:0}
  body.ps-shop-home .psi-site-header {grid-template-columns:1fr;padding:14px;gap:11px}
  body.ps-shop-home .psi-site-header .ps-brand {justify-content:center}
  body.ps-shop-home .psi-site-header .ps-main-nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;border-top:1px solid #5a402f;padding-top:10px;justify-content:stretch}
  body.ps-shop-home .psi-site-header .ps-main-nav>a {min-width:0;min-height:42px;border-color:#654832;background:#372519}
  body.ps-shop-home .psi-site-header .ps-main-nav .pra-shops-lang-bar,
  body.ps-shop-home .psi-site-header .ps-main-nav .pra-shops-lang-wrap,
  body.ps-shop-home .psi-site-header .ps-main-nav .pra-shops-lang-trigger {width:100%!important}
  body.ps-shop-home .psi-search {grid-column:auto}
  body.ps-shop-home .psi-crumb-bar {padding:9px 13px}
  body.ps-shop-home .psi-hero {grid-template-columns:80px minmax(0,1fr);padding:16px;gap:12px}
  body.ps-shop-home .psi-logo {width:80px;height:80px;border-radius:12px}
  body.ps-shop-home .psi-hero h1 {font-size:21px}
  body.ps-shop-home .psi-shop-stats>div {padding:0 9px}
  body.ps-shop-home .psi-shop-stats>div:first-child {padding-left:0}
  body.ps-shop-home .psi-shop-stats strong {font-size:14px}
  body.ps-shop-home .psi-shop-stats small {font-size:10px}
  body.ps-shop-home .psi-hero-actions {justify-content:stretch}
  body.ps-shop-home .psi-hero-actions>* {flex:1}
  body.ps-shop-home .psi-info-grid {grid-template-columns:1fr;padding:11px 10px 0;gap:11px}
  body.ps-shop-home .psi-section {margin:0 10px 12px}
  body.ps-shop-home .psi-heading {padding:9px 13px}
  body.ps-shop-home .psi-data-rows {padding:2px 12px 6px}
  body.ps-shop-home .psi-message-grid {grid-template-columns:1fr 1fr}
  body.ps-shop-home .psi-message-grid .shoppm_submit {grid-column:1/-1}
  body.ps-shop-home .psi-message-signin {grid-template-columns:1fr 1fr}
  body.ps-shop-home .psi-product-grid {grid-template-columns:repeat(2,minmax(0,1fr));padding:3px 5px 7px}
  body.ps-shop-home.pra-v154-shop .psi-product-grid .shop-product-card {padding:9px 7px}
}
@media(max-width:380px){
  body.ps-shop-home .psi-hero {grid-template-columns:65px minmax(0,1fr);padding:11px;gap:10px}
  body.ps-shop-home .psi-logo {width:65px;height:65px}
  body.ps-shop-home .psi-hero h1 {font-size:18px}
  body.ps-shop-home .psi-hero-actions {gap:6px}
  body.ps-shop-home .psi-button {font-size:11px;padding:7px 8px}
  body.ps-shop-home .psi-data-row {grid-template-columns:minmax(100px,43%) minmax(0,1fr);gap:6px}
  body.ps-shop-home .psi-data-row dt {font-size:11px}
  body.ps-shop-home .psi-data-row dd {font-size:12px}
  body.ps-shop-home .psi-message-grid {grid-template-columns:1fr}
  body.ps-shop-home .psi-message-grid .shoppm_submit {grid-column:auto}
  body.ps-shop-home .psi-message-signin {grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){body.ps-shop-home *,body.ps-shop-home *::before,body.ps-shop-home *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}}


/* V15.18: featured amulets only. Latest products keep their existing grid. */
body.ps-shop-home .psi-featured-carousel {min-width:0;background:#fffdf8;padding:0 0 8px}
body.ps-shop-home .psi-featured-viewport {
  width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;scroll-padding-inline-start:8px;
  scroll-behavior:smooth;overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;scrollbar-width:thin;
  scrollbar-color:#b49167 #f5ecdc;
}
body.ps-shop-home .psi-featured-viewport::-webkit-scrollbar{height:6px}
body.ps-shop-home .psi-featured-viewport::-webkit-scrollbar-thumb{background:#b49167;border-radius:8px}
body.ps-shop-home .psi-featured-viewport::-webkit-scrollbar-track{background:#f5ecdc}
body.ps-shop-home.pra-v154-shop .psi-featured-track.psi-product-grid {
  display:grid!important;grid-auto-flow:column;
  grid-auto-columns:calc((100% - 16px - 40px) / 5);
  grid-template-columns:none!important;gap:10px!important;padding:8px!important;
  width:100%!important;min-width:0;overflow:visible;align-items:stretch;
}
body.ps-shop-home.pra-v154-shop .psi-featured-track.psi-product-grid .shop-product-card{
  width:100%!important;height:auto;scroll-snap-align:start;
  border:1px solid #e9dac5;border-radius:9px;background:#fffaf2;
  padding:9px;box-sizing:border-box;
}
body.ps-shop-home .psi-featured-controls{display:none;justify-content:center;align-items:center;gap:8px;padding:9px 12px 4px}
body.ps-shop-home .psi-featured-carousel.is-ready .psi-featured-controls{display:flex}
body.ps-shop-home .psi-featured-controls button{
  display:inline-flex;justify-content:center;align-items:center;gap:7px;height:36px;
  border:1px solid #be9a68;border-radius:9px;background:#f7ebd8;color:#52321c;
  cursor:pointer;font:700 13px/1.3 Tahoma,"Noto Sans Thai",sans-serif;
  transition:background-color .15s ease,border-color .15s ease;
}
body.ps-shop-home .psi-featured-controls button:hover{background:#ead3ae;border-color:#a9753e}
body.ps-shop-home .psi-featured-controls button:focus-visible,
body.ps-shop-home .psi-featured-viewport:focus-visible{outline:3px solid #b78648;outline-offset:2px}
body.ps-shop-home .psi-featured-arrow{width:40px}
body.ps-shop-home .psi-featured-toggle{padding:0 15px;min-width:112px}
body.ps-shop-home .psi-featured-toggle i{font-size:15px}
body.ps-shop-home .psi-featured-carousel.is-static .psi-featured-controls{display:none}
@media(max-width:1080px){
  body.ps-shop-home.pra-v154-shop .psi-featured-track.psi-product-grid{
    grid-auto-columns:calc((100% - 16px - 30px) / 4);
  }
}
@media(max-width:690px){
  body.ps-shop-home.pra-v154-shop .psi-featured-track.psi-product-grid{
    grid-auto-columns:calc((100% - 16px - 10px) / 2);gap:10px!important;padding:8px!important;
  }
  body.ps-shop-home .psi-featured-controls{padding:8px 8px 3px}
}
@media(prefers-reduced-motion:reduce){
  body.ps-shop-home .psi-featured-viewport{scroll-behavior:auto}
  body.ps-shop-home .psi-featured-controls button{transition:none}
  body.ps-shop-home .psi-featured-toggle{display:none}
}
