.widget-price {
    width: 100%;
    background: #fff;
    border: 2px solid #e1e5ea;
    border-radius: 10px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1;
}

.widget-price--dark {
    background-color: #3F3C4D;
    border-color: #64616F;
}

.widget-price__info {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 2px solid #e1e5ea;
}

.widget-price--dark .widget-price__info {
    border-color: #64616F;
}

.widget-price__logo {
    margin-right: 20px;
}

.widget-price__title {
    margin-bottom: 10px;
}

.widget-price__title-link {
    font-size: 18px;
    text-decoration: none;
    color: #0072DB
}

a.widget-price__title-link:hover {
    text-decoration: underline;
}

.widget-price--dark .widget-price__title-link {
    color: #9BC9FF;
}

.widget-price__price {
    font-size: 16px;
}

.widget-price--dark .widget-price__price {
    color: #ffffff;
}

.widget-price__percent--up {
    color: #00B67F;
}

.widget-price--dark .widget-price__percent--up {
    color: #33FFC1;
}

.widget-price__percent--down {
    color: #E32C13;
}

.widget-price--dark .widget-price__percent--down {
    color: #FBB0A5;
}

.widget-price__additional {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(39, 52, 64, 0.5);
}

.widget-price__props {
    display: flex;
    margin: -1px -2px;
}

.widget-price__prop {
    width: 100%;
    border: 1px solid #e1e5ea;
    padding: 15px 10px;
    text-align: center;
}

.widget-price--dark .widget-price__prop {
    border-color: #64616F;
}

.widget-price__prop-label {
    margin-bottom: 15px;
    font-size: 12px;
}

.widget-price--dark .widget-price__prop-label {
    color: #ffffff;
}

.widget-price__prop-value {
    font-size: 14px;
}

.widget-price--dark .widget-price__prop-value {
    color: #ffffff;
}

.widget-price__footer {
    border-top: 2px solid #e1e5ea;
    text-align: center;
    clear: both;
    font-size: 10px;
    font-style: italic;
    padding: 5px 0;
}

.widget-price--dark .widget-price__footer {
    border-color: #64616F;
}

.widget-price__footer-link {
    text-decoration: none;
    color: #0079fb;
}

.widget-price--dark .widget-price__footer-link {
    color: #9BC9FF;
}

.widget-line {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 30px 0;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #E4E4E4;
    border-radius: 10px;
    clear: both;
}

.widget-line--dark {
    background-color: #3F3C4D;
    border-color: #3F3C4D;
}

.widget-line__aside {
    display: block;
    flex-shrink: 0;
    margin-right: 10px;
    padding-right: 10px;
    text-decoration: none;
    border-right: 1px solid #E4E4E4;
}

.widget-line--dark .widget-line__aside {
    border-right: 1px solid #64616F;
}

.widget-line__logo {
    display: block;
    margin: 0 0 5px;
    width: 114px;
    height: 24px;
}

.widget-line__title {
    font-size: 10px;
    line-height: 14px;
    font-weight: 500;
    color: #0072DB;
}

.widget-line--dark .widget-line__title {
    color: #9BC9FF;
}

.widget-line__items {
    --gap: 10px;
    display: flex;
    align-items: center;
    gap: var(--gap);
    overflow: hidden;
}

.widget-line__group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: var(--gap);
}

.widget-line__items.marquee .widget-line__group {
    animation: scroll 10s linear infinite;
}

.widget-line__items.marquee:hover .widget-line__group {
    animation-play-state: paused !important;
}

.widget-line__group:not(:last-child) {
    padding-right: 10px;
    border-right: 1px solid #E4E4E4;
}

