/*
Theme Name:   RedParts Child
Theme URI:    https://themeforest.net/item/redparts-auto-parts-woocommerce-wordpress-theme/30040243
Author:       Konstantin Veselovsky
Author URI:   https://themeforest.net/user/kos9
Description:  Auto Parts WordPress Child Theme
Version:      1.18.0
License:      ThemeForest Split License
License URI:  http://themeforest.net/licenses/standard
Text Domain:  redparts-child
Template:     redparts
*/


form#mc4wp-form-1 {
    display: none;
}

a.th-post-card__meta-item.th-post-card__meta-item--author {
    display: none;
}

.th-post-card__meta-item.th-post-card__meta-item--comments {
    display: none;
}

.th-post__author{
    display: none;
}

.login-div {
    width: 70%;
    border-radius: 10px;
    background: #fff;
    padding-top: 20px;
    padding-bottom: 30px;
    margin-top: 20px;
    /* max-width: 320px; */
    overflow: hidden;
    box-shadow: 0px 2px 25px rgba(0,0,0,0.25);
}

.dop_text {
    line-height: 19px;
    color: #777777;
    /* margin-top: 10px; */
    margin-right: 10px;
    margin-left: 10px;
}

.head {
    background-color: #fff;
    /*padding-left: 20px;*/
    text-align: center;
}

.foot {
    padding-top: 20px;
    text-align: center;
}

#fast-order-form{
    text-align: left;
}
.video-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 20px;
    align-content: stretch;
    flex-direction: row-reverse;
}

.video-column {
    flex: 0 0 calc(33.33% - 10px);
    margin-right: 10px;
}

.video {
    padding-bottom: 20px;
}

.video p{
    margin-top: -5px;
}


