.sect_tags {
    /*margin-bottom: 20px;*/
    /*margin-top: -20px;*/
    margin-top: 16px;
    
    
}

.sect_tags ul {
    display: flex;
    flex-wrap: wrap;
}

.sect_tags li {
    display: flex;
    padding: 10px 10px 10px 0;
}

.sect_tags a {
    background: #EA375E;
    color: #fff;
    padding: 10px;
}

.sect_tags j {
    color: #EA375E;
}

.catalog__button.not-price{
    padding: 10px 20px;
}

.btn_one_click{
    font-family: 'Exo2 semiBold';
    font-size: 11pt;
    color: #f13a5f;
    background-color: white;
    border: 1.5px solid #f13a5f;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    padding: 8px 0;
    width: 170px;
    margin: 10px auto 0;
    display: none;
}

.btn_one_click:hover{
    background: #f13a5f;
    color: white;
    text-decoration: none;
}

.catalog__content:hover .btn_one_click {
    display: block;
}

@media(max-width: 400px){
    .catalog .catalog__show-more{
        margin-top: 20px;
    }

    .bottom-text.catalog-text{
        margin-top: 40px;
    }
}

/*04.08.2021*/
.links_wrap{
    height: 50px;
    overflow: hidden;
    transition: all 0.8s ease;
}

.sub_cat_wrap .sub_cat_title,.sub_cat_wrap .show_more_button{
    margin-bottom: 5px;
    background: unset;
    color: #000;
    padding: 0;
    display: block;
}

.sub_cat_wrap .sub_cat_title{
    font-weight: 700;
    font-size: 11pt;
}

.sub_cat_wrap .show_more_button{
    margin-top: 5px;  
    width: max-content;
    background: #ea375e00;
    padding: 8px;
    font-family: 'Exo2 semiBold';
    font-size: 11pt;
    color: #ea375e;
    cursor: pointer;
    outline: none;
    border: 1px solid #ea375e;  
    text-align: center;
    transition-duration: .2s;
    line-height: 1em;
    max-width: 100%;
}

.sub_cat_wrap{
    margin-bottom:20px;
}

.links_wrap.opened{
    height: auto;
    overflow: visible;
    transition: all 1.2s ease;
}

.catalog-tags-wrap{
max-width: 100%;
overflow: hidden !important;
margin: 0 0 16px;
}

.catalog-tags-list{
margin: 0 !important;
padding: 5px 2px 5px !important;
list-style: none !important;

display: flex !important;
flex-wrap: nowrap !important;
gap: 8px;

width: 100%;
max-width: 100%;
overflow-x: auto !important;
overflow-y: hidden !important;

-webkit-overflow-scrolling: touch;
scrollbar-width: thin;

cursor: grab;
user-select: none;
touch-action: pan-x;
}

.catalog-tags-list:active{ cursor: grabbing; }

.catalog-tags-list > li{
flex: 0 0 auto !important;
margin: 0 !important;
padding: 0 !important;
}

.catalog-tags-list > li > a{
display: inline-block !important;
white-space: nowrap !important;
padding: 6px 12px;
border: 1px solid #e5e5e5;
border-radius: 999px;
background: #f6f6f6;
color: #191817;
text-decoration: none !important;
font-size: 13px;
line-height: 1.2;
}
.catalog-tags-list > li > a:hover{
border-color: #A11826;
color: #A11826;
}

.catalog-tags-list::-webkit-scrollbar{ height: 6px; }
.catalog-tags-list::-webkit-scrollbar-thumb{
background: #cfcfcf;
border-radius: 999px;
}
/* Ключ: в flex-иерархии дать блоку с тегами сжиматься */
.catalog__wrapper,
.catalog__wrapper > * {
min-width: 0;
}

/* Обёртка тегов */
.catalog-tags-wrap{
width: 100%;
max-width: 100%;
min-width: 0;
overflow: hidden;
}

/* Лента тегов */
.catalog-tags-list{
display: flex;
flex-wrap: nowrap;
gap: 8px;
width: 100%;
max-width: 100%;
min-width: 0;


overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
}

/* SEO text block: 8 March category (tsvetomania.ru)
   Usage: wrap HTML in <section class="seo-text seo-text--march8">...</section>
*/

/* Base */
.seo-text {
  max-width: 980px;
  margin: 32px auto;
  padding: 20px 22px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 16px;
  line-height: 1.65;
  font-size: 16px;
}

.seo-text * {
  box-sizing: border-box;
}

