/*
 Theme Name:   Fribbo Child Theme
 Theme URI:    https://fribbo.ancorathemes.com/
 Description:  Fribbo Child Theme
 Author:       AncoraThemes
 Author URI:   http://ancorathemes.com/
 Template:     fribbo
 Version:      1.0
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  fribbo
*/


/* =Theme customization starts here
------------------------------------------------------------ */

.scheme_default .sc_layouts_row_type_compact .sc_layouts_item a:not(.sc_button):not(.button):is(a) {
    color: var(--e-global-color-primary);
}

.sc_price_item_description ul, .sc_price_item_details ul ul[class*=trx_addons_list] li {}

.woocommerce .products [class*="trx_addons_list"]>ul {
    padding-left: 1.2em;
}

[class*="trx_addons_list"]>ul>li {
    position: relative;
    margin: 10px 0;
}

[class*="trx_addons_list"]>ul>li:before {
    content: '\e8b6';
    font-family: "trx_addons_icons";
    display: inline-block;
    position: absolute;
    z-index: 1;
    top: 0;
    left: -1em;
    line-height: inherit;
}

.cart-checkout>div>div.woocommerce.wp-block-group .product-name-el {
    font-size: 18px;
}

.cart-checkout>div>div.woocommerce.wp-block-group .product-desc {
    font-size: 14px;
}

.cart-checkout>div>div.woocommerce.wp-block-group .product-desc>ul {
    padding-left: 1.2em;
}

.cart-checkout>div>div.woocommerce.wp-block-group .product-desc>ul>li {
    position: relative;
    margin: 10px 0;
}

.cart-checkout>div>div.woocommerce.wp-block-group .product-desc>ul>li:before {
    content: '\e8b6';
    font-family: "trx_addons_icons";
    display: inline-block;
    position: absolute;
    z-index: 1;
    top: 0;
    left: -1em;
    line-height: inherit;
}

.cart-checkout>div .product-price {
    white-space: nowrap;
}

.cart-checkout>div>div.woocommerce.wp-block-group {
    position: static;
    left: 0;
    width: 100%;
}

.elementor-top-section rs-slides rs-slide:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 50;
    background-color: rgba(0, 0, 0, 0.8);
    display: block;
}

body.single-post .post_item_single .post_featured {
    display: none;
}

.sc_item_filters_tabs a[href="#blogger_filters_109_content"] span {
    color: #000;
}

.scheme_default .sc_price_item.sc_price_item-accent {
    position: relative;
}

.scheme_default .sc_price_item.sc_price_item-accent:before {
    content: "";
    position: absolute;
    pointer-events: none;
    inset: 0;
    z-index: 2;
    border-top: 10px solid var(--accent-color);
}

.download-widget-color {
    --e-global-color-primary: var(--color-primary-widget);
}

