/* Secondary product actions below the purchase buttons. */
.card-main .cve-product-actions {
    position: relative; display: flex; align-items: center;
    justify-content: center; flex-wrap: wrap; gap: 8px 28px;
    margin: 12px 0 24px; padding: 0;
}
.card-main .cve-product-actions .card-main__buttons-column { position: relative; display: block; }
.card-main .cve-product-actions button {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; width: auto; min-height: 44px; height: auto;
    padding: 8px 0; margin: 0; border: 0; border-radius: 0;
    background: transparent; box-shadow: none; color: #666;
    font: inherit; font-size: 14px; line-height: 20px;
    white-space: nowrap; cursor: pointer; touch-action: manipulation;
}
.card-main .cve-product-actions button svg { width: 20px; height: 20px; flex-shrink: 0; }
.card-main .cve-product-actions button svg path { fill: #777; fill-opacity: 1; }
.card-main .cve-product-actions .fav-active { display: none; }
.card-main .cve-product-actions .is-active .fav-default { display: none; }
.card-main .cve-product-actions .is-active .fav-active { display: block; opacity: 1; fill: #e52378; }
.card-main .cve-product-actions .card-main__favorite.is-active { color: #e52378; }
.card-main .cve-product-actions button:focus-visible { outline: 2px solid #e52378; outline-offset: 3px; }
.card-main .cve-product-actions .card-main__share-column {
    position: absolute; z-index: 12; top: calc(100% + 4px); right: 0;
    display: none; flex-direction: row; gap: 8px; padding: 8px;
    border: 1px solid #eee; border-radius: 12px; background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.10); transform: none;
}
.card-main .cve-product-actions .is-active .card-main__share-column { display: flex; transform: none; }
.card-main .cve-product-actions .card-main__share {
    width: 44px; height: 44px; padding: 8px; opacity: 1; pointer-events: auto;
}
.card-main .card-detail__title { padding-right: 0 !important; }
@media (hover: hover) {
    .card-main .cve-product-actions button:hover { color: #e52378; }
    .card-main .cve-product-actions button:hover svg path { fill: #e52378; }
}
@media (max-width: 360px) {
    .card-main .cve-product-actions { column-gap: 16px; }
    .card-main .cve-product-actions button { font-size: 13px; gap: 6px; }
}
/* Compact click-operated share menu. */
.card-main .cve-product-actions { gap: 4px 20px; margin: 6px 0 12px; }
.card-main .cve-product-actions .card-main__share-column {
    gap: 2px; padding: 6px; max-width: calc(100vw - 24px);
    flex-wrap: nowrap; opacity: 1; transition: none;
}
.card-main .cve-product-actions .card-main__share {
    flex: 0 0 40px; width: 40px; height: 40px; min-height: 40px;
    padding: 9px; border-radius: 8px;
}
.card-main .cve-product-actions .card-main__share[hidden] { display: none; }
.card-main .cve-product-actions .card-main__share svg { width: 22px; height: 22px; }
.card-main .cve-product-actions .card-main__share:hover { background: #fff2f7; }
.card-main .cve-product-actions .cve-share-status {
    position: absolute; top: calc(100% + 6px); right: 0;
    padding: 6px 10px; border-radius: 8px; background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.1); color: #555;
    font-size: 12px; line-height: 18px; white-space: nowrap;
}
.card-main .cve-product-actions .cve-share-status:empty { display: none; }