.seo-text h2,
.seo-text h3 {
  margin: 0 0 12px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.seo-text h2 {
  font-size: 26px;
}

.seo-text h3 {
  font-size: 18px;
  margin-top: 18px;
}

.seo-text p {
  margin: 0 0 12px;
}

.seo-text p:last-child {
  margin-bottom: 0;
}

.seo-text strong {
  font-weight: 700;
}

/* Lists */
.seo-text ul {
  margin: 10px 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.seo-text ul li {
  position: relative;
  padding-left: 18px;
}

.seo-text ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  transform: translateY(-50%);
}

/* Links / CTA */
.seo-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-text a:hover {
  text-decoration-thickness: 2px;
}

.seo-text a[aria-label] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(172, 0, 22, 0.08); /* фирменный цвет, но в мягком виде */
  text-decoration: none;
  font-weight: 600;
}

.seo-text a[aria-label]::after {
  content: "→";
  font-size: 16px;
  line-height: 1;
}

.seo-text a[aria-label]:hover {
  background: rgba(172, 0, 22, 0.12);
}

/* Optional: subtle accent for headings (keeps brand color <20%) */
.seo-text--march8 h2 {
  border-left: 4px solid rgba(172, 0, 22, 0.35);
  padding-left: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .seo-text {
    margin: 20px 12px;
    padding: 16px 14px;
    border-radius: 14px;
    font-size: 15px;
  }

  .seo-text h2 {
    font-size: 22px;
  }

  .seo-text h3 {
    font-size: 17px;
  }
}



/* Мини-галерея доп. фото в карточке */
.rc-photo-gallery {
    width: 100%;
    aspect-ratio: 297 / 328;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    z-index: 0;
}
.rc-photo-gallery .swiper-wrapper {
    height: 100%;
}
.rc-photo-gallery .swiper-slide {
    height: 100%;
}
.rc-photo-gallery .catalog__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: auto;
    border-radius: 0;
    margin: 0;
    padding: 0;
}
.rc-photo-dots {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 4px;
}
.rc-photo-dots .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    opacity: 1;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.rc-photo-dots .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.3);
}

/* Метки поверх галереи */
.catalog__items_catalog .rc-photo-gallery {
    z-index: 0;
}
.catalog__items_catalog .catalog__bonus,
.catalog__items_catalog .catalog__tag,
.catalog__items_catalog .mindbox-product__tag,
.catalog__items_catalog .intensa-favorite-item {
    z-index: 5;
}

/* === Плашки === */
.catalog__items_catalog .catalog__bonus {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
    align-items: center;
}

.catalog__items_catalog .catalog__tag {
    display: none;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .03em;
    text-transform: uppercase;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    flex-grow: 0;
    align-self: center;
}

.catalog__items_catalog .catalog__item-akciya-img .catalog__tag_akciya {
    display: inline-block;
    background: #A11826;
    color: #fff;
}

.catalog__items_catalog .catalog__item-hit-img .catalog__tag_hit {
    display: inline-block;
    background: rgba(255,255,255,.88);
    color: #A11826;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.catalog__items_catalog .catalog__item-express-delivery-img .catalog__tag_express-delivery {
    display: flex;
    order: -1;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    font-size: 0;
    color: transparent;
    border-radius: 50%;
    background: rgba(255,255,255,.88) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8.5 1L3 9h4.5l-1 6L13 7H8.5l1-6z' fill='%23FFB800'/%3E%3C/svg%3E") center/16px 16px no-repeat;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    position: relative;
    cursor: pointer;
    animation: rc-wobble 3s ease-in-out infinite;
}

@keyframes rc-wobble {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-8deg); }
    40% { transform: rotate(6deg); }
    60% { transform: rotate(-4deg); }
    80% { transform: rotate(0deg); }
}

.catalog__items_catalog .catalog__tag_express-delivery::after {
    content: 'Экспресс доставка';
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    background: rgba(0,0,0,.75);
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

.catalog__items_catalog .catalog__tag_express-delivery:hover::after {
    opacity: 1;
}

/* Баллы — капсула внизу слева */
.catalog__items_catalog .mindbox-product__tag_scores {
    position: absolute;
    bottom: 8px;
    left: 8px;
    top: auto;
    right: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px 4px 7px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    color: #fff;
    background: linear-gradient(135deg, #F13A5F, #A11826);
    border-radius: 20px;
    white-space: nowrap;
}

.catalog__items_catalog .mindbox-product__tag_scores img {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
}

@media (max-width: 600px) {
    .catalog__items_catalog .rc-photo-gallery { border-radius: 16px; }
}

/*end*/