/*
Theme Name: Ukreuromaz
Template: vehica
*/
body .vehica-menu__brand img {
    display: none!important;
}
body .vehica-menu__brand {
    display: none;
}

.vehica-menu-white-preset .vehica-menu__desktop .vehica-menu>.menu-item>.vehica-menu__link {
    color: #111!important;
}

.form-listing input, .form-listing textarea {
	min-height: 53px;
	padding: 10px 27px;
	box-shadow: 1px 1px 0 0 rgba(196, 196, 196, 0.24);
}

.vehica-car-description td, .vehica-car-description th {
    padding: 0px;
	padding-left: 7px;
}

/*breadcrumb*/
.bread-woo .woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb a:hover {
    color: #222732;
}

body .bread-woo.elementor-widget.elementor-widget-woocommerce-breadcrumb a:hover{
    color: #222732;
}

.ukr-breadcrumbs a, .ukr-breadcrumbs .crumb-sep{
    color: #a7a8a8;
	padding-right: 10px;
}

.ukr-breadcrumbs a:hover, .ukr-breadcrumbs a:focus, .ukr-breadcrumbs a:active {
	color: #222732;
	text-decoration: none;
}

.ukr-breadcrumbs .crumb-last {
	color: #ff4605;
    padding-right: 15px;
    margin-right: 15px;
}

.rank-math-breadcrumb a, .rank-math-breadcrumb .separator{
    color: #a7a8a8;
	padding-right: 10px;
}

.rank-math-breadcrumb a:hover, .rank-math-breadcrumb a:focus, .rank-math-breadcrumb a:active {
	color: #222732;
	text-decoration: none;
}

.rank-math-breadcrumb .last {
	color: #ff4605;
    padding-right: 15px;
    margin-right: 15px;
}

/*blog*/
.blog-list-post .vehica-blog-card__image img {
	height: 115%;
}

@media (max-width: 1025px) {
	.blog-list-post .vehica-blog-card__image img {
	height: 100%;
	object-fit: fill;
	}
}

@media (min-width: 900px) and (min-width: 1200px) {
    .post-imageq .vehica-post-image {
        height: 550px;
    }
    .post-imageq .vehica-post-image img {
		object-fit: fill;
	}
}
/*end blog*/
@media (min-width: 780px){
	.posada {
		min-height:45px;
	}
	.posada-one-num {
		min-height: 85px;
	}
}
/*ширина колонок в админке на странице продуктов*/
table.wp-list-table th[style] {
    width: auto !important;
}

/* Название в каталоге в несколько строк */
@media (max-width: 768px) {
    .vehica-car-card-row__name,
    .vehica-car-card__name,
    .vehica-inventory-card__name,
    .vehica-car-name {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
        display: block !important;
        line-height: 1.3 !important;
        max-height: none !important;
    }
}

/* Отключить кнопку сравнения в карточках */
.vehica-inventory-v1__compare {
    display: none !important;
}

/*****CUSTOM*****/
@media (max-width: 768px) {
:where(.elementor-widget-loop-carousel) .elementor-swiper-button-prev, :where(.elementor-widget-loop-carousel) .elementor-swiper-button-next {
    display: none !important;
  }
}
/*позицинирование стрелок*/
:where(.elementor-widget-loop-carousel)  .elementor-swiper-button-prev{
    left:35px!important;
}
:where(.elementor-widget-loop-carousel)  .elementor-swiper-button-next{
    right:35px!important;
}
/*наведение на стрелки*/
:where(.elementor-widget-loop-carousel) 
.elementor-swiper-button.elementor-swiper-button-prev:hover svg,
:where(.elementor-widget-loop-carousel)
.elementor-swiper-button.elementor-swiper-button-next:hover svg {
  fill: #ff4605 !important;
  transition: fill 0.3s ease;
}
:where(.elementor-widget-loop-carousel) 
.elementor-swiper-button.elementor-swiper-button-prev:hover,
:where(.elementor-widget-loop-carousel)
.elementor-swiper-button.elementor-swiper-button-next:hover {
  background-color: #fff0eb; /* при наведении */
}
/*цвет стрелок*/
:where(.elementor-widget-loop-carousel) 
.elementor-swiper-button.elementor-swiper-button-prev svg,
:where(.elementor-widget-loop-carousel)
.elementor-swiper-button.elementor-swiper-button-next svg {
  fill: #000 !important;
}
/*размер стрелок*/
.elementor-element .swiper~.elementor-swiper-button svg{
	width: 22px!important;
}

:where(.elementor-widget-loop-carousel) 
.elementor-swiper-button.elementor-swiper-button-prev,
:where(.elementor-widget-loop-carousel)
.elementor-swiper-button.elementor-swiper-button-next {
  background-color: #fff; /* фон кнопок */
  border: 1px solid #e7edf3!important;
  color: #000; /* цвет стрелок */
  width: 53px;
  height: 53px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Точки (пагинация) */
.swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, 0.8)!important;
  opacity: 1;
  width: 16px!important;
  height: 16px!important;
  margin: 0 5px !important;
  transition: all 0.3s ease;
}
.elementor-element .swiper~.swiper-pagination-bullets.swiper-pagination-horizontal{
	margin-top:-40px!important;
}

