/* Pregnancy Mom – Baby Exchange + PregnancyMom Shop (Dec 2026). Light pink theme (#FDF2F8, #C2477F → #8E44AD). Builds on pm-tiles.css (.pt-*). */
#tab-exchange,#tab-shop{display:grid;gap:14px}
#tab-exchange[hidden],#tab-shop[hidden]{display:none}
.mx-head{background:linear-gradient(160deg,#FDF2F8 0%,#FFF 55%,#F6EEFB 100%)}
.mx-tag{margin:0;font:800 15px/1.3 var(--sans,system-ui,sans-serif);background:linear-gradient(90deg,#C2477F,#8E44AD);-webkit-background-clip:text;background-clip:text;color:transparent}
.mx-disc{background:#FDF2F8;border:1.5px dashed #E9A9C9;border-radius:14px;padding:10px 12px;color:#6B2A55;font-size:13px;line-height:1.45}
.mx-disc p{margin:0}.mx-disc p+p{margin-top:4px;color:#7A5A72}
.mx-filters .pt-g3{align-items:end}
.mx-pinrow{display:flex;gap:6px}.mx-pinrow input{flex:1 1 auto;min-width:0}
.mx-chips{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
.mx-chips::-webkit-scrollbar{display:none}
.mx-chips .pt-chip{white-space:nowrap;flex:0 0 auto}
.pt-chip.on{background:linear-gradient(90deg,#C2477F,#8E44AD);color:#fff;border-color:transparent}
.mx-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mx-card{display:grid;grid-template-rows:auto 1fr;text-align:left;background:#fff;border:1.5px solid #F2D8E6;border-radius:20px;overflow:hidden;padding:0;cursor:pointer;box-shadow:0 4px 14px rgba(194,71,127,.07);color:#2A1630;font:inherit}
.mx-img{position:relative;display:block;aspect-ratio:1/1;background:#FDF2F8}
.mx-img img{width:100%;height:100%;object-fit:cover;display:block}
.mx-img i{position:absolute;inset:0;display:grid;place-items:center;font-size:46px;font-style:normal}
.mx-img .mx-free,.mx-img .mx-price{position:absolute;left:8px;bottom:8px}
.mx-ct{display:grid;gap:2px;padding:8px 10px 10px}
.mx-ct b{font:700 14.5px/1.3 var(--sans,system-ui,sans-serif);overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mx-ct small{font-size:12.5px;color:#6B5870;line-height:1.35}
.mx-free{background:#1B7A43;color:#fff;border-radius:999px;padding:3px 10px;font:800 13px/1.3 var(--sans,system-ui,sans-serif)}
.mx-price{background:#fff;color:#8E2A64;border:1.5px solid #F2D8E6;border-radius:999px;padding:3px 10px;font:800 14px/1.3 var(--sans,system-ui,sans-serif)}
.mx-detail .mx-free,.mx-detail .mx-price{font-size:17px;padding:5px 14px}
.mx-sold{background:#4A3A48;color:#fff;border-radius:999px;padding:3px 10px;font:800 13px/1.3 var(--sans,system-ui,sans-serif)}
.mx-gal{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;margin:-4px -4px 0;padding:4px}
.mx-gal img{flex:0 0 88%;max-width:88%;aspect-ratio:1/1;object-fit:cover;border-radius:18px;scroll-snap-align:center;background:#FDF2F8}
.mx-gal img:only-child{flex-basis:100%;max-width:100%}
.mx-loc{margin:0;font-weight:700;color:#5B3A55}
.mx-descr{margin:0;white-space:pre-wrap;line-height:1.5}
.mx-contact{background:#ECFDF3;border:1.5px solid #BFE8D0;border-radius:16px;padding:10px 12px;display:grid;gap:8px}
.mx-contact p{margin:0;color:#1B5E3B}
.mx-wa{background:#1FA855!important;background-image:none!important;color:#fff!important;text-decoration:none}
a.pt-btn{text-decoration:none}
.mx-safe,.mx-rules{background:#F7F3FF;border-radius:14px;padding:8px 12px}
.mx-rules{background:#FFF1F1}
.mx-safe summary,.mx-rules summary{font-weight:800;color:#5B2A80;cursor:pointer;min-height:36px;display:flex;align-items:center}
.mx-rules summary{color:#9B1C1C}
.mx-safe ul{margin:4px 0 6px;padding-left:20px;display:grid;gap:4px;font-size:14px;line-height:1.45}
.mx-rules p{margin:4px 0;font-size:14px;line-height:1.5;color:#5B1E1E}
.mx-report{display:flex;flex-wrap:wrap;gap:8px;align-items:end}
.mx-form{gap:12px}
.mx-fs{border:0;margin:0;padding:0;display:grid;gap:6px}
.mx-fs legend{font:600 14px/1.3 var(--sans,system-ui,sans-serif);color:#5B3A55;margin-bottom:4px}
.mx-rad{flex:1 1 0;min-height:44px;border-radius:999px;border:1.5px solid #EBC9DC;background:#fff;color:#8E2A64;font:700 13.5px/1.2 var(--sans,system-ui,sans-serif);display:flex;align-items:center;justify-content:center;text-align:center;padding:4px 8px;cursor:pointer}
.mx-rad input{position:absolute;opacity:0;width:1px;height:1px}
.mx-rad.on{background:linear-gradient(90deg,#C2477F,#8E44AD);color:#fff;border-color:transparent}
.mx-rad:focus-within{outline:3px solid rgba(194,71,127,.35)}
.mx-chk{align-items:flex-start}.mx-chk input{flex:0 0 auto;margin-top:1px}
.mx-phs{display:flex;gap:8px;flex-wrap:wrap}
.mx-ph{position:relative;display:grid;gap:2px;font-size:11px;color:#7A6274;text-align:center}
.mx-ph img{width:92px;height:92px;object-fit:cover;border-radius:14px;border:1.5px solid #F2D8E6}
.mx-ph button{position:absolute;top:-6px;right:-6px;width:28px;height:28px;border-radius:50%;border:0;background:#C8102E;color:#fff;font-weight:800;cursor:pointer}
.mx-phadd{width:92px;height:92px;border-radius:14px;border:2px dashed #E9A9C9;background:#FDF2F8;color:#8E2A64;font:700 13px/1.25 var(--sans,system-ui,sans-serif);cursor:pointer;padding:6px}
.mx-done{text-align:center;justify-items:center}
.mx-mine{border:1.5px solid #F2D8E6;border-radius:16px;padding:10px 12px;display:grid;gap:6px}
.mx-st{justify-self:start;border-radius:999px;padding:2px 10px;font-size:13px;font-weight:700;background:#FDF2F8;color:#8E2A64}
.mx-st--approved{background:#ECFDF3;color:#1B5E3B}.mx-st--rejected,.mx-st--gone{background:#F3F0F2;color:#6B5870}
/* Shop (official) */
.sh-head{border-color:#E4C8F0}
.sh-badge{display:inline-flex;align-items:center;gap:4px;background:linear-gradient(90deg,#C2477F,#8E44AD);color:#fff;border-radius:999px;padding:4px 12px;font:800 13px/1.2 var(--sans,system-ui,sans-serif);white-space:nowrap}
.sh-badge--sm{position:absolute;left:8px;top:8px;padding:2px 8px;font-size:11px}
.sh-cod{margin:0;background:#FFF7E8;border:1px solid #F6DDB0;border-radius:12px;padding:8px 10px;color:#6A4A12;font:600 13.5px/1.4 var(--sans,system-ui,sans-serif)}
.sh-price{font:800 16px/1.2 var(--sans,system-ui,sans-serif);color:#8E2A64}
.sh-detail .sh-price{font-size:22px}
.sh-mrp{color:#9A8494;font-size:12.5px}
.sh-off{color:#1B7A43;font-weight:800;font-size:12.5px}
.sh-oos .mx-img img{filter:grayscale(.6);opacity:.7}
.sh-oostag{position:absolute;right:8px;bottom:8px;background:#4A3A48;color:#fff;border-radius:999px;padding:2px 8px;font-size:11.5px;font-weight:700}
.sh-qty{display:flex;align-items:center;gap:12px}.sh-qty b{font-size:20px;min-width:24px;text-align:center}
.sh-notmed{margin:0;font-size:12.5px;line-height:1.45;color:#6B5870;background:#F7F3FF;border-radius:12px;padding:8px 10px}
.sh-sum{display:flex;gap:10px;align-items:center;background:#FDF2F8;border-radius:16px;padding:8px}
.sh-sum img{width:64px;height:64px;object-fit:cover;border-radius:12px}
.sh-sum p{margin:0;line-height:1.4}
.sh-total{display:flex;justify-content:space-between;align-items:center;font-weight:700;color:#5B3A55;border-top:1.5px dashed #F2D8E6;padding-top:10px}
.sh-total b{font-size:22px;color:#8E2A64}
.sh-no{font-size:20px;letter-spacing:.5px;color:#8E44AD}
