/* Shared PC classified-detail actions. Their right edge follows the content column. */

#pc-detail-actions {
    position: fixed;
    z-index: 280;
    right: max(12px, calc(50% - 490px));
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

#pc-apply-float {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    min-width: 128px;
    min-height: 48px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid #ff3900;
    border-radius: 30px;
    background: #ff3900;
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 57, 0, .22);
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
}

#pc-apply-float .pc-apply-float-icon {
    display: flex;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

#pc-apply-float svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#pc-apply-float:hover,
#pc-apply-float:active {
    border-color: #df3200;
    background: #df3200;
    color: #fff;
    text-decoration: none;
}

#pc-apply-float:focus-visible,
#pc-detail-favorite:focus-visible {
    outline: 3px solid #333;
    outline-offset: 4px;
}

#pc-apply-float.is-closed {
    border-color: #aaa;
    background: #aaa;
    color: #fff;
    box-shadow: 0 4px 16px #00000012;
}

#pc-detail-favorite {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    border: 1px solid #ff3900;
    border-radius: 50%;
    background: #fff;
    color: #ff3900;
    box-shadow: 0 4px 16px #00000012;
    appearance: none;
    cursor: pointer;
    text-decoration: none;
}

#pc-detail-favorite .pc-detail-heart {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#pc-detail-favorite.is-saved {
/*    background: #fff0e9;*/
}

#pc-detail-favorite.is-saved .pc-detail-heart {
    fill: currentColor;
}

#pc-detail-favorite:hover,
#pc-detail-favorite:active {
    border-color: #df3200;
    background: #fff0e9;
    color: #df3200;
}

#pc-detail-favorite:disabled {
    opacity: .55;
    cursor: default;
}

#pc-detail-actions a,
#pc-detail-actions a:hover,
#pc-detail-actions a:active,
#pc-detail-actions button,
#pc-detail-actions button:hover {
    text-decoration: none !important;
}

#pc-detail-favorite-status {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 1100px) {
    #pc-detail-actions {
        bottom: 24px;
    }

    #pc-apply-float {
        min-width: 128px;
        padding-right: 14px;
        padding-left: 14px;
    }
}
