/* ==========================================================================
   shop_variant.css — (26/11/2026) [PV-VARIANT] สินค้าหลายแบบ หน้าร้าน shopping
   หน้ารายการ (cart_product_v2.php) : การ์ดกลุ่ม .sst-card.is-variant (ป้ายจำนวนแบบ .sst-vcount + ปุ่ม "เลือกแบบ" .sst-pick)
   หน้ารายละเอียด (cart_product_detail_v2.php) : ปุ่มเลือกแบบ .spv-chip (หมด = จาง กดไม่ได้)
   สีใช้ตัวแปรเดิมของหน้าร้าน (--sv2-* / --sst-c2 อิงตั้งค่าสี Member) ห้าม hardcode สีแบรนด์
   ========================================================================== */
.sst-vcount { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--sv2-tint, #eef6fb); color: var(--sv2-c2, var(--sst-c2, #2cabe3)); font-size: 11.5px; font-weight: 700; vertical-align: 1px; }
a.sst-add.sst-pick { text-decoration: none; color: #fff; }
a.sst-add.sst-pick:hover { color: #fff; }

.spv { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 4px; }
.spv-row { display: flex; flex-direction: column; gap: 8px; }
.spv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.spv-chip {
    min-width: 48px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px;
    border: 1.5px solid var(--sv2-line, #e3e8ef); border-radius: 12px; background: #fff; color: var(--sv2-text, #1d2939);
    font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .15s, background-color .15s, color .15s;
}
a.spv-chip:hover { border-color: var(--sv2-c2, #2cabe3); color: var(--sv2-c2, #2cabe3); text-decoration: none; }
.spv-chip.is-on { border-color: var(--sv2-c2, #2cabe3); background: var(--sv2-tint, #eef6fb); color: var(--sv2-c2, #2cabe3); box-shadow: inset 0 0 0 1px var(--sv2-c2, #2cabe3); cursor: default; }
/* หมด / แสดงไม่ได้ : จาง + ขีดฆ่า กดไม่ได้ */
.spv-chip.is-off { opacity: .45; cursor: not-allowed; text-decoration: line-through; background: var(--sv2-bg, #f6f8fb); }
.spv-soldout { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: #fef2f2; color: #b42318; font-size: 14px; font-weight: 600; }
.spd-btn[disabled] { opacity: .5; cursor: not-allowed; filter: none; }
.sst-card.is-variant .sst-price strong { white-space: nowrap; font-size: .92em; }