.widget-line__item {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.widget-line__item:not(:last-child) {
    padding-right: 10px;
    border-right: 1px solid #E4E4E4;
}

.widget-line--dark .widget-line__item:not(:last-child) {
    border-right: 1px solid #64616F;
}

.widget-line__item-logo {
    margin-right: 5px;
    flex-shrink: 0;
}

.widget-line__item-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.widget-line__item-names {
    margin-right: 20px;
}

.widget-line__item-name {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    line-height: 1;
    font-weight: bold;
    text-decoration: none;
    color: #252937;
}

.widget-line--dark .widget-line__item-name {
    color: #ffffff;
}

a.widget-line__item-name:hover {
    text-decoration: underline;
}

.widget-line__item-short-name {
    font-size: 10px;
    line-height: 12px;
    color: #8A92A1;
}

.widget-line--dark .widget-line__item-short-name {
    color: #8A92A1;
}

.widget-line__item-prices {
    text-align: right;
}

.widget-line__item-price {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    white-space: nowrap;
    color: #252937;
}

.widget-line--dark .widget-line__item-price {
    color: #ffffff;
}

.widget-line__item-price:first-letter {
    color: #8A92A1;
}

.widget-line--dark .widget-line__item-price:first-letter {
    color: #B1B1B1;
}

.widget-line__item-percent {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 10px;
    line-height: 12px;
    font-weight: 500;
}

.widget-line__item-percent--up {
    color: #00B67F;
}

.widget-line--dark .widget-line__item-percent--up {
    color: #33FFC1;
}

.widget-line__item-percent--up:before {
    content: "◣";
    display: block;
    margin-right: 5px;
    font-size: 6px;
    line-height: 6px;
    margin-bottom: -4px;
    color: #00B67F;
    transform: rotate(135deg);
}

.widget-line--dark .widget-line__item-percent--up:before {
    color: #33FFC1;
}

.widget-line__item-percent--down {
    color: #E32C13;
}

.widget-line--dark .widget-line__item-percent--down {
    color: #FBB0A5;
}

.widget-line__item-percent--down:before {
    content: "◣";
    display: block;
    margin-right: 5px;
    font-size: 6px;
    line-height: 6px;
    margin-top: -4px;
    color: #E32C13;
    transform: rotate(-45deg);
}

.widget-line--dark .widget-line__item-percent--down:before {
    color: #FBB0A5;
}

.widget-top {
    max-width: 350px;
    width: 100%;
    margin: auto;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #E4E4E4;
    border-radius: 10px;
    clear: both;
}

.widget-top--dark {
    background-color: #3F3C4D;
    border-color: #3F3C4D;
}

.widget-top__item {
    display: flex;
    align-items: center;
    position: relative;
}

.widget-top__item:not(:last-child) {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E4E4E4;
}

.widget-top--dark .widget-top__item:not(:last-child) {
    border-bottom: 1px solid #64616F;
}

.widget-top__item-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    padding: 0 3px;
    font-size: 12px;
    line-height: 1;
    color: #252937;
    background-color: #FFC700;
    border-radius: 3px;
}

.widget-top__item-logo {
    flex-shrink: 0;
    margin-right: 15px;
}

.widget-top__item-name {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
    color: #0072DB;
}

.widget-top--dark .widget-top__item-name {
    color: #9BC9FF;
}

a.widget-top__item-name:hover {
    text-decoration: underline;
}

.widget-top__item-prices {
    display: flex;
    align-items: flex-end;
    white-space: nowrap;
}

.widget-top__item-price {
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
}

.widget-top--dark .widget-top__item-price {
    color: #ffffff;
}

.widget-top__item-price:first-letter {
    color: #8A92A1;
}

.widget-top--dark .widget-top__item-price:first-letter {
    color: #B1B1B1;
}

.widget-top__items-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #E4E4E4;
}

.widget-top--dark .widget-top__items-footer {
    border-top: 1px solid #64616F;
}

.widget-top__items-footer-link {
    font-size: 12px;
    line-height: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #0072DB;
}

.widget-top--dark .widget-top__items-footer-link {
    color: #9BC9FF;
}

.widget-top__items-footer-link:hover {
    text-decoration: underline;
}

.widget-top__item-percent {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: 5px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.widget-top__item-percent--up {
    color: #00B67F;
}

.widget-top--dark .widget-top__item-percent--up {
    color: #33FFC1;
}

.widget-top__item-percent--down {
    color: #E32C13;
}

.widget-top--dark .widget-top__item-percent--down {
    color: #FBB0A5;
}

.widget-top__item-additional {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    line-height: 20px;
    color: #8A92A1;
}

.widget-top--dark .widget-top__item-additional {
    color: #B1B1B1;
}

/*** Helpers ***/

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - var(--gap)));
    }
}