input.btn.btn-gradient.W100.centered.aos-init.aos-animate {
    /* color: #fff !important; */
    /* font-family: robo-medium; */
    font-size: 15px;
    /* border-radius: 30px; */
    border: none;
    padding: 12px 30px;
    letter-spacing: .5px;
    margin-bottom: 15px;
    background: -moz-linear-gradient(left, #FDA10E 0%, #FF6C0D 100%);
    /* background: -webkit-linear-gradient(left, #FDA10E 0%, #FF6C0D 100%); */
    background: -o-linear-gradient(left, #FDA10E 0%, #FF6C0D 100%);
    background: -ms-linear-gradient(left, #FDA10E 0%, #FF6C0D 100%);
    /* background: linear-gradient(to right, #FDA10E 0%, #FF6C0D 100%); */
    /* transition: all 0.3s; */
}

.button-cat {
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    border: none;
    border-radius: 2px;
    fill: currentColor;
    font-weight: 500;
    cursor: pointer;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    font-size: 18px;
    line-height: 25px;
    padding: 10.5px 30px;
    background: #e52727;
    background: var(--th-btn-primary-normal-bg-color);
    color: #fff;
}

.button-cat:hover {
    background: #e52727;
    background: var(--th-btn-primary-hover-bg-color);
    color: #fff;
    color: var(--th-btn-primary-hover-font-color);
}

.input-box span {
    position: absolute;
    z-index: 5;
    top: 0;
    margin-top: 4px;
    font-size: 20px;
    left: 15px;
    color: #aaa;
    transition: all 0.3s;
}

input.input-s1 {
    width: 100%;
    display: block;
    border: none;
    padding: 20px 0 20px 40px;
}

.input-box {
    position: relative;
}

.body {
    /* margin-top: 42px; */
    /* margin-bottom: 42px; */
    border-top: 1px solid #e9e9e9;
}

.th-block-finder__header {
    margin-bottom: 50px;
}


.fast-order {
    z-index: 8;
    margin-right: 5%;
    padding-right: 3%;
}

.th-share-buttons .th-social-watsapp  a {
    background: #28D146;
}

.th-decor--type--top .th-decor__start,
.th-decor--type--top .th-decor__end,
.th-decor--type--bottom .th-decor__start,
.th-decor--type--bottom .th-decor__end {
    position: absolute;
    width: 115px;
}

.th-block-banners__list {
    width: 100%;
}

@media (max-width: 775px) {
    .fast-order {
        display: none;
    }
    .th-block-banners__list {
        margin: -10px;
        width: 100%;
    }
}

@media (max-width: 1400px) {
    .th-block-finder__header {
        margin-bottom: 10px;
    }
    input.input-s1 {
        font-size: 15px;
    }
    .fast-order {
        margin-right: 3%;
    }
}

@media (max-width: 1100px) {
    input.input-s1 {
        font-size: 13px;
    }
}

@media (max-width: 764px) {
    .th-block-finder__body.th-container.th-container--max--xl {
        padding-left: 0px;
    }
}

@media (max-width: 764px) {
    .th-block-finder__decor {
        margin-left: -8px;
    }
    .th-decor--type--top .th-decor__start, .th-decor--type--top .th-decor__end, .th-decor--type--bottom .th-decor__start, .th-decor--type--bottom .th-decor__end {
        position: absolute;
        width: 80px;
    }

}

@media (max-width: 380px) {
    .th-block-finder__decor {
        margin-left: -8px;
    }
    .th-decor--type--top .th-decor__start, .th-decor--type--top .th-decor__end, .th-decor--type--bottom .th-decor__start, .th-decor--type--bottom .th-decor__end {
        position: absolute;
        width: 50px;
    }
}

/* Общий стиль для всех видео WordPress в товарах */
.woocommerce div.product .mejs-container.wp-video-shortcode.mejs-video {
  max-width: 800px;          /* ограничиваем ширину */
  margin: 20px auto;         /* центрируем */
  border-radius: 12px;       /* скругленные углы */
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25); /* мягкая тень */
  background: #000;          /* фон за плеером */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Эффект при наведении */
.woocommerce div.product .mejs-container.wp-video-shortcode.mejs-video:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

/* Само видео внутри */
.woocommerce div.product .mejs-container video {
  border-radius: 12px;
}

/* Контейнер WP-видео в карточке товара */
.woocommerce div.product .mejs-container.wp-video-shortcode.mejs-video {
  max-width: 720px;           /* как YouTube стандартное окно */
  margin: 20px auto;          /* по центру */
  border-radius: 12px;        /* скруглённые углы */
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25); /* мягкая тень */
  background: #000;
}

/* Делаем соотношение 16:9 */
.woocommerce div.product .mejs-container.wp-video-shortcode.mejs-video,
.woocommerce div.product .mejs-container.wp-video-shortcode.mejs-video video {
  aspect-ratio: 16 / 9;       /* CSS3 — поддерживается во всех современных браузерах */
  width: 100% !important;
  height: auto !important;
}

/* На мобильных разрешаем ширину во всю */
@media (max-width: 768px) {
  .woocommerce div.product .mejs-container.wp-video-shortcode.mejs-video {
    max-width: 100%;
  }
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
    background: transparent !important; /* убираем белый фон */
    padding: 10px;                      /* сохраняем отступы */
    border-radius: 10px;                /* сохраняем скругления */
}

/* Строка поиска в шапке */
.th-header__search--fibosearch {
    width: 100%;
    display: flex;
    justify-content: center;   /* центрируем внутрь строки */
    margin-top: 6px;           /* при необходимости можно подправить отступ */
}

/* Сам контрол поиска – ограничиваем ширину и даём занять всю строку внутри */
.th-header__search--fibosearch .dgwt-wcas-sf-wrapp {
    max-width: 800px;
    width: 100%;
}

/* Логотип в шапке – влево */
.th-header__logo {
    text-align: left;
}

/* Чуть подвинуть саму картинку от левого края, чтобы не прилипала */
.th-header__logo img {
    display: inline-block;
    margin-left: 20px;  /* можешь уменьшить/увеличить */
}


.wc-tooltip-wrapper {
    position: relative;
    display: inline-block;
}

.wc-tooltip-label {
    border-bottom: 1px dashed #d35400;
    color: #d35400;
    font-weight: 600;
    cursor: help;
}

.wc-tooltip-content {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 6px;

    min-width: 220px;
    max-width: 320px;
    background: #333333;
    color: #ffffff;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-align: left;
    z-index: 999;
}

/* Треугольник сверху */
.wc-tooltip-content::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 10px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #1e1e1e transparent;
}