.sp-megamenu-parent > li > a {
    line-height: 40px;
    border-radius: 5px;
    color: #005a0e;
    margin-right: 10px;
    margin-top:15px;
    margin-bottom:15px;
}
.sp-megamenu-parent>li:last-child>a {
    padding: 0 15px;
}

.sp-megamenu-parent > li:hover > a {
    color: #00ea9c;
}
#sp-top-bar a {
    color: #fff;
}
#sp-header.header-sticky {
    background-color: #fff;
}

#sp-header > .container > div {
    border-bottom: none;
}

#sp-header {
    /*background: #aed6bd;*/
    z-index: 9;
    box-shadow: 0 2px 6px 4px rgba(0, 0, 0, .1);
}



#sp-top-bar {
    background: #2ba84a;
    padding: 0;
}

#sp-header .logo {
    height: 70px;
    margin-top: -25px;
}

#sp-header.header-sticky .logo {
    margin-top: 0px;
}
#sp-header .logo .logo-image {
    transition: 0.5s;
}
#sp-header.header-sticky .logo .logo-image {
    height: 70px;
}

#sp-top-bar .sp-module {
    margin-right: 0;
}

#sp-top2 {
    align-items: center;
    display: flex;
    justify-content: flex-end;
}


#cart {
    text-align: right;
}

#cart .icon-cart {
    font-size: 24px;
    color: #2b9036;
}

#cart .quantity {
    background-color: #2b9036!important;
}

.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
    background: #35b655;
    border-radius: 5px;
    padding: 10px 15px;
    margin-top: -10px;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    font-size: 14px!important; 
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    color: #fff;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover {
    color: #036d2d;
}

.toptel {
    font-weight: 700;
    color: #283450;
    font-size: 16px;
    display: block;
}

.kak {
    display: block;
    line-height: 1;
    text-align: right;
    font-size: 14px;
    color: #5b5b5b;
    text-decoration: underline dotted;
}

.topphon {
    align-items: center;
}

#sp-main-body {
    padding: 60px 0;
    background: #fcfbf8;
}





/*breadcrumb*/
#sp-breadcrumbs {
    background-color: #2ba84a;
}
.breadcrumb {
    padding: 0;
    background-color: #2ba84a;
    border-radius: .25rem;
}
#sp-breadcrumbs .breadcrumb-item {
  font-size: 14px;
}
.breadcrumb a {
  color: #bbf1c8; 
  text-decoration: underline;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: "-";
  color: #c8f1bb;
}
.breadcrumb-item.active {
    color: #c8f1bb;
}






/*каталог*/
#RadicalMart.category h1 {
    font-weight: bolder;
    color: #18611f;
}

.item-box {
    background: #ffffff;
   border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.item-box .card-img-top {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;       /* вертикальное фото 3:4 */
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, #ffffff, #e2f5dd);
  display: flex;
  align-items: center;
  justify-content: center;
}



.item-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.item-box .card-body {
    padding: 0 5px;
}
.item-box .card-footer {
    padding: 0 5px 5px;
}


.badge {
    background: #93c658;
    font-size: 14px;
    border-radius: 0;
}
.badge.aktsiya {
    background: #f97316;
}
.badge.novinka {
    background: #22c55e;
}




.item-box .item-title {
    font-size: 18px;
    line-height: 20px;
    font-weight: 900;
    min-height: 62px;
}
.item-box .item-title a {
    font-size: 16px;
}


.item-box .item-title a{
font-weight: bolder;
color: #2ba84a!important;
}

.item-box .text-muted {
    font-size: 16px;
    text-decoration: underline dotted !important;
}
.item-box .tezprice {
    font-weight: bolder;
    color: #446b38;
}


/*горизонтальный фильтр*/
.horisontal-btn-filter a {
        align-items: center;
    font-size: 14px;
    padding: 4px 5px;
}

.horisontal-btn-filter i {
    margin-right: 15px;
    font-size: 24px;
    color: #2ba84a; 
}

.horisontal-btn-filter a span i {
    margin-right: 0;
    font-size: 16px;
    line-height: 15px; 
    color: #ffffff;
}


/*фильтр*/
#mod_radicalmart3_filter_185_filter_price_content > div > div.rmf-price-slider {
    padding: 2px;
}
#mod_radicalmart3_filter_185_accordion .rmf-slider-range {
    background: linear-gradient(90deg, #2ba84a, #2ba84a);
}

