/*
Theme Name: РОНБЕЛ 5

Theme URI: http://ronbel.ru
Author: Jarosław Bielawski
Author URI: http://poczta.ru
Description: Вторая версия
Version: 6.0
License: CCA 3.0 license
License URI: http://creativecommons.org/licenses/by/3.0/
Tags: Ronbel, Bielawski
*/
/* github.com/paulradzkov/bettertext.css */
/* https://github.com/geedmo/yamm */


@import url('woocommerce.css');

body {
  font-family: 'PT Sans', 'Arial', sans-serif !important;
  font-weight: 400;
  font-size: 1em;
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-display: swap;
  color: black;
}

/* Отступы на декстопе */
@media (min-width: 768px) {
  article:not([class]),
  section:not([class]) {
    margin: calc(24px + 4vh) calc(10px + 4vw);
  }
}

body:not([class]) article:not([class]),
article:not([class]) article:not([class]),
section:not([class]) article:not([class]),
body:not([class]) section:not([class]),
article:not([class]) section:not([class]),
section:not([class]) section:not([class]) {
  margin-left: 0;
  margin-right: 0;
}

p {
  margin: 0 0 1.5em;
  max-width: 50rem;
}

/* minimum paragraph width when floating http://css-tricks.com/minimum-paragraph-widths/ */
p:before,
ol:not([class]):before,
ul:not([class]):before {
  content: '';
  display: block;
  width: 10em;
  overflow: hidden;
}

