.cv2-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}
.cv2-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 4px;
    overflow: hidden;
    border: 1px solid #efc2e5;
    border-radius: 18px;
    background: linear-gradient(160deg, #fff 50%, #fff4fc);
    box-shadow: 0 3px 9px #a92c8812;
    color: #2c143c;
}
.cv2-card[hidden] { display: none; }
.cv2-card-picture {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 13px;
}
.cv2-card-visual,
.cv2-detail-visual {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 0;
    background: #faedf5;
}
.cv2-card-visual { cursor: pointer; }
.cv2-card-visual img,
.cv2-detail-visual img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cv2-card-visual img[hidden], .cv2-detail-visual img[hidden] { display: none; }
.cv2-card-no-image { margin: 6px; color: #756484; font-size: .75rem; text-align: center; }
.cv2-card-photo-tags,
.cv2-card-photo-meta {
    position: absolute;
    inset-inline: 5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    pointer-events: none;
}
.cv2-card-photo-tags { inset-block-start: 5px; }
.cv2-card-photo-meta { inset-block-end: 5px; justify-content: space-between; }
.cv2-card-badge,
.cv2-card-marketplace,
.cv2-card-sold {
    padding: 4px 7px;
    border-radius: 999px;
    font-size: clamp(.59rem, 2.6vw, .74rem);
    font-weight: 750;
    line-height: 1.1;
    white-space: nowrap;
}
.cv2-card-badge { background: #fff; color: #94146e; }
.cv2-card-badge[hidden] { display: none; }
.cv2-card-discount { margin-inline-start: auto; background: #fff0d4; color: #743900; }
.cv2-card-marketplace { width: max-content; color: #fff; }
.cv2-card-marketplace--shopee { background: #d64000; }
.cv2-card-marketplace--tiktok { background: #281d35; }
.cv2-card-sold { margin-inline-start: auto; background: #fffcffed; color: #3a2944; }
.cv2-card-sold[hidden] { display: none; }
.cv2-card-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
    padding: 6px 6px 4px;
}
.cv2-card .cv2-card-name {
    margin: 0;
    font-size: clamp(.83rem, 3.55vw, 1rem);
    line-height: 1.23;
    font-weight: 820;
}
.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-name a { color: inherit; text-decoration: none; }
.cv2-card-title-text {
    display: -webkit-box;
    max-height: 2.46em;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.cv2-card-shop {
    display: flex;
    align-items: center;
    gap: 4px 6px;
    min-width: 0;
    min-height: 16px;
    color: #594766;
    font-size: clamp(.68rem, 2.9vw, .78rem);
}
.cv2-card-shop--empty { display: none; }
.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-inline-start: auto; color: #91470a; font-weight: 750; }
.cv2-card-shop .hub-product-shop {
    min-width: 0;
    margin: 0;
    color: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cv2-card-price {
    display: grid;
    grid-template-columns: fit-content(calc(100% - 42px)) minmax(0, 1fr);
    align-items: center;
    min-width: 0;
    gap: 1px 4px;
    font-variant-numeric: tabular-nums;
}
.cv2-card .cv2-card-price strong,
.cv2-detail .cv2-card-price strong {
    min-width: 0;
    overflow: hidden;
    color: #d91827;
    font-size: clamp(.84rem, 3.8vw, 1.12rem);
    font-weight: 850;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cv2-card .cv2-card-price strong.cv2-card-price-long { font-size: clamp(.7rem, 3.3vw, 1rem); }
.cv2-card-price del { grid-column: 1 / -1; color: #756484; font-size: .66rem; line-height: 1.2; }
.cv2-card-refund {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    justify-self: end;
    padding: 3px 5px;
    border-radius: 7px;
    background: #fce1f1;
    color: #ad075d;
    font-size: clamp(.59rem, 2.55vw, .73rem);
    font-weight: 750;
    line-height: 1.3;
}
.cv2-card-refund b { font: inherit; }
.cv2-card-refund-window {
    display: block;
    overflow: auto hidden;
    scrollbar-width: none;
    white-space: nowrap;
}
.cv2-card-refund-window::-webkit-scrollbar { display: none; }
.cv2-card-refund-window:focus-visible { outline: 1px solid currentColor; outline-offset: -1px; }
.cv2-card-refund-text { display: inline-flex; align-items: center; gap: .24em; vertical-align: top; }
.cv2-card-refund-prefix { position: relative; }
.cv2-card-refund-initial,
.cv2-card-refund-window[data-cv2-refund-short] .cv2-card-refund-full {
    position: absolute;
    inset-inline-start: 0;
    clip-path: inset(50%);
}
.cv2-card-refund-window[data-cv2-refund-short] .cv2-card-refund-initial { position: static; clip-path: none; }
.cv2-detail-refund-icon { display: none; }
.cv2-card-refund-window[data-cv2-refund-scrolling]:not(:focus) .cv2-card-refund-text {
    animation: cv2-refund-pan 5s ease-in-out infinite;
}
@keyframes cv2-refund-pan {
    0%, 16%, 100% { transform: translateX(0); }
    48%, 64% { transform: translateX(var(--cv2-refund-shift)); }
}
@media (prefers-reduced-motion: reduce) {
    .cv2-card-refund-window[data-cv2-refund-scrolling] .cv2-card-refund-text { animation: none !important; }
}
.cv2-flash-notes {
    margin: 1px 0 0;
    overflow: hidden;
    color: #74657e;
    font-size: clamp(.53rem, 2.43vw, .68rem);
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.cv2-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 4px;
    min-height: 39px;
    margin-top: auto;
    padding-top: 3px;
    border-top: 1px solid #f0e2ee;
}
.cv2-card-source {
    min-width: 0;
    color: #713580;
    font-size: clamp(.59rem, 2.55vw, .73rem);
    font-weight: 400;
    letter-spacing: .025em;
    line-height: 1.25;
    white-space: nowrap;
}
.cv2-card-source--at { color: #644279; }
.cv2-card-favorite { margin: 0; }
.cv2-card-heart {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    padding: 0;
    border: 1px solid #efb7e3;
    border-radius: 12px;
    background: #fff5fd;
    color: #be086f;
    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 { grid-column: 1 / -1; margin: 0; color: #a12743; font-size: .68rem; line-height: 1.35; }
.cv2-card-favorite-error[hidden] { display: none; }
/* The older suggestion grids retain their shop-facts and purchase hooks. */
.cbh-catalog-grid .cv2-card .hub-product-visual.cv2-card-visual {
    display: grid !important;
    aspect-ratio: 4 / 3;
    border-radius: 0;
}
.cbh-catalog-grid .cv2-card .hub-product-visual img { object-fit: cover; }
.cbh-catalog-grid .cv2-card .cv2-card-name {
    font-size: clamp(.83rem, 3.55vw, 1rem) !important;
    line-height: 1.23;
}
.cbh-catalog-grid .cv2-card .cv2-card-name a { color: inherit !important; }
.cv2-card .hub-product-visual .cbh-shop-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    max-width: calc(100% - 10px);
    padding: 4px 7px;
    border-radius: 999px;
    background: #fff;
    color: #94146e;
    font-size: clamp(.59rem, 2.6vw, .74rem);
    font-weight: 750;
    line-height: 1.1;
}
@media (max-width: 360px) {
    .cv2-card-info { padding-inline: 4px; }
    .cv2-card-source { font-size: .56rem; letter-spacing: 0; }
    .cv2-card-heart { width: 34px; }
}
.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 {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    width: min(490px, calc(100% - 24px));
    max-height: calc(100% - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: clamp(12px, 3.8vw, 18px);
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid #ead2e5;
    border-radius: 23px;
    background: radial-gradient(ellipse at 93% 0%, #fde5f3, transparent 36%), linear-gradient(165deg, #fff 70%, #fff1fb);
    color: #2b193b;
    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: 12px; }
.cv2-detail-top h2 { margin: 0; font-size: clamp(1.13rem, 5.15vw, 1.47rem); font-weight: 800; line-height: 1.15; }
.cv2-detail-visual { border-radius: 15px; aspect-ratio: 1.58; }
.cv2-detail .cv2-card-photo-tags, .cv2-detail .cv2-card-photo-meta { inset-inline: 8px; }
.cv2-detail .cv2-card-photo-tags { inset-block-start: 8px; }
.cv2-detail .cv2-card-photo-meta { inset-block-end: 8px; }
.cv2-detail .cv2-card-badge, .cv2-detail .cv2-card-marketplace, .cv2-detail .cv2-card-sold { padding: 5px 9px; }
.cv2-detail h3 { margin: 10px 0 7px; font-size: clamp(.97rem, 4.35vw, 1.24rem); font-weight: 800; line-height: 1.3; }
.cv2-detail .cv2-card-shop { margin-bottom: 5px; font-size: .83rem; }
.cv2-detail .cv2-card-price { margin-top: 8px; gap: 2px 10px; grid-template-columns: minmax(0, 1fr) auto; }
.cv2-detail .cv2-card-price > strong { font-size: clamp(1.22rem, 5.9vw, 1.7rem); }
.cv2-detail .cv2-card-price > strong.cv2-card-price-long { font-size: clamp(.97rem, 4.25vw, 1.2rem); }
.cv2-detail .cv2-card-price del { font-size: .79rem; }
.cv2-detail .cv2-card-refund {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: min(100%, 220px);
    padding: 6px 9px;
    border-radius: 999px;
    font-size: clamp(.69rem, 3.22vw, .99rem);
}
.cv2-detail .cv2-detail-refund-icon { display: inline-flex; flex: none; align-items: center; }
.cv2-detail .cv2-card-refund--unverified .cv2-detail-refund-icon { display: none; }
.cv2-detail-rating { margin: 6px 0 0; color: #6e5e78; font-size: .78rem; line-height: 1.38; }
.cv2-detail-facts {
    margin-top: 12px;
    padding: 4px 10px;
    border-radius: 14px;
    background: #faedf7;
    font-size: .79rem;
    line-height: 1.36;
}
.cv2-detail-facts > p {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 6px 0;
}
.cv2-detail-facts > p + p { border-top: 1px solid #ecdbe9; }
.cv2-detail-facts > p[hidden] { display: none; }
.cv2-detail-facts svg { justify-self: center; color: #bd086d; }
.cv2-detail-wallet { border-radius: 7px; }
.cv2-detail-actions { margin: 12px 0 0; }
.cv2-detail-actions--split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.cv2-detail-actions--split .cv2-cta {
    width: 100%;
    padding-inline: 4px;
    background: linear-gradient(107deg, #c70081, #8a0adb);
    font-size: clamp(.70rem, 3.62vw, .98rem);
}
.cv2-detail[data-cv2-detail-variant="accesstrade"] { background: #fff; }
.cv2-detail[data-cv2-detail-variant="accesstrade"] .cv2-detail-visual { aspect-ratio: 1.35; }
.cv2-detail[data-cv2-detail-variant="accesstrade"] .cv2-detail-visual img { object-fit: contain; }
.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; }
.hb-offers .cv2-at-recommendation { flex-direction: row; align-items: stretch; }
.hb-offers .cv2-at-recommendation .cv2-card-picture { width: clamp(94px, 28%, 140px); flex: none; align-self: stretch; }
.hb-offers .cv2-at-recommendation .cv2-card-visual { height: 100%; aspect-ratio: auto; }
.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: 0;
    border-radius: 10px;
    background: #f8e1f1;
    color: #5e1d65;
    font-size: 1.45rem;
    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-detail-actions--split .cv2-cta:hover { filter: brightness(.92); }
.cv2-cta--cashback {
    width: 100%;
    min-height: 47px;
    gap: 7px;
    border-radius: 999px;
    background: linear-gradient(155deg, #e31487, #b10562);
    box-shadow: 0 4px 10px #c0006b32;
    font-size: clamp(.95rem, 4.35vw, 1.12rem);
}
.cv2-cta--cashback svg { flex: none; width: 17px; height: 17px; }
.cv2-card :is(a, 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; }
}
@media (min-width: 1000px) {
    .cv2-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
