/* Minimal catalog tweaks on top of the Automotive template */

/* "Подробнее" looks like .view-video.gradient_button, but without popup behavior. */
.gradient_button_product {
    background-color: #f9f9f9;
    border: 1px solid #dcdcdc;
    display: inline-block;
    color: #3a3a3a;
    font-family: Arial;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    text-shadow: 1px 1px 0 #ffffff;
    position: absolute;
    left: 236px;
    bottom: 10px;
    clear: left;
    height: 26px;
    line-height: 14px;
    padding: 6px 9px;
    border-radius: 5px;
    cursor: pointer;
}

.gradient_button_product i {
    margin-right: 6px;
}

@media (max-width: 991px) {
    div.inventory .gradient_button_product {
        left: 10px;
        bottom: 13px;
        top: auto;
        position: absolute;
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    div.inventory .gradient_button_product {
        left: 11px;
        bottom: 10px;
        top: auto;
        position: absolute;
        font-size: 12px;
    }
}

.compressor-price-block .figure {
    font-size: 26px;
}

.compressor-price-block .compressor-no-price {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
}

.inventory .title {
    font-size: 22px;
    line-height: 24px;
}

@media (max-width: 991px) {
    .inventory .title {
        font-size: 18px;
        line-height: 20px;
    }
}

.stock-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    vertical-align: middle;
}

.stock-badge--ok {
    background: #e8f6ea;
    color: #2e7d32;
}

.stock-badge--low {
    background: #fff4e5;
    color: #c77700;
}

.stock-badge--preorder {
    background: #f1f1f1;
    color: #666;
}

.listing_select .catalog-search-dropdown {
    vertical-align: top;
    width: 410px;
}

.listing_select input[type=search],
.left_inventory form input[type=search] {
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    box-sizing: border-box;
    color: #999;
    display: block;
    height: 30px;
    margin-bottom: 4px;
    outline: none;
    padding: 0 10px;
    width: 100%;
}

.listing_select .catalog-search-submit {
    background: #f9f9f9;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    color: #3a3a3a;
    cursor: pointer;
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    height: 30px;
    line-height: 18px;
    margin: 0 4px 4px 0;
    padding: 5px 14px;
    text-align: center;
    text-shadow: 1px 1px 0 #fff;
    vertical-align: top;
}

.listing_select .catalog-search-submit:hover {
    background: #fff;
    color: #223879;
}

@media (max-width: 1199px) {
    .listing_select .catalog-search-dropdown {
        width: 330px;
    }
}

@media (max-width: 991px) {
    .listing_select .catalog-search-dropdown {
        width: 100%;
    }
}

.design_2 .footer-question-form input[type='text'] {
    box-sizing: border-box;
    width: calc(50% - 6px);
}

.design_2 .footer-question-form input[type='text'][name='name'] {
    margin-right: 12px;
}

.footer-question-form .footer-consent {
    clear: both;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #fff;
    font-size: 12px;
    line-height: 1.35;
    margin: 0 0 12px;
    position: static !important;
    width: 100%;
}

.footer-question-form .footer-consent input[type=checkbox] {
    flex: 0 0 auto;
    left: auto;
    margin-top: 2px;
    position: static;
}

.footer-question-form .footer-consent span {
    display: block;
    max-width: 420px;
}

.footer-question-form .footer-consent a {
    color: #fff;
    text-decoration: underline !important;
}

.footer-question-form .smartcaptcha-widget {
    clear: both;
    height: 84px;
    margin: 9px 0 14px;
    overflow: visible;
    width: 312px;
}

.footer-question-form .smartcaptcha-widget .smart-captcha {
    transform: scale(0.65);
    transform-origin: left top;
    width: 480px;
}

.social li a.social-icon {
    background-color: #666;
    background-image: none;
    color: #2b2b2b;
    font-family: FontAwesome;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    text-indent: 0;
    transition: background-color 300ms ease-out, color 300ms ease-out;
}

.social li a.social-icon:hover,
.social li a.social-icon:focus {
    background-color: #263977;
    color: #fff;
    text-decoration: none;
}

.social-whatsapp:before {
    content: "\f232";
}

.social-telegram:before {
    content: "\f2c6";
}

.social-youtube:before {
    content: "\f16a";
}

.social-max:before {
    background-color: currentColor;
    content: "";
    display: inline-block;
    height: 18px;
    -webkit-mask: url("../img/max_logo_black.7897038c8904.svg") center / contain no-repeat;
    mask: url("../img/max_logo_black.7897038c8904.svg") center / contain no-repeat;
    vertical-align: -4px;
    width: 18px;
}
