.orderby-displaynumber {display: none;}
.product-yes {color: #4caf50; font-size:80%;}
.product-no {color: #f44336; font-size:80%;}
.grayscaleImage {-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */filter: grayscale(100%);}
.product-fields .product-field {border-bottom: 1px dotted;width: 80%;margin-left: 20px;text-align: left;}
.product-field-display {text-align: right;}
.card {--card-border-color: #ffffff;}
.product-yes {color: #4caf50; font-size:80%;}
.product-no {color: #f44336; font-size:80%;}
.name {min-height:85px; font-size: 1em;} 
.nav-tabs+.tab-content {
    border: 0px;
    box-shadow: none;
}
.container-below-top{
display: flex;
    align-items: stretch;
    justify-content: space-between;}
	
.container-header {
    z-index: 1050;
   }
.modal-content {
    color: black;
}
.vmCartModule.dropdown {
    margin-left: auto;
    margin-right: 1.1em;
}
.mod-virtuemart-search-dropdown .dropdown-menu.show {
    min-width: 15em;
}
.container-footer .grid-child {
    align-items: flex-start;
}
.container-footer .pc-email-newsletter-mod,
.container-footer .mod-custom {
    padding: 2em;
}
@media (max-width: 992px) {
    .container-header {
        display: flex;
        flex-direction: column;
        align-items: center; /* Центрування по горизонталі */
    }
    #mod-custom170 {
        order: 2; /* Логотип по центру */
      }
    .container-nav {
        order: 1; /* Меню зверху */
     /
    }
    .container-search {
        order: 3; /* Пошук знизу */     
    }
}
@media (max-width: 441px) {
    #mod-custom170 {        
        width: 50%;
        margin:auto;
    }
}
.container-footer {
   background-image: linear-gradient(135deg, #0F2027 0%, #203A43 50%, #2C5364 100%);
  } 

.container-header {
    background-image: linear-gradient(135deg, #0F2027 0%, #203A43 50%, #2C5364 100%);
}
.nav.nav-tabs .nav-item .nav-link, .nav.nav-tabs .nav-item:last-of-type .nav-link, .nav.nav-tabs .nav-item:last-of-type .nav-link.active, .nav.nav-tabs .nav-link, .nav.nav-tabs .nav-item:first-of-type .nav-link.active, .nav.nav-tabs .nav-link.active {
    border-radius: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}
.transparent-btn {
    background-color: transparent;
    border: 0;
    color: white;
}

.transparent-btn:hover,
.transparent-btn:focus {
    background-color: transparent;
    border-color: white;
    color: white;
}
.transparent-btn:active {
    background-color: transparent !important;
    border-color: white;
    color: white;
}
.vm-product-title {
  min-height: 85px;
}
.container-below-top a:not(.btn):hover
 {color: #4b5563;}
.mod-menu-accordion .nav-link {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
}
.mod-menu-accordion .nav-link:hover {
  background-color: #f8f9fa;
}
.mod-menu-accordion .submenu {
  margin-left: 15px;
}
.mod-menu-accordion .arrow {
  transition: transform 0.3s ease;
  margin-left: auto; /* Pushes arrow to the right */
}
.mod-menu-accordion .collapsed .arrow {
  transform: rotate(0deg);
}
.mod-menu-accordion .nav-link:not(.collapsed) .arrow {
  transform: rotate(90deg);
}
.mod-menu-accordion .menu-icon {
  margin-right: 8px;
}
.mod-menu-accordion .menu-title {
  flex-grow: 1; /* Ensures title takes remaining space and aligns left */
}
.container-header .container-nav {
  padding-bottom: 0.2em;
}
.vm-cart-btn {
	background-color: transparent;
	border: 0;
	color: #fff;
}
.vm-cart-btn:hover {
	color: var(--bs-primary);
	transform: scale(1.1);
	transition: all 0.2s ease;
}
.vmCartModule{
    margin-left: auto;
    margin-right: 1.1em;
}
.rz-delivery {
    
    
    padding: 16px;
    background: #fff;
}

.rz-delivery-title {
    font-size: 1rem;
}

.rz-delivery-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-top: 1px solid #f1f1f1;
    transition: all .2s ease;
}

.rz-delivery-item:first-child {
    border-top: none;
}

.rz-delivery-item:hover {
    background: #f8f9fa;
    border-radius: 8px;
    padding-left: 8px;
}

.rz-delivery-icon {
    flex-shrink: 0;  /* головне — забороняє стискатися */
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rz-delivery-icon img {
    height: 32px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.rz-delivery-name {
    font-weight: 500;
}

.rz-delivery-desc {
    font-size: 0.85rem;
    color: #6c757d;
}
.rz-buy-box {
    position: sticky;
    top: 100px;
}

/* ================================================
   Breadcrumbs — mod_breadcrumbs
   Joomla 5.x / Bootstrap 5
   ================================================ */

:root {
  --breadcrumb-color: #6c757d;
  --breadcrumb-active-color: #212529;
  --breadcrumb-separator: '›';
  --breadcrumb-separator-color: #adb5bd;
  --breadcrumb-gap: 0.25rem;
  --breadcrumb-font-size: 0.9rem;
  --breadcrumb-bg: transparent;
  --breadcrumb-border-radius: 0.375rem;
  --breadcrumb-padding: 0.5rem 1rem;
  --breadcrumb-hover-color: #343a40;
  --breadcrumb-transition: color 0.2s ease;
}

/* ------------------------------------------------
   Обгортка
   ------------------------------------------------ */
.mod-breadcrumbs__wrapper {
  width: 100%;
  overflow: hidden;
}

/* ------------------------------------------------
   Список
   ------------------------------------------------ */
.mod-breadcrumbs.breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: var(--breadcrumb-gap);
  padding: var(--breadcrumb-padding);
  padding-bottom: 4px; /* щоб не обрізало нижні елементи */
  margin: 0;
  list-style: none;
  background: var(--breadcrumb-bg);
  border-radius: var(--breadcrumb-border-radius);
  font-size: var(--breadcrumb-font-size);
}

/* Ховаємо скролбар Chrome/Safari */
.mod-breadcrumbs.breadcrumb::-webkit-scrollbar {
  display: none;
}

/* ------------------------------------------------
   Елементи
   ------------------------------------------------ */
.mod-breadcrumbs__item {
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Сепаратор через CSS */
.mod-breadcrumbs__item + .mod-breadcrumbs__item::before {
  content: var(--breadcrumb-separator);
  padding-inline: var(--breadcrumb-gap);
  color: var(--breadcrumb-separator-color);
  font-size: 0.85rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ------------------------------------------------
   Посилання
   ------------------------------------------------ */
.mod-breadcrumbs__item a.pathway {
  display: inline-flex;
  align-items: center;
  color: var(--breadcrumb-color);
  text-decoration: none;
  transition: var(--breadcrumb-transition);
  padding-block: 0.25rem;
  border-radius: 0.25rem;
  outline-offset: 3px;
}

.mod-breadcrumbs__item a.pathway:hover {
  color: var(--breadcrumb-hover-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mod-breadcrumbs__item a.pathway:focus-visible {
  color: var(--breadcrumb-hover-color);
  outline: 2px solid currentColor;
}

/* ------------------------------------------------
   Активний (поточний) елемент
   ------------------------------------------------ */
.mod-breadcrumbs__item.active span {
  color: var(--breadcrumb-active-color);
  font-weight: 500;
  pointer-events: none;
}

/* ------------------------------------------------
   "Ви тут" — прихований для Bootstrap 5
   ------------------------------------------------ */
.mod-breadcrumbs__here {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------------------------------
   Темна тема
   ------------------------------------------------ */
@media (prefers-color-scheme: dark) {
  :root {
    --breadcrumb-color: #adb5bd;
    --breadcrumb-active-color: #f8f9fa;
    --breadcrumb-separator-color: #6c757d;
    --breadcrumb-hover-color: #f8f9fa;
  }
}

/* Або через data-атрибут Joomla (якщо використовується dark mode) */
[data-bs-theme="dark"] {
  --breadcrumb-color: #adb5bd;
  --breadcrumb-active-color: #f8f9fa;
  --breadcrumb-separator-color: #6c757d;
  --breadcrumb-hover-color: #f8f9fa;
}

/* ------------------------------------------------
   Fade-ефект по краях (підказка що є скрол)
   ------------------------------------------------ */
.mod-breadcrumbs__wrapper {
  position: relative;
}

.mod-breadcrumbs__wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 3rem;
  height: 100%;
  background: linear-gradient(to right, transparent, #fff);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Показуємо fade тільки якщо є скрол (керується через JS) */
.mod-breadcrumbs__wrapper.has-overflow::after {
  opacity: 1;
}

[data-bs-theme="dark"] .mod-breadcrumbs__wrapper::after {
  background: linear-gradient(to right, transparent, #212529);
}
/* ═══════════════════════════════════════════════════════════
   VM Shipment BS5 — стилі collapse вибору методу доставки
   Підключати через: templates/cassiopeia/css/user.css
   ═══════════════════════════════════════════════════════════ */

/* Ховаємо всі items коли є вибір */
.vm-shipment-list.vm-has-selection .vm-shipment-item {
    display: none;
}

/* Показуємо тільки активний (той що містить checked radio) */
.vm-shipment-list.vm-has-selection .vm-shipment-item:has(input[type="radio"]:checked) {
    display: block;
}

/* NP форма активного item */
.vm-shipment-list.vm-has-selection .vm-shipment-item:has(input[type="radio"]:checked) .novaposhta-wrapper {
    display: block !important;
}

/* Підсвічування активного */
.vm-shipment-list.vm-has-selection .vm-shipment-item:has(input[type="radio"]:checked) .form-check {
    border-color: var(--bs-primary, #0d6efd) !important;
    background-color: var(--bs-light, #f8f9fa) !important;
}

/* Fade анімація при розгортанні списку */
@keyframes vmFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.vm-shipment-list:not(.vm-has-selection) .vm-shipment-item {
    animation: vmFadeIn .18s ease forwards;
}

/* ── Wrapper ── */
.vm-padded {
	font-family: 'Manrope', sans-serif;
	padding: 4px;
	animation: vmPopIn .35s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes vmPopIn {
	from { opacity: 0; transform: translateY(10px) scale(.97); }
	to   { opacity: 1; transform: translateY(0)    scale(1);   }
}

/* ── Success badge ── */
.vm-success-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: #e8f7ef;
	border: 1.5px solid #a8dfc0;
	border-radius: 999px;
	padding: 6px 14px 6px 8px;
	font-size: .8rem;
	font-weight: 700;
	color: #1a7a4a;
	margin-bottom: 14px;
	letter-spacing: .01em;
}
.vm-check-wrap {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	background: #1a7a4a;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.vm-check-wrap svg {
	display: block;
	stroke-dasharray: 20;
	stroke-dashoffset: 20;
	animation: vmDrawCheck .4s .2s ease forwards;
}
@keyframes vmDrawCheck {
	to { stroke-dashoffset: 0; }
}

/* ── Product row ── */
.vm-product-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 0 14px;
	border-top: 1px solid #edf0f3;
	border-bottom: 1px solid #edf0f3;
	margin-bottom: 16px;
}
.vm-product-img {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: 10px;
	overflow: hidden;
	background: #f7f9fb;
	border: 1px solid #e8edf2;
	display: flex;
	align-items: center;
	justify-content: center;
}
.vm-product-img img,
.vm-product-img .vm-product-thumb {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.vm-product-img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #c8d0da;
}
.vm-product-info {
	flex: 1;
	min-width: 0;
}
.vm-product-name {
	font-size: .9rem;
	font-weight: 700;
	color: #1e2a38;
	line-height: 1.35;
	margin-bottom: 5px;
}
.vm-product-qty {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: .75rem;
	font-weight: 600;
	color: #6b7a8d;
	background: #f0f2f5;
	border-radius: 6px;
	padding: 3px 8px;
}

/* ── Error ── */
.vm-error {
	background: #fff5f5;
	border: 1px solid #fecaca;
	border-radius: 10px;
	padding: 12px 16px;
	color: #7f1d1d;
	font-size: .9rem;
	margin-bottom: 16px;
}

/* ── Related products ── */
.vm-related {
	margin-bottom: 16px;
}
.vm-related-title {
	font-size: .75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: #8a96a3;
	padding-bottom: 10px;
	margin-bottom: 12px;
	border-bottom: 1px solid #edf0f3;
	text-align: center;
}
.vm-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}
.vm-related-grid .product-field {
	background: #f7f9fb;
	border: 1px solid #e8edf2;
	border-radius: 10px;
	overflow: hidden;
	transition: box-shadow .2s, transform .2s;
}
.vm-related-grid .product-field:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(0,0,0,.09);
}

/* ── Actions — кнопки на всю ширину одна під одною ── */
.vm-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	border-top: 1px solid #edf0f3;
	padding-top: 14px;
}
.vm-btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 16px;
	border-radius: 12px;
	font-family: 'Manrope', sans-serif;
	font-size: .9rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none !important;
	transition: background .18s, transform .12s, box-shadow .18s;
	border: 2px solid transparent;
	line-height: 1;
	box-sizing: border-box;
}
.vm-btn:active { transform: scale(.98); }

.vm-btn-secondary {
	background: #f0f2f5;
	border-color: transparent;
	color: #4a5568 !important;
}
.vm-btn-secondary:hover { background: #e2e6ec; }

.vm-btn-primary {
	background: #1a3f6e;
	color: #fff !important;
	box-shadow: 0 2px 10px rgba(26,63,110,.25);
}
.vm-btn-primary:hover {
	background: #153360;
	box-shadow: 0 4px 16px rgba(26,63,110,.35);
}
/* =====================================================
   VirtueMart Swiper Slider 
   ===================================================== */

:root {
  --vm-primary:       #1f3a8a;
  --vm-primary-hover: #162d6d;
  --vm-text:          #111827;
  --vm-muted:         #6b7280;
  --vm-border:        #e5e7eb;
  --vm-success:       #16a34a;
  --vm-danger:        #dc2626;
  --vm-radius:        16px;

  --swiper-theme-color: #1f3a8a;
  --swiper-navigation-size: 18px;
}

/* =====================================================
   MODULE
   ===================================================== */
.vm-module__header {
  margin-bottom: 1.2rem;
}

.vm-module__title {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0;
  color: var(--vm-text);
}

/* =====================================================
   SLIDER WRAPPER
   ===================================================== */

.vm-slider-wrapper {
  position: relative;
  padding: 0;
  overflow: visible;
}

/* =====================================================
   SWIPER
   ===================================================== */

/* Вбудовані стрілки — не використовуємо */
.vm-swiper .swiper-button-prev,
.vm-swiper .swiper-button-next {
  display: none;
}

.vm-swiper {
  overflow: visible;
  cursor: grab;
}

.vm-swiper:active {
  cursor: grabbing;
}

.vm-swiper .swiper-wrapper {
  padding: 8px 2px 24px;
}

/* slide */
.vm-swiper .swiper-slide {
  padding: 2px;
  height: auto;
}

/* =====================================================
   PAGINATION
   ===================================================== */

.vm-swiper .swiper-pagination {
  position: static;
  margin-top: 1.4rem;
  text-align: center;
  width: 100%;
}

.vm-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #d1d5db;
  opacity: 1;
  transition: all .25s ease;
}

.vm-swiper .swiper-pagination-bullet-active {
  background: var(--vm-primary);
  transform: scale(1.35);
}

/* =====================================================
   CARD
   ===================================================== */

.vm-card {
  background: #fff;
  border-radius: var(--vm-radius);
  border: 1px solid var(--vm-border);

  box-shadow: 0 1px 2px rgba(0,0,0,.04);

  display: flex;
  flex-direction: column;
  height: 100%;

  transition: transform .25s ease, box-shadow .25s ease;

  overflow: hidden;
}

.vm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* =====================================================
   IMAGE
   ===================================================== */

.vm-card__image {
  padding: 18px 18px 10px;
  text-align: center;

  height: 190px;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
}

.vm-card__img {
  max-width: 100%;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;

  transition: transform .3s ease;
}

.vm-card:hover .vm-card__img {
  transform: scale(1.06);
}

.vm-card__img--disabled {
  filter: grayscale(100%);
  opacity: .65;
}

/* =====================================================
   BODY
   ===================================================== */

.vm-card__body {
  padding: 0 20px 12px;

  flex-grow: 1;

  display: flex;
  flex-direction: column;
}

/* title */
.vm-card__title {
  font-size: .95rem;
  font-weight: 500;

  line-height: 1.4;

  margin-bottom: 8px;
  text-align: center;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;

  overflow: hidden;

  min-height: 3.9em;
}

.vm-card__title a {
  color: var(--vm-text);
  text-decoration: none;
}

.vm-card__title a:hover {
  color: var(--vm-primary);
}

/* =====================================================
   STOCK
   ===================================================== */

.vm-card__stock {
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: 8px;
  text-align: center;
}

.vm-card__stock-in  { color: var(--vm-success); }
.vm-card__stock-out { color: var(--vm-danger); }

/* =====================================================
   PRICE
   ===================================================== */

.vm-card__price {
  margin-top: auto;
  margin-bottom: 10px;

  min-height: 54px;

  text-align: center;
}

.vm-card__price-old {
  display: block;
  font-size: .85rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.vm-card__price-current {
  display: block;

  font-size: 1.5rem;
  font-weight: 700;

  color: var(--vm-primary);
}

/* =====================================================
   FOOTER
   ===================================================== */

.vm-card__footer {
  padding: 0 20px 20px;
}

.vm-card__footer button,
.vm-card__footer input[type="submit"] {

  width: 100%;

  border-radius: 12px;
  padding: 10px 16px;

  font-size: .9rem;
  font-weight: 600;

  border: none;

  background: var(--vm-primary);
  color: #fff;

  transition: all .2s ease;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.vm-card__footer button:hover,
.vm-card__footer input[type="submit"]:hover {

  background: var(--vm-primary-hover);
  transform: translateY(-1px);
}

.vm-card__footer input[type="text"],
.vm-card__footer input[type="number"] {

  width: 55px;

  border: 1px solid var(--vm-border);
  border-radius: 8px;

  text-align: center;

  margin-right: 6px;
}

.vm-card__footer .quantity-controls,
.vm-card__footer .quantity-input {
  display: none;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1200px) {
  .vm-card__image  { height: 180px; }
  .vm-card__img    { max-height: 150px; }
}

@media (max-width: 992px) {
  .vm-card__image  { padding: 16px 16px 8px; }
  .vm-card__body   { padding: 0 16px 10px; }
  .vm-card__footer { padding: 0 16px 16px; }
}

@media (max-width: 768px) {
  .vm-module__title       { font-size: 1.3rem; }
  .vm-card__price-current { font-size: 1.3rem; }
  /* peek наступного слайду — видно край правої картки */
  .vm-slider-wrapper      { padding: 0; }
  .vm-swiper              { overflow: hidden; }
  .vm-swiper .swiper-wrapper { padding-right: 40px; }
}

@media (max-width: 480px) {
  .vm-slider-wrapper      { padding: 0; }
  .vm-card__image         { height: 200px; }
  .vm-card__img           { max-height: 170px; }
  .vm-card__price-current { font-size: 1.2rem; }
}

/* =====================================================
   FOUC FIX — ховаємо до ініціалізації Swiper
   ===================================================== */

.vm-swiper:not(.swiper-initialized) {
  opacity: 0;
  overflow: hidden;
}

.vm-swiper.swiper-initialized {
  opacity: 1;
  transition: opacity .25s ease;
}

/* Логотипи методів доставки в кошику VirtueMart */
.vmCartShipmentLogo {
    inline-size: 32px;
    block-size:  32px;
    object-fit: contain;          /* дуже рекомендовано — логотип не розтягується */
    vertical-align: middle;       /* часто допомагає вирівняти по тексту */
}

/* Мобільний/планшетний вид (Bootstrap 5 lg breakpoint) */
@media (max-width: 991.98px) {    /* 991.98 — точніше, як у BS5 */
    .vmCartShipmentLogo {
        inline-size: 24px;
        block-size:  24px;
    }
}
/* Offcanvas header — темний фон з логом */
.offcanvas-start .offcanvas-header {
    background-image: linear-gradient(135deg, #0F2027 0%, #203A43 50%, #2C5364 100%);
    padding: 1rem 1.25rem;
    align-items: center;
}

.offcanvas-start .offcanvas-header .brand-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    flex: 1;
}

.offcanvas-start .offcanvas-header .brand-logo img {
    max-height: 60px;
    width: 65%;
}

/* Кнопка закриття — біла, бо фон темний */
.offcanvas-start .offcanvas-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.8;
    flex-shrink: 0;
}

.offcanvas-start .offcanvas-header .btn-close:hover {
    opacity: 1;
}

.metismenu.mod-menu .mm-collapse > li.parent > ul {
    background-color: #ffffff00;    
}

.metismenu.mod-menu .metismenu-item:not(.level-1) > ul, .metismenu.mod-menu .metismenu-item:not(.level-2) > ul {
    margin-inline-end: 0em;
}

.metismenu.mod-menu .metismenu-item {
    display: flex;
    justify-content: space-between;
}
.container-header .metismenu > li.level-1 > ul {
    min-width: 22rem;
}
.metismenu.mod-menu .mm-toggler {
    color: rgb(213 210 210);
}
.offcanvas.show .nav-link,
.offcanvas.show .dropdown-item,
.offcanvas.show a {
    color: #000 !important;
}

.offcanvas.show .nav-link:hover,
.offcanvas.show .dropdown-item:hover {
    color: #000 !important;
}
/* offcanvas-body — меню скролиться */
.offcanvas-start .offcanvas-body {
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

/* Footer — прилипає знизу */
.offcanvas-start .offcanvas-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #2f2f2f;
    flex-shrink: 0;
}

/* Модулі в рядок рівномірно */
.offcanvas-footer .module {
    flex: 1;
    display: flex;
    justify-content: center;
}
.offcanvas .dropdown-menu {
    top: auto;
    bottom: 100%;
    right: auto;
}
.offcanvas .btn-link,
.offcanvas .btn-link:hover {
    color: #ffffff;
}

/* Вивід опису категорій */
.vm-category-description {
	position: relative;
}

.collapse-wrapper {
	position: relative;
	max-height: 260px;
	overflow: hidden;
	transition: max-height .35s ease;
}

.collapse-wrapper.collapsed::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 90px;
	background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
	pointer-events: none;
}

.collapse-wrapper.expanded {
	max-height: 5000px;
}

.collapse-wrapper.expanded::after {
	display: none;
}

#toggleDescription {
	text-decoration: none;
	font-weight: 500;
}