#mod_radicalmart3_filter_185_filter_fields_vysota_content,
#mod_radicalmart3_filter_185_filter_badges_content {
    font-size: 18px;
}
.accordion-button:not(.collapsed) {
    color: #ffffff;
    font-size: 18px;
    background-color: #2ba84a;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}
.form-check-input:checked {
    background-color: #2ba84a;
    border-color: #148831;
}
.accordion-button:not(.collapsed)::after {
    background-image: var(--bs-accordion-btn-icon);
}

#radicalmartCartModule{
    z-index: 9999;
}

#mod_radicalmart3_filter_185_filter_badges_content a.small.text-danger.text-lowercase.text-decoration-none {
  display: none;
}

















/* ===== Общий фон и типографика ===== */
body.com_catalog,
body.view-catalog {
    background: #8ccf73; /* общий зелёный фон как на лендинге */
}


/* контейнер всего каталога:
   блок с фильтрами + список товаров идут друг за другом — делаем двухколоночную сетку */
body.com_catalog #component,
body.view-catalog #component {
    background: transparent;
}

body.com_catalog #component > div,
body.view-catalog #component > div {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: flex-start;
}

/* ===== Фильтры слева (категории, цена, высота, сортировка) ===== */
body.com_catalog #component > div > *:first-child {
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    position: sticky;
    top: 100px;
}

/* заголовки блоков внутри фильтров (Категории, Цена, Высота и т.п.) */
body.com_catalog #component > div > *:first-child strong,
body.com_catalog #component > div > *:first-child b {
    display: block;
    font-size: 1rem;
    color: #1f6b3a;
    margin-bottom: 0.4rem;
}

/* чекбоксы высоты */
body.com_catalog #component > div > *:first-child ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

body.com_catalog #component > div > *:first-child li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #35513b;
    margin-bottom: 0.35rem;
}

body.com_catalog #component > div > *:first-child input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    accent-color: #1aa34a;
}

/* ползунки цены */
body.com_catalog #component > div > *:first-child input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 999px;
    background: #ddeee1;
    outline: none;
    margin: 0.35rem 0;
}

body.com_catalog #component > div > *:first-child input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #25b653;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 3px rgba(37,182,83,0.3);
}

body.com_catalog #component > div > *:first-child input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #25b653;
    border: 2px solid #ffffff;
}

/* подписи ОТ / ДО цены */
body.com_catalog #component > div > *:first-child input[type="range"] + br + span,
body.com_catalog #component > div > *:first-child span {
    font-size: 0.8rem;
    color: #6b806f;
}

/* строка поиска/очистки/сортировки (Поиск Очистить select … и иконки вида) */
body.com_catalog #component > div > *:first-child + br + br + span,
body.com_catalog #component select[value="Сортировка"] {
    font-size: 0.9rem;
}

body.com_catalog #component select {
    border-radius: 999px;
    border: 1px solid #d5e6d8;
    padding: 0.3rem 0.75rem;
    font-size: 0.9rem;
    background-color: #ffffff;
}

/* ===== Список товаров ===== */
body.com_catalog #component > div > *:last-child {
    background: rgba(255,255,255,0.08);
    border-radius: 26px;
    padding: 1.5rem 1.25rem 1.75rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    backdrop-filter: blur(3px);
}

/* грид карточек (здесь идут все позиции подряд) */


body.com_catalog #component > div > *:last-child {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.1rem 1.4rem;
}

