/* ============================================================
   MYVIBE — CATALOG + PDP (Phase 9)
   Bổ sung cho commerce.css / showcase.css. Primary #0d3e9a · accent #ed09a4.
   ============================================================ */

/* ---------- HERO ----------
   Hero da chuyen sang khung .hero-compact dung chung (sections.css),
   cung cau truc voi page-services: breadcrumb + hero-title + hero-subtitle. */

.catalog-body { padding: 24px 0 72px; }

/* ---------- O ten dinh danh trong buy-box goi (di kem them gio) ---------- */
.buy-box .pkg-domain-box { margin: 0 0 4px; max-width: 100%; }
/* Prefix va input dong co chu (1.05rem) de "myvibe.id.vn/" + ten nhap lien mach nhu mot URL */
.buy-box .pkg-domain-box .dc-prefix,
.buy-box .pkg-domain-box .dc-suffix,
.buy-box .pkg-domain-box .dc-input { font-size: 1.05rem; }
.buy-box .pkg-domain-box .dc-input { padding: 10px 0; }
/* Goi subdomain (pro/elite): slug dung TRUOC host → suffix ".myvibe.id.vn" om sat ten nhap
   (input duoc JS auto-fit width theo noi dung; suffix chiem phan con lai de underline lien mach). */
.buy-box .pkg-domain-box .dc-suffix { font-weight: 700; color: var(--primary, #0d3e9a); white-space: nowrap; }
html[data-theme="dark"] .buy-box .pkg-domain-box .dc-suffix { color: #8ab4ff; }
.buy-box .pkg-domain-box.is-subdomain .dc-input { flex: 0 1 auto; width: 10ch; min-width: 2ch; }
.buy-box .pkg-domain-box.is-subdomain .dc-suffix { flex: 1 1 auto; min-width: 0; text-align: left; overflow: hidden; text-overflow: ellipsis; }
/* Thang hang "yourname" voi ".myvibe.id.vn" (dong bo fix ben checkout.css):
   khoa theo BASELINE chu — center de lech ~1px do lam tron sub-pixel giua input
   (tu can giua trong box 40px) va suffix (can theo line-box rieng). */
.buy-box .pkg-domain-box .dc-input-group { align-items: baseline; }
.buy-box .pkg-domain-box .dc-input { padding: 0; height: 40px; }
.buy-box .pkg-domain-box .dc-prefix,
.buy-box .pkg-domain-box .dc-suffix { line-height: normal; } /* line-height:1 lam duoi "y" bi overflow:hidden cat */
.pkg-domain-feedback { min-height: 20px; margin: 4px 0 12px; font-size: .84rem; font-weight: 700; line-height: 1.4; }
.pkg-domain-feedback.is-ok { color: #16a34a; }
.pkg-domain-feedback.is-bad { color: #ef4444; }
html[data-theme="dark"] .pkg-domain-feedback.is-ok { color: #4ade80; }
html[data-theme="dark"] .pkg-domain-feedback.is-bad { color: #f87171; }

/* ---------- Danh gia goi dich vu (list + form) ---------- */
.pkg-review-list { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.pkg-review-item { padding: 16px 18px; border: 1px solid rgba(13, 62, 154, .1); border-radius: 14px; background: #fff; }
.pkg-review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.pkg-review-author { font-weight: 800; color: var(--text-main); font-size: .92rem; }
.pkg-review-date { color: var(--text-light); font-size: .8rem; margin-left: auto; }
.pkg-review-comment { margin: 0; color: var(--text-body); font-size: .92rem; line-height: 1.65; }
.pkg-review-form { margin-top: 20px; padding: 18px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; display: flex; flex-direction: column; gap: 12px; }
.pkg-review-form-title { font-weight: 800; color: var(--text-main); font-size: .95rem; }
.pkg-review-form .btn { align-self: flex-end; }
.pkg-star-input { display: flex; gap: 4px; }
.pkg-star-btn { border: 0; background: transparent; padding: 0 2px; font-size: 26px; line-height: 1; color: #cbd5e1; cursor: pointer; transition: color .15s ease, transform .15s ease; }
.pkg-star-btn:hover { transform: scale(1.15); }
.pkg-star-btn.is-on { color: #f59e0b; }
.pkg-review-login { margin-top: 16px; color: var(--text-light); font-size: .92rem; }
.pkg-review-login a { font-weight: 800; color: var(--primary); text-decoration: none; }
html[data-theme="dark"] .pkg-review-item { background: #111827; border-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .pkg-review-form { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .pkg-review-author, html[data-theme="dark"] .pkg-review-form-title { color: #f3f4f6; }

/* Thu gọn sidebar + khoảng cách để lưới card rộng hơn (sát trái) */
.catalog-page .shop-layout-container { gap: 22px; }
.catalog-page .shop-toolbar { width: 248px; padding: 18px; gap: 16px; }

/* Ô tìm kiếm: border chỉ nằm ở "pipe" (wrapper), input bên trong KHÔNG border.
   Đặc thù cao (2 ID) để thắng rule control toàn cục của form-controls.css. */
#catalogSidebar .toolbar-search input#catalogSearch,
.catalog-page .toolbar-search input#catalogSearch,
#catalogSidebar .toolbar-search input#catalogSearch:hover,
.catalog-page .toolbar-search input#catalogSearch:focus {
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
    height: 100% !important;
    min-height: 0 !important;
}

/* ---------- SIDEBAR: category checkboxes ---------- */
.cat-check {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px; border-radius: 10px; cursor: pointer;
    transition: background .15s ease; user-select: none;
}
.cat-check:hover { background: rgba(13, 62, 154, .05); }
.cat-check input { width: 17px; height: 17px; accent-color: var(--primary, #0d3e9a); cursor: pointer; margin: 0; }
.cat-check-name { flex: 1; font-size: .9rem; font-weight: 600; color: var(--text-body); }
.cat-check-count {
    font-size: .74rem; font-weight: 700; color: var(--text-light);
    background: var(--bg-subtle, #f1f5f9); border-radius: 20px; padding: 2px 9px;
}
.cat-check.is-checked .cat-check-name { color: var(--primary); }
.cat-check.is-checked .cat-check-count { background: rgba(13, 62, 154, .12); color: var(--primary); }
html[data-theme="dark"] .cat-check:hover { background: rgba(255, 255, 255, .05); }
html[data-theme="dark"] .cat-check-name { color: #cbd5e1; }
html[data-theme="dark"] .cat-check-count { background: rgba(255, 255, 255, .08); color: #94a3b8; }

/* kind pills */
.kind-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.kind-pill {
    border: 1px solid var(--border, #e2e8f0); background: #fff; color: var(--text-body);
    border-radius: 999px; padding: 7px 16px; font-size: .84rem; font-weight: 700; cursor: pointer;
    transition: all .18s ease;
}
.kind-pill:hover { border-color: var(--primary); color: var(--primary); }
.kind-pill.is-active { background: var(--vibe-gradient, linear-gradient(135deg, #6c2ee7, #ed09a4)); border-color: transparent; color: #fff; }
html[data-theme="dark"] .kind-pill { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); color: #e5e7eb; }

/* price radios */
.price-radios { display: flex; flex-direction: column; gap: 4px; }
.price-radio {
    display: flex; align-items: center; gap: 9px; padding: 7px 12px; border-radius: 10px;
    font-size: .88rem; font-weight: 600; color: var(--text-body); cursor: pointer; transition: background .15s;
}
.price-radio:hover { background: rgba(13, 62, 154, .05); }
.price-radio input { accent-color: var(--primary, #0d3e9a); width: 16px; height: 16px; margin: 0; cursor: pointer; }
.price-radio.is-checked { color: var(--primary); }
html[data-theme="dark"] .price-radio { color: #cbd5e1; }
html[data-theme="dark"] .price-radio:hover { background: rgba(255, 255, 255, .05); }

/* ---------- TOPBAR ---------- */
.catalog-topbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.catalog-count { font-size: .92rem; color: var(--text-light); font-weight: 600; }
.catalog-count span { color: var(--text-main); font-weight: 800; }
.catalog-topbar .shop-sort { min-width: 0; }
/* Sort dropdown: nhỏ nhắn, tinh tế, chevron tuỳ biến.
   select#catalogSort + !important để thắng rule select control toàn cục (min-height/padding).
   Đây là THIẾT KẾ CHUẨN GỐC — biến dùng chung .mv-sort-select được nhân bản từ đây. */
.catalog-topbar .shop-sort select#catalogSort {
    min-height: 38px !important;
    height: 38px !important;
    min-width: 172px !important;
    padding: 0 36px 0 14px !important;
    border: 1px solid var(--border, #e2e8f0) !important;
    border-radius: 10px !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 13px center !important;
    background-size: 13px !important;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-body, #334155);
    cursor: pointer;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.catalog-topbar .shop-sort select#catalogSort:hover { border-color: rgba(13, 62, 154, .35) !important; background-color: #fff !important; }
.catalog-topbar .shop-sort select#catalogSort:focus { outline: none !important; border-color: var(--primary, #0d3e9a) !important; background-color: #fff !important; box-shadow: 0 0 0 3px rgba(13, 62, 154, .12) !important; }
html[data-theme="dark"] .catalog-topbar .shop-sort select#catalogSort {
    background-color: rgba(255, 255, 255, .04) !important;
    border-color: rgba(255, 255, 255, .14) !important;
    color: #e5e7eb;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
}
html[data-theme="dark"] .catalog-count span { color: #f3f4f6; }

/* ---------- GRID: 3 sản phẩm / hàng ---------- */
.catalog-page .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 0;
}
@media (max-width: 991px) { .catalog-page .products-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 640px) { .catalog-page .products-grid { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- CARD ---------- */
.catalog-card {
    display: flex; flex-direction: column; position: relative;
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 6px 20px rgba(15, 23, 42, .05);
}
.catalog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15, 23, 42, .1); }
.catalog-thumb {
    display: block; position: relative; height: 210px;
    background: #f6f8fb; border-bottom: 1px solid rgba(13, 62, 154, .05);
}
.catalog-thumb img { width: 100%; height: 100%; object-fit: cover; }
html[data-theme="dark"] .catalog-thumb { background: rgba(255,255,255,.03); }

/* badges top-left (đặt nhãn bên trái) */
.catalog-badges { top: 12px; left: 12px; right: auto; align-items: flex-start; }
.product-badge.is-hot { background: linear-gradient(135deg, #f97316, #ef4444); }

/* voucher tag nằm trên ảnh (góc phải dưới) */
.card-voucher-tag {
    position: absolute; right: 12px; bottom: 12px; z-index: 11; pointer-events: none;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 10px; border-radius: 9px;
    background: linear-gradient(135deg, #ed09a4, #b8067f); color: #fff;
    font-size: .74rem; font-weight: 800; letter-spacing: .01em;
    box-shadow: 0 6px 16px rgba(237, 9, 164, .32);
}
.card-voucher-tag svg { width: 13px; height: 13px; flex-shrink: 0; }

/* promo caption dưới ảnh */
.card-promo {
    padding: 8px 18px 0; font-size: .74rem; font-weight: 600; color: #ed09a4;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html[data-theme="dark"] .card-promo { color: #f9a8d4; }

/* body */
.catalog-card .product-body { padding: 14px 18px 18px; gap: 0; }
.product-kind-label {
    font-size: .7rem; font-weight: 700; letter-spacing: .3px; text-transform: uppercase;
    color: var(--text-light, #64748b); margin-bottom: 5px;
}
html[data-theme="dark"] .product-kind-label { color: #94a3b8; }

/* title row + nút hành động inline (tinh tế) */
.product-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.catalog-card .product-title {
    margin: 0; font-size: 1rem; line-height: 1.35; font-weight: 700;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-action-btn {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; border: none; cursor: pointer; padding: 0;
    color: #64748b; transition: color .16s ease, background .16s ease, transform .16s ease;
}
.card-action-btn:hover { background: rgba(13, 62, 154, .08); color: var(--primary, #0d3e9a); transform: scale(1.06); }
.card-action-btn:active { transform: scale(.94); }
.card-action-btn.is-loading { pointer-events: none; opacity: .7; }
html[data-theme="dark"] .card-action-btn { color: #94a3b8; }
html[data-theme="dark"] .card-action-btn:hover { background: rgba(255,255,255,.08); color: #93c5fd; }

.catalog-card .product-desc {
    font-size: .82rem; color: var(--text-light); line-height: 1.5; margin: 6px 0 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    /* showcase.css đặt flex-grow:1 → desc bị kéo giãn theo chiều cao card (lưới đồng cao)
       làm line-clamp mất tác dụng, cắt ngang giữa dòng — ép về auto để clamp đúng 2 dòng. */
    flex: 0 0 auto;
}

/* Khoảng trống thừa của card ngắn dồn vào trước hàng giá → giá + rating luôn bám đáy card. */
.catalog-card .product-price-line { margin-top: auto; padding-top: 12px; }

/* price line: [-X%] giá giá-cũ */
.product-price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.catalog-card .product-price { font-size: 1.15rem; font-weight: 800; color: var(--text-main, #0f172a); }
html[data-theme="dark"] .catalog-card .product-price { color: #f3f4f6; }
.price-disc-pill {
    order: -1; display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 6px;
    background: rgba(239, 68, 68, .12); color: #ef4444; font-size: .74rem; font-weight: 800;
}
.catalog-card .product-price-old { font-size: .8rem; color: var(--text-light); text-decoration: line-through; font-weight: 600; margin: 0; }

/* rating line (dữ liệu thật) */
.product-rating-line { display: flex; align-items: center; gap: 6px; margin-top: 8px; min-height: 18px; }
.rating-avg { font-size: .8rem; font-weight: 700; color: var(--text-body, #334155); }
.rating-count, .rating-sold { font-size: .76rem; color: var(--text-light); }
.rating-none { font-size: .76rem; color: var(--text-light); }
.pkg-trust-line { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; color: #10b981; }
.pkg-trust-line svg { flex-shrink: 0; }
html[data-theme="dark"] .rating-avg { color: #e2e8f0; }

/* star-rating: dải sao có phần lấp theo % (dùng chung card + PDP) */
.star-rating { position: relative; display: inline-block; line-height: 1; white-space: nowrap; font-size: .9rem; font-family: Arial, sans-serif; }
.star-rating .sr-bg { color: #d8dee9; letter-spacing: 2px; }
.star-rating .sr-fill { position: absolute; left: 0; top: 0; overflow: hidden; color: #f59e0b; letter-spacing: 2px; }
.star-rating--lg { font-size: 1.15rem; }
html[data-theme="dark"] .star-rating .sr-bg { color: #3f4757; }

.btn.is-loading { pointer-events: none; opacity: .75; }

/* ---------- PDP buy-box header ---------- */
.pdp-kind-label { font-size: .74rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--accent, #ed09a4); margin-bottom: 8px; }
.pdp-title { font-family: 'SVN-Gilroy Bold', 'Inter', sans-serif; font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--text-main); margin: 0 0 12px; line-height: 1.25; }
html[data-theme="dark"] .pdp-title { color: #f3f4f6; }
.pdp-rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid rgba(13, 62, 154, .08); }
html[data-theme="dark"] .pdp-rating-row { border-bottom-color: rgba(255, 255, 255, .08); }
.pdp-rating-score { font-size: .9rem; font-weight: 800; color: #f59e0b; }
.pdp-rating-meta { font-size: .82rem; color: var(--text-light); }

/* PDP voucher chip (auto-apply) */
.bb-voucher-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 14px 0 4px; }
.bb-voucher {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 13px; border-radius: 10px;
    background: linear-gradient(135deg, rgba(237, 9, 164, .1), rgba(108, 46, 231, .1));
    border: 1px solid rgba(237, 9, 164, .28);
    color: #c1067f; font-size: .84rem; font-weight: 800;
}
.bb-voucher svg { width: 15px; height: 15px; flex-shrink: 0; }
.bb-voucher-note { font-size: .78rem; color: var(--text-light); font-weight: 600; }
html[data-theme="dark"] .bb-voucher { color: #f9a8d4; border-color: rgba(237, 9, 164, .38); }

/* qty stepper */
.pdp-qty { display: flex; align-items: center; gap: 10px; }
.pdp-qty .qty-btn {
    width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border, #cbd5e1);
    background: #fff; font-size: 20px; font-weight: 700; color: var(--text-body); cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all .15s;
}
.pdp-qty .qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.pdp-qty input {
    width: 64px; height: 40px; text-align: center; border: 1px solid var(--border, #cbd5e1);
    border-radius: 10px; font-weight: 700; font-size: 1rem; color: var(--text-main); background: #fff;
}
.pdp-qty input::-webkit-outer-spin-button, .pdp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-stock { font-size: .8rem; color: var(--success, #10b981); font-weight: 600; margin-left: 4px; }
html[data-theme="dark"] .pdp-qty .qty-btn, html[data-theme="dark"] .pdp-qty input { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); color: #e5e7eb; }

/* ---------- PDP sections ---------- */
.pdp-sections { margin-top: 56px; display: flex; flex-direction: column; gap: 44px; }
.pdp-section-title { font-family: 'SVN-Gilroy Bold', 'Inter', sans-serif; font-size: 1.35rem; font-weight: 800; color: var(--text-main); margin: 0 0 18px; }
html[data-theme="dark"] .pdp-section-title { color: #f3f4f6; }
.product-single-desc { font-size: 15px; color: rgba(0, 0, 0, .72); line-height: 1.85; }
.product-single-desc p { margin-bottom: 16px; }
.product-single-desc img { max-width: 100%; height: auto; border-radius: 12px; }
html[data-theme="dark"] .product-single-desc { color: rgba(255, 255, 255, .72); }

/* spec table */
.pdp-spec-table { width: 100%; border-collapse: collapse; border: 1px solid rgba(13, 62, 154, .1); border-radius: 12px; overflow: hidden; }
.pdp-spec-table tr { border-bottom: 1px solid rgba(13, 62, 154, .07); }
.pdp-spec-table tr:nth-child(odd) { background: rgba(13, 62, 154, .025); }
.pdp-spec-table th { text-align: left; width: 38%; padding: 13px 16px; font-weight: 700; color: var(--text-body); font-size: .9rem; }
.pdp-spec-table td { padding: 13px 16px; color: var(--text-main); font-size: .92rem; }
html[data-theme="dark"] .pdp-spec-table { border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .pdp-spec-table tr:nth-child(odd) { background: rgba(255, 255, 255, .03); }
html[data-theme="dark"] .pdp-spec-table th { color: #cbd5e1; }
html[data-theme="dark"] .pdp-spec-table td { color: #f3f4f6; }

/* reviews */
.pdp-review-summary { display: flex; align-items: center; gap: 18px; padding: 20px; border: 1px solid rgba(13, 62, 154, .1); border-radius: 16px; margin-bottom: 14px; }
.prs-score { display: flex; align-items: center; gap: 10px; }
.prs-score strong { font-size: 2rem; font-weight: 800; color: var(--primary); }
.prs-score .stars { font-size: 1.15rem; }
.prs-meta { font-size: .88rem; color: var(--text-light); }
.pdp-review-empty { padding: 20px; border: 1px dashed rgba(13, 62, 154, .18); border-radius: 14px; color: var(--text-light); text-align: center; font-size: .92rem; }
html[data-theme="dark"] .pdp-review-summary { border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .prs-score strong { color: #93c5fd; }
html[data-theme="dark"] .pdp-review-empty { border-color: rgba(255, 255, 255, .12); }

/* accessibility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- PACKAGE SINGLE (dùng chung layout single sản phẩm) ---------- */
.pdp-package-desc { font-size: .95rem; color: var(--text-light); line-height: 1.6; margin: 0 0 14px; }
.buy-box .bb-price-period { font-size: .9rem; font-weight: 700; color: var(--text-light); }
html[data-theme="dark"] .pdp-package-desc { color: #94a3b8; }

/* danh sách tính năng gói */
.pkg-feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pkg-feature-list li { display: flex; align-items: flex-start; gap: 11px; font-size: .95rem; color: var(--text-body); line-height: 1.55; }
.pkg-feature-list li code { background: rgba(13, 62, 154, .07); color: var(--primary); padding: 1px 6px; border-radius: 6px; font-size: .85em; }
.pkg-feat-check {
    flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(16, 185, 129, .12); color: #10b981; font-size: .72rem; font-weight: 800;
}
html[data-theme="dark"] .pkg-feature-list li { color: #cbd5e1; }

/* thumb gradient trong sticky bar (gói không có ảnh) */
.sticky-buybar .sb-thumb {
    width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: .9rem; text-transform: uppercase;
}

/* ---------- PDP LAYOUT FIXES (single sản phẩm + gói) ---------- */
/* 1) Breadcrumb lên sát header: bỏ 100px padding thừa của commerce.css
   (.site-main toàn cục đã chừa sẵn chỗ cho header fixed — giống trang catalog). */
.site-main.product-single-page { padding: 10px 0 110px; }

/* 2) Related grid: blog.min.css trùng class .related-grid (1 cột) đè commerce.css
   → ép lại lưới nhiều cột + card đúng kiểu thương mại. */
.product-single-page .related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.product-single-page .related-card {
    display: block; background: #fff;
    border: 1px solid rgba(13, 62, 154, .08); border-radius: 16px; overflow: hidden;
    box-shadow: none;
}
.product-single-page .related-card img, .product-single-page .related-card .rc-ph { width: 100%; height: 150px; object-fit: cover; }
.product-single-page .rc-ph { font-size: 1.4rem; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 640px) { .product-single-page .related-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
html[data-theme="dark"] .product-single-page .related-card { background: #111827; border-color: rgba(255, 255, 255, .08); }

/* 3) Sticky buybar: pill nổi canh giữa, gọn — text và nút gần nhau, không trải toàn màn hình,
   không bị bubble chat góc phải đè. */
.sticky-buybar {
    left: 50%; right: auto; bottom: 14px;
    width: min(1020px, calc(100% - 32px));
    padding: 10px 14px 10px 18px;
    border: 1px solid rgba(13, 62, 154, .12);
    border-top: 1px solid rgba(13, 62, 154, .12);
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .18);
    gap: 18px;
    transform: translate(-50%, calc(100% + 20px));
}
.sticky-buybar.is-visible { transform: translate(-50%, 0); }
.sticky-buybar .sb-info { gap: 12px; flex: 1 1 auto; }
.sticky-buybar .sb-title { font-size: .92rem; }
.sticky-buybar .sb-price { font-size: .95rem; }
/* Cum nut ben phai bar: Home (icon) + Them gio + CTA chinh */
.sticky-buybar .sb-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.sticky-buybar .sb-home-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; min-width: 40px; height: 40px; padding: 0;
}
.sticky-buybar .sb-home-btn svg { width: 18px; height: 18px; }
@media (max-width: 640px) {
    .sticky-buybar .sb-home-btn { display: none; } /* man hep uu tien 2 nut chinh */
}
html[data-theme="dark"] .sticky-buybar { border-color: rgba(255, 255, 255, .12); }

@media (max-width: 991px) {
    .catalog-topbar .shop-sort { min-width: 0; flex: 1; }
    .catalog-topbar #catalogSort { width: 100%; }
    /* !important để thắng min-width 172px !important của rule chuẩn gốc — màn hẹp không tràn ngang */
    .catalog-topbar .shop-sort select#catalogSort { min-width: 0 !important; }
}

/* ---------- PDP REFINEMENTS (stepper gọn, radio-list thời hạn, trust row, gợi ý giàu thông tin) ---------- */

/* 1) Qty stepper: cụm [− 1 +] liền khối, gọn gàng — input không bị form-controls.css kéo full-width */
.product-single-page .pdp-qty { display: flex; align-items: center; gap: 12px; }
.product-single-page .qty-stepper {
    display: inline-flex; align-items: stretch; flex: 0 0 auto;
    border: 1.5px solid rgba(13, 62, 154, .18); border-radius: 12px;
    overflow: hidden; background: #fff;
}
.product-single-page .qty-stepper .qty-btn {
    width: 42px; height: 42px; border: none; border-radius: 0; background: transparent;
    font-size: 19px; font-weight: 700; color: var(--text-body); cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all .15s;
}
.product-single-page .qty-stepper .qty-btn:hover { background: rgba(13, 62, 154, .06); color: var(--primary); }
.product-single-page .qty-stepper input {
    width: 56px !important; max-width: 56px; flex: 0 0 56px; height: 42px;
    border: none; border-left: 1.5px solid rgba(13, 62, 154, .12); border-right: 1.5px solid rgba(13, 62, 154, .12);
    border-radius: 0; padding: 0; text-align: center;
    font-weight: 700; font-size: 1rem; color: var(--text-main); background: #fff;
    -moz-appearance: textfield; appearance: textfield;
}
.product-single-page .qty-stepper input::-webkit-outer-spin-button,
.product-single-page .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-single-page .qty-stepper input:focus { outline: none; box-shadow: none; }

/* Hàng mua: stepper số lượng + Mua ngay cùng 1 hàng, Thêm vào giỏ full-width bên dưới */
.buy-box .bb-qty-label-row {
    display: flex; align-items: baseline; justify-content: space-between;
    margin: 16px 0 8px;
}
.buy-box .bb-qty-label-row .bb-variant-label { margin: 0; }
.buy-box .bb-qty-label-row .pdp-stock { margin-left: 0; }
.buy-box .bb-buy-row { display: flex; align-items: stretch; gap: 10px; }
/* Chia đôi 1:1 cứng theo % (gap 10px → mỗi bên 50% - 5px) — flex-grow bị lệch do base size nên dùng basis cố định */
.buy-box .bb-buy-row .qty-stepper { flex: 0 0 calc(50% - 5px); min-width: 0; justify-content: space-between; }
/* Chia stepper 3 phần đều: − / ô số / + — cân đối, không bên nào quá to */
.buy-box .bb-buy-row .qty-stepper .qty-btn { flex: 1 1 0; width: auto; min-width: 0; }
.buy-box .bb-buy-row .qty-stepper input {
    flex: 1 1 0; width: auto !important; max-width: none; min-width: 0;
}
.buy-box .bb-buy-row .btn {
    flex: 0 0 calc(50% - 5px); min-width: 0; justify-content: center;
    min-height: 45px; padding-top: 0; padding-bottom: 0;
    display: inline-flex; align-items: center;
    box-sizing: border-box; /* padding tính vào trong → chia flex 1:1 mới cân */
}
.buy-box .bb-buy-row + .bb-actions { margin-top: 10px; }
@media (max-width: 380px) {
    .buy-box .bb-buy-row { flex-wrap: wrap; }
    .buy-box .bb-buy-row .qty-stepper,
    .buy-box .bb-buy-row .btn { flex: 1 1 100%; }
}

html[data-theme="dark"] .product-single-page .qty-stepper { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); }
html[data-theme="dark"] .product-single-page .qty-stepper input { background: transparent; border-color: rgba(255, 255, 255, .12); color: #e5e7eb; }
html[data-theme="dark"] .product-single-page .qty-stepper .qty-btn { color: #cbd5e1; }
html[data-theme="dark"] .product-single-page .qty-stepper .qty-btn:hover { background: rgba(255, 255, 255, .07); color: #93c5fd; }

/* 2) Trust badges: hàng 3 cột cố định dưới divider — không rớt dòng xấu */
.buy-box .trust-badges {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
    margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(13, 62, 154, .08);
}
.buy-box .trust-badge {
    justify-content: center; text-align: center;
    background: none; border: none; padding: 4px 2px;
    font-size: .76rem; font-weight: 600; color: var(--text-light); gap: 6px;
}
.buy-box .trust-badge svg { width: 15px; height: 15px; }
html[data-theme="dark"] .buy-box .trust-badges { border-top-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .buy-box .trust-badge { background: none; border: none; color: #94a3b8; }

/* 3) Thời hạn: danh sách radio — mỗi kỳ hạn 1 dòng, giá + %giảm bên phải */
.pkg-dur-list {
    display: flex; flex-direction: column;
    border: 1.5px solid rgba(13, 62, 154, .14); border-radius: 14px;
    overflow: hidden; margin: 4px 0 6px; background: #fff;
}
.pkg-dur-option {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; cursor: pointer; user-select: none;
    border-bottom: 1px solid rgba(13, 62, 154, .08);
    transition: background .15s ease;
}
.pkg-dur-option:last-child { border-bottom: none; }
.pkg-dur-option:hover { background: rgba(13, 62, 154, .03); }
.pkg-dur-option.is-active { background: rgba(13, 62, 154, .055); }
.pkg-dur-radio {
    flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid #cbd5e1; position: relative; transition: border-color .15s;
}
.pkg-dur-option.is-active .pkg-dur-radio { border-color: var(--primary); }
.pkg-dur-option.is-active .pkg-dur-radio::after {
    content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--primary);
}
.pkg-dur-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pkg-dur-name { font-weight: 700; font-size: .92rem; color: var(--text-main); }
.pkg-dur-option.is-active .pkg-dur-name { color: var(--primary); }
.pkg-dur-save { font-size: .74rem; font-weight: 600; color: var(--success, #10b981); }
.pkg-dur-pricing { display: flex; align-items: baseline; gap: 8px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.pkg-dur-disc {
    display: inline-flex; align-items: center; padding: 1px 6px; border-radius: 6px;
    background: rgba(239, 68, 68, .12); color: #ef4444; font-size: .72rem; font-weight: 800;
}
.pkg-dur-old { font-size: .78rem; color: var(--text-light); text-decoration: line-through; }
.pkg-dur-price { font-size: .95rem; font-weight: 800; color: var(--text-main); }
.pkg-dur-option.is-active .pkg-dur-price { color: var(--primary); }
html[data-theme="dark"] .pkg-dur-list { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .14); }
html[data-theme="dark"] .pkg-dur-option { border-bottom-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .pkg-dur-option:hover { background: rgba(255, 255, 255, .04); }
html[data-theme="dark"] .pkg-dur-option.is-active { background: rgba(147, 197, 253, .08); }
html[data-theme="dark"] .pkg-dur-name, html[data-theme="dark"] .pkg-dur-price { color: #e5e7eb; }
html[data-theme="dark"] .pkg-dur-option.is-active .pkg-dur-name,
html[data-theme="dark"] .pkg-dur-option.is-active .pkg-dur-price { color: #93c5fd; }
html[data-theme="dark"] .pkg-dur-radio { border-color: #475569; }
html[data-theme="dark"] .pkg-dur-option.is-active .pkg-dur-radio { border-color: #93c5fd; }
html[data-theme="dark"] .pkg-dur-option.is-active .pkg-dur-radio::after { background: #93c5fd; }

/* 4) Gợi ý cho bạn: card giàu thông tin (nhãn loại → tên → mô tả → giá → rating) */
.product-single-page .related-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.product-single-page .related-card.rc-rich { display: flex; flex-direction: column; text-decoration: none; }
.rc-rich .rc-media { position: relative; }
.product-single-page .rc-rich .rc-media img,
.product-single-page .rc-rich .rc-media .rc-ph { width: 100%; height: 160px; object-fit: cover; }
.product-single-page .rc-rich .rc-ph {
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 1.05rem; text-align: center; padding: 0 14px;
}
.rc-rich .rc-disc-flag {
    position: absolute; top: 10px; left: 10px;
    background: var(--danger, #ef4444); color: #fff;
    font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 7px;
}
.rc-rich .rc-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.rc-rich .rc-kind {
    font-size: .68rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
    color: var(--accent, #ed09a4); margin-bottom: 5px;
}
.rc-rich .rc-title { font-weight: 800; color: var(--text-main); font-size: .98rem; margin: 0 0 6px; line-height: 1.35; }
.rc-rich .rc-desc {
    font-size: .8rem; color: var(--text-light); line-height: 1.55; margin: 0 0 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rc-rich .rc-price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.rc-rich .rc-price { font-size: 1.05rem; font-weight: 800; color: var(--text-main); }
.rc-rich .rc-price-old { font-size: .78rem; color: var(--text-light); text-decoration: line-through; font-weight: 600; }
.rc-rich .rc-price-period { font-size: .76rem; color: var(--text-light); font-weight: 600; }
.rc-rich .rc-meta { display: flex; align-items: center; gap: 6px; margin-top: 7px; min-height: 18px; }
html[data-theme="dark"] .rc-rich .rc-title { color: #f3f4f6; }
html[data-theme="dark"] .rc-rich .rc-price { color: #93c5fd; }

/* 5) Bảng giá theo kỳ hạn */
.pdp-price-table thead th {
    background: rgba(13, 62, 154, .06); color: var(--text-main);
    font-size: .82rem; text-transform: uppercase; letter-spacing: .3px; width: auto;
}
.pdp-price-table td strong { color: var(--primary); font-weight: 800; }
.pdp-price-table .price-disc-pill { margin-left: 4px; }
html[data-theme="dark"] .pdp-price-table thead th { background: rgba(255, 255, 255, .06); color: #f3f4f6; }
html[data-theme="dark"] .pdp-price-table td strong { color: #93c5fd; }

/* 6) Mobile */
@media (max-width: 640px) {
    .pkg-dur-option { padding: 11px 12px; gap: 10px; }
    .pkg-dur-pricing { gap: 6px; }
    .pkg-dur-old { display: none; }
    .buy-box .trust-badge { font-size: .7rem; }
    .product-single-page .related-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .product-single-page .rc-rich .rc-media img,
    .product-single-page .rc-rich .rc-media .rc-ph { height: 120px; }
    .rc-rich .rc-desc { -webkit-line-clamp: 3; }
    .pdp-price-table { display: block; overflow-x: auto; }
}

/* 7) Link so sánh gói: text-link gọn thay vì nút to — buy-box bớt rối khi có thêm nút giỏ hàng */
.buy-box .bb-compare-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: 2px; padding: 6px 0;
    font-size: .86rem; font-weight: 700; color: var(--primary);
    text-decoration: none; transition: gap .15s ease, opacity .15s ease;
}
.buy-box .bb-compare-link:hover { gap: 9px; opacity: .85; }
html[data-theme="dark"] .buy-box .bb-compare-link { color: #93c5fd; }

/* 8) FAQ: bỏ marker tam giác mặc định, thay chevron tròn tinh tế xoay khi mở */
.product-faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    list-style: none;
}
.product-faq summary::-webkit-details-marker,
.product-faq summary::marker { display: none; content: ''; }
.product-faq summary::after {
    content: ''; flex-shrink: 0;
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid rgba(13, 62, 154, .16);
    background-color: rgba(13, 62, 154, .04);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d3e9a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center; background-size: 14px 14px;
    transition: transform .25s ease, background-color .15s ease;
}
.product-faq details[open] > summary::after { transform: rotate(180deg); }
.product-faq summary:hover::after { background-color: rgba(13, 62, 154, .09); }
html[data-theme="dark"] .product-faq summary::after {
    border-color: rgba(255, 255, 255, .16);
    background-color: rgba(255, 255, 255, .05);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
html[data-theme="dark"] .product-faq summary:hover::after { background-color: rgba(255, 255, 255, .1); }

/* 9) Hai cột PDP cùng trượt theo (sticky) đến hết .product-detail-layout —
   buy-box dài/ngắn khác nhau nên cột ngắn hơn (thường là gallery) bám theo khi cuộn qua cột dài hơn. */
.product-detail-layout > * { position: sticky; top: 96px; align-self: start; }
@media (max-width: 900px) {
    /* Mobile xếp 1 cột — tắt sticky để không che nội dung */
    .product-detail-layout > * { position: static; }
}

/* ============================================================
   MOBILE CATALOG — bộ lọc bottom-sheet (≤991px) + card ngang (≤640px)
   Desktop giữ nguyên: nút Bộ lọc / X đóng / nút Áp dụng / overlay ẩn.
   ============================================================ */

/* Desktop: các control chỉ dành cho sheet mobile bị ẩn */
.catalog-filter-btn { display: none; }
.catalog-sheet-overlay { display: none; }
.catalog-page .catalog-sheet-close { display: none !important; } /* thắng display của UNIFIED CLOSE BUTTON (form-controls.css) */
.catalog-page .catalog-sheet-apply { display: none; }
.catalog-sheet-footer { display: flex; }
.catalog-sheet-footer #catalogReset { width: 100%; }

@media (max-width: 991px) {
    /* Nút mở bộ lọc trên topbar — đồng bộ look với sort select (38px, radius 10) */
    .catalog-filter-btn {
        display: inline-flex; align-items: center; gap: 7px;
        min-height: 38px; padding: 0 14px;
        border: 1px solid var(--border, #e2e8f0); border-radius: 10px;
        background: #fff; color: var(--text-body, #334155);
        font-size: .82rem; font-weight: 700; cursor: pointer;
        transition: border-color .18s ease, color .18s ease;
    }
    .catalog-filter-btn:hover { border-color: var(--primary, #0d3e9a); color: var(--primary, #0d3e9a); }
    .catalog-filter-badge {
        display: inline-flex; align-items: center; justify-content: center;
        min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
        background: var(--primary, #0d3e9a);
        color: #fff; font-size: .68rem; font-weight: 800;
    }
    .catalog-filter-badge[hidden] { display: none; } /* display của rule trên đè UA style [hidden] */
    html[data-theme="dark"] .catalog-filter-btn { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); color: #e5e7eb; }
    /* Dark: primary là xanh sáng (#8bb5ff) → chữ navy đậm để đọc rõ số trên nền tối */
    html[data-theme="dark"] .catalog-filter-badge { background: var(--primary, #8bb5ff); color: #0b1020; }

    /* Topbar mobile: số kết quả xuống hàng riêng, Bộ lọc + Sắp xếp chia đôi hàng trên */
    .catalog-topbar { row-gap: 10px; }
    .catalog-topbar .catalog-count { order: 3; width: 100%; }
    .catalog-topbar .catalog-filter-btn { order: 1; flex: 1; justify-content: center; }
    .catalog-topbar .shop-sort { order: 2; flex: 1; }

    /* Sheet: đè rule commerce.css (biến sidebar thành khối trên đầu trang) */
    .catalog-page .shop-toolbar {
        position: fixed !important;
        left: 0; right: 0; bottom: 0; top: auto !important;
        width: 100% !important; max-width: none;
        max-height: 82vh; margin: 0;
        border-radius: 20px 20px 0 0 !important;
        overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
        padding: 16px 18px 0 !important;
        transform: translateY(103%);
        visibility: hidden;
        transition: transform .32s cubic-bezier(.32, .72, .24, 1), visibility .32s;
        z-index: 99999; /* đồng bộ cart-drawer: nằm trên bottom-nav (9999) + bubble chat */
        box-shadow: 0 -18px 48px rgba(15, 23, 42, .22);
    }
    .catalog-page .shop-toolbar.is-open { transform: translateY(0); visibility: visible; }

    .catalog-sheet-overlay {
        display: block; position: fixed; inset: 0;
        background: rgba(15, 23, 42, .5);
        -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
        opacity: 0; visibility: hidden;
        transition: opacity .28s ease, visibility .28s;
        z-index: 99998; /* overlay ngay dưới sheet, trên bottom-nav/chat */
    }
    .catalog-sheet-overlay.is-open { opacity: 1; visibility: visible; }
    body.mv-sheet-lock { overflow: hidden; }

    /* Header sheet: tiêu đề + nút X (chuẩn drawer-close-btn) */
    .catalog-page .shop-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .catalog-page .catalog-sheet-close { display: inline-flex !important; }

    /* Footer dính đáy sheet: Xoá bộ lọc + Xem N kết quả (đúng 2 nút) */
    .catalog-page .catalog-sheet-footer {
        position: sticky; bottom: 0; z-index: 2;
        display: flex; gap: 10px;
        margin: 4px -18px 0; padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-top: 1px solid rgba(226, 232, 240, .8);
    }
    .catalog-page .catalog-sheet-footer .btn { flex: 1; white-space: nowrap; }
    .catalog-sheet-footer #catalogReset { width: auto; }
    .catalog-page .catalog-sheet-apply { display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
    html[data-theme="dark"] .catalog-page .catalog-sheet-footer { background: #111827; border-top-color: rgba(255, 255, 255, .1); }
}

/* Card ngang mobile: ảnh trái cố định, thông tin + nút bên phải, 1 card / hàng */
@media (max-width: 640px) {
    .catalog-card {
        display: grid;
        grid-template-columns: 122px 1fr;
        grid-template-rows: 1fr auto;
        border-radius: 14px;
    }
    .catalog-card:hover { transform: none; } /* mobile không cần hiệu ứng nhấc card */
    .catalog-card .catalog-thumb {
        grid-row: 1 / -1; grid-column: 1;
        height: 100%; min-height: 128px;
        border-bottom: 0; border-right: 1px solid rgba(13, 62, 154, .05);
    }
    html[data-theme="dark"] .catalog-card .catalog-thumb { border-right-color: rgba(255, 255, 255, .06); }
    .catalog-card .catalog-badges { top: 8px; left: 8px; }
    .catalog-card .catalog-badges .product-badge { font-size: .6rem; padding: 3px 7px; }
    .catalog-card .card-voucher-tag { right: 6px; bottom: 6px; padding: 3px 7px; font-size: .62rem; border-radius: 7px; }
    .catalog-card .card-voucher-tag svg { width: 10px; height: 10px; }
    .catalog-card .product-image-placeholder.is-gradient span { font-size: .68rem; padding: 0 8px; text-align: center; }

    .catalog-card .product-body { grid-column: 2; grid-row: 1; padding: 10px 12px; min-width: 0; }
    .catalog-card .product-kind-label { font-size: .62rem; margin-bottom: 3px; }
    .catalog-card .product-title { font-size: .92rem; }
    .catalog-card .product-desc { display: none; } /* card ngang gọn: mô tả xem ở trang chi tiết */
    .catalog-card .card-action-btn { width: 40px; height: 40px; margin: -4px -6px 0 0; } /* touch target ≥40px */
    .catalog-card .product-price-line { padding-top: 8px; gap: 6px; }
    .catalog-card .product-price { font-size: 1.02rem; }
    .catalog-card .product-rating-line { margin-top: 5px; flex-wrap: wrap; row-gap: 2px; }
    .catalog-card .star-rating { font-size: .8rem; }

    /* Promo voucher: chuyển xuống dưới cùng cột phải, chữ nhỏ */
    .catalog-card .card-promo {
        grid-column: 2; grid-row: 2;
        padding: 0 12px 9px; font-size: .68rem;
    }
}

