/* ============================================================
   MODULE 9 — Product Detail Page
   Scoped under .sh-pdp*. Original SHOPLYHUB styling.
   ============================================================ */
.sh-pdp{max-width:1100px;margin:0 auto;padding:4px 0 40px}
.sh-pdp__crumb{font-size:12.5px;color:var(--sh-muted);margin:0 0 14px}
.sh-pdp__crumb a{cursor:pointer}.sh-pdp__crumb a:hover{color:var(--sh-navy)}
.sh-pdp__top{display:grid;grid-template-columns:minmax(0,460px) 1fr;gap:30px;align-items:start}
@media(max-width:780px){.sh-pdp__top{grid-template-columns:1fr}}

/* gallery */
.sh-pdp__main{aspect-ratio:1/1;border:1px solid var(--sh-line);border-radius:16px;overflow:hidden;background:var(--sh-bg-soft)}
.sh-pdp__main img{width:100%;height:100%;object-fit:cover;display:block}
.sh-pdp__thumbs{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.sh-pdp__thumb{width:68px;height:68px;border-radius:10px;overflow:hidden;border:2px solid var(--sh-line);cursor:pointer;background:var(--sh-bg-soft)}
.sh-pdp__thumb.sel{border-color:var(--sh-navy)}
.sh-pdp__thumb img{width:100%;height:100%;object-fit:cover}

/* info */
.sh-pdp__title{font-size:24px;font-weight:800;color:var(--sh-ink);margin:0 0 8px;line-height:1.3}
.sh-pdp__title .sh-mall{margin-right:8px;vertical-align:middle}
.sh-pdp__meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:13px;color:var(--sh-muted);margin-bottom:14px}
.sh-pdp__meta .brand{font-weight:700;color:var(--sh-navy)}
.sh-pdp__meta .stars{color:var(--sh-gold);letter-spacing:1px}
.sh-pdp__meta .sep{color:var(--sh-line)}
.sh-pdp__pricebox{background:var(--sh-bg-soft);border-radius:14px;padding:16px 18px;margin-bottom:18px}
.sh-pdp__price{font-size:30px;font-weight:800;color:var(--sh-navy)}
.sh-pdp__price small{font-size:13px;color:var(--sh-muted);font-weight:600;margin-left:8px;text-decoration:line-through}
.sh-pdp__ship{font-size:12.5px;color:var(--sh-green);font-weight:700;margin-top:4px}

