.wpsc-product-highlights {
    margin-top: 1.5em;
}

.wpsc-product-highlights__button {
    margin-top: 0.5em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75em;
    padding: 0.85em 1.85em;
    min-height: 3rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.25);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
    text-decoration: none;
}

.wpsc-product-highlights__button:hover,
.wpsc-product-highlights__button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(13, 148, 136, 0.32);
}

.wpsc-product-highlights__button.is-active {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(13, 148, 136, 0.36);
    background: linear-gradient(135deg, #0f766e 0%, #0a4f46 100%);
}

.wpsc-product-highlights__button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

.wpsc-product-highlights__button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    box-shadow: none;
}

.wpsc-product-highlights__button-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
    flex-shrink: 0;
}

.wpsc-product-highlights__button-icon::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent currentColor;
    transform: translateX(1px);
}

.wpsc-product-highlights__button:hover .wpsc-product-highlights__button-icon,
.wpsc-product-highlights__button:focus-visible .wpsc-product-highlights__button-icon,
.wpsc-product-highlights__button.is-active .wpsc-product-highlights__button-icon {
    background: rgba(255, 255, 255, 0.28);
}

.wpsc-product-highlights__button-label {
    display: inline-block;
    text-align: left;
}

.wpsc-highlight-player {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translate(-50%, 20px);
    width: min(90vw, 420px);
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.wpsc-highlight-player.has-custom-position {
    transform: translate(0, 20px);
}

.wpsc-highlight-player.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.wpsc-highlight-player.has-custom-position.is-visible {
    transform: translate(0, 0);
}

.wpsc-highlight-player__inner {
    background: #0c0b0a;
    color: #f8fafc;
    border-radius: 18px;
    padding: 0.85rem 0.9rem 0.85rem 0.85rem;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.25);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    position: relative;
}

.wpsc-highlight-player__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.wpsc-highlight-player__body {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    cursor: grab;
    user-select: none;
}

.wpsc-highlight-player.is-dragging .wpsc-highlight-player__body {
    cursor: grabbing;
}

.wpsc-highlight-player__thumb {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wpsc-highlight-player__thumb.is-empty {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.22);
}

.wpsc-highlight-player__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wpsc-highlight-player__text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.wpsc-highlight-player__heading {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.wpsc-highlight-player__product {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.3;
    font-size: 0.96rem;
    word-break: break-word;
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wpsc-highlight-player__product:hover,
.wpsc-highlight-player__product:focus-visible {
    text-decoration: underline;
}

.wpsc-highlight-player__subtitle {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wpsc-highlight-player__actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-left: auto;
}

.wpsc-highlight-player__timer {
    min-width: 78px;
    font-size: 0.74rem;
    line-height: 1;
    text-align: center;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.75);
}

.wpsc-highlight-player__toggle,
.wpsc-highlight-player__close {
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    padding: 0.55rem;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
}

.wpsc-highlight-player__toggle:hover,
.wpsc-highlight-player__toggle:focus-visible,
.wpsc-highlight-player__close:hover,
.wpsc-highlight-player__close:focus-visible {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.18);
}

.wpsc-highlight-player__toggle-icon,
.wpsc-highlight-player__toggle-icon::before,
.wpsc-highlight-player__toggle-icon::after {
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.wpsc-highlight-player__toggle-icon {
    display: block;
    position: relative;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 13px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 1px;
}

.wpsc-highlight-player.is-playing .wpsc-highlight-player__toggle-icon {
    width: 14px;
    height: 14px;
    border: none;
    margin-left: 0;
}

.wpsc-highlight-player.is-playing .wpsc-highlight-player__toggle-icon::before,
.wpsc-highlight-player.is-playing .wpsc-highlight-player__toggle-icon::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #ffffff;
}

.wpsc-highlight-player.is-playing .wpsc-highlight-player__toggle-icon::before {
    left: 2px;
}

.wpsc-highlight-player.is-playing .wpsc-highlight-player__toggle-icon::after {
    right: 2px;
}

.wpsc-highlight-player__close span {
    font-size: 1.1rem;
    line-height: 1;
}

.wpsc-highlight-player__audio {
    display: none;
}

@media (max-width: 600px) {
    .wpsc-highlight-player {
        bottom: 16px;
        width: min(94vw, 420px);
    }

    .wpsc-highlight-player__thumb {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .wpsc-highlight-player__toggle,
    .wpsc-highlight-player__close {
        padding: 0.5rem;
        min-width: 32px;
        min-height: 32px;
    }
}
