/* Cao Phong Care v25 — colored soft-relief tiles. Loaded after giao-dien.css. */
.cp-icon{display:inline-block;vertical-align:middle;flex:none;max-width:none;overflow:visible}
.cp-icon--tile{width:44px;height:44px;border-radius:25%;box-shadow:0 3px 5px -3px #243b4930,0 6px 10px -5px #243b492b;transform:translateY(0) scale(1);transform-origin:50% 70%;transition:transform 180ms cubic-bezier(.2,.7,.25,1);pointer-events:none}
.cp-icon--glyph{width:24px;height:24px;pointer-events:none}
.cp-icon.cp-is-lifted{transform:translateY(-3px) scale(1.045)}
@media(hover:hover) and (pointer:fine){:is(button,a,[role="button"],[data-cp-lift]):hover .cp-icon--tile{transform:translateY(-1.5px)}:is(button,a,[role="button"],[data-cp-lift]):hover .cp-icon.cp-is-lifted{transform:translateY(-3px) scale(1.045)}}
:is(button,a,[role="button"],[data-cp-lift]):focus-visible{outline:3px solid #9c1630;outline-offset:4px}
:is(button:disabled,[aria-disabled="true"]) .cp-icon--tile{transform:none!important;opacity:.55}
/* Replace only the old decorative icon holders, retaining their labels/actions. */
.nh-tron,.bl-tron,.cay-tron,.dn-ic,.bai-ic{background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important;padding:0!important}
.nh-tron,.bl-tron{width:62px!important;height:62px!important;display:inline-flex!important;align-items:center;justify-content:center}
.nh-tron .cp-icon,.bl-tron .cp-icon{width:58px!important;height:58px!important}
.cay-tron .cp-icon,.dn-ic .cp-icon,.bai-ic .cp-icon{width:48px!important;height:48px!important}
.cp-icon.ic.to{width:52px;height:52px}
.nganh-hang,.benh-luoi{row-gap:20px}
.nh-o,.bl-o{overflow:visible;min-height:92px;touch-action:manipulation}
.nh-o b,.bl-o b{font-size:15px;line-height:1.45;color:#302f35}
.goi .cp-icon.cp-header{width:34px;height:34px}
#chan button{min-height:64px;touch-action:manipulation}
#chan button em{background:transparent!important;box-shadow:none!important;overflow:visible!important}
#chan .cp-icon.cp-nav-icon{width:32px!important;height:32px!important}
#chan button.on .cp-nav-icon{outline:2px solid #c8102e;outline-offset:3px}
#chan button.on span{font-weight:700}
.cay-mui .cp-icon{width:20px;height:20px}
@media(max-width:380px){.nh-tron,.bl-tron{width:56px!important;height:56px!important}.nh-tron .cp-icon,.bl-tron .cp-icon{width:52px!important;height:52px!important}.nh-o b,.bl-o b{font-size:14px}}
@media(prefers-reduced-motion:reduce){.cp-icon--tile{transition:none!important;transform:none!important}.cp-icon.cp-is-lifted{transform:none!important}}
@media(forced-colors:active){.cp-icon--tile{outline:1px solid CanvasText;box-shadow:none}.cp-icon--glyph{stroke:CanvasText}}
/* v28 (10/11/2026) — giao diện phẳng: bỏ bóng đổ dưới icon, bỏ viền quanh icon đang chọn ở thanh dưới, ô bệnh lý xếp tên trên / số sản phẩm dưới. */
.cp-icon--tile{box-shadow:none!important}
#chan button{color:#6b7280}
#chan button.on{color:#c8102e}
#chan button.on .cp-nav-icon{outline:0!important}
#chan .cp-icon.cp-nav-icon{width:28px!important;height:28px!important}
.bl-o{display:grid!important;grid-template-columns:auto 1fr;column-gap:12px;align-items:center;text-align:left}
.bl-o .bl-tron{grid-row:1 / span 2}
.bl-o b{align-self:end;font-size:14.5px;line-height:1.3}
.bl-o small{align-self:start}
/* v29 (10/11/2026) — icon chỉ còn ở thanh dưới cùng. Các ô chức năng, danh mục, bệnh lý, cam kết, cơ sở: chỉ chữ. (Nút gọi / chat / tìm / giỏ vẫn giữ vì là nút bấm.) */
.cp-icon--tile:not(.cp-nav-icon){display:none!important}
.dv-ic,.bl-tron,.nh-tron,.bai-ic,.cs-luoi .bieu,.cam-ket .cp-icon,.kh-dau h2 .cp-icon{display:none!important}
.dv-nhanh{grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:max-content}
.dv-nhanh button{min-height:0!important;padding:12px 16px!important;display:flex!important;align-items:center;justify-content:center;white-space:nowrap}
.dv-nhanh button small{display:none}
.bl-o{display:block!important;min-height:0!important;padding:14px!important}
.bl-o b{font-size:15px!important}
.nganh-hang{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;gap:8px!important;margin:0 0 20px!important;padding:0!important}
.nh-o{flex:0 0 auto!important;display:flex!important;align-items:baseline;gap:6px!important;min-height:0!important;padding:9px 14px!important;white-space:nowrap;background:#fff!important;border:1px solid #e7e5e4!important;border-radius:10px!important}
.nh-o b{font-size:14px!important}
/* v30 — khung chỉ chứa icon đã ẩn thì ẩn luôn, để chữ không bị thụt vào (Cá nhân, Danh mục ở tab Mua thuốc…) */
:not(#chan button em):has(> .cp-icon--tile:not(.cp-nav-icon):only-child){display:none!important}
/* v31 — thông tin sản phẩm: 4 dòng chính (Tên, Thành phần, Xuất xứ, Phân loại) luôn hiện */
.sp-dong-chinh b{font-weight:600;color:#1f2937}
.sp-cho{font-style:normal;font-weight:400;color:#9ca3af}
/* v32 — chữ làm điểm nhấn thay icon: tên bệnh lý / chủ đề to hơn, màu đỏ đậm; ô cam kết căn giữa, chữ lớn như một biểu tượng. Mô tả đầy đủ sản phẩm. */
.bl-o{text-align:center!important}
.bl-o b,.bai-the b{font-size:16.5px!important;font-weight:700!important;color:#a50e26!important;line-height:1.3!important;display:block}
.bl-o small{font-size:12.5px;margin-top:3px}
.bai-the small{font-size:13px;line-height:1.45;display:block;margin-top:4px}
.cam-ket>div{display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px 10px!important;gap:5px}
.cam-ket>div::before{content:"";width:28px;height:3px;border-radius:2px;background:#c8102e;margin-bottom:6px}
.cam-ket b{font-size:17px!important;font-weight:800!important;color:#a50e26;letter-spacing:.01em;line-height:1.25;text-transform:uppercase}
.cam-ket small{font-size:12.5px!important;color:#6b7280}
.sp-mota-day p{margin:0 0 8px}
.sp-mota-day p:last-child{margin-bottom:0}
/* v33 — bảng Chọn mua: đơn vị + số lượng */
.cm-sl{display:flex;align-items:center;gap:12px;margin:18px 0 6px;font-size:15px}
.cm-sl>span{flex:1;font-weight:600}
.cm-dem{display:flex;align-items:center;border:1px solid #d9dde5;border-radius:10px;overflow:hidden;background:#fff}
.cm-dem button{width:46px;height:46px;border:0;background:#f6f7f9;font-size:22px;line-height:1;color:#111;cursor:pointer}
.cm-dem input{width:60px;height:46px;border:0;text-align:center;font:700 17px/1 inherit;-moz-appearance:textfield;background:#fff}
.cm-dem input::-webkit-outer-spin-button,.cm-dem input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.cm-dv{min-width:44px;text-transform:capitalize;color:#374151}
.cm-tong{display:flex;justify-content:space-between;align-items:baseline;padding:12px 0;border-top:1px solid #eceef2;margin-top:10px;font-size:15px}
.cm-tong b{font-size:20px;color:#c8102e}
.cm-nut{display:block;width:100%;min-height:52px;margin-top:8px;border:0;border-radius:12px;background:#c8102e;color:#fff;font:700 16px/1.2 inherit;cursor:pointer}
/* v34 — mục Gia đình (con theo dõi lịch thuốc của bố mẹ) */
.gd-moi{padding:12px 0;border-bottom:1px solid #eceef2}
.gd-moi p{margin:4px 0 10px;font-size:14px;color:#4b5563}
.gd-nut{display:flex;gap:8px}
.gd-nut .nut{flex:1;margin:0}
.gd-gio{font-size:16px;min-width:52px;color:#111}
.gd-tt{font-size:12.5px;font-weight:700;padding:5px 9px;border-radius:999px;white-space:nowrap}
.gd-ok{background:#e7f6ec;color:#17713a}
.gd-tre{background:#fdecec;color:#b42318}
.gd-cho{background:#f1f2f4;color:#6b7280}