.sh-pdp__var{margin-bottom:16px}
.sh-pdp__var h4{margin:0 0 8px;font-size:13px;color:#444;font-weight:700}
.sh-pdp__var h4 em{font-style:normal;color:var(--sh-navy)}
.sh-opts{display:flex;flex-wrap:wrap;gap:8px}
.sh-opt{border:1.5px solid var(--sh-line);background:#fff;border-radius:9px;padding:8px 14px;font-size:13px;font-weight:600;cursor:pointer;transition:.12s}
.sh-opt:hover{border-color:var(--sh-navy)}
.sh-opt.sel{border-color:var(--sh-navy);background:var(--sh-navy);color:#fff}
.sh-opt.req{border-color:var(--sh-red);animation:sh-shake .3s}
@keyframes sh-shake{0%,100%{transform:none}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}

.sh-pdp__qty{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.sh-pdp__qty .sh-qty button{width:34px;height:34px}
.sh-pdp__stock{font-size:12.5px;color:var(--sh-muted)}
.sh-pdp__stock.low{color:var(--sh-red);font-weight:700}

.sh-pdp__cta{display:flex;gap:12px;flex-wrap:wrap}
.sh-pdp__add{flex:1;min-width:160px;background:#fff;color:var(--sh-navy);border:2px solid var(--sh-navy)}
.sh-pdp__add:hover{background:var(--sh-bg-soft)}
.sh-pdp__buy{flex:1;min-width:160px}
.sh-pdp__cta .sh-btn{padding:13px;font-size:15px}

.sh-pdp__seller{display:flex;align-items:center;gap:12px;border:1px solid var(--sh-line);border-radius:12px;padding:12px 14px;margin-top:18px}
.sh-pdp__seller .av{width:42px;height:42px;border-radius:50%;background:var(--sh-navy);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800}
.sh-pdp__seller .nm{font-weight:700;font-size:14px}
.sh-pdp__seller .ret{font-size:12px;color:var(--sh-muted)}
.sh-pdp__seller .ret b{color:var(--sh-green)}
.sh-pdp__chat{margin-left:auto;border:1px solid var(--sh-navy);background:#fff;border-radius:9px;padding:8px 14px;font-weight:700;font-size:13px;cursor:pointer;font-family:inherit;color:var(--sh-navy);white-space:nowrap}
.sh-pdp__chat:hover{background:var(--sh-navy);color:#fff}
.sh-pdp__badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.sh-pdp__badge{display:flex;align-items:center;gap:6px;font-size:12.5px;color:#444;background:var(--sh-bg-soft);border-radius:20px;padding:6px 12px;font-weight:600}

.sh-pdp__sec{margin-top:34px}
.sh-pdp__sec h3{font-size:17px;color:var(--sh-navy);margin:0 0 12px;border-bottom:2px solid var(--sh-line);padding-bottom:8px}
.sh-spec{width:100%;border-collapse:collapse;font-size:13.5px}
.sh-spec td{border:1px solid var(--sh-line);padding:9px 12px}
.sh-spec td:first-child{background:var(--sh-bg-soft);color:var(--sh-muted);width:200px;font-weight:600}
.sh-pdp__desc{font-size:14px;line-height:1.7;color:#333}

/* wishlist + sell-like-this actions */
.sh-pdp__actions2{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.sh-pdp__wish,.sh-pdp__like{border:1px solid var(--sh-line);background:#fff;border-radius:9px;padding:9px 14px;font-weight:700;font-size:13px;cursor:pointer;font-family:inherit;color:var(--sh-navy)}
.sh-pdp__wish:hover,.sh-pdp__like:hover{border-color:var(--sh-navy);background:var(--sh-bg-soft)}
.sh-pdp__wish.on{color:#c0392b;border-color:#c0392b}
.sh-pdp__like{color:#9a4b00;border-color:var(--sh-gold)}

/* reviews */
.sh-rv__head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.sh-rv__avg{font-size:30px;font-weight:800;color:var(--sh-navy)}
.sh-rv__stars{color:var(--sh-gold);letter-spacing:1px}
.sh-rv__cnt{color:var(--sh-muted);font-size:13px}
.sh-rv{border-top:1px solid var(--sh-line);padding:12px 0}
.sh-rv__top{font-size:13.5px}
.sh-rv__vf{color:var(--sh-green);font-size:11.5px;font-weight:700;margin-left:6px}
.sh-rv__t{font-weight:700;margin:4px 0 2px}
.sh-rv__b{margin:0;color:#444;font-size:14px;line-height:1.5}
.sh-rv__none{color:var(--sh-muted);font-size:14px}
.sh-rv__form{margin-top:16px;border-top:2px solid var(--sh-line);padding-top:14px;display:grid;gap:8px;max-width:520px}
.sh-rv__form h4{margin:0}
.sh-rv__form select,.sh-rv__form input,.sh-rv__form textarea{border:1px solid var(--sh-line);border-radius:9px;padding:9px 11px;font-family:inherit;font-size:14px}
.sh-rv__note{font-size:12px;color:var(--sh-muted);margin:4px 0 0}
.sh-rv__msg{font-size:13px;min-height:0}
.sh-rv__msg.ok{color:var(--sh-green)}.sh-rv__msg.err{color:var(--sh-red)}

/* toast */
.sh-toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%) translateY(20px);opacity:0;
  background:var(--sh-ink);color:#fff;padding:12px 20px;border-radius:30px;font-size:14px;font-weight:600;
  z-index:1200;transition:.25s;box-shadow:var(--sh-shadow);pointer-events:none}
.sh-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.sh-toast--err{background:var(--sh-red)}