li p:before {
  content: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: 'Montserrat', 'PT Sans', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

h1, .h1 {
  font-size: 2.2em !important;
  line-height: 1.3 !important;
  margin: 0.3em 0 0.3em !important;
}

h2, .h2 {
  font-size: 1.4375em;
  line-height: 1.2;
  margin: 3.13043478em 0 1.04347826em;
}

h3, .h3 {
  font-size: 1.25em;
  line-height: 1.3;
  margin: 3em 0 1.2em;
}

h4, .h4 {
  font-size: 1.125em;
  line-height: 1.4;
  margin: 2.66666667em 0 1.33333333em;
}

h5, .h5 {
  font-size: 1em;
  line-height: 1.5;
  margin: 2.25em 0 1.5em;
}

h6, .h6 {
  font-size: 0.75em;
  line-height: 2;
  margin: 2em 0 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  h1, .h1 {
    font-size: 3em !important;
    margin-top: 1 !important;
    margin-bottom: 0.61538462em !important;
  }

  h2, .h2 {
    font-size: 1.9375em;
    margin-top: 3.09677419em;
    margin-bottom: 2em;
  }

  h3, .h3 {
    font-size: 1.5625em;
    margin-top: 2.88em;
    margin-bottom: 0.96em;
  }

  h4, .h4 {
    font-size: 1.25em;
    margin-top: 2.4em;
    margin-bottom: 1.2em;
  }
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child,
.h1:first-child,
.h2:first-child,
.h3:first-child,
.h4:first-child,
.h5:first-child,
.h6:first-child {
  margin-top: 0;
}

/* double headers */
h1+h2,
.h1+.h2 {
  margin-top: 1.2em;
}

h2+h3,
.h2+.h3 {
  margin-top: 1.3em;
}

h3+h4,
.h3+.h4{
  margin-top: 1.4em;
}

h4+h5,
.h4+.h5{
  margin-top: 1.5em;
}

h5+h6,
.h5+.h6{
  margin-top: 2em;
}

/* lists */
ul:not([class]),
ol:not([class]) {
  margin: 0 0 1.5em;
  max-width: calc(47.5rem);
  padding-left: 0;
  padding-right: 2.5em;
}

ul:not([class]) ul,
ol:not([class]) ul,
ul:not([class]) ol,
ol:not([class]) ol {
  margin-bottom: 0;
}

ul:not([class]) li,
ol:not([class]) li {
  transform: translateX(2.5em);
  animation: fixlists 1s;
}

@keyframes fixlists {
  0% {
    text-indent: -0.001em;
  }

  100% {
    text-indent: 0;
  }
}

/* images */
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

p img:not(:only-child) {
  vertical-align: baseline;
}

figure:not([class]) {
  margin: 3em 0;
}

figure:not([class])>p {
  max-width: 37.5rem;
  font-size: 0.75em;
  margin: 0.5em 0 0;
}

figcaption {
  max-width: 37.5rem;
  font-size: 0.75em;
  margin: 0.5em 0 3em;
}

figcaption>p {
  margin: 0.5em 0 0;
}

/* blockquotes */
blockquote {
  max-width: calc(45rem);
  margin: 0 0 1.5em;
  padding: 1.5em 2.5em;
}

blockquote>p:last-child {
  margin-bottom: 0;
}

blockquote>footer,
blockquote>cite {
  display: block;
  font-size: 0.75em;
}

/* code */
pre {
  margin: 1.5em 0;
  white-space: pre-wrap;
}

p code {
  line-break: loose;
  overflow-wrap: break-word;
}

/* tables */
table:not([class]) {
  margin-top: 3em;
  margin-bottom: 3em;
  border-collapse: separate;
  border-spacing: 0;
}

table:not([class]) caption {
  text-align: left;
  font-size: 0.75em;
  margin-bottom: 0.625em;
}

table:not([class]) td,
table:not([class]) th {
  padding: 0.5em 1em;
  text-align: left;
  vertical-align: top;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.1);
  border-width: 0 0 1px;
}

table:not([class]) thead td,
table:not([class]) thead th {
  vertical-align: bottom;
  border-bottom-width: 2px;
}

/* definition lists */
dl:not([class]) {
  max-width: 50rem;
  margin: 0 0 1.5em;
}

dl:not([class]) dt:not([class]) {
  font-weight: 700;
}

dl:not([class]) dd:not([class]) {
  margin: 0 0 1.5em;
}

/* other tags */
hr:not([class]) {
  border: 0;
  border-bottom: 1px solid;
  margin: 1.5em 0;
  opacity: .1;
}

abbr {
  letter-spacing: .05em;
  margin-right: -0.05em;
}

strong,
b,
dt {
  font-weight: 700;
}

code,
kbd,
pre,
samp {
  font-family: 'Montserrat', 'PT Sans', monospace;
  font-size: 1em;
  letter-spacing: -1px;
}

/**** Ссылки ****/
a {
  color: black;
  text-decoration: none;
}

a:hover {
  color: black;
  text-decoration: underline;
}

a:visited {
  color: black;
  text-decoration: none;
}

.main_foto {
  max-height: 25rem !important;
}

/* Блок мессенджеры, телефон */
.messengers {
  max-height: 335px;
}

/**** Заголовоки ****/
/* H1 */
.zagolovok {
  font-family: 'Montserrat', 'PT Sans', sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  font-size: 2.5em !important;
  letter-spacing: -1px !important;
  margin-bottom: 1em !important;
}

@media (min-width: 768px) {
  .zagolovok {
    font-size: 3em !important;
    margin-top: 0 !important;
  }
}

.zagolovok_faktoid {
  font-size: 5em;
}

/* Подзаголовки меню */
.menu_subtitle_top {
  display: block;
  font-family: 'Montserrat', 'PT Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1em;
  line-height: 1.4;
  margin: 1.5em 0 0.2em;
  letter-spacing: normal;
  color: black;
}

img.menu_subtitle_top  {
  max-height: 12rem;
}

/* Подзаголовки меню */
.menu_subtitle_bottom {
  display: block;
  font-family: 'Montserrat', 'PT Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1em;
  line-height: 1.4;
  margin: 0 0 0.5em;
  letter-spacing: normal;
  color: black;
}

/* Пункт без раскрытия в меню меню */
.menu_simple_element {
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1rem;
}

/* Иконка в меню */
.menu_icons {
  max-height: 2em;
}

/* Текст в подвале */
.footer_text {
  font-size: 0.8rem;
}

/* Кнопки фильтра в каталоге товаров */
.d-grid > .bapf_body {
  display: grid !important;
}


/* Кнопка Применить фильтр в каталоге */
.bapf_sfilter.bapf_divi_button.d-grid.filter_apply_button button{
  color: #007bff !important;
  border-color: #0d6efd;
}

.bapf_sfilter.bapf_divi_button.d-grid.filter_apply_button button:hover{
  color: #fff !important;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

/* Кнопка Загрузить еще */
.lmp_button.btn.btn-outline-primary {
  padding: 0.375rem 0.75rem !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

/**** Блоки ****/
/**** Оформление элементов ****/
.border-end {
  border-color: #e4e4e4;
  border-right-width: 1px;
  border-right-style: solid;
  padding-right: 1rem;
  margin-right: 1rem;
}

.nav-link {
  color: black;
}

.navbar-light
.navbar-nav
.nav-link {
  color: black;
}

.navbar-expand-lg
.navbar-nav
.nav-link {
  padding-right: 1em;
  padding-left: 1em;
}

.jumbotron {
  background-color: #F5F2EF;
  padding-top: 2rem;
  padding-right: 2rem;
  padding-bottom: 1rem;
  padding-left: 2rem;
  border-radius: 0.3rem;
}

.jumbotron_mini {
  background-color: #F5F2EF;
  padding-top: 1rem;
  padding-right: 2rem;
  padding-bottom: 1rem;
  padding-left: 2rem;
  border-radius: 1rem;
}

.bubble {
  min-height: 20rem;
}

.mini-bubble {
  min-height: 8rem;
}

.input_width_100 {
  width: 100px !important;
}

/* Пагинация */
.active>.page-link, .page-link.active {
  z-index: 0;
}

/* Характеристики */
.table-attributes p {
  margin: 0;
  padding-top: 0;
}

/* QR код изображение */
.qr-code {
  max-width: 10rem;
  max-height: 10rem;
}

/* Яндекс карты */
#map {
  width: 100%;
  height: 700px;
}

/* Мессенджеры в подвале */
.footer_messengers {
  background-color: #49AD47;
  color: #FFF;
  font-family: Montserrat;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
}

/**** Стиль кнопок ****/
.btn-primary {
  color: #fff !important;
}

.btn-primary:hover {
  color: #fff !important;
}

.btn-outline-primary {
  color: #007bff !important;
}

.btn-outline-primary:hover {
  color: #fff !important;
}

.btn-danger {
  color: #fff !important;
}

.btn-danger:hover {
  color: #fff !important;
}

.btn-outline-danger {
  color: #dc3545 !important;
}

.btn-outline-danger:hover {
  color: #fff !important;
}

.btn-success {
  color: #fff !important;
}

.btn-success:hover {
  color: #fff !important;
}

.btn-outline-success {
  color: #28a745 !important;
}

.btn-outline-success:hover {
  color: #fff !important;
}

.btn-warning {
  color: #fff !important;
}

.btn-warning:hover {
  color: #fff !important;
}

.btn-outline-warning {
  color: #ffc107 !important;
}

.btn-outline-warning:hover {
  color: #fff !important;
}

.btn-secondary {
  color: #fff !important;
}

.btn-secondary:hover {
  color: #fff !important;
}

.btn-outline-secondary {
  color: #6c757d !important;
}

.btn-outline-secondary:hover {
  color: #fff !important;
}

.btn-info {
  color: #fff !important;
}

.btn-info:hover {
  color: #fff !important;
}

/* Линия вдоль кнопки Наверх */
.btn-up-line {
  display: inline-block;
  position: relative;
}
.btn-up-line:before {
  right: 100%;
  margin-right: calc(5px + 0.3em);
  content: "";
  position: absolute;
  top: calc(50% - (calc(0.2px + 0.05em)/ 2));
  width: 2000px;
  border-bottom: calc(0.2px + 0.05em) solid #e5e5e5;
}
.btn-up-line:after {
  left: 100%;
  margin-left: calc(5px + 0.3em);
  content: "";
  position: absolute;
  top: calc(50% - (calc(0.2px + 0.05em)/ 2));
  width: 2000px;
  border-bottom: calc(0.2px + 0.05em) solid #e5e5e5;
}

/**** Плавающий инпуты ****/
.form-floating>.form-control, .form-floating>.form-control-plaintext, .form-floating>.form-select {
  height: calc(3rem + 2px);
  line-height: 1.25;
}
.form-floating>label {
  padding: 0.5rem 0.75rem;
}

/* Красная полоска на первом экране */
.red-line {
  display: block;
  position: relative;
  top: -20px;
  border-top-width: 5px;
  border-top-style: solid;
  border-top-color: #DD2828;
}

/**** Карточка товара в каталоге ****/
/* Всегда видимая часть карточки */
.card-product {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 26rem;
}

/* Отступ скрытой части */
.card-fixed-description{
  height: 26rem;
}

/* Ховер только с md сетки */
@media (min-width: 768px) {
  .card-product {
    height: 21rem;
  }

  .card-product:hover {
    overflow: initial;
    z-index: 2;
  }

  .card-product:hover .card-hidden{
    box-shadow: 0 0 10px 1px gray;
  }

  .card-fixed-description{
    height: 21rem;
  }
}

.card-hidden {
  background-color: #fff;
  border-radius: 6px;
}

/* Высота названия товара */
.product-title {
  min-height: 2rem;
}

/* Стили для текстового поля с кнопкой "Далее" */
.limiter {
  max-height: 400px;
  overflow: hidden;
  position: relative;
}
.limiter .bottom {
  position: absolute; /* Если прыгает - можно попробовать sticky */
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgb(255 217 29 / 0%),
    rgb(255 255 255)90%);
  width: 100%;
  height: 60px;
  opacity: 1;
  transition: 0.3s;
}
.read-more-checker {
  opacity: 0;
  position: absolute;
}
.read-more-checker:checked ~ .limiter {
  max-height: none;
}
.read-more-checker:checked ~ .limiter .bottom {
  opacity: 0;
  transition: 0.3s;
}
.read-more-checker ~ .read-more-button:before {
  content: "Читать полностью »";
}
.read-more-checker:checked ~ .read-more-button:before {
  content: "Свернуть «";
}
.read-more-button {
  cursor: pointer;
  display: inline-block;
  /* color: #777; */
  text-decoration: underline;
}

/* Виджет доставки */
.eshoplogistic-theme-yandex-map {
  max-height: 20rem;
}


/* ============ desktop view ============ */
@media all and (min-width: 992px) {

	.sidebar li{ position: relative; }
	.sidebar li .submenu{
		display: none;
		position: absolute;
		left:100%; top:-7px;
		min-width: 240px;
	}
	.sidebar li:hover > .submenu{ display: block; }
}
/* ============ desktop view .end// ============ */

/* ============ small devices ============ */
@media (max-width: 991px) {

	.sidebar .submenu, .sidebar .dropdown-menu{
		position: static!important;
		margin-left:0.7rem; margin-right:0.7rem; margin-bottom: .5rem;
	}

}
/* ============ small devices .end// ============ */





/*----новые стили последних наработок----*/

.btn__play-youtube {
  background-color: rgb(244 67 54);
  background-image: url(/wp-content/uploads/2024/06/play.svg);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 14px;
  height: 1.5rem;
  margin-right: .375rem;
  padding: 0;
  width: 26px;
  display: inline-block;
  border-radius: .5rem;
  position: absolute;
  right: 0;
  top: 6px;
  z-index: 99;
}

.addcard__button {
  background-color: #dc3545;
  font-weight: 700;
  color: #fff;
  padding: .318em 1em;
  text-align: center;
  border-radius: 3px;
}

/*--quantity input--*/
.stepper {
  align-items: center;
  border-radius: .75rem;
  border-width: 1px;
  display: flex;
  height: 3.5rem;
  justify-content: space-between;
  margin-bottom: .75rem;
  padding: .125rem;
  position: relative;
	border: 2px solid #eee;
	margin-top: 5px;
}


.stepper__btn {
  align-items: center;
  border-radius: .75rem;
  cursor: pointer;
  display: flex;
  font-size: 16px;
  height: 2.5rem;
  justify-content: center;
  line-height: 24px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  padding: 1rem 1.5rem;
  position: absolute;
  transition-duration: .2s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: linear;
  width: auto;
	border: none;
}


.stepper-wrapper {
  align-items: center;
  display: flex;
  flex-direction: column;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  width: 100%;
}

.stepper__label {
  right: 0;
  top: .125rem;
  width: 24px;
}

.stepper-wrapper span {
  white-space: nowrap;
}

.stepper__input, .stepper__input-edit {
  border-width: 0;
  box-shadow: none;
  padding: .125rem;
  text-align: center;
	width: 30px;
}

.stepper__input[type="number"]::-webkit-inner-spin-button,
.stepper__input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper__input[type="number"] {
  -moz-appearance: textfield;
}

.stepper__input[type="number"]::-ms-clear {
  display: none;
}

.js_total-amount {
	font-size: 14px;
	color: rgb(128 144 156/ 1);
}

.variation__select {
	margin-top: 5px;
	margin-bottom: 10px;
}

@media (min-width: 1024px) {
    .stepper-wrapper {
      width: 94px;
    }
}


.p-0 {
  padding: 0;
}
.w-10 {
  width: 2.5rem;
}
.left-2 {
  left: .5rem;
}

.right-2 {
  right: .5rem;
}

/*--slider style---*/
.slider-item-catalog {
  height: 200px;
  position: relative;
  width: 100%
}


@media (min-width:768px) {
    .slider-item-catalog .swiper-pagination {
      display: none
    }
}

.slider-item-catalog .swiper-pagination {
  transform: translate3d(0, 15px, 0)
}

.slider-item-catalog .swiper-wrapper {
  z-index: 10
}

@media (min-width:1024px) {
    .slider-item-catalog .swiper-wrapper {
      align-items: stretch;
      bottom: 0;
      display: flex;
      left: 0;
      margin: 0;
      padding: 0;
      position: absolute;
      right: 0;
      top: 0;
      transition-duration: .2s;
      transition-property: opacity;
      transition-timing-function: linear
    }
}

.slider-item-catalog .swiper-slide {
  align-items: center;
  border-width: 0;
  display: flex;
  justify-content: center;
  margin-left: 1px;
  margin-right: 1px;
  width: 100%
}

.slider-item-catalog .swiper-slide {
  opacity: 1;
  transition: opacity 1s linear
}

.slider-item-catalog .swiper-slide:after {
  --tw-bg-opacity: 1;
  background-color: rgb(213 221 229/var(--tw-bg-opacity));
  bottom: 0;
  content: '';

  left: 0;
  transition-duration: .2s;
  transition-property: all;
  transition-timing-function: linear
}

.slider-item-catalog .swiper-slide:hover:after {
  --tw-bg-opacity: 1;
  background-color: rgb(244 67 54/var(--tw-bg-opacity));
  content: '';
  display: block
}

.card-body .slick-dots li button {
	font-size: 23px;
	z-index: 9999999999999999;
  position: relative;
}

.addcard__button {
	cursor: pointer;
}

.variation__select select {
	box-sizing: border-box;
  display: block;
  width: 100%;
}

@media (min-width:1024px) {
    .slider-item-catalog .swiper-slide {
      flex: 50%
    }

    .slider-item-catalog .swiper-slide:after {
      content: '';
      height: 3px;
      position: absolute;
      width: 100%
    }
}

.slider-item-catalog .swiper-slide span {
    background-size: cover;
    display: block;
    margin-bottom: auto;
}

.object-contain {
	height: 100%!important;
  width: auto!important;
  object-fit: contain!important;
}

@media (min-width:1024px) {
    .slider-item-catalog .swiper-slide span {
      bottom: 0;
      left: 0;
      position: absolute;
      right: 0;
      top: 0;
      z-index: -10
    }

    .slider-item-catalog .swiper-wrapper .swiper-slide:hover>span,
    .slider-item-catalog .swiper-wrapper:not(:hover) .swiper-slide:first-child span {
      opacity: 1
    }
}

.slider-item-catalog .swiper-wrapper .swiper-slide>span {
  transition-duration: .2s;
  transition-property: opacity;
  transition-timing-function: linear
}

@media (min-width:1024px) {
    .slider-item-catalog .swiper-wrapper .swiper-slide>span {
      background-size: cover;
      bottom: 0;
      left: 0;
      opacity: 0;
      position: fixed;
      right: 0;
      top: 0;
      z-index: -10
    }

    .slider-item-catalog.swiper-backface-hidden .swiper-slide {
      transform: none
    }
}

.slider-item-catalog--single .swiper-wrapper .swiper-slide:after {
  display: none !important
}

.slider-item-catalog .swiper-pagination-bullet {
  --tw-bg-opacity: 1;
  background-color: rgb(213 221 229/var(--tw-bg-opacity));
  height: .375rem;
  opacity: 1;
  width: .375rem
}

.slider-item-catalog .swiper-pagination-bullet-active {
  --tw-bg-opacity: 1;
  background-color: rgb(244 67 54/var(--tw-bg-opacity))
}

.hidden__table {
  height: 0;
  opacity: 0;
}

@media (max-width:567px) {
	.card-product {
		height: auto;
	}

	.variation__select {
		margin-top: 8px;
	}

	.slider-item-catalog, .card-fixed-description {
		height: auto;
	}

	.slider-item-catalog  .slick-track {
		display: flex;
    align-items: center;
	}
}

/* Фон главной */
.main-background {
  background-image: url(https://ronbel.ru/wp-content/uploads/2022/08/main_foto.webp);
  background-repeat: no-repeat;
  background-position-x: right;
  background-position-y: top;
  background-size: 50%;
}

@media (min-width: 768px) {
  .main-background {
    background-size: 39%;
  }
}

/* Логотип */
.logo-ronbel {
  min-width: 8rem;
}