/* ===== Карточки товара ===== */
/* каждая карточка — группа: ссылка‑название, якорь, ссылка‑название (дубль), цена, select, "В корзину" */


/* общий вид карточек: фон, тень, отступы */
body.com_catalog #component > div > *:last-child a[href*="/catalog/"]:not([href*="#"]) {
    background: #f6fff4;
    border-radius: 20px;
    padding: 0.9rem 0.9rem 1rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    color: #1d6f3e;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* «снежная» шапка карточки */
body.com_catalog #component > div > *:last-child a[href*="/catalog/"]:not([href*="#"])::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border-top: 3px solid rgba(255,255,255,0.95);
    pointer-events: none;
}

/* цена — идёт сразу после дублирующегося заголовка, ловим span/текст с ₽ */
body.com_catalog #component > div > *:last-child a[href*="/catalog/"]:not([href*="#"]) + span {
    display: block;
    margin-top: 0.45rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ff5c5c;
}

/* select высоты, который следует после цены */
body.com_catalog #component > div > *:last-child a[href*="/catalog/"]:not([href*="#"]) + span + select {
    width: 100%;
    border-radius: 999px;
    border: 1px solid #d5e6d8;
    padding: 0.35rem 0.7rem;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    background-color: #ffffff;
}

/* кнопка "В корзину" — текстовый узел после select; превращаем в кнопку через общий селектор */
body.com_catalog #component > div > *:last-child button,
body.com_catalog #component > div > *:last-child input[type="button"],
body.com_catalog #component > div > *:last-child input[type="submit"] {
    border: none;
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: linear-gradient(135deg, #26ba59, #138542);
    color: #ffffff;
    box-shadow: 0 5px 13px rgba(19,133,66,0.55);
    cursor: pointer;
    margin-top: 0.5rem;
    align-self: flex-start;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

body.com_catalog #component > div > *:last-child button:hover,
body.com_catalog #component > div > *:last-child input[type="button"]:hover,
body.com_catalog #component > div > *:last-child input[type="submit"]:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #33c766, #17a24d);
    box-shadow: 0 7px 18px rgba(23,162,77,0.65);
}

/* лёгкая анимация «подпрыгивания» карточки при ховере */
body.com_catalog #component > div > *:last-child a[href*="/catalog/"]:not([href*="#"]):hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* ===== Нижняя панель "Кол-во строк" ===== */
body.com_catalog #component select[value="5"] {
    border-radius: 999px;
    border: 1px solid #d5e6d8;
    padding: 0.3rem 0.75rem;
    font-size: 0.9rem;
    background-color: #ffffff;
}

/* ===== Адаптив ===== */
@media (max-width: 992px) {
    body.com_catalog #component > div,
    body.view-catalog #component > div {
        grid-template-columns: 1fr;
    }

    body.com_catalog #component > div > *:first-child {
        position: static;
    }
}

