.is-hidden {
    display: none !important;
}

.xcat-catalog-category-filter .xcat-category-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch;
}

.xcat-catalog-category-filter .xcat-category-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.xcat-catalog-category-filter .xcat-category-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
}

.xcat-catalog-category-filter .xcat-category-name p {
    margin: 0;
}

.xcat-archive-grid--fallback .xcat-fallback-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.xcat-fallback-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.xcat-fallback-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.xcat-fallback-card__image {
    aspect-ratio: 1 / 1;
    background: #f2f4f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xcat-fallback-card__title {
    margin: 12px 12px 0;
    font-size: 15px;
    line-height: 1.35;
}

.xcat-fallback-card__price {
    margin: 8px 12px 14px;
    font-size: 18px;
    font-weight: 700;
}

/* --- Imported from dan-catalog/product-hero-styles.css --- */
/* Product Hero Template Styles */

.specifications {
    width: 100%;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--gapX4) 0px;
    border-top: 1px solid var(--dividerDefault);
    margin-top: 0px !important;
}

.spec-row:first-child {
    border-top: none;
}

.filter {
    border-radius: var(--roundedXS);
    transition: all 0.3s ease;
}

.filter.active {
    background-color: transparent !important;
    border-color: var(--primary500) !important;
    color: var(--primary500) !important;
}

.filter:disabled {
    opacity: 0.3;
    cursor: not-allowed !important;
}

.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gapX2);
}

/* Swiper Styles */
.product-main-swiper {
    width: 100%;
    height: auto;
    margin-bottom: var(--gapX3);
    position: relative;
}

.product-main-swiper .swiper-wrapper {
    position: relative;
}

.product-main-swiper .swiper-slide {
    opacity: 0 !important;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.product-main-swiper .swiper-slide-active {
    opacity: 1 !important;
    position: relative;
}

.product-thumbs-swiper {
    width: 100%;
}

.product-thumbs-swiper .swiper-slide {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.product-thumbs-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid var(--primary500, #007bff);
    border-radius: 8px;
}

.product-main-swiper .image-wrapper,
.product-thumbs-swiper .image-wrapper {
    width: 100%;
    height: auto;
    position: relative;
}

.product-main-swiper img,
.product-thumbs-swiper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Price Card */
.add-to-cart-btn {
    width: 100%;
    transition: opacity 0.3s ease;
}

.add-to-cart-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


.documents-list a{
    text-decoration: unset;
    color: black !important;
}

.documents-list .document-item{
    display: flex;
    align-items: center;
    gap: var(--gapX1);
}

.documents-list{
    row-gap: var(--gapX5);
    display: flex;
    flex-direction: column;
}

.vc-spec p+p{
    margin-top: unset !important;
}

.vc-spec{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.spec-list{
    width: 100%;
}

/* --- Imported from dan-catalog/xleb-catalog.css --- */
.xleb-card.price-card{
  height: fit-content;
}

.swiper-slide.thumb-slider{
    height: fit-content;
}

.vue-posts .xcat-product-card{
    gap: var(--gapX4);
}

.vue-posts .xcat-product-card__media{
    border-radius: var(--roundedS);
    background: var(--white);
}

.vue-posts .xcat-product-card__image img{
    border-radius: unset;
    aspect-ratio: auto;
}

.xleb-card.price-card .xleb-button-wrapper{
    width: 100%;
}

.xleb-card.price-card .xleb-button-wrapper .btn{
    width: 100%;
}

.ph.ph-checks.stock{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--gapX2);
}

.ph.ph-checks.stock::before{
    color: var(--success);
}

.ph.ph-truck.stock{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--gapX2);
}

.xleb-range.btn-add-to-cart{
    display: flex;
    flex-direction: row;
}

.xleb-range.btn-add-to-cart .qty-cart{
    display: flex;
    flex-direction: row;
    gap: var(--gapX3);
    white-space: wrap;
}

.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty__input {
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #222;
  outline: none;
    appearance: textfield;
  -moz-appearance: textfield;
  padding: 13px 0px !important;
}

.qty__btn{
    background-color: transparent;
}

.qty__btn {
  width: 11px;
  height: 13px;
  border: 0;
  background: transparent;
  color: #666;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
}

.qty {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: unset;
  background: var(--blackOpacity100);
  border-radius: var(--roundedXS);
}

.xleb-card.price-card{
    padding: var(--gapX6) var(--gapX5);
}

.xleb-card.price-card > *:first-child{
    padding-top: unset;
    padding-left: unset;
    padding-right: unset;

}

.xleb-card.price-card > *:not(.vc_empty_space){
    padding-right: unset;
    padding-left: unset;
}

.xleb-card.price-card > *:last-child{
    padding-bottom: unset;
    padding-left: unset;
    padding-right: unset;
}

.xleb-range.btn-add-to-cart{
    width: 100%;
}

.xleb-range.btn-add-to-cart .qty-cart{
    width: 100%;
}

.xleb-card.price-card .btn{
    width: 100%;
    padding: 9px 2px;
    border-radius: var(--roundedXS);
}

.xleb-card.price-card .js-qty-minus{
    margin-left: 13px;
    margin-right: 9.5px;
}

.xleb-card.price-card .js-qty-plus{
    margin-left: 9.5px;
    margin-right: 13px;
}

.single-products .product-thumbs-swiper .swiper-slide-thumb-active{
    border-radius: unset;
}

.single-products .product-thumbs-swiper{
    padding-right: 12px;
}

.product-lead {
    position: relative;
    max-height: none;
    transition: none;
    will-change: auto;
    display: block;
}

.product-lead.is-collapsed {
    display: block;
}

.product-lead-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--linkColor);
  cursor: pointer;
}