.download-widget p,
.widget .download-widget p {
    margin: 1em 0;
    color: var(--e-global-color-primary);
}
.el-form-response:not(:empty) {
    position: relative;
    padding: 6px 6px 6px 40px !important;
    background: linear-gradient(90deg, #ed4f4f 0, #df3434 50.19%);
    color: #fff !important;
    font-size: 14px;
    border-radius: 12px !important;
    min-height: 37px;
    margin-top: 10px;
}

.el-form-response:not(:empty):before {
    content: "";
    background-position: center;
    background-size: contain;
    margin-right: 15px;
    display: block;
    position: absolute;
    left: 6px;
    top: 6px;
    min-width: 24px;
    width: 24px;
    height: 24px;
    z-index: 2;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22Z' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 8V13' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M11.9961 16H12.0051' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

a.download-link-archive.download-link.download-button[disabled] {
    background-color: #d1d1d1 !important;
}

.scheme_default .sc_price_item.sc_price_item-accent .sc_price_item_price,
.scheme_default .sc_price_item.sc_price_item-accent:hover .sc_price_item_price {
    display: inline-block;
}

.scheme_default .sc_price_item.sc_price_item-accent[style="--accent-color: #8FFE09;"] .sc_price_item_price_value,
.scheme_default .sc_price_item.sc_price_item-accent[style="--accent-color: #8FFE09;"]:hover .sc_price_item_price_value {}

.scheme_default .sc_price_item.sc_price_item-accent:not([style="--accent-color: #8FFE09;"]) .sc_price_item_price_value,
.scheme_default .sc_price_item.sc_price_item-accent:not([style="--accent-color: #8FFE09;"]):hover .sc_price_item_price_value {}

.scheme_default .sc_price_item.sc_price_item-accent .sc_button:not(.sc_button_simple):not(.sc_button_bordered):not(.sc_button_bg_image),
.scheme_default .sc_price_item.sc_price_item-accent:hover .sc_button:not(.sc_button_simple):not(.sc_button_bordered):not(.sc_button_bg_image) {
    background-color: var(--accent-color) !important;
    color: #000 !important;
}

.scheme_default .sc_price_item.sc_price_item-accent:not([style="--accent-color: #8FFE09;"]) .sc_button:not(.sc_button_simple):not(.sc_button_bordered):not(.sc_button_bg_image),
.scheme_default .sc_price_item.sc_price_item-accent:not([style="--accent-color: #8FFE09;"]):hover .sc_button:not(.sc_button_simple):not(.sc_button_bordered):not(.sc_button_bg_image) {
    color: #fff !important;
}

footer .sc_layouts_item_link .sc_layouts_item_icon {
    /* color: var(--e-global-color-primary); */
    font-size: 1.5em;
    margin-right: 0.3em;
}

.scheme_default .sc_layouts_title .sc_layouts_title_description {
    margin: 30px 0;
}

.scheme_default.sidebar a.download-link {
    color: #fff;
}

.scheme_default.sidebar a.download-link:hover {
    color: #fff;
}

.fancybox__container {
    --fancybox-zIndex: 9990;
    --fancybox-bg: rgba(24, 24, 27, 0.8);
}

.modal-download {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 15px;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.modal-download a.download-link {
    color: #fff;
}

.modal-download__password-title {
    margin-bottom: 0.6em;
}

.modal-download__password-text {
    border-radius: 6px;
    padding: 5px 12px;
    margin-right: auto;
    margin-left: auto;
    display: inline-block;
    background-color: #e5e5ff;
    color: #3636db;
}

.socials_mobile {
    display: none !important;
}

.post_meta_item.post_author {
    display: none !important; 
}

.account-subscribes__item-limit {
    font-size: 12px;
    color: #000;
    background-color: #e5e5ff;
    padding: 5px 12px;
    border-radius: 6px;
    margin-top: 5px;
}

header a[href="/my-account/"] .elementor-button-icon {
    color: var(--e-global-color-primary);
}

.post_content .woocommerce-MyAccount-content .download-link {
    background-color: var(--main-priary-color);
}

.tabs-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 20px; 
}
.js-tab-item {
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
}
.js-tab-item.active {
    color: var(--e-global-color-primary);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 1px;
}

.u-column {
    margin-right: auto;
    max-width: 800px;
    width: 100%;
}

.download-widget a.download-link {
    text-align: center;
    margin-top: 10px;
    display: block;
    background-color: var(--e-global-color-primary);
    color: #fff;
    position: relative;
    border: none;
    text-shadow: none !important;
    background-image: none !important;
    font-size: 16px;
    line-height: 20px;
    padding: 1.23em 1.9em;
    border-radius: 4px;
    -webkit-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease
}

.download-widget .download-link small {
    display: none
}

.download-widget .download-link.aligncenter {
    display: inline-block;
    width: auto;
    margin: 0 !important
}

.download-widget .download-link.download-button {
    color: #fff;
}

@media screen and (min-width: 1279.02px) {
    .sc_price_item_info {
        padding: 1.5em 2em;
    }
}
/* Убираем все лишнее вокруг шорткода */
.dv-rating-pro,
pre:has(.dv-rating-pro),
code:has(.dv-rating-pro) {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.dv-rating-pro {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    gap: 4px !important;
    
    /* ВОТ ТУТ МАГИЯ ОТСТУПОВ: */
    /* -8px сверху — приклеиваем к тексту выше */
    /* 40px снизу — создаем солидную дистанцию до следующего блока */
    margin: -8px 0 40px 0 !important;
}

/* Звезды 20px */
.dv-star-mid {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    margin: 0 !important;
}

/* Блок с цифрами */
.dv-rating-num-svg {
    display: block !important;
    width: 50px !important;
    height: 20px !important;
    margin-left: 2px !important;
}

.dv-rating-num-svg svg {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}