.popup {
    background-color: transparent;
    border: none;
    outline: none;
    padding: 9px;
    max-width: 100%;
    margin: auto auto;
    max-height: 100%;
    box-sizing: border-box;
    overflow: unset;
}

.popup-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -1;
    backdrop-filter: blur(30px);
    background: rgba(24, 22, 27, 0.95);
    cursor: pointer;
}

.popup-frame {
    width: 460px;
    max-width: 100%;
    padding: 30px;
    background: #211E25;
    border-radius: 15px;
    box-shadow: inset 0 0 0 1px rgba(136, 136, 136, 0.15), 0 4px 64px 0 rgba(22, 22, 22, 0.52);
    box-sizing: border-box;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-title {
    font-weight: 500;
    font-size: 16px;
    color: #fff;
}

.popup-close {
    border-radius: 6px;
    padding: 6px 9px 6px 6px;
    background: rgba(249, 241, 255, 0.05);
    box-shadow: inset 0 0 0 1px rgba(136, 136, 136, 0.15);
    color: #fff;
    display: flex;
    gap: 6px;
    align-items: center;
    border: none;
    outline: none;
    font-size: 12px;
    cursor: pointer;
    transition: .2s;
}

.popup-close:hover {
    background: rgba(249, 241, 255, 0.1);
}

.popup_items {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 30px;
}

.product_item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product_item.disabled {
    opacity: 0.5;
    filter: grayscale(50%);
}

.product_card {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 9px;
    font-size: 0;
    min-height: 185px;
    background-color: #8a8a8a1e;
}

.product_card img {
    width: 100%;
}

.product_rating {
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    letter-spacing: 0.02em;
    gap: 6px;
    text-decoration: none;
    color: #6e6e6e !important;
}

.product_rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #ffc300;
}

.product_rating-stars .star {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url('/ui/star.svg') no-repeat center center;
    background-size: contain;
}

.product_title, .product_title a {
    font-weight: 400;
    font-size: 14px;
    color: #848484 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.product_seller {
    font-weight: 500;
    color: #fff !important;
    text-decoration: none;
    cursor: pointer;
}

.product_seller:hover {
    text-decoration: underline;
}

.product_buttons {
    margin-top: auto;
    display: flex;
    gap: 12px;
}

.product_button {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    padding: 12px;
    transition: .2s;
    background: rgba(161, 161, 161, 0.05);
    color: #fff !important;
    text-decoration: none;
    gap: 10px;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
}

.product_button:hover {
    background: rgba(161, 161, 161, 0.1);
}

.product_button.wb {
    background: rgba(148, 30, 140, 0.116);
    box-shadow: inset 0 0 0 1px rgba(230, 102, 221, 0.192);
}

.product_button.wb:hover {
    background: rgb(148, 30, 140);
}

.product_button.wb .product_button-icon {
    width: 16px;
    height: 16px;
    background: url('/ui/wb-icon-color.svg') no-repeat center center;
    background-size: contain;
}

.product-subinfo {
    font-weight: 500;
    font-size: 12px;
    text-align: center;
    color: #848484;
}

.product-subinfo span{
    color: #e4e4e4;
}

.product-subinfo .greem{
    color: #5fca88;
}

.product-subinfo .yellow{
    color: #e4a762;
}

.product-subinfo .red{
    color: #cf5a5a;
}