.swiper-pagination-bullet-active {
  background-color: #ff4605!important;
  transform: scale(1.2);
  width: 19px!important;
  height: 19px!important;
}

.swiper-pagination-bullet:hover {
	background-color: #ff4605!important;
}

/******product page*******/
.woocommerce {
    max-width: 100%;
    padding: 0px;
}
/*product page image*/
.wpgs-for .slick-arrow{
	padding: 0px 20px;
    font-weight: 600;
}
.prod-image [class^="flaticon-"]:before,.prod-image [class*=" flaticon-"]:before,.prod-image [class^="flaticon-"]:after,.prod-image [class*=" flaticon-"]:after {
    font-family: Flaticon;
    font-size: 32px;
    font-style: normal;
}
.fancybox-caption__body {
    display: none;
}

/* ===== PROD-BREAD: принудительно 1 колонка и наша раскладка ===== */

/* Снимаем сетки/ширины Elementor/Woo внутри контейнера prod-bread */
.prod-bread .woocommerce ul.products,
.prod-bread .woocommerce-page ul.products {
  display: block !important;
}
.prod-bread .woocommerce ul.products.elementor-grid,
.prod-bread .woocommerce-page ul.products.elementor-grid {
  display: block !important;
  grid-template-columns: none !important;
}
.prod-bread .woocommerce ul.products li.product,
.prod-bread .woocommerce-page ul.products li.product {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
}

/* Карточка: бордер ДОЛЖЕН быть всегда */
.prod-bread ul.products li.product-list,
.prod-bread ul.products li.product-list.product-list { /* удвоение класса = выше специфичность */
  border: 1px solid #e6e6e6 !important;
  border-radius: 12px !important;
  background: #fff !important;
  transition: border-color .25s ease, box-shadow .25s ease;
  margin-bottom: 18px !important;
}
.prod-bread ul.products li.product-list:hover {
  border-color: #FF4605 !important;
  box-shadow: 0 0 10px rgba(0,0,0,.06);
}

/* ===== DESKTOP (>=769px) ===== */
@media (min-width: 769px) {
	/* Карточка: бордер ДОЛЖЕН быть всегда */
.prod-bread ul.products li.product-list,
.prod-bread ul.products li.product-list.product-list {
  padding: 14px 14px 0px 14px!important;
}
  /* Весь li — flex-строка */
  .prod-bread ul.products li.product-list {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }

  /* Левая часть: ссылка (thumb + info) */
  .prod-bread ul.products li.product-list > a.product-list__link {
    display: flex !important;           /* перебьём любые grid/block у темы */
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 16px !important;
    flex: 1 1 auto !important;          /* чтобы actions ушёл вправо */
    min-width: 0 !important;            /* чтобы длинный заголовок не ронял кнопку */
    text-decoration: none;
  }

  /* Превью слева фикс ширины */
  .prod-bread ul.products li.product-list .product-list__thumb {
    flex: 0 0 220px !important;
  }
  .prod-bread ul.products li.product-list .product-list__thumb img {
    width: 220px !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 10px;
    display: block;
  }

  /* Инфо справа — колонка: Заголовок → Цена */
  .prod-bread ul.products li.product-list .product-list__info {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .prod-bread ul.products li.product-list .woocommerce-loop-product__title {
    margin: 0 0 6px !important;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600;
    color: #000;
  }
  .prod-bread ul.products li.product-list .price {
    margin-top: 2px !important;
    font-size: 18px;
    font-weight: 700;
    color: #000;
  }

  /* Правая колонка: кнопка ВСЕГДА сбоку */
  .prod-bread ul.products li.product-list .product-list__actions {
    margin-left: auto !important;
    align-self: center !important;
    display: flex !important;
    flex: 0 0 auto !important;
  }
  .prod-bread ul.products li.product-list .product-list__actions .button {
    white-space: nowrap !important;

    border-radius: 12px !important;
    font-weight: 600;
  }
}

/* ===== MOBILE (<=768px) ===== */
@media (max-width: 768px) {
	.prod-bread ul.products li.product-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
	padding: 14px!important;
  }

  .prod-bread ul.products li.product-list > a.product-list__link { 
    display: block !important; 
  }

  .prod-bread ul.products li.product-list .product-list__thumb img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 10px;
    display: block;
    margin: 0 0 10px 0;
  }

  .prod-bread ul.products li.product-list .woocommerce-loop-product__title {
    margin: 6px 0 4px !important;
    font-size: 20px;
  }
  .prod-bread ul.products li.product-list .price {
    margin: 0 0 4px !important;
    font-size: 18px;
    font-weight: 700;
  }

  .prod-bread ul.products li.product-list .product-list__actions {
    margin-top: 8px !important;
    align-self: stretch !important;
  }
  .prod-bread ul.products li.product-list .product-list__actions .button {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 12px 18px !important;
    border-radius: 12px !important;
  }
}