.product-lead-toggle[hidden] {
  display: none !important;
}

button.product-lead-toggle.js-lead-toggle::after {
    content: '\e136';
    font-family: 'Phosphor';
    transition: transform 0.5s ease;
}

button.product-lead-toggle.js-lead-toggle{
    font-size: var(--textSsize);
    line-height: var(--textSheightS);
    margin-top: var(--textStopS);
    margin-bottom: var(--textSbottomS);
    display: flex;
    align-items: center;
    gap: var(--gapX1);
    padding-top: var(--gapX5);
}

.product-lead-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.product-lead-toggle[aria-expanded="false"]::after {
  transform: rotate(0deg);
}

.characteristics-link a{
    display: flex;
    align-items: baseline !important;
    gap: var(--gapX1);
    text-decoration: unset;
    text-decoration-line: unset !important;
    font-size: var(--textSsize);
}

.characteristics-link a i::before{
    font-size: 11px;
}

.documents-list a{
    text-decoration: unset;
    color: var(--linkDefaultColor) !important;
}

.documents-list .document-item{
    display: flex;
    align-items: center;
    gap: var(--gapX1);
}

.documents-list{
    row-gap: var(--gapX5);
    display: flex;
    flex-direction: column;
}

.vc-spec p+p{
    margin-top: unset !important;
}

.vc-spec{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.vc-spec + .vc-spec {
    margin-top: unset !important;
}

.spec-list{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--gapX5);
}

.product-main-swiper {
    width: 100%;
    height: auto;
    margin-bottom: var(--gapX3);
    position: relative;
}

.product-main-swiper .swiper-wrapper {
    position: relative;
}

.product-main-swiper .swiper-slide {
    opacity: 0 !important;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.product-main-swiper .swiper-slide-active {
    opacity: 1 !important;
    position: relative;
}

.product-thumbs-swiper {
    width: 100%;
}

.product-thumbs-swiper .swiper-slide {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.product-main-swiper .image-wrapper,
.product-thumbs-swiper .image-wrapper {
    width: 100%;
    height: auto;
    position: relative;
}

.product-main-swiper img,
.product-thumbs-swiper img {
    width: 100%;
    height: auto;
    display: block;
}

.documents-list i::before{
    color: var(--linkDefaultColor);
}


.spec-list {
  display: flex;
  flex-direction: column;
  gap: var(--gapX5);
}

/* Одна строка */
.vc-spec {
  display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(20px, 3fr) minmax(0, 0fr);
  align-items: baseline;
  column-gap: var(--gapX2);
  width: 100%;
}

/* Лейбл слева */
.vc-spec > p:first-child {
  margin: 0;
  min-width: 0;
}

/* Значение справа: старт всегда от одной линии */
.vc-spec > p:last-child {
  margin: 0;
  text-align: left;
  justify-self: start;
  min-width: 0;
}

.vc-spec p:first-child{
    display: flex;
    flex-direction: row;
    white-space: nowrap;
    align-items: baseline;
    color: var(--blackOpacity500);
}

.vc-spec.textM p:first-child::after {
    content: '';
    border-bottom: 1px dashed var(--blackOpacity500);
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.vc-spec span.dots::after {
    content: '';
    border-bottom: 1px dashed var(--blackOpacity500);
    width: 100%;
    display: flex;
}

.description.product-card:has(.product-name),
.vue-posts .xcat-product-card__content {
    gap: unset !important;
    flex-direction: column;
}

.vc_row.breadcrumbs-product a{
    color: var(--contentOpacityColor) !important;
}

.advantage-product{
    display: flex;
    flex-direction: row;
    gap: var(--gapX2);
    align-items: center;
}

.advantage-product i{
    border-radius: 50%;
    background: var(--primaryOpacity100);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-product i::before{
    font-size: 18px;
    color: var(--primary500);
}

.advantage-product .advantage-content{
    display: flex;
    flex-direction: column;
    gap: var(--gapX1);
}

.advantage-product .advantage-content p:last-child{
    color: var(--contentOpacityColor);
}

.advantage-product .advantage-content p+p{
    margin-top: unset !important;
}

.swiper-slide-thumb-active{
    opacity: 1 !important;
}

.product-advantages{
    gap: var(--gapX4);
}

.spec-name{
    gap: var(--gapX2);
}

.xcat-variant-axis .xcat-variant-axis__values {
    display: flex;
    gap: var(--gapX2);
    margin-top: var(--gapX3);
}

.xcat-variant-axis__values .xcat-variant-btn {
    background: transparent;
    border: 1px solid var(--blackOpacity300);
    border-radius: 4px;
    padding: var(--gap) var(--gapX2);
    margin: 0;
    color: var(--black);
    text-decoration: none;
    font-size: var(--textSsize);
}

.xcat-variant-axis__values .xcat-variant-btn.is-active {
    color: var(--primary500);
    border: 1px solid var(--primary500);
}