@media (max-width: 576px) {
    body.com_catalog #component > div > *:last-child {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}





















/*товар*/
/* Зеленая новогодняя тема для страницы товара */
:root {
  --primary-green: #2d5016;
  --secondary-green: #4a7c2a;
  --light-green: #90be6d;
  --accent-green: #d4f4b7;
  --dark-green: #1a3c10;
  --gold: #d4a017;
}

/* Общие стили для страницы товара */
.product-page {
  background: linear-gradient(135deg, #f8f9fa 0%, var(--accent-green) 100%);
  min-height: 100vh;
  padding: 20px 0;
}

/* Хедер и навигация */
.navbar {
  background: linear-gradient(90deg, var(--primary-green), var(--secondary-green)) !important;
  box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.navbar-brand, .navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--gold) !important;
  transform: translateX(5px);
}

/* Основной контейнер товара */
.product-container {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(74, 124, 42, 0.2);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* Заголовок товара */
.product-title {
  color: var(--primary-green);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 30px 0;
  text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
  background: linear-gradient(45deg, var(--primary-green), var(--secondary-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Описание товара */
.product-description {
  color: var(--dark-green);
  font-size: 1.2rem;
  line-height: 1.8;
  margin: 30px 0;
  padding: 25px;
  background: rgba(212, 244, 183, 0.3);
  border-left: 6px solid var(--secondary-green);
  border-radius: 10px;
  font-style: italic;
}

/* Блок цены */
.price-block {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  color: white;
  padding: 30px;
  border-radius: 15px;
  margin: 30px 0;
  box-shadow: 0 10px 30px rgba(45, 80, 22, 0.4);
  transform: perspective(1000px) rotateX(5deg);
}

.product-price {
  font-size: 3rem;
  font-weight: 800;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Выбор высоты (радио-кнопки) */
.height-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin: 30px 0;
}

.height-selector input[type="radio"] {
  display: none;
}

.height-selector label {
  background: linear-gradient(145deg, #fff, var(--light-green));
  border: 3px solid var(--secondary-green);
  border-radius: 50px;
  padding: 15px 25px;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-green);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 8px 20px rgba(74, 124, 42, 0.2);
  position: relative;
  overflow: hidden;
}

.height-selector label:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(45, 80, 22, 0.4);
  border-color: var(--gold);
}

.height-selector input[type="radio"]:checked + label {
  background: linear-gradient(145deg, var(--primary-green), var(--secondary-green));
  color: white;
  box-shadow: 0 10px 25px rgba(45, 80, 22, 0.5);
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 10px 25px rgba(45, 80, 22, 0.5); }
  50% { box-shadow: 0 10px 35px rgba(212, 244, 183, 0.8); }
  100% { box-shadow: 0 10px 25px rgba(45, 80, 22, 0.5); }
}

/* Количество */
.quantity-input {
  width: 80px;
  height: 50px;
  border: 3px solid var(--light-green);
  border-radius: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  background: rgba(255,255,255,0.9);
  color: var(--primary-green);
  transition: all 0.3s ease;
}

.quantity-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212, 244, 183, 0.5);
}

/* Кнопки */
.btn-custom {
  background: linear-gradient(135deg, var(--secondary-green), var(--primary-green));
  border: none;
  border-radius: 50px;
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(45, 80, 22, 0.4);
  position: relative;
  overflow: hidden;
  margin: 10px;
}

.btn-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(45, 80, 22, 0.6);
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
}

.btn-custom:active {
  transform: translateY(-1px);
}

/* Навыки контактов */
.contact-info {
  background: linear-gradient(135deg, var(--accent-green), #fff);
  padding: 40px;
  border-radius: 20px;
  margin: 40px 0;
  text-align: center;
}

.contact-phone {
  color: var(--primary-green);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  margin: 0 15px;
  padding: 12px 24px;
  border-radius: 30px;
  background: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
}

.contact-phone:hover {
  color: white;
  background: var(--secondary-green);
  transform: scale(1.1);
}

/* Футер */
.footer {
  background: var(--dark-green);
  color: white;
  padding: 30px;
  text-align: center;
  margin-top: 50px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .product-title {
    font-size: 2rem;
  }
  
  .product-price {
    font-size: 2.2rem;
  }
  
  .height-selector label {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .btn-custom {
    padding: 12px 30px;
    font-size: 1rem;
    display: block;
    margin: 15px auto;
  }
}

/* Анимации для праздничного эффекта */
@keyframes festiveFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.product-container {
  animation: festiveFloat 6s ease-in-out infinite;
}

/* Улучшение скроллбара */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--accent-green);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary-green), var(--secondary-green));
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-green);
}






/* ===== Product page styles (RadicalMart) -===== */

.rm-product {
	 
	padding: 0;
	background: transparent;
}

.rm-product .row.g-5 {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	margin-bottom: 2rem;
}

/* Галерея товара */
.rm-product .col-md-4 {
	flex: 0 0 calc(33.333% - 1.33rem);
}

