/*******************************************************************************************
*   ___  _          ______                     _ _                _                        *
*  / _ \| |         | ___ \                   | (_)              | |              © 2025   *
* / /_\ | | _____  _| |_/ /_ __ __ _ _ __   __| |_ _ __   __ _   | |_ ___  __ _ _ __ ___   *
* |  _  | |/ _ \ \/ / ___ \ '__/ _` | '_ \ / _` | | '_ \ / _` |  | __/ _ \/ _` | '_ ` _ \  *
* | | | | |  __/>  <| |_/ / | | (_| | | | | (_| | | | | | (_| |  | ||  __/ (_| | | | | | | *
* \_| |_/_|\___/_/\_\____/|_|  \__,_|_| |_|\__,_|_|_| |_|\__, |  \___\___|\__,_|_| |_| |_| *
*                                                         __/ |                            *
*                                                        |___/                             *
* ---------------------------------------------------------------------------------------- *
* This is commercial software, only users who have purchased a valid license and accept    *
* to the terms of the License Agreement can install and use this program.                  *
* ---------------------------------------------------------------------------------------- *
* website: https://cs-cart.alexbranding.com                                                *
*   email: info@alexbranding.com                                                           *
*******************************************************************************************/

.ab__vg-image_gallery_video-wrapper {
    aspect-ratio: calc(~'var(--gl-thumbs-width) / var(--gl-thumbs-height)');
    width: 100% !important;
    height: 100% !important;

    video, iframe {
        aspect-ratio: var(--vaspect);
        background: black;
    }
}

.ut2-pl__description, .ut2-product-block__note {
    .ab-smc-more {
        padding-bottom: 7px;

        span.ab-smc {
            font-size: var(--font-size-normal);

            & + i {
                margin: 0 3px;
            }
        }
    }
}

.ab__deal_of_the_day.pd-dp .pd-details-promo-link {
    padding: 0;
}
.ab-dotd-more-products ~ [class*="column"] {
    display: none;
}

.T-sticker .ab-sticker__name,
.ty-product-block .T-sticker .ab-sticker__name {
    font-size: min(12px,calc(var(--font-size-normal) - 2px));
}
.ty-product-block .ut2-pb__img .T-sticker .ab-sticker__name {
    font-size: min(13px,var(--font-size-normal));
}
[class*="__item-img"] .ab-stickers-container {
    z-index: 1;
}
.ut2-gl__image:has(.abt__ut2_hover_gallery_indicators) .ab-stickers-container__BL,
.ut2-gl__image:has(.abt__ut2_hover_gallery_indicators) .ab-stickers-container__BR {
    bottom: 0;
}
.ut2-pb__img-wrapper {
    .ab-stickers-container {
        .ut2_product_image_mask() when (@abt__ut2_product_list_mask_images_gallery = true) and (@general_bg_color = #ffffff) {
            margin: var(--gap-xs);
        }
        .ut2_product_image_mask();
    }
}
input[name="ab__stickers_output_side"][value="L"] ~ .ut2-w-c-q__buttons,
input[name="ab__stickers_output_side"][value="L"] ~ .ut2-pl__list-buttons {
    left: auto;
    right: 0;
    top: 0;
}
.ut2-simple-list {
    [class*="__TL"], [class*="__TR"] {
        top: var(--gap-xxs);
        left: var(--gap-xxs);
        right: var(--gap-xxs);
    }
    [class*="__BL"], [class*="__BR"] {
        display: none;
    }
}
.ut2-template-small__item {
    [class*="__BL"], [class*="__BR"] {
        display: none;
    }
}
@media (hover: hover) {
    .ut2-gl__image,
    .ut2-pl__image,
    .ut2-template-small__item-img,
    .ty-compact-list__image,
    .ty-scroller-list__item:has(.ty-scroller-list__img-block:hover) {
        &:hover {
            .ab-sticker:not([data-id]), .ty-product-labels {
                animation: .1s linear forwards fade_out;
                -webkit-animation: .1s linear forwards fade_out;
            }
        }
    }
}
