/*
Theme Name: Astra Child – NhaThuoc Nam anh
Template: astra
Version: 1.0.1
Description: Child theme Nhà thuốc Nam Anh - match design 100%
*/

:root {
  --ps-green: #0E6B4F;
  --ps-green-dark: #0A5240;
  --ps-orange: #B45F1B;
  --ps-bg-band: #FEF4EB;
  --ps-bg: #FFFFFF;
  --ps-card-border: #EFE7DD;
  --ps-text: #222222;
  --ps-muted: #616161;
  --ps-price: #C62828;
  --ps-badge: #C62828;
  --ps-trust-bg: #EAF6EF;
  --ps-radius: 10px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Be Vietnam Pro', sans-serif; background: var(--ps-bg); color: var(--ps-text); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.ps-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* HEADER - green bar like design frame */
#ps-header { background: #2E6E4E; position: sticky; top: 0; z-index: 999; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.ps-top-inner { max-width: 1200px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; gap: 24px; }
.ps-logo { display: inline-flex; align-items: center; flex-shrink: 0; background: #fff; border-radius: 8px; padding: 4px 10px; }
.ps-logo-img { height: 40px; width: auto; display: block; object-fit: contain; }
.ps-logo-mark { display: flex; }
.ps-logo-text { font-weight: 800; font-size: 20px; color: #fff; letter-spacing: .5px; line-height: 1; white-space: nowrap; }
.ps-search { flex: 1; max-width: 560px; display: flex; align-items: center; background: #fff; border-radius: 10px; overflow: hidden; padding: 0 6px 0 14px; }
.ps-search-icon { display: flex; flex-shrink: 0; }
.ps-search input { flex: 1; border: none; outline: none; padding: 11px 10px; font-size: 13.5px; background: transparent; color: #333; }
.ps-top-right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.ps-hotline { display: flex; align-items: center; }
.ps-hl-text { display: flex; flex-direction: column; line-height: 1.25; }
.ps-hl-text small { font-size: 10.5px; font-weight: 600; letter-spacing: 1px; color: rgba(255,255,255,.85); }
.ps-hl-text strong { font-size: 16.5px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 6px; }
.ps-vdiv { width: 1px; height: 34px; background: rgba(255,255,255,.3); }
.ps-store-link { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.ps-cart { background: var(--ps-orange); color: #fff; font-size: 13.5px; font-weight: 700; border-radius: 10px; padding: 10px 18px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ps-count { background: #fff; color: var(--ps-orange); border-radius: 999px; font-size: 11px; min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; font-weight: 800; }

body { overflow-x: clip; }
#ps-nav-list {margin: 5px 0}
#store-locator { scroll-margin-top: 130px; }
/* NAV - white centered bar with dividers */
.ps-nav { background: #fff; border-bottom: 1px solid #eee; }
.ps-nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.ps-nav-toggle { display: none; }
.ps-nav ul { list-style: none; display: flex; justify-content: center; align-items: stretch; }
.ps-nav ul li { position: relative; display: flex; }
.ps-nav ul li + li { border-left: 1px solid #e8e8e8; }
.ps-nav ul li > a { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #333; padding: 12px 30px; text-transform: uppercase; white-space: nowrap; line-height: 1.2; }
.ps-nav ul li > a .chev { flex-shrink: 0; }
.ps-nav ul li > a.active { color: var(--ps-orange); }
.ps-nav ul li:hover > a { color: var(--ps-green); }
.ps-nav ul li > a.active:hover { color: var(--ps-orange); }
.ps-drop { display: none; position: absolute; top: 100%; left: 0; width: 480px; background: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.12); border-radius: 0 0 12px 12px; padding: 14px 20px; gap: 0 36px; flex-wrap: wrap; z-index: 1000; }
.has-drop:hover > .ps-drop, .has-drop:focus-within > .ps-drop { display: flex; }
.ps-drop-col { display: flex; flex-direction: column; min-width: 180px; }
.ps-drop-col a { font-size: 13px; font-weight: 400; color: #333; padding: 7px 0; text-transform: none; }
.ps-drop-col a:hover { color: var(--ps-green); }
.ps-drop-col a.view-all, .ps-drop > a.view-all { color: var(--ps-green); font-weight: 700; }
.ps-drop > a.view-all { flex: 1 1 100%; border-top: 1px dashed #eee; margin-top: 6px; padding-top: 12px; font-size: 13px; }

/* HERO */
.ps-hero img { width: 100%; height: 340px; object-fit: cover; }

/* TITLES */
.ps-center-title { text-align: center; font-size: 20px; font-weight: 800; color: var(--ps-green); margin: 0; position: relative; }
.ps-center-title .u-line { display: block; width: 56px; height: 3px; background: var(--ps-orange); margin: 8px auto 0; border-radius: 2px; }
.ps-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.ps-sec-head h2 { font-size: 18px; font-weight: 800; color: var(--ps-green); display: flex; align-items: center; gap: 8px; }
.ps-sec-head h2 .bar { width: 4px; height: 20px; background: var(--ps-orange); border-radius: 2px; display: inline-block; }
.ps-tabs { display: flex; flex-wrap: wrap; row-gap: 8px; gap: 18px; font-size: 12.5px; color: var(--ps-muted); }
.ps-tabs a:hover { color: var(--ps-green); }
.ps-tabs a.more { color: var(--ps-green); font-weight: 600; }

/* CATS */
.ps-cats { padding: 26px 16px 6px; text-align: center; }
.ps-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 760px; margin: 18px auto 0; }
.ps-cat { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #333; }
.ps-cat-icon { width: 62px; height: 62px; border-radius: 50%; background: #F2F6F4; display: flex; align-items: center; justify-content: center; border: 1px solid #E3EDE8; }

/* SECTIONS */
.ps-band { background: var(--ps-bg-band); padding: 22px 0 26px; margin-top: 18px; }
.ps-plain { padding: 22px 0 20px; }
.ps-soft { background: #F2F7F4; padding: 22px 0 20px; }
.ps-grid { display: grid; gap: 14px; }
.ps-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.ps-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* PRODUCT CARD - match image */
.ps-card { background: #fff; border: 1px solid var(--ps-card-border); border-radius: var(--ps-radius); overflow: hidden; position: relative; display: flex; flex-direction: column; }
.ps-badge { position: absolute; top: 8px; left: 8px; background: var(--ps-badge); color: #fff; font-size: 10px; font-weight: 800; border-radius: 4px; padding: 2px 6px; z-index: 2; }
.ps-thumb { background: #F7EFE6; aspect-ratio: 1/1; display: block; overflow: hidden; }
.ps-thumb img { width: 100%; height: 100%; aspect-ratio: 1/1; object-fit: cover; }
/* Ảnh sản phẩm Woo (loop + chi tiết): luôn vuông */
.woocommerce ul.products li.product a img, .woocommerce div.product div.images img { aspect-ratio: 1/1 !important; object-fit: cover !important; }
.ps-body { padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ps-name { font-size: 12px; line-height: 1.45; color: #333; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 34px; }
.ps-price .new { color: var(--ps-price); font-weight: 800; font-size: 14px; }
.ps-price .old { color: var(--ps-muted); font-size: 11px; text-decoration: line-through; margin-left: 6px; }
.ps-buy { margin-top: auto; background: var(--ps-green); color: #fff; text-align: center; font-size: 12px; font-weight: 800; border-radius: 6px; padding: 9px 0; letter-spacing: .3px; }
.ps-buy:hover { background: var(--ps-green-dark); }

/* POSTS */
.ps-post { background: #fff; border: 1px solid var(--ps-card-border); border-radius: var(--ps-radius); overflow: hidden; display: flex; flex-direction: column; }
.ps-post-img { aspect-ratio: 16/10; background: #eee; overflow: hidden; display: block; }
.ps-post-img img { width: 100%; height: 100%; object-fit: cover; }
.ps-post-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.ps-post-title { font-size: 13px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ps-post-meta { font-size: 11px; color: var(--ps-muted); }

/* BRANDS */
.ps-brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 16px; }
.ps-brand { background: #fff; border: 1px solid var(--ps-card-border); border-radius: 8px; min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; overflow: hidden; }
.ps-brand img { height: 44px; max-width: 100%; object-fit: contain; }
.ps-brand-initial { width: 44px; height: 44px; border-radius: 50%; background: var(--ps-trust-bg); color: var(--ps-green); font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ps-brand-name { font-size: 12px; font-weight: 700; color: #333; text-align: center; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* STORE */
.ps-store { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; }
.ps-store-list { display: flex; flex-direction: column; gap: 10px; }
.ps-store-item { display: flex; gap: 10px; border: 1px solid var(--ps-card-border); border-radius: 8px; padding: 12px; font-size: 12px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.ps-store-item:hover { border-color: var(--ps-green); }
.ps-store-item.active { border-color: var(--ps-green); box-shadow: 0 0 0 1px var(--ps-green); }
.ps-store-item .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ps-green); margin-top: 4px; flex-shrink: 0; }
.ps-store-item strong { font-size: 12.5px; color: #222; display: block; margin-bottom: 4px; }
.ps-store-item p { color: #666; line-height: 1.5; }
.ps-store-item .phone { color: var(--ps-green); font-weight: 700; }
.ps-map { background: #EFEFEF; border-radius: 10px; overflow: hidden; min-height: 320px; border: 1px solid #e5e5e5; }
.ps-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* TRUST */
.ps-trust { background: var(--ps-trust-bg); margin-top: 22px; border-top: 1px solid #dfe9e2; border-bottom: 1px solid #dfe9e2; }
.ps-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 22px; padding-bottom: 22px; }
.ps-t { display: flex; align-items: flex-start; justify-content: center; gap: 12px; text-align: left; padding: 4px 24px; }
.ps-t + .ps-t { border-left: 1px solid #cfdcd4; }
.ps-t .ic.tile { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; background: #d8e9de; display: flex; align-items: center; justify-content: center; }
.ps-t strong { display: block; font-size: 15px; font-weight: 800; color: #1c1c1c; margin-bottom: 4px; }
.ps-t small { font-size: 12.5px; color: #595959; line-height: 1.5; }

#ps-footer { background: #fff; border-top: 1px solid #eee; margin-top: 0; }
.ps-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-top: 30px; padding-bottom: 10px; }
.ps-foot-col h3 { font-size: 13px; font-weight: 800; color: var(--ps-green); text-transform: uppercase; margin-bottom: 12px; letter-spacing: .2px; }
.ps-foot-brand { text-transform: none; font-size: 15px; }
.ps-foot-col a { display: block; font-size: 13px; color: #555; padding: 5px 0; }
.ps-foot-col a:hover { color: var(--ps-green); }
.ps-foot-addr { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #555; padding: 5px 0; line-height: 1.5; }
.ps-foot-addr svg { flex-shrink: 0; margin-top: 2px; }
.ps-social { display: flex; gap: 8px; margin-bottom: 12px; }
.ps-social .soc { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #fff; }
.ps-social .fb { background: #1877F2; }
.ps-social .zalo { background: #2196F3; }
.ps-qr { width: 110px; height: 110px; border: 1px solid #ddd; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #222; background: #fff; margin-bottom: 12px; }
.ps-bct { display: inline-flex; align-items: center; gap: 8px; background: #E8F0FE; border-radius: 8px; padding: 6px 10px 6px 6px; }
.ps-bct .bct-check { width: 32px; height: 32px; border-radius: 50%; background: #1A73E8; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; border: 2px solid #fff; box-shadow: 0 0 0 2px #1A73E8; }
.ps-bct .bct-text { font-size: 11px; font-weight: 800; color: #1A73E8; line-height: 1.25; }
.ps-bct .bct-text small { font-size: 9px; font-weight: 600; }
.ps-foot-div { height: 1px; background: #e5e5e5; margin: 14px 0 0; }
.ps-foot-bottom { text-align: center; font-size: 11.5px; color: #595959; padding: 14px 16px 20px; line-height: 1.6; }

/* ============ PDP (Product Detail Page) - match design image, reuse homepage tokens ============ */
body.ps-pdp, body.ps-pdp-active { background: #F4F4F4; }
.ps-pdp-page { background: #F4F4F4; padding-bottom: 8px; }
.ps-pdp-bc { background: transparent; padding: 12px 0; font-size: 12.5px; color: #595959; }
.ps-pdp-bc a { color: #595959; }
.ps-pdp-bc a:hover { color: var(--ps-green); text-decoration: none; }
.ps-pdp-bc .sep { margin: 0 7px; color: #bbb; }
.ps-pdp-bc .current { color: #555; font-weight: 400; }
/* Top card */
.ps-pdp-top { background: #fff; border: 1px solid #E9E9E9; border-radius: 10px; padding: 22px; display: grid; grid-template-columns: 380px 1fr; gap: 30px; }
.ps-pdp-main { background: #fff; border: 1px solid #EFEFEF; border-radius: 8px; overflow: hidden; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.ps-pdp-main img { width: 100%; height: 100%; object-fit: contain; }
.ps-pdp-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.ps-pdp-thumb { aspect-ratio: 1/1; border-radius: 8px; border: 1px solid #E5E5E5; overflow: hidden; background: #fff; cursor: pointer; padding: 0; transition: border-color .2s; }
.ps-pdp-thumb.active, .ps-pdp-thumb:hover { border-color: var(--ps-green); border-width: 2px; }
.ps-pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
/* Info */
.ps-pdp-cat { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; border-radius: 6px; padding: 4px 12px; margin-bottom: 10px; background: #D3EFE8; color: #043C31; }
.ps-pdp-cat.is-tpcn { background: #D3EFE8; color: #043C31; }
.ps-pdp-cat.is-duoc-my-pham { background: #F7DCE5; color: #6B1F3A; }
.ps-pdp-cat.is-cham-soc-ca-nhan { background: #DCE8F7; color: #1F3A6B; }
.ps-pdp-cat.is-me-be { background: #EAE0F7; color: #3D2A66; }
.ps-pdp-title { font-size: 21px; font-weight: 800; color: #1d1d1d; line-height: 1.35; margin-bottom: 8px; }
.ps-pdp-brandrow { font-size: 13px; color: #666; line-height: 1.7; margin-bottom: 10px; }
.ps-pdp-brandrow b { color: #333; font-weight: 700; }
.ps-pdp-price { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; }
.ps-pdp-price-sale { font-size: 26px; font-weight: 800; color: #C25700; }
.ps-pdp-price-reg { font-size: 14px; color: #616161; text-decoration: line-through; }
.ps-pdp-off { background: var(--ps-badge); color: #fff; font-size: 10px; font-weight: 800; border-radius: 4px; padding: 2px 6px; }
.ps-pdp-rowline { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 13px; }
.ps-pdp-rowline > label { width: 110px; flex-shrink: 0; color: #333; font-weight: 500; }
.ps-pdp-select { flex: 1; border: 1px solid #ddd; border-radius: 6px; padding: 8px 10px; font-size: 13px; color: #333; background: #fff; outline: none; max-width: 260px; }
.ps-pdp-quycach { display: inline-block; border: 1px solid #ddd; border-radius: 999px; padding: 4px 14px; font-size: 12px; color: #333; background: #fff; line-height: 1.5; }
.ps-pdp-qty { display: inline-flex; align-items: stretch; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; background: #fff; height: 40px; }
.ps-pdp-qty input { width: 50px; min-width: 0; text-align: center; border: none; border-left: 1px solid #eee; border-right: 1px solid #eee; outline: none; font-size: 15px; font-weight: 700; color: #333; padding: 0; margin: 0; background: #fff; border-radius: 0; box-shadow: none; -moz-appearance: textfield; appearance: textfield; }
.ps-pdp-qty input::-webkit-inner-spin-button, .ps-pdp-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ps-pdp-qty input:focus { background: #fff; }
.ps-pdp-qty .ps-qty-btn { width: 44px; min-width: 44px; padding: 0; margin: 0; border: none; border-radius: 0; background: #f7f7f7; font-size: 18px; font-weight: 700; color: #555; cursor: pointer; line-height: 1; display: inline-flex; align-items: center; justify-content: center; appearance: none; -webkit-appearance: none; box-shadow: none; min-height: 0; }
.ps-pdp-qty .ps-qty-btn:hover { background: #ececec; color: #222; }
.ps-pdp-buy { width: 100%; max-width: 360px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0; height: 46px; border: none; border-radius: 8px; background: var(--ps-orange); color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .5px; cursor: pointer; transition: filter .2s; margin: 4px 0 10px; }
.ps-pdp-buy:hover { filter: brightness(.95); }
.ps-pdp-buy:disabled { background: #aaa; cursor: not-allowed; }
.ps-pdp-phone { display: flex; align-items: stretch; gap: 0; margin-bottom: 14px; border: 1.5px solid var(--ps-green); border-radius: 8px; overflow: hidden; background: #fff; width: 100%; max-width: 360px; }
.ps-pdp-phone:focus-within { box-shadow: 0 0 0 2px rgba(14,107,79,.12); }
.ps-pdp-phone input { flex: 1; min-width: 0; border: none !important; border-radius: 0; box-shadow: none !important; padding: 12px 14px; font-size: 13px; outline: none; background: #fff; color: #333; }
.ps-pdp-phone input::placeholder { color: #616161; }
.ps-pdp-phone button { border: none; border-radius: 0; background: var(--ps-orange); color: #fff; font-size: 14px; font-weight: 800; padding: 0 32px; cursor: pointer; letter-spacing: .3px; flex-shrink: 0; }
.ps-pdp-phone button:hover { filter: brightness(.95); }
.ps-consult-ok { background: #EAF6EF; border: 1px solid #BFE3CE; color: #0E6B4F; font-size: 13px; border-radius: 8px; padding: 10px 14px; margin-bottom: 10px; line-height: 1.5; }
.ps-consult-err { background: #FDECEC; border: 1px solid #F5C6C6; color: #B3261E; font-size: 13px; border-radius: 8px; padding: 10px 14px; margin-bottom: 10px; line-height: 1.5; }
.ps-pdp-meta { border-top: 1px dashed #eee; padding-top: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.6; }
.ps-pdp-meta-row { display: flex; gap: 10px; }
.ps-pdp-meta-row > span:first-child { width: 110px; flex-shrink: 0; color: #595959; }
.ps-pdp-meta-row > div { flex: 1; color: #333; }
.ps-pdp-meta-row a.link-green { color: var(--ps-green); font-weight: 600; }
.ps-pdp-meta-row a.link-green:hover { text-decoration: underline; }
/* Desc card */
.ps-pdp-desc { background: #fff; border: 1px solid #E9E9E9; border-radius: 10px; margin-top: 16px; padding: 22px; display: grid; grid-template-columns: 190px 1fr; gap: 26px; }
.ps-pdp-side { display: flex; flex-direction: column; gap: 2px; align-self: start; position: sticky; top: 140px; }
.ps-pdp-side a { font-size: 13px; color: #444; padding: 8px 12px; border-radius: 6px; line-height: 1.4; }
.ps-pdp-side a:hover { background: #F5F5F5; }
.ps-pdp-side a.active { background: #EFEFEF; font-weight: 700; color: #222; }
.ps-pdp-content { font-size: 13.5px; color: #444; line-height: 1.75; min-width: 0; }
.ps-pdp-content h2 { font-size: 14.5px; font-weight: 800; color: #222; margin: 18px 0 8px; scroll-margin-top: 150px; }
.ps-pdp-content h2:first-child { margin-top: 0; }
.ps-pdp-content p { margin-bottom: 10px; }
.ps-pdp-content ul, .ps-pdp-content ol { margin: 0 0 10px 22px; }
.ps-pdp-content li { margin-bottom: 4px; }
.ps-pdp-content img { max-width: 100%; height: auto; border-radius: 8px; }
.ps-pdp-content table { width: 100%; border-collapse: collapse; margin-bottom: 10px; font-size: 13px; }
.ps-pdp-content table th, .ps-pdp-content table td { border: 1px solid #e5e5e5; padding: 8px 10px; text-align: left; }
.ps-pdp-content table th { background: #fafafa; }
.ps-pdp-content a { color: var(--ps-green); }
.ps-pdp-meta-row > div ul, .ps-pdp-meta-row > div ol { margin: 0 0 6px 18px; }
.ps-pdp-meta-row > div p { margin-bottom: 6px; }
.ps-pdp-qa .ans ul, .ps-pdp-qa .ans ol { margin: 6px 0 6px 18px; }
.ps-pdp-qa .ans p { margin-bottom: 6px; }
/* Disclaimer + author */
.ps-pdp-disclaimer { background: #FDF4E3; border: none; border-left: 4px solid var(--ps-orange); color: #7A5A00; font-size: 13px; line-height: 1.6; border-radius: 0 8px 8px 0; padding: 12px 16px; margin-top: 14px; }
.ps-pdp-author { background: #fff; border: 1px solid #E9E9E9; border-radius: 10px; margin-top: 14px; padding: 18px 22px; display: flex; gap: 16px; align-items: flex-start; }
.ps-pdp-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ps-pdp-author .who { flex: 1; min-width: 0; }
.ps-pdp-author .who strong { font-size: 16px; font-weight: 800; color: var(--ps-green); display: block; margin-bottom: 6px; }
.ps-pdp-author .who p { font-size: 13px; font-style: normal; color: #666; line-height: 1.7; }
.ps-pdp-author .who a { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--ps-green); font-weight: 700; }
.ps-pdp-verified { flex-shrink: 0; align-self: flex-start; font-size: 12.5px; color: var(--ps-green); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ps-pdp-verified { flex-shrink: 0; font-size: 11.5px; color: var(--ps-green); font-weight: 700; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
/* FAQ */
.ps-pdp-faq { background: #fff; border: 1px solid #E9E9E9; border-radius: 10px; margin-top: 16px; padding: 20px 22px; }
.ps-pdp-faq h2 { font-size: 15px; font-weight: 800; color: #222; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.ps-pdp-qa { border: 1px solid #E7E7E7; border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.ps-pdp-qa button { width: 100%; border: none; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 15px; font-size: 13.5px; font-weight: 700; color: #333; cursor: pointer; text-align: left; }
.ps-pdp-qa button .pm { color: #616161; font-size: 16px; font-weight: 400; flex-shrink: 0; }
.ps-pdp-qa .ans { display: none; padding: 0 15px 14px; font-size: 13px; color: #666; line-height: 1.7; }
.ps-pdp-qa.open .ans { display: block; }
.ps-pdp-qa.open button .pm { transform: rotate(45deg); display: inline-block; }
/* Related - reuse homepage ps-card */
.ps-pdp-related { background: transparent; padding: 20px 0 10px; }
.ps-pdp-related h2 { font-size: 16px; font-weight: 800; color: #222; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid #E2E2E2; }
.ps-pdp-related .ps-sub { font-size: 11px; color: #616161; line-height: 1.4; }
/* Legacy PDP bits kept for compat */
.ps-pdp-sku { font-size: 12.5px; color: var(--ps-muted); margin-bottom: 10px; }
.ps-pdp-short { font-size: 13.5px; color: #555; line-height: 1.6; margin-bottom: 12px; }
.ps-pdp-stock { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.ps-pdp-stock.in { color: var(--ps-green); }
.ps-pdp-stock.out { color: var(--ps-badge); }
.commentlist { list-style: none; padding: 0; margin: 0; }
.comment { padding: 12px 0; border-bottom: 1px solid #eee; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .ps-top-inner { gap: 14px; }
  .ps-logo { min-width: 0; }
  .ps-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .ps-brands { grid-template-columns: repeat(3, 1fr); }
  .ps-foot-grid { grid-template-columns: 1fr 1fr; }
  .ps-nav ul li > a { padding: 10px 14px; font-size: 12px; }
  .ps-pdp-grid { gap: 28px; }
}
@media (max-width: 768px) {
  /* header compact: hàng 1 gói gọn logo + hotline + store + giỏ (search xuống hàng 2) */
  .ps-top-inner { flex-wrap: wrap; gap: 10px 12px; padding: 10px 12px; }
  .ps-logo { padding: 3px 8px; border-radius: 6px; }
  .ps-logo-img { height: 32px; }
  .ps-logo-mark svg { width: 24px; height: 24px; }
  .ps-logo-text { font-size: 15px; }
  .ps-top-right { margin-left: auto; gap: 8px; }
  .ps-hotline .ps-hl-text small { display: none; }
  .ps-hl-text strong { font-size: 0; gap: 0; }
  .ps-hl-text strong svg { width: 20px; height: 20px; }
  .ps-vdiv { display: none; }
  .ps-store-link { font-size: 0; gap: 0; }
  .ps-store-link svg { width: 20px; height: 20px; }
  .ps-cart { padding: 8px 10px; font-size: 0; gap: 6px; border-radius: 8px; }
  .ps-cart svg { width: 18px; height: 18px; }
  .ps-cart .ps-count { font-size: 11px; }
  .ps-search { order: 5; flex: 1 1 100%; max-width: none; min-height: 0; }
  .ps-search input { padding: 9px 8px; font-size: 14px; min-height: 0; height: auto; }
  .ps-hero img { height: 200px; }
  /* hamburger nav */
  .ps-nav-inner { position: relative; padding: 0; }
  #ps-nav .ps-nav-toggle { display: flex; align-items: center; gap: 10px; width: 100%; background: var(--ps-green); border: none; border-radius: 0; color: #fff; font: 700 13.5px 'Be Vietnam Pro', sans-serif; padding: 12px 16px; margin-top: 0; cursor: pointer; text-transform: uppercase; letter-spacing: .3px; }
  #ps-nav.open .ps-nav-toggle { background: var(--ps-green-dark, #0A5240); }
  .ps-nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid #eee; border-left: none; border-right: none; box-shadow: 0 16px 30px rgba(0,0,0,.14); border-radius: 0; padding: 4px 0; z-index: 1000; max-height: 70vh; overflow: auto; }
  .ps-nav.open ul { display: flex; }
  .ps-nav ul li { display: block; border-left: none !important; border-top: 1px solid #f1f1f1; }
  .ps-nav ul li:first-child { border-top: none; }
  .ps-nav ul li > a { width: 100%; justify-content: space-between; padding: 12px 16px; min-height: 44px; font-size: 12.5px; }
  .ps-nav ul li > a .chev { color: #616161; }
  .has-drop:hover > .ps-drop { display: none; }
  .ps-nav ul li.sub-open > .ps-drop { display: block; }
  .ps-nav ul li.sub-open > a .chev { transform: rotate(180deg); }
  .ps-nav ul li.sub-open > a { color: var(--ps-orange); }
  .ps-drop { position: static; width: auto; box-shadow: none; border-radius: 0; padding: 4px 12px 10px 14px; gap: 0; min-width: 0; }
  .ps-drop-col { min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
  .ps-drop-col + .ps-drop-col { margin-top: 2px; border-top: 1px dashed #eee; }
  .ps-drop-col a { padding: 11px 2px; font-size: 12.5px; border-top: 1px dashed #eee; }
  .ps-drop > a.view-all { display: block; padding: 12px 2px 6px; font-size: 13px; }
  /* content grids */
  .ps-grid.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ps-grid.cols-3 { grid-template-columns: 1fr; }
  .ps-cat-grid { gap: 10px; }
  .ps-cat-icon { width: 52px; height: 52px; }
  .ps-cat { font-size: 11.5px; }
  .ps-store { grid-template-columns: 1fr; }
  .ps-map, .ps-map iframe { min-height: 260px; }
  .ps-trust-grid { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .ps-t { padding: 0 12px; }
  .ps-t + .ps-t { border-left: none; }
  .ps-sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ps-sec-head h2 { font-size: 16.5px; }
  .ps-tabs { gap: 8px 14px; font-size: 12px; }
  /* PDP responsive */
  .ps-pdp-top { grid-template-columns: 1fr; gap: 18px; padding: 16px; }
  .ps-pdp-desc { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
  .ps-pdp-side { position: static; flex-direction: row; overflow-x: auto; }
  .ps-pdp-side a { white-space: nowrap; }
  .ps-pdp-content h2 { scroll-margin-top: 175px; }
  .ps-pdp-title { font-size: 18px; }
  .ps-pdp-price-sale { font-size: 22px; }
  .ps-pdp-buy { font-size: 14px; padding: 12px 0; }
  .ps-pdp-author { flex-direction: column; }
  .ps-pdp-verified { align-self: flex-start; }
}
@media (max-width: 560px) {
  .ps-hero img { height: 170px; }
  .ps-name { font-size: 11.5px; }
  .ps-buy { font-size: 11px; padding: 8px 0; }
  .ps-price .new { font-size: 13px; }
  .ps-foot-grid { grid-template-columns: 1fr 1fr; }
  .ps-foot-grid .ps-foot-col:first-child, .ps-foot-grid .ps-foot-col:last-child { grid-column: 1 / -1; }
  .ps-center-title { font-size: 18px; }
  /* PDP mobile */
  .ps-pdp-title { font-size: 16px; }
  .ps-pdp-thumbs { gap: 8px; }
  .ps-pdp-price-sale { font-size: 20px; }
  .ps-pdp-rowline { flex-direction: column; align-items: flex-start; gap: 6px; }
  .ps-pdp-rowline > label { width: auto; }
  .ps-pdp-select { max-width: none; width: 100%; }
  .ps-pdp-phone { flex-direction: row; max-width: none; }
  .ps-pdp-phone button { padding: 0 22px; min-height: 44px; }
  .ps-pdp-buy { max-width: none; }
  .ps-cart-grid { grid-template-columns: 1fr; }
  .ps-cart-right { position: static; }
  .ps-cart-table-head { display: none; }
  .ps-cart-item { grid-template-columns: 1fr; gap: 10px; }
  .ps-cart-price { text-align: left; }
  .ps-cart-qtywrap { justify-content: flex-start; }
}
@media (max-width: 400px) {
  /* màn rất nhỏ: co logo thêm để hàng 1 không rớt dòng */
  .ps-logo-img { height: 26px; }
  .ps-logo-text { font-size: 13.5px; }
  .ps-top-right { gap: 6px; }
  .ps-top-inner { gap: 10px 8px; padding: 10px 10px; }
}

/* ============ CART (Màn 7 - FR-13/14, match mẫu 100%) ============ */
body.ps-cart-active { background: #F5F5F3; }
.ps-cart-page { background: #F5F5F3; padding-bottom: 26px; }
.ps-cart-bc { padding: 16px 0 6px; font-size: 12px; color: #8a8a8a; }
.ps-cart-bc a { color: #8a8a8a; }
.ps-cart-bc .sep { margin: 0 8px; color: #bbb; font-size: 11px; }
.ps-cart-bc .current { color: var(--ps-green); font-weight: 700; }
.ps-cart-success { background: #EAF6EF; border: 1px solid #BFE3CE; color: #0E6B4F; border-radius: 10px; padding: 14px 18px; font-size: 14px; margin: 12px 0; }
.ps-cart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 16px; }
.ps-cart-head h1 { font-size: 24px; font-weight: 800; color: #1a1a1a; display: flex; align-items: center; gap: 10px; letter-spacing: -.2px; }
.ps-cart-badge { font-size: 11px; font-weight: 700; color: #1E7A5A; background: #DFF0E6; border-radius: 999px; padding: 4px 11px; white-space: nowrap; }
.ps-cart-back { font-size: 12px; color: #1E7A5A; font-weight: 600; white-space: nowrap; }
.ps-cart-grid { display: grid; grid-template-columns: minmax(0,1fr) 348px; gap: 20px; align-items: start; }
.ps-cart-left { min-width: 0; }
.woocommerce-cart-form { background: #fff; border: 1px solid #ECECEC; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.ps-cart-table-head { display: grid; grid-template-columns: minmax(0,1fr) 200px; gap: 12px; padding: 11px 20px; font-size: 10px; font-weight: 700; letter-spacing: .8px; color: #616161; border-bottom: 1px solid #f0f0f0; text-transform: uppercase; background: #FCFCFC; }
.ps-cart-table-head span:nth-child(2) { text-align: right; }
.ps-cart-item { display: grid; grid-template-columns: minmax(0,1fr) 200px; gap: 12px; padding: 18px 20px; border-bottom: 1px solid #f2f2f2; align-items: center; }
.ps-cart-item:last-of-type { border-bottom: none; }
.ps-cart-prod { display: flex; gap: 14px; min-width: 0; }
.ps-cart-thumb { width: 76px; height: 76px; min-width: 76px; border: 1px solid #eee; border-radius: 8px; overflow: hidden; background: #fafafa; display: block; }
.ps-cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ps-cart-info { min-width: 0; display: flex; flex-direction: column; gap: 5px; justify-content: center; }
.ps-cart-cat { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .4px; color: #1E7A5A; text-transform: uppercase; border: 1px solid #C9DDD3; border-radius: 999px; padding: 5px 14px; background: #fff; align-self: flex-start; line-height: 1.2; white-space: nowrap; }
.ps-cart-name { font-size: 17px; font-weight: 800; color: #1a1a1a; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: -.1px; }
.ps-cart-auth { font-size: 13px; color: #595959; display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.ps-cart-auth svg { flex-shrink: 0; }
.ps-cart-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ps-cart-price { text-align: right; }
.ps-cart-price strong { display: block; font-size: 17px; font-weight: 800; color: #C25700; line-height: 1.25; }
.ps-cart-price s { font-size: 12px; color: #8a8a8a; font-weight: 400; }
.ps-cart-qtywrap { display: flex; align-items: center; gap: 12px; }
.ps-cart-qty { display: inline-flex; align-items: stretch; border: 1px solid #D9D9D9; border-radius: 9px; overflow: hidden; background: #fff; height: 40px; }
.ps-cart-qty input { width: 44px; text-align: center; border: none; border-left: 1px solid #E2E2E2; border-right: 1px solid #E2E2E2; outline: none; font-size: 15px; font-weight: 700; color: #222; -moz-appearance: textfield; appearance: textfield; padding: 0; }
.ps-cart-qty input::-webkit-inner-spin-button, .ps-cart-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ps-cart-qty .ps-qty-btn { width: 42px; border: none; background: #fff; font-size: 16px; font-weight: 400; color: #444; cursor: pointer; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.ps-cart-qty .ps-qty-btn:hover { background: #f4f4f4; }
.ps-cart-remove { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; text-decoration: none; }
.ps-cart-remove svg { display: block; }
.ps-cart-remove:hover svg { stroke: #C62828; }
.ps-cart-update-row { padding: 0; border: none; }
.ps-cart-update { display: none; }
.ps-cart-right { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ps-cart-box { background: #fff; border: 1px solid #ECECEC; border-radius: 12px; padding: 20px; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.ps-cart-box h3 { font-size: 14px; font-weight: 800; color: #1a1a1a; margin-bottom: 14px; }
.ps-cart-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #555; padding: 5px 0; }
.ps-cart-row .save { color: #222; font-weight: 600; }
.ps-cart-total { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f0f0f0; margin-top: 10px; padding-top: 14px; font-size: 12px; font-weight: 800; color: #333; }
.ps-cart-total strong { color: #B85C1A; font-size: 17px; font-weight: 800; }
.ps-cart-note { font-size: 10.5px; color: #aaa; text-align: right; margin-top: 6px; font-style: italic; }
.ps-cart-sub { font-size: 12px; color: #595959; margin-bottom: 14px; line-height: 1.5; }
.ps-lead-form label { display: block; font-size: 10.5px; font-weight: 700; color: #333; margin-bottom: 12px; letter-spacing: .3px; }
.ps-lead-form input[type=text], .ps-lead-form input[type=tel], .ps-lead-form input[type=email], .ps-lead-form textarea { width: 100%; margin-top: 7px; border: 1px solid #E5E5E5; border-radius: 8px; padding: 10px 12px; font-size: 12.5px; font-weight: 400; outline: none; background: #F7F7F7; color: #333; }
.ps-lead-form input::placeholder, .ps-lead-form textarea::placeholder { color: #aaa; }
.ps-lead-form input:focus, .ps-lead-form textarea:focus { border-color: var(--ps-green); background: #fff; box-shadow: 0 0 0 2px rgba(14,107,79,.1); }
.ps-lead-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ps-check { display: flex !important; align-items: center; gap: 8px; font-weight: 400 !important; font-size: 12px !important; color: #555 !important; letter-spacing: 0 !important; }
.ps-check input { width: 15px; height: 15px; margin: 0; accent-color: var(--ps-green); }
.ps-lead-submit { width: 100%; border: none; border-radius: 8px; background: #145A40; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .5px; padding: 14px 0; cursor: pointer; margin-top: 6px; }
.ps-lead-submit:hover { filter: brightness(1.1); }
.ps-lead-policy { font-size: 10px; color: #aaa; line-height: 1.65; margin-top: 12px; }
/* Empty - match mẫu */
.ps-cart-empty { background: #fff; border: 1px solid #ECECEC; border-radius: 12px; max-width: 880px; margin: 22px auto 30px; padding: 48px 30px 44px; text-align: center; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.ps-cart-empty-img { width: 230px; margin: 0 auto 20px; }
.ps-cart-empty h2 { font-size: 21px; font-weight: 800; color: #1a1a1a; line-height: 1.4; margin-bottom: 12px; }
.ps-cart-empty p { font-size: 12.5px; color: #595959; max-width: 400px; margin: 0 auto 22px; line-height: 1.7; }
.ps-cart-continue { display: inline-flex; align-items: center; gap: 10px; background: #145A40; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .4px; border-radius: 8px; padding: 13px 30px; }
.ps-cart-continue span { font-weight: 800; }
.ps-cart-continue:hover { filter: brightness(1.1); color: #fff; }
/* Cart footer/trust match mẫu kem */
body.ps-cart-active .ps-trust { background: #EDF4EE; }
body.ps-cart-active #ps-footer { background: #FAF7F1; }

/* ============ CART mobile (đặt cuối file để thắng base rules) ============ */
@media (max-width: 768px) {
  .ps-cart-page { overflow-x: clip; padding-bottom: 18px; }
  .ps-cart-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .ps-cart-right { position: static; }
  .ps-cart-table-head { display: none; }
  .ps-cart-item { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 16px; }
  .ps-cart-prod { gap: 12px; }
  .ps-cart-thumb { width: 68px; height: 68px; min-width: 68px; }
  .ps-cart-name { font-size: 14px; }
  .ps-cart-side { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
  .ps-cart-price { text-align: left; }
  .ps-cart-price strong { font-size: 15px; }
  .ps-cart-qtywrap { justify-content: flex-end; }
  .ps-cart-head h1 { font-size: 19px; }
  .ps-cart-box { padding: 16px; }
  .ps-lead-2col { grid-template-columns: minmax(0,1fr); }
  .ps-lead-form label, .ps-lead-form input, .ps-lead-form textarea { min-width: 0; }
  .ps-cart-empty { margin: 14px 0 20px; padding: 32px 20px; }
}

/* ============ LISTING (Màn 2, match mẫu) ============ */
body.ps-ls-active { background: #F5F5F3; }
.ps-ls-page { background: #F5F5F3; padding-bottom: 26px; }
.ps-ls-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 0 4px; }
.ps-ls-title-left { min-width: 0; }
.ps-ls-title h1 { font-size: 21px; font-weight: 800; color: #1a1a1a; letter-spacing: -.2px; margin-bottom: 8px; }
.ps-ls-count { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; margin-top: 6px; border: 1px solid #E2E2E2; border-radius: 999px; background: #fff; padding: 8px 16px; font-size: 12.5px; font-weight: 600; color: #555; white-space: nowrap; }
.ps-ls-desc { font-size: 12px; color: #8a8a8a; line-height: 1.7; max-width: 900px; }
.ps-ls-desc p { margin-bottom: 6px; }
.ps-ls-filters { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; background: #fff; border: 1px solid #ECECEC; border-radius: 12px; padding: 14px 18px; margin: 14px 0 16px; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.ps-ls-flabel { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .5px; color: var(--ps-green); border-right: 1px solid #eee; padding-right: 16px; white-space: nowrap; }
.ps-ls-form { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; flex-wrap: nowrap; }
.ps-ls-select { flex: 1; min-width: 0; border: 1px solid #E2E2E2; border-radius: 9px; padding: 11px 34px 11px 14px; font-size: 13px; color: #333; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333' fill='none' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; -webkit-appearance: none; outline: none; cursor: pointer; }
.ps-ls-select:focus { border-color: var(--ps-green); }
#ps-ls-cat { flex: 1; min-width: 0; }
.ps-ls-clear { margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: #C25700; border-left: 1px solid #eee; padding-left: 16px; white-space: nowrap; }
.ps-ls-clear:hover { text-decoration: underline; }
.ps-ls-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ps-ls-card { background: #fff; border: 1px solid var(--ps-card-border); border-radius: var(--ps-radius); overflow: hidden; position: relative; display: flex; flex-direction: column; }
.ps-ls-thumb { background: #F7EFE6; aspect-ratio: 1/1; display: block; overflow: hidden; }
.ps-ls-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ps-ls-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 7px; flex: 1; text-align: center; align-items: center; }
.ps-ls-name { font-size: 12px; font-weight: 600; line-height: 1.45; color: #333; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 34px; }
.ps-ls-buy { margin-top: auto; width: 100%; background: var(--ps-green); color: #fff; text-align: center; font-size: 11.5px; font-weight: 800; border-radius: 6px; padding: 9px 0; letter-spacing: .4px; }
.ps-ls-buy:hover { background: var(--ps-green-dark); color: #fff; }
.ps-ls-grid + .woocommerce-pagination, .ps-ls-page .woocommerce-pagination { margin: 22px 0 6px; text-align: center; }
.ps-ls-page .woocommerce-pagination ul.page-numbers { border: none; display: inline-flex; gap: 8px; }
.ps-ls-page .woocommerce-pagination ul.page-numbers li { border: none; overflow: visible; }
.ps-ls-page .woocommerce-pagination ul.page-numbers li .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px; border: 1px solid #E2E2E2; border-radius: 8px; background: #fff; font-size: 13px; font-weight: 700; color: #555; }
.ps-ls-page .woocommerce-pagination ul.page-numbers li .page-numbers.current { background: var(--ps-green); border-color: var(--ps-green); color: #fff; }
.ps-ls-empty { background: #fff; border: 1px solid #ECECEC; border-radius: 12px; padding: 40px 20px; text-align: center; font-size: 13.5px; color: #666; }
.ps-ls-clear-btn { display: inline-block; margin-top: 12px; background: var(--ps-green); color: #fff; font-size: 12.5px; font-weight: 800; border-radius: 8px; padding: 10px 24px; }
.ps-ls-seo { background: #fff; border: 1px solid #ECECEC; border-radius: 12px; padding: 22px 24px; margin-top: 22px; }
.ps-ls-seo h2 { font-size: 14.5px; font-weight: 800; color: #1E7A5A; margin-bottom: 10px; }
.ps-ls-seo-body { font-size: 12.5px; color: #595959; line-height: 1.75; max-height: 96px; overflow: hidden; position: relative; }
.ps-ls-seo.open .ps-ls-seo-body { max-height: none; }
.ps-ls-seo:not(.open) .ps-ls-seo-body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(transparent, #fff); }
.ps-ls-more { display: block; margin: 10px auto 0; border: none; background: none; color: #1E7A5A; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.ps-ls-viewed { margin-top: 22px; }
.ps-ls-viewed .ps-sec-head { margin-bottom: 14px; }
@media (max-width: 1024px) {
  .ps-ls-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .ps-ls-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ps-ls-title { flex-direction: column; }
  .ps-ls-count { margin-top: 0; }
  .ps-ls-title h1 { font-size: 18px; }
  .ps-ls-filters { flex-wrap: wrap; gap: 8px; }
  .ps-ls-flabel { border-right: none; }
  .ps-ls-form { flex-wrap: wrap; flex-basis: 100%; }
  .ps-ls-select, #ps-ls-cat { flex: 1 1 46%; }
  .ps-ls-clear { margin-left: 0; border-left: none; padding-left: 0; }
  .ps-ls-seo { padding: 16px; }
}

/* ============ SEARCH (Màn 11: FR-10 trang kết quả + FR-34 dropdown) ============ */
.ps-search { position: relative; overflow: visible; }
.ps-live-drop { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid #eee; border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.14); z-index: 1001; max-height: 380px; overflow-y: auto; display: none; }
.ps-live-drop.open { display: block; }
.ps-live-item { display: flex; gap: 10px; align-items: center; padding: 10px 12px; }
.ps-live-item:hover { background: #F6FAF8; }
.ps-live-thumb { width: 48px; height: 48px; min-width: 48px; border-radius: 8px; object-fit: cover; background: #F2F6F4; }
.ps-live-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ps-live-text strong { font-size: 13px; font-weight: 700; color: #134E3A; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ps-live-text small { font-size: 12px; color: #595959; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ps-live-foot { display: block; text-align: center; padding: 10px; font-size: 12.5px; font-weight: 700; color: var(--ps-green); border-top: 1px solid #eee; }
.ps-live-empty { padding: 14px; font-size: 12.5px; color: #595959; text-align: center; line-height: 1.6; }
@media (max-width: 768px) {
  .ps-live-drop { position: absolute; }
}

/* ============ CẨM NANG LISTING (Màn 4, theo ảnh) ============ */
.ps-cn-page { background: #fff; padding-bottom: 26px; }
.ps-cn-page .ps-pdp-bc { padding: 12px 0 0; font-size: 12px; color: #616161; }
.ps-cn-tabs { display: flex; gap: 26px; overflow-x: auto; border-bottom: 1px solid #eee; margin: 10px 0 18px; scrollbar-width: none; }
.ps-cn-tabs::-webkit-scrollbar { display: none; }
.ps-cn-tabs a { font-size: 12px; font-weight: 700; color: #595959; padding: 10px 2px 12px; white-space: nowrap; letter-spacing: .2px; }
.ps-cn-tabs a.active { color: var(--ps-green); border-bottom: 2px solid var(--ps-green); }
.ps-cn-feat { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; margin-bottom: 22px; }
.ps-cn-feat-main { display: flex; flex-direction: column; background: #fff; border: 1px solid #eee; border-radius: 12px; overflow: hidden; }
.ps-cn-feat-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.ps-cn-feat-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.ps-cn-feat-body strong { font-size: 18px; line-height: 1.4; color: #1a1a1a; }
.ps-cn-feat-meta { font-size: 11.5px; color: #616161; }
.ps-cn-feat-ex { font-size: 12.5px; color: #595959; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ps-cn-feat-side { display: flex; flex-direction: column; gap: 12px; }
.ps-cn-mini { display: flex; gap: 12px; background: #fff; border: 1px solid #eee; border-radius: 12px; overflow: hidden; padding: 10px; align-items: center; }
.ps-cn-mini img { width: 132px; height: 96px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.ps-cn-mini span { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ps-cn-mini strong { font-size: 13px; line-height: 1.45; color: #1a1a1a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ps-cn-mini small { font-size: 11px; color: #616161; }
.ps-cn-h2 { font-size: 15px; font-weight: 800; color: #1a1a1a; margin: 4px 0 14px; letter-spacing: .2px; }
.ps-cn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ps-cn-card { background: #fff; border: 1px solid #eee; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.ps-cn-img { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: #f2f2f2; }
.ps-cn-img img { width: 100%; height: 100%; object-fit: cover; }
.ps-cn-badge { position: absolute; top: 10px; left: 10px; background: #0E6B4F; color: #fff; font-size: 10px; font-weight: 800; border-radius: 6px; padding: 4px 10px; letter-spacing: .3px; }
.ps-cn-body { padding: 12px 14px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ps-cn-title { font-size: 13.5px; font-weight: 800; line-height: 1.5; color: #1a1a1a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.ps-cn-ex { font-size: 12px; color: #595959; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ps-cn-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.ps-cn-who { font-size: 11px; color: #616161; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-cn-go { width: 26px; height: 26px; min-width: 26px; border-radius: 50%; border: 1px solid #e3e3e3; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; color: #616161; }
.ps-cn-go:hover { border-color: var(--ps-green); color: var(--ps-green); }
.ps-cn-pager { display: flex; justify-content: center; gap: 8px; margin: 22px 0 6px; font-size: 13px; }
.ps-cn-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px; border: 1px solid #E2E2E2; border-radius: 8px; background: #fff; color: #555; font-weight: 700; }
.ps-cn-pager .page-numbers.current { background: var(--ps-green); border-color: var(--ps-green); color: #fff; }
@media (max-width: 1024px) {
  .ps-cn-grid { grid-template-columns: repeat(2, 1fr); }
  .ps-cn-feat { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .ps-cn-grid { grid-template-columns: 1fr; }
  .ps-cn-mini img { width: 110px; height: 84px; }
  .ps-cn-feat-body strong { font-size: 16px; }
}

/* ============ CẨM NANG DETAIL (Màn 5, theo ảnh) ============ */.ps-ar-page { background: #fff; padding-bottom: 26px; }
.ps-ar-narrow { max-width: 860px; }
.ps-ar-page .ps-pdp-bc { padding: 12px 0 0; font-size: 12px; }
.ps-ar-eyebrow { margin-top: 14px; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: var(--ps-green); }
.ps-ar-title { margin-top: 8px; font-size: 26px; line-height: 1.4; font-weight: 800; color: #1a1a1a; }
.ps-ar-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; font-size: 12.5px; color: #595959; }
.ps-ar-author { display: inline-flex; align-items: center; gap: 8px; }
.ps-ar-author img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.ps-ar-author strong { color: #444; font-weight: 700; }
.ps-ar-author strong a { color: inherit; }
.ps-ar-author strong a:hover { color: var(--ps-green); }
.ps-ar-sep { width: 1px; height: 14px; background: #e0e0e0; }
.ps-ar-share { border: none; background: none; color: #595959; font-size: 12.5px; cursor: pointer; padding: 0; }
.ps-ar-share:hover { color: var(--ps-green); }
.ps-ar-lead { margin-top: 16px; padding-left: 14px; border-left: 3px solid var(--ps-orange); font-size: 13.5px; font-style: italic; color: #555; line-height: 1.75; }
.ps-ar-toc { margin-top: 18px; background: #FAF6F0; border: 1px solid #EFE6D8; border-radius: 10px; padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; }
.ps-ar-toc strong { font-size: 13px; font-weight: 800; color: #333; margin-bottom: 4px; }
.ps-ar-toc a { font-size: 13px; color: #444; line-height: 1.6; }
.ps-ar-toc a:hover { color: var(--ps-green); }
.ps-ar-toc-3 { padding-left: 18px; }
.ps-ar-body { margin-top: 18px; font-size: 14.5px; color: #333; line-height: 1.8; }
.ps-ar-body h2 { font-size: 16px; font-weight: 800; color: #1a1a1a; margin: 22px 0 10px; scroll-margin-top: 140px; }
.ps-ar-body h3 { font-size: 14.5px; font-weight: 700; color: #222; margin: 16px 0 8px; scroll-margin-top: 140px; }
.ps-ar-body p { margin-bottom: 12px; }
.ps-ar-body ul, .ps-ar-body ol { margin: 0 0 12px 22px; }
.ps-ar-body li { margin-bottom: 5px; }
.ps-ar-body img { max-width: 100%; height: auto; border-radius: 10px; }
/* Ảnh do Content Team chèn (block Image/figure): luôn full cột + caption cùng khổ */
.ps-ar-body figure { margin: 16px 0; max-width: 100%; }
.ps-ar-body figure img { width: 100%; height: auto; }
.ps-ar-body figcaption { margin-top: 8px; font-size: 12px; color: #616161; text-align: center; background: #f7f7f7; border-radius: 6px; padding: 8px 12px; }
/* Link trong nội dung (không áp vào nút/card để tránh đè màu chữ nút) */
.ps-ar-body p a, .ps-ar-body li a, .ps-ar-body td a, .ps-ar-body figcaption a { color: var(--ps-green); }
/* Card SP nhúng trong bài */
.ps-ar-pcard { display: flex; gap: 14px; align-items: center; border: 1px solid #ECECEC; border-radius: 12px; padding: 14px 16px; margin: 18px 0; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.ps-ar-pcard-img { width: 64px; height: 64px; min-width: 64px; object-fit: cover; border-radius: 8px; background: #F7EFE6; }
.ps-ar-pcard-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ps-ar-pcard-cat { font-size: 10px; font-weight: 700; letter-spacing: .5px; color: #616161; }
.ps-ar-pcard-name { font-size: 13.5px; font-weight: 700; color: #1a1a1a; line-height: 1.45; }
.ps-ar-pcard-name:hover { color: var(--ps-green); }
.ps-ar-pcard-act { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.ps-ar-buy { background: var(--ps-green); color: #fff; font-size: 11px; font-weight: 800; border-radius: 6px; padding: 8px 18px; text-align: center; white-space: nowrap; }
.ps-ar-buy:hover { background: var(--ps-green-dark); color: #fff; }
.ps-ar-detail { border: 1px solid var(--ps-green); color: var(--ps-green); font-size: 11px; font-weight: 800; border-radius: 6px; padding: 7px 18px; text-align: center; white-space: nowrap; background: #fff; }
/* Disclaimer + CTA tư vấn */
.ps-ar-note { display: flex; gap: 10px; background: #FFFDF6; border: 1px solid #EFE6CF; border-radius: 10px; padding: 14px 16px; font-size: 12.5px; color: #8a7a4d; line-height: 1.7; margin-top: 20px; }
.ps-ar-note-ic { color: var(--ps-green); font-size: 15px; flex-shrink: 0; }
.ps-ar-consult { display: flex; gap: 0; margin: 18px auto 0; max-width: 560px; border: 1.5px solid var(--ps-green); border-radius: 8px; overflow: hidden; background: #fff; }
.ps-ar-consult input { flex: 1; min-width: 0; border: none; outline: none; padding: 13px 16px; font-size: 13px; }
.ps-ar-consult button { border: none; background: var(--ps-green); color: #fff; font-size: 13px; font-weight: 800; padding: 0 28px; cursor: pointer; white-space: nowrap; }
.ps-ar-consult button:hover { background: var(--ps-green-dark); }
/* Bài liên quan */
.ps-ar-rel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0 14px; padding-top: 20px; border-top: 1px solid #eee; }
.ps-ar-rel-head h2 { font-size: 14px; font-weight: 800; color: #1a1a1a; letter-spacing: .3px; }
.ps-ar-rel-head .more { font-size: 12px; color: var(--ps-green); font-weight: 600; }
.ps-ar-rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ps-ar-rel { display: flex; flex-direction: column; gap: 8px; }
.ps-ar-rel-img { display: block; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; background: #f2f2f2; }
.ps-ar-rel-img img { width: 100%; height: 100%; object-fit: cover; }
.ps-ar-rel-title { font-size: 12.5px; font-weight: 700; color: #222; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ps-ar-rel-date { font-size: 11px; color: #616161; }
@media (max-width: 768px) {
  .ps-ar-title { font-size: 20px; }
  .ps-ar-narrow { max-width: none; }
  .ps-ar-rel-grid { grid-template-columns: repeat(2, 1fr); }
  .ps-ar-pcard { flex-wrap: wrap; }
  .ps-ar-pcard-act { flex-direction: row; width: 100%; }
  .ps-ar-pcard-act a { flex: 1; }
  .ps-ar-consult { flex-direction: column; }
  .ps-ar-consult button { padding: 13px 0; }
}

/* ============ HỒ SƠ DƯỢC SĨ (Màn 6, theo ảnh) ============ */
.ps-au-page { background: #fff; padding-bottom: 0; }
.ps-au-page .ps-pdp-bc { padding: 12px 0 0; font-size: 12px; }
.ps-au-top { display: grid; grid-template-columns: 220px 1fr; gap: 26px; margin-top: 14px; align-items: start; }
.ps-au-photo { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 12px; border: 1px solid #eee; }
.ps-au-name { font-size: 22px; font-weight: 800; color: #1a1a1a; }
.ps-au-pos { margin-top: 6px; font-size: 13.5px; color: #666; }
.ps-au-card { margin-top: 14px; background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 18px 22px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.ps-au-card h4 { font-size: 13.5px; font-weight: 800; color: #1a1a1a; margin: 14px 0 8px; }
.ps-au-card h4:first-child { margin-top: 0; }
.ps-au-ex, .ps-au-bio { font-size: 13px; color: #666; line-height: 1.75; }
.ps-au-bio p { margin-bottom: 8px; }
.ps-au-creds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ps-au-creds li { position: relative; padding-left: 18px; font-size: 12.5px; color: #595959; line-height: 1.65; }
.ps-au-creds li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--ps-orange); }
.ps-au-articles { background: #FAF8F4; border-top: 1px solid #f0ece4; margin-top: 26px; padding: 24px 0 30px; }
.ps-au-h2 { font-size: 16px; font-weight: 800; color: #1a1a1a; margin-bottom: 14px; }
.ps-cn-badge.is-adv { background: #E8A33D; }
@media (max-width: 768px) {
  .ps-au-top { grid-template-columns: 1fr; }
  .ps-au-photo { max-width: 240px; }
}

/* ============ LIÊN HỆ HỢP TÁC (Màn 8, theo ảnh) ============ */
.ps-pt-page { background: #fff; padding-bottom: 30px; }
.ps-pt-page .ps-pdp-bc { padding: 12px 0 0; font-size: 12px; }
.ps-pt-hero { text-align: center; max-width: 640px; margin: 26px auto 0; }
.ps-pt-ic { width: 52px; height: 52px; border-radius: 50%; background: #EAF4EF; display: inline-flex; align-items: center; justify-content: center; }
.ps-pt-hero h1 { font-size: 30px; font-weight: 800; color: #1a1a1a; margin: 14px 0 10px; }
.ps-pt-hero p { font-size: 13px; color: #595959; line-height: 1.75; }
.ps-pt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1020px; margin: 28px auto 0; align-items: stretch; }
.ps-pt-photo img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.ps-pt-card { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 0 0 26px; box-shadow: 0 4px 18px rgba(0,0,0,.06); overflow: hidden; }
.ps-pt-chead { background: #FCFCFA; border-bottom: 1px solid #eee; padding: 24px 28px 18px; margin-bottom: 20px; }
.ps-pt-card h2 { font-size: 26px; font-weight: 800; color: #1a1a1a; display: flex; align-items: center; gap: 10px; }
.ps-pt-sub { font-size: 14px; color: #595959; margin: 8px 0 0; }
.ps-pt-card form { padding: 0 28px; }
.ps-pt-card .ps-consult-ok, .ps-pt-card .ps-consult-err { margin: 0 28px 16px; }
.ps-pt-card label { display: block; margin-bottom: 18px; }
.ps-pt-card label > span { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 800; color: #222; margin-bottom: 9px; }
.ps-pt-card label > span svg { color: #666; flex-shrink: 0; }
.ps-pt-card input[type=text], .ps-pt-card textarea { width: 100%; border: 1px solid #E0E0E0; border-radius: 12px; padding: 15px 18px; font-size: 14.5px; outline: none; background: #FDFDFD; color: #333; font-family: inherit; }
.ps-pt-card input::placeholder, .ps-pt-card textarea::placeholder { color: #616161; }
.ps-pt-card input:focus, .ps-pt-card textarea:focus { border-color: var(--ps-green); background: #fff; box-shadow: 0 0 0 2px rgba(14,107,79,.1); }
.ps-pt-submit { width: 100%; border: none; border-radius: 999px; background: #8F5620; color: #fff; font-size: 16px; font-weight: 800; letter-spacing: 1px; padding: 17px 0; cursor: pointer; margin-top: 8px; box-shadow: 0 6px 14px rgba(193,122,61,.35); }
.ps-pt-submit:hover { filter: brightness(.95); }
.ps-pt-note { font-size: 11px; font-style: italic; color: #616161; text-align: center; margin: 14px 28px 0; }
@media (max-width: 768px) {
  .ps-pt-grid { grid-template-columns: 1fr; }
  .ps-pt-photo img { min-height: 0; }
  .ps-pt-hero h1 { font-size: 24px; }
}

/* ============ GIỚI THIỆU (Màn 9, theo ảnh) ============ */
.ps-gt-page { background: #fff; padding-bottom: 34px; }
.ps-gt-page .ps-pdp-bc { padding: 12px 0 0; font-size: 12px; }
.ps-gt-title { text-align: center; font-size: 30px; font-weight: 800; color: #1a1a1a; margin: 26px 0 0; }
.ps-gt-title::after { content: ""; display: block; width: 44px; height: 3px; background: #C17A3D; border-radius: 2px; margin: 10px auto 0; }
.ps-gt-body { max-width: 880px; margin: 22px auto 0; font-size: 13.5px; line-height: 1.85; color: #333; }
.ps-gt-body p { margin: 0 0 16px; }
.ps-gt-body h2 { font-size: 17px; font-weight: 800; color: #1a1a1a; margin: 26px 0 12px; }
.ps-gt-body img { display: block; max-width: 640px; width: 100%; height: auto; margin: 26px auto; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
/* Đoạn cuối trong nội dung = dòng sign-off (xanh, nghiêng, căn giữa) */
.ps-gt-body > p:last-child { text-align: center; font-style: italic; font-size: 22px; line-height: 1.6; color: var(--ps-green); margin: 34px 0 0; }
@media (max-width: 768px) {
  .ps-gt-title { font-size: 24px; }
  .ps-gt-body { font-size: 13px; }
  .ps-gt-body > p:last-child { font-size: 17px; }
}

/* ============ HỖ TRỢ KHÁCH HÀNG (Màn 10, kiểu a: mỗi mục 1 trang) ============ */
.ps-ht-page { background: #fff; padding-bottom: 34px; }
.ps-ht-page .ps-pdp-bc { padding: 12px 0 0; font-size: 12px; }
.ps-ht-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; margin-top: 24px; align-items: start; }
.ps-ht-side { border: 1px solid #eee; border-radius: 12px; overflow: hidden; background: #fff; }
.ps-ht-label { font-size: 12px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: #555; background: #F7FAF8; padding: 13px 18px; border-bottom: 1px solid #eee; }
.ps-ht-item { display: block; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .2px; color: #555; padding: 13px 18px; border-bottom: 1px solid #f2f2f2; border-left: 3px solid transparent; }
.ps-ht-item:last-child { border-bottom: none; }
.ps-ht-item:hover { color: var(--ps-green); }
.ps-ht-item.active { color: var(--ps-green); background: #EEF6F1; border-left-color: var(--ps-green); }
.ps-ht-card { border: 1px solid #eee; border-radius: 12px; padding: 26px 30px 30px; background: #fff; min-width: 0; }
.ps-ht-h2 { font-size: 20px; font-weight: 800; color: #1a1a1a; margin: 0 0 16px; }
.ps-ht-body { font-size: 13.5px; line-height: 1.85; color: #333; }
.ps-ht-body p { margin: 0 0 14px; }
.ps-ht-body h3 { font-size: 15px; font-weight: 800; color: #1a1a1a; margin: 22px 0 10px; }
.ps-ht-body ul { margin: 0 0 14px 20px; }
.ps-ht-body li { margin-bottom: 8px; }
.ps-ht-body table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-size: 13px; }
.ps-ht-body th, .ps-ht-body td { border: 1px solid #eee; padding: 10px 12px; text-align: left; line-height: 1.7; }
.ps-ht-body th { background: #F7FAF8; font-size: 12px; text-transform: uppercase; letter-spacing: .3px; color: #333; }
.ps-ht-body table td strong { color: var(--ps-green); }
.ps-ht-body img { max-width: 100%; height: auto; border-radius: 10px; }
.ps-ht-back { text-align: center; margin-top: 26px; }
.ps-ht-back a { display: inline-block; background: #8F5620; color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .5px; border-radius: 8px; padding: 13px 42px; box-shadow: 0 6px 14px rgba(193,122,61,.35); }
.ps-ht-back a:hover { filter: brightness(.95); color: #fff; }
@media (max-width: 768px) {
  .ps-ht-grid { grid-template-columns: 1fr; }
  .ps-ht-card { padding: 20px 18px 24px; }
}

/* ============ TOAST "Đã thêm vào giỏ hàng" (Chọn mua AJAX) ============ */
.ps-toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; align-items: center; width: max-content; max-width: calc(100vw - 32px); }
.ps-toast { display: flex; align-items: center; gap: 10px; background: #1c1c1c; color: #fff; font-size: 13.5px; border-radius: 12px; padding: 13px 18px; box-shadow: 0 10px 28px rgba(0,0,0,.28); animation: ps-toast-in .25s ease-out; max-width: 100%; }
.ps-toast.out { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.ps-toast-check { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: #22a06b; color: #fff; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.ps-toast-msg { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 56vw; }
.ps-toast-link { flex-shrink: 0; color: #f5b04c; font-weight: 800; white-space: nowrap; }
.ps-toast-link:hover { color: #ffc46b; }
@keyframes ps-toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ============ GIỎ HÀNG: chọn sản phẩm cần mua ============ */
.ps-cart-table-head { grid-template-columns: 34px minmax(0,1fr) 200px; }
.ps-cart-item { grid-template-columns: 34px minmax(0,1fr) 200px; }
.ps-sel { display: flex; align-items: center; justify-content: center; }
.ps-sel input[type=checkbox], .ps-sel-all input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--ps-green); cursor: pointer; margin: 0; }
.ps-sel-all { display: flex; align-items: center; gap: 8px; cursor: pointer; }
@media (max-width: 768px) {
  .ps-cart-item { grid-template-columns: 34px 1fr; }
  .ps-cart-side { grid-column: 1 / -1; }
}

/* ============ LIST SẢN PHẨM: chữ to hơn (tên, giá, nút mua) ============ */
.ps-ls-name { font-size: 14px; min-height: 41px; }
.ps-ls-body .ps-price .new { font-size: 16px; }
.ps-ls-body .ps-price .old { font-size: 12.5px; }
.ps-ls-buy { font-size: 13px; padding: 10px 0; }
@media (max-width: 560px) {
  .ps-ls-name { font-size: 13px; min-height: 38px; }
  .ps-ls-body .ps-price .new { font-size: 14.5px; }
  .ps-ls-buy { font-size: 12px; }
}

/* ============ CARD TRANG CHỦ (dùng chung khối liên quan PDP): chữ to theo ============ */
.ps-name { font-size: 14px; min-height: 41px; }
.ps-card .ps-price .new { font-size: 16px; }
.ps-card .ps-price .old { font-size: 12.5px; }
.ps-buy { font-size: 13px; padding: 10px 0; }
@media (max-width: 560px) {
  .ps-name { font-size: 12.5px; min-height: 37px; }
  .ps-card .ps-price .new { font-size: 14.5px; }
  .ps-buy { font-size: 12px; }
}
