.cv2-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.cv2-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #ebd6e7;
    border-radius: 16px;
    background: #fff;
    color: #20152e;
}
.cv2-card-visual,
.cv2-detail-visual {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 1.12;
    border: 0;
    background: #fbf1f7;
}
.cv2-card-visual { cursor: pointer; }
.cv2-card-visual img,
.cv2-detail-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cv2-card-no-image { color: #756484; font-size: .75rem; }
.cv2-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    max-width: calc(100% - 16px);
    padding: 4px 7px;
    border-radius: 8px;
    background: #fff;
    color: #aa086a;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.2;
}
.cv2-card-discount { left: auto; right: 8px; background: #fff4dc; color: #8d4308; }
.cv2-card-marketplace {
    position: absolute;
    bottom: 8px;
    left: 8px;
    max-width: calc(100% - 16px);
    padding: 4px 7px;
    border-radius: 8px;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}
.cv2-card-marketplace--shopee { background: #b43b1e; }
.cv2-card-marketplace--tiktok { background: #20152e; }
.cv2-card-info { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 9px 9px 10px; }
.cv2-card .cv2-card-name {
    min-height: 2.7em;
    margin: 0;
    font-size: .84rem;
    line-height: 1.35;
    font-weight: 800;
}
.cv2-card-name button {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: start;
    cursor: pointer;
}
.cv2-card-title-text {
    display: -webkit-box;
    max-height: 2.7em;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.cv2-card-shop {
    display: flex;
    align-items: center;
    gap: 4px 7px;
    min-width: 0;
    min-height: 18px;
    margin-top: auto;
    color: #74657e;
    font-size: .68rem;
}
.cv2-card-shop-name { display: inline-flex; min-width: 0; align-items: center; gap: 4px; }
.cv2-card-shop-name img { width: 15px; height: 15px; flex: none; object-fit: contain; }
.cv2-card-shop-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv2-card-shop-rating { flex: none; margin-left: auto; color: #91470a; font-weight: 750; }
.cv2-card-price { display: flex; align-items: center; justify-content: space-between; gap: 3px 5px; }
.cv2-card-price-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 1px 6px; min-width: 0; overflow-wrap: anywhere; }
.cv2-card-price strong { color: #bd0776; font-size: 1rem; font-weight: 850; }
.cv2-card-price del { color: #756484; font-size: .66rem; }
.cv2-card-facts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    min-height: 23px;
    color: #74657e;
    font-size: .65rem;
}
.cv2-card-facts > span:first-child { flex: none; }
.cv2-card-refund {
    padding: 4px 5px;
    border-radius: 6px;
    background: #f9e5f3;
    color: #a90668;
    font-weight: 800;
    line-height: 1.2;
    flex: 0 1 auto;
    max-width: 55%;
    font-size: .65rem;
    overflow-wrap: anywhere;
    text-align: right;
}
.cv2-card-refund b { font: inherit; }
.cv2-card[data-cv2-flash] .cv2-card-price { align-items: flex-start; flex-wrap: wrap; }
.cv2-card[data-cv2-flash] .cv2-card-price-value { display: grid; gap: 2px; }
.cv2-card[data-cv2-flash] .cv2-card-price-value strong,
.cv2-card[data-cv2-flash] .cv2-card-price-value del,
.cv2-card[data-cv2-flash] .cv2-card-refund { white-space: nowrap; }
.cv2-card[data-cv2-flash] .cv2-card-refund { max-width: none; margin-left: auto; }
.cv2-card[data-cv2-flash] .cv2-card-facts { margin-top: auto; }
.cv2-flash-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 7px;
    color: #74657e;
    font-size: .68rem;
    line-height: 1.3;
}
.cv2-flash-notes > span { white-space: nowrap; }
.cv2-flash-notes > [hidden] { display: none; }
.cv2-card-favorite { margin: 0 0 0 auto; }
.cv2-card-heart {
    display: grid;
    width: 44px;
    height: 44px;
    flex: none;
    place-items: center;
    margin-left: auto;
    padding: 0;
    border: 1px solid #eed5e7;
    border-radius: 13px;
    background: #fff7fc;
    color: #af0870;
    cursor: pointer;
    touch-action: manipulation;
}
.cv2-card-heart svg { width: 21px; height: 21px; }
.cv2-card .cv2-card-heart[aria-pressed="true"] svg {
    color: #d91635;
    fill: currentColor;
    stroke: currentColor;
}
.cv2-card-heart:disabled { opacity: .6; cursor: wait; }
.cv2-card-favorite-error { margin: 0; color: #a12743; font-size: .68rem; line-height: 1.35; }
.hf-product-section {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid var(--hub-panel-line, #f3e0eb);
    border-radius: var(--hub-panel-radius, 22px);
    background: #fff;
    box-shadow: var(--hub-panel-shadow, 0 5px 20px #ae63830a);
}
.hf-product-price-note { margin: 0 0 10px; color: #74657e; font-size: .75rem; }
@media (min-width: 1024px) { .hf-product-section { padding: 20px; } }
.cv2-detail {
    position: fixed;
    inset: 0;
    width: min(500px, calc(100% - 24px));
    max-height: calc(100% - 32px);
    margin: auto;
    padding: 16px;
    overflow: auto;
    border: 1px solid #ebd6e7;
    border-radius: 16px;
    background: #fff;
    color: #20152e;
    box-shadow: 0 14px 48px rgba(47, 19, 53, .2);
}
.cv2-detail::backdrop { background: rgba(39, 23, 45, .44); }
.cv2-detail-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.cv2-detail-top h2 { margin: 0; font-size: 1.15rem; }
.cv2-detail-visual { border-radius: 12px; aspect-ratio: 1.35; }
.cv2-detail-visual img { object-fit: contain; }
.cv2-detail h3 { margin: 11px 0 6px; font-size: 1rem; }
.cv2-detail .cv2-card-price, .cv2-detail .cv2-card-facts { margin-top: 6px; }
.cv2-detail .cv2-card-price strong { font-size: 1.2rem; }
.cv2-detail .cv2-card-shop, .cv2-detail .cv2-card-facts, .cv2-detail-rating { font-size: .8rem; }
.cv2-detail-rating { margin: 7px 0 0; color: #74657e; }
.cv2-detail-actions { display: flex; justify-content: flex-end; margin: 12px 0 0; }
.cv2-detail-actions--split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cv2-detail-actions--split .cv2-cta { width: 100%; padding-inline: 7px; white-space: normal; text-align: center; }
.cv2-detail .cv2-cta--copy { border: 1px solid #e3c3e7; background: #fff; color: #811693; }
.cv2-detail .cv2-cta--copy:hover { background: #fbf1ff; color: #68127c; }
.cv2-cta:disabled { cursor: wait; opacity: .65; }
.cv2-detail-feedback:empty { display: none; }
.cv2-source-link { width: 100%; margin-top: 6px; padding: 7px; border: 1px solid #e3c3e7; border-radius: 8px; }
.cv2-card .cv2-card-refund--unverified, .cv2-detail .cv2-card-refund--unverified { color: #5c4762; background: #f6eff8; }
.cv2-card-at-source { margin: 2px 0 0; color: #74657e; font-size: .68rem; }
.hb-offers .cv2-at-recommendation { flex-direction: row; align-items: stretch; }
.hb-offers .cv2-at-recommendation .cv2-card-visual { width: clamp(84px, 26%, 135px); flex: none; align-self: stretch; }
.hb-offers .cv2-at-recommendation .cv2-card-info { flex: 1; padding: 10px; }
.cv2-close {
    display: grid;
    min-width: 36px;
    min-height: 36px;
    place-items: center;
    padding: 0;
    border: 1px solid #ebd6e7;
    border-radius: 9px;
    background: #fff;
    color: #402a4f;
    font-size: 1.2rem;
    cursor: pointer;
}
.cv2-cta {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 0;
    border-radius: 11px;
    background: #b40671;
    color: #fff;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.cv2-cta:hover { background: #97075f; color: #fff; }
.cv2-card button:focus-visible, .cv2-detail :focus-visible, .cv2-cta:focus-visible { outline: 2px solid #841de0; outline-offset: -2px; }
@media (min-width: 700px) {
    .cv2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .cv2-card-info { padding: 12px; }
    .cv2-card .cv2-card-name { font-size: .95rem; }
}
@media (min-width: 1000px) {
    .cv2-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