.rm-product #productGalleryCarousel .position-relative {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8f9fa;
	border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}
.rm-product .item-product-gallery {
  position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 5px;
}

.rm-product .item-product-gallery img {
	width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}
.img-gallery-preview {
  position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden; 
    border-radius: 5px;
}

.img-gallery-preview img {
	width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
      border: 1px solid #d0ddcf;
}

#productGalleryCarousel .h-100 .btn-check:checked+.btn, 
#productGalleryCarousel .h-100 .btn.active, 
#productGalleryCarousel .h-100 .btn.show, 
#productGalleryCarousel .h-100 .btn:first-child:active, 
#productGalleryCarousel .h-100 :not(.btn-check)+.btn:active {
    
    background-color: transparent;
    border-color: transparent;
}
#productGalleryCarousel .carousel-control-next .btn.btn-info,
#productGalleryCarousel .carousel-control-prev .btn.btn-info {
    background: #2ba84a8c;
    border-color: transparent;
}

/* Бейджи */
.rm-product .position-absolute.top-0.start-0 {
	z-index: 10;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 1rem !important;
}



/* Заголовок товара */
.rm-product .rm-product-title {
	font-size: 1.8rem;
	font-weight: 700;
	color: #1f8438;
	margin-bottom: 1.5rem;
	line-height: 1.3;
}

/* Основная часть товара */
.rm-product > .row {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.rm-product > .row > .col {
	flex: 1 1 50%;
	min-width: 300px;
}

/* Информация о товаре */
.rm-product .col > .col {
	flex: 1;
	padding-right: 1.5rem;
}

/* Боковая колонка (цена, покупка) */
.rm-product-aside {
	background: linear-gradient(135deg, #e8f5e9 0%, #f1fae9 100%) !important;
	border: 1px solid rgba(43, 168, 74, 0.2) !important;
	border-radius: 12px !important;
	box-shadow: 0 4px 16px rgba(43, 168, 74, 0.1) !important;
	padding: 1.5rem !important;
	margin-left: 1.5rem;
}

/* Цена */
.rm-product .price {
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 2px solid rgba(43, 168, 74, 0.2);
}

.rm-product .price .h4 {
	font-size: 2rem;
	color: #2ba84a;
	font-weight: 700;
	margin: 0;
	line-height: 1.2;
}

.rm-product .price .text-muted {
	font-size: 1rem;
	color: #999;
	text-decoration: line-through;
	margin-bottom: 0.5rem;
}

.rm-product .price .small.text-danger {
	color: #dc3545 !important;
	font-weight: 600;
	font-size: 0.9rem;
}

/* Статус наличия */
/*.rm-product .price .text-success,
.rm-product .price .text-muted {
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.95rem;
}*/

.rm-product .icon-circle {
	font-size: 0.5rem;
	margin-right: 0.25rem;
}

/* Вариации товара */


.rm-product [radicalmart-variability] .form-group {
	margin-bottom: 1rem;
}

.rm-product [radicalmart-variability] label {
	font-weight: 600;
	color: #1f8438;
	font-size: 0.95rem;
	display: block;
}

.rm-product [radicalmart-variability] .form-control,
.rm-product [radicalmart-variability] select {
	border: 1px solid #2ba84a;
	border-radius: 8px;
	padding: 0.6rem 0.8rem;
	color: #333;
	font-size: 0.9rem;
	transition: all 0.3s ease;
}

.rm-product [radicalmart-variability] .form-control:focus,
.rm-product [radicalmart-variability] select:focus {
	border-color: #1f8438;
	box-shadow: 0 0 0 0.2rem rgba(43, 168, 74, 0.25);
	outline: none;
}

.rm-product [radicalmart-variability] .form-check {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.rm-product [radicalmart-variability] .form-check-input {
	width: 1.2rem;
	height: 1.2rem;
	border: 1px solid #2ba84a;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.rm-product [radicalmart-variability] .form-check-input:checked {
	background-color: #2ba84a;
	border-color: #2ba84a;
}

.rm-product [radicalmart-variability] .form-check-label {
	cursor: pointer;
	margin-bottom: 0;
	font-size: 0.95rem;
	color: #333;
}

.rm-product [radicalmart-variability] .controls,
.rm-product [radicalmart-variability] .btn-group {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
	gap: 0.5rem;
	width: 100%;
}

.rm-product [radicalmart-variability] .btn,
.rm-product [radicalmart-variability] .btn-outline-primary {
	background-color: #f6fff4;
	border: 1.5px solid #2ba84a;
	color: #446b38;
	font-weight: 700;
	line-height: 1.1;
	padding: 0.6rem 0.8rem;
	border-radius: 10px!important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
	white-space: nowrap;
}

.rm-product [radicalmart-variability] .btn:hover,
.rm-product [radicalmart-variability] .btn-outline-primary:hover {
	background-color: rgba(43, 168, 74, 0.08);
	color: #1f8438;
	border-color: #1f8438;
	box-shadow: 0 3px 8px rgba(43, 168, 74, 0.18);
}

.rm-product [radicalmart-variability] .btn-check:checked + .btn,
.rm-product [radicalmart-variability] .btn.active,
.rm-product [radicalmart-variability] .btn:active {
	background-color: #2ba84a;
	border-color: #2ba84a;
	color: #fff;
	box-shadow: 0 4px 10px rgba(43, 168, 74, 0.25);
}

.rm-product [radicalmart-variability] .btn .small {
	display: inline;
	font-size: 0.8rem;
	opacity: 0.85;
	margin-left: 4px;
}

/* Кнопки добавления в корзину */


.rm-product [radicalmart-cart] .row {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.rm-product [radicalmart-cart] .input-group {
	display: flex;
	border: 1px solid #2ba84a;
	border-radius: 8px;
	overflow: hidden;
	flex: 1;
}

.rm-product [radicalmart-cart] .input-group-text {
	background: #f8f9fa;
	border: none;
	padding: 0.6rem 0.8rem;
	font-size: 1.2rem;
	color: #2ba84a; 
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none !important;
}

.rm-product [radicalmart-cart] .input-group-text:hover {
	background: #e8f5e9;
	color: #1f8438;
}

.rm-product [radicalmart-cart] .form-control {
	border: none;
	text-align: center;
	font-weight: 600;
	color: #333;
	padding: 0.6rem;
}

.rm-product [radicalmart-cart] .form-control:focus {
	box-shadow: none;
	border: none;
	outline: none;
}

.rm-product [radicalmart-cart] .btn {
	padding: 0.6rem 1.5rem;
	font-weight: 600;
	border-radius: 8px;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	white-space: nowrap;
}

.rm-product [radicalmart-cart] .btn-primary,
.rm-product [radicalmart-cart] .btn-success {
	background-color: #2ba84a;
	color: #fff;
	font-size: 1rem;
	flex: 1;
	padding: 0.75rem 1.5rem;
}

.rm-product [radicalmart-cart] .btn-primary:hover,
.rm-product [radicalmart-cart] .btn-success:hover {
	background-color: #1f8438;
	box-shadow: 0 4px 12px rgba(43, 168, 74, 0.3);
	transform: translateY(-2px);
}

.rm-product .disc.z9 {
	font-weight: 300;
    font-size: 13px;
    line-height: 16px;
    color: #bbb;
    text-align: justify;
    margin-top: -10px;
}
.rm-product .nbtn h4 {
    color: #2b2a29;
    text-transform: uppercase;
    font-weight: 600; 
    font-size: 18px;
    margin-bottom: 0px;
}
.nbtn .knopka {
    flex-shrink: 0;
}
.knopka {
        position: relative;
    display: inline-block;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: #fff;
    background: #2ba84a;
    border: 1px solid #2ba84a;
    border-radius: 30px;
    overflow: hidden;
    transition: all .3s ease;
}
.knopka:hover, .knopka:focus, .knopka:active {
    background: transparent;
    color: #2ba84a;
} 

.bg-blick::before {
    content: '';
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background: linear-gradient(to left, transparent 0%, #fff 40%, #fff 60%, transparent 100%);
    opacity: 0.5;
    transform: translate(-100%, -25%) rotate(10deg);
    animation: blick 4s infinite;
    pointer-events: none;
}
@keyframes blick {
  0% {
    transform: translate(-100%, -25%) rotate(10deg);
  }
  20% {
    transform: translate(100%, -25%) rotate(10deg);
  }
  100% {
    transform: translate(100%, -25%) rotate(10deg);
  }
} 


/* Вкладки */
joomla-tab[view="tabs"] > div[role="tablist"] {
  white-space: nowrap;
  background-color: transparent;
  border: 0px;
    border-bottom-width: 0px;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
  border-bottom: 0;
  border-radius: .25rem .25rem 0 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  overflow: auto hidden;
  box-shadow: none;border-radius: 0;
}
joomla-tab button[role="tab"][aria-expanded="true"], 
joomla-tab button[role="tab"][aria-selected="true"] {
  background-color: #2ba84a;
  background-image: none;
  border-left: 0;
  border-right: 0;
  box-shadow: none;
  border-radius: 0 !important;
  color: #fff;
}
joomla-tab button[aria-expanded="true"]::after, 
joomla-tab button[aria-selected="true"]::after {
  height: 0px;
}
joomla-tab button[role="tab"] {
  color: #0d1321;
  border: unset;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #f7f8f9;
  padding: 0.5em 1em;
    font-size: 18px;
  text-decoration: none;
  display: block;
  position: relative;
  box-shadow: 1px 0 #0000000d;
  margin: 0 2px;
}
joomla-tab button[role="tab"]:hover
{
  background:#2ba84a; 
  color:#fff;
}
joomla-tab > joomla-tab-element {
  background-color: #fefefe;
  border: 1px solid #ccc;
  border-radius: 0 0 .25rem .25rem;
  padding: 15px !important;
  font-size: 16px;
  display: none;
  position: relative;
  box-shadow: none;
  padding: 30px;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Характеристики */
.rm-product .dl-horizontal {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 1rem;
	margin-bottom: 1rem;
}

.rm-product dt {
	font-weight: 600;
	color: #1f8438;
}

.rm-product dd {
	color: #666;
	margin-bottom: 0;
}

/* Адаптивность */
@media (max-width: 1024px) {
	.rm-product > .row {
		flex-direction: column;
	}

	.rm-product > .row > .col {
		flex: 1 1 100%;
	}

	.rm-product-aside {
		margin-left: 0 !important;
		margin-top: 1.5rem;
	}

	.rm-product .col-md-4 {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

@media (max-width: 768px) {
	.rm-product {
		padding: 0;
		margin: 1rem 0;
	}

	.rm-product .rm-product-title {
		font-size: 1.35rem;
		margin-bottom: 1rem;
	}

	.rm-product .row.g-5 {
		gap: 1rem;
		margin-bottom: 1rem;
	}

	.rm-product .position-relative {
		min-height: 300px;
		aspect-ratio: 2 / 3;
	}

	.rm-product [radicalmart-variability] .controls,
	.rm-product [radicalmart-variability] .btn-group {
		grid-template-columns: repeat(auto-fit, minmax(94px, 1fr));
	}

	.rm-product [radicalmart-cart] .row {
		flex-wrap: wrap;
	}

	.rm-product [radicalmart-cart] .btn {
		flex: 1 1 100%;
	}

	.rm-product .col > .col {
		padding-right: 0;
	}

	.rm-product .nav-link {
		padding: 0.55rem 0.85rem;
		font-size: 0.9rem;
	}

	.rm-product .dl-horizontal {
		grid-template-columns: 1fr;
	}

	.rm-product-aside {
		padding: 1rem !important;
	}

  #RadicalMart.rm-product .position-absolute.top-0.start-0 { 
    padding: 0 !important;
    margin-top: -10px;
  }


}

@media (max-width: 480px) {
	.rm-product .rm-product-title {
		font-size: 1.15rem;
	}

	.rm-product .price .h4 {
		font-size: 1.5rem;
	}

	.rm-product .position-relative {
		min-height: 250px;
	}
}


.ba-forms-lightbox-row {
        position: absolute;
        top: 0;
        z-index: 9;
        width: 100%!important;
    }
 .ba-form-submit-btn:before {
	content: "";
	background-color: rgba(255, 255, 255, 0.5);
	height: 100%;
	width: 3em;
	display: block;
	position: absolute;
	opacity: 1;
	top: 0;
	left: -4.5em;
	-webkit-transform: skewX(-45deg) translateX(0);
	transform: skewX(-45deg) translateX(0);
	-webkit-transition: none;
	transition: none;
	-webkit-animation: moving 10s ease-in-out infinite;
	-moz-animation: moving 10s ease-in-out infinite;
	-ms-animation: moving 10s ease-in-out infinite;
	-o-animation: moving 10s ease-in-out infinite;
	animation: moving 10s ease-in-out infinite;
}
.sppb-btn, .ba-form-submit-btn {
    -webkit-transition: ease 0.3s;
    transition: ease 0.3s;
    position: relative;
	overflow: hidden;
}

.ba-forms-lightbox-row {
    position: absolute;
    top: -18px;
    z-index: 9;
}

form.form-header > div.ba-form-page > div > div:nth-child(1) {
    background: #65b23d;
    text-align: center;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px; 
}
form.form-header > div.ba-form-page > div > div:nth-child(2) {
    padding: 15px 15px 0px 15px;
}



#radicalmartCartModule a.card-img-top {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: radial-gradient(circle at 50% 10%, #ffffff, #e2f5dd);
    display: flex;
    align-items: center;
    justify-content: center;
}

#sp-footer, #sp-bottom {
    background: #0d7226;
    color: #fff;
}


#RadicalMart.checkout .card-header {
  background-color: #2ba84a;
  color: #fff;
}

@media (max-width: 1000px) { 
    #sp-menu {
        position: absolute!important;
        right: 0!important;
    }
}

@media (max-width: 1200px) { 
    .logo-image {
        height: 80px!important;
    }
    #sp-header.header-sticky .logo .logo-image {
        margin-top: -50px;
    }

    #cart {
        width: 62px; 
    }

    #mod-custom186 {
        margin-top: -11px;
        margin-right: -25px;
    }

    #sp-header.header-sticky #mod-custom186 {
        margin-top: -20px;
        
    }

    #sp-header.header-sticky    #cart {
        width: 62px;
        margin-top: -15px;
    }

    #sp-main-body {
        padding: 15px 0;
    }

    .rm-product .rm-product-title {
        font-size: 1.1rem;
    }
    #sp-breadcrumbs .breadcrumb-item {
        font-size: 12px;
        padding: 0 5px 0 0;
    }

    .breadcrumb-item+.breadcrumb-item::before {
        content: "-";
        color: #c8f1bb;
        font-size: 0px;
        padding: 0;
    }

    #RadicalMart.rm-product .small.text-muted.text-decoration-none.fw-light {
      font-size: 12px;
    }

    .badge {
        font-size: 12px;
    }

    .carousel-indicators {
      display: none; 
    }

    .rm-product [radicalmart-cart] .input-group-text {
      padding: 0.2rem 0.2rem;
    }
    #radicalmartCartModule ul > li > .row > .col-4 {
        max-width: 15%;
        margin: 0;
        padding: 5px;
    }

    joomla-tab button[aria-expanded="true"]:after, joomla-tab button[aria-selected="true"]:after {
        background-color: #2ba84a;
    }

}