.t-product__option-variants {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    margin-top: 0px !important;
    min-width: 0 !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
}

.t-product__option-variants::before,
.t-product__option-variants::after {
    display: none !important;
}



.t-product__option:first-child .t-product__option-select {
    display: none !important;
}

.t-product__option:last-child .t-product__option-select {
    display: flex !important;
    font-size: 12px !important;
    padding: 2px 4px !important;
    border: 1px solid #dddddd !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    background-image: url('data:image/svg+xml;utf8,') !important;
    background-position: right 4px center !important;
    background-repeat: no-repeat !important;
    padding-right: 20px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    font-weight: 500 !important;
}

.t-product__option:only-child .t-product__option-select {
    display: none !important;
}

.product-option-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2px 6px !important;
    background-color: #f8f8f8 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    margin: 0 !important;
    font-size: 14px !important;
    color: #333333 !important;
    transition: all 0.2s !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    height: auto !important;
    min-height: 18px !important;
    width: auto !important;
    min-width: auto !important;
    max-width: fit-content !important;
}

.t-product__option:first-child .product-option-button {
    font-weight: 500 !important;
    border-radius: 8px !important;
}

.t-product__option:last-child .product-option-button,
.t-product__option:only-child .product-option-button {
    font-size: 14px !important;
}

.t-product__option:only-child .product-option-button {
    font-weight: 500 !important;
}

.product-option-button:hover {
    background-color: #f0f0f0 !important;
    border-color: #d0d0d0 !important;
}

.product-option-button.active {
    background-color: #333333 !important;
    color: #ffffff !important;
    border: 1px solid #333333 !important;
    font-weight: 500 !important;
}

.t-product__option:first-child .t-product__option-variants {
    flex-direction: row !important;
    gap: 6px !important;
}

.t-product__option {
    display: flex !important;
    flex-direction: column !important;
    flex-shrink: 0 !important;
    margin-bottom: 0 !important;
    min-width: 0 !important;
    width: 48% !important;
    box-sizing: border-box !important;
}

.t-product__option:only-child {
    width: 100% !important;
    margin-top: 8px !important;
    align-self: flex-start !important;
    display: flex !important;
    flex-direction: column !important;
}

.t-product__option:only-child .t-product__option-variants {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    margin-top: 0px !important;
    width: 100% !important;
}



.t-product__option:only-child .product-option-button:hover {
    background-color: #f0f0f0 !important;
    border-color: #d0d0d0 !important;
}

.t-product__option:only-child .product-option-button.active {
    background-color: #333333 !important;
    color: #ffffff !important;
    border-color: #333333 !important;
}

.t-product__option:only-child .t-product__option-title {
    display: block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    margin-bottom: 4px !important;
}

.t-product__option:first-child {
    margin-right: auto !important;
}

.t-product__option:last-child {
    margin-left: auto !important;
}

.t-product__option-title {
    flex-shrink: 0 !important;
    margin-bottom: 2px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
}

.t-store__card__wrap_txt-and-btns {
    height: 200px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow: hidden !important;
}

.store__card__wrap_txt-and-opts {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    padding: 8px !important;
    height: auto !important;
    overflow: hidden !important;
    justify-content: flex-start !important;
    gap: 8px !important;
}

.t-store__card__textwrapper {
    padding-left: 10px !important;
    height: auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
    width: 100% !important;
}

.t-store__card__title {
    font-size: clamp(8px, 1.5vw, 14px) !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    min-height: calc(1 * 1.2em) !important;
    text-transform: uppercase !important;
    width: 100% !important;
    font-weight: 600 !important;
    text-align: left !important;
}

.t-store__card__descr {
    font-size: clamp(10px, 1.4vw, 14px) !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical;
    min-height: calc(2 * 1.2em) !important;
    width: 100% !important;
    text-align: left !important;
}

.js-store-price-wrapper {
    display: none !important;
}

.t-store__card__btns-wrapper {
    flex: 0 !important;
    padding: 5px 5px 20px 5px !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    position: relative !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-height: 50px !important;
    margin-top: 8px !important;
}

.t-store__card__btns-wrapper > div {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-height: 20px !important;
    align-items: center !important;
}

.t-store__card__btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    margin: 0 !important;
    order: 1 !important;
    transition: all 0.3s ease !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Стили для длинной цены */
.t-store__card__btns-wrapper.long-price .t-store__card__btn {
    font-size: 10px !important;
    padding: 2px 4px !important;
    min-width: 90px !important;
    max-width: 120px !important;
    width: auto !important;
}

.js-store-price-wrapper.duplicate {
    position: static !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-left: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-width: 0 !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    order: -1 !important;
}

.js-product-controls-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
    padding: 0 3px 3px 10px !important;
    height: auto !important;
    margin-top: -2px !important;
    align-self: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    align-items: flex-start !important;
}

.js-product-controls-wrapper::-webkit-scrollbar {
    display: none !important;
}

.t-store__card__imgwrapper {
    height: 200px !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
}

.t-store__card__imgwrapper .js-product-img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
}

@media (max-width: 768px) {
    .js-product-controls-wrapper {
        gap: 4px !important;
    }
    .t-product__option-variants {
        gap: 2px !important;
    }
    .t-product__option:first-child .t-product__option-variants {
        flex-direction: row !important;
        gap: 4px !important;
    }
    .t-product__option:only-child .t-product__option-variants {
        gap: 6px !important;
    }
    .product-option-button {
        padding: 2px 5px !important;
        font-size: 11px !important;
        min-height: 16px !important;
        font-weight: 500 !important;
    }
    .t-product__option:first-child .product-option-button {
        border-radius: 6px !important;
    }
    .t-product__option:last-child .product-option-button,
    .t-product__option:only-child .product-option-button {
        font-size: 12px !important;
        padding: 3px 6px !important;
        min-height: 20px !important;
    }
    .t-product__option:last-child .t-product__option-select {
        font-size: 10px !important;
        padding: 2px 3px !important;
        padding-right: 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        background-image: url('data:image/svg+xml;utf8,') !important;
        background-position: right 3px center !important;
    }
    .t-product__option-title {
        font-size: 10px !important;
        font-weight: 500 !important;
        color: #333 !important;
    }
    .t-product__option:only-child {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-self: flex-start !important;
    }
    .t-store__card__btns-wrapper {
        padding: 3px 3px 18px 3px !important;
        gap: 5px !important;
        max-height: 40px !important;
    }
    .t-store__card__btns-wrapper > div {
        max-height: 15px !important;
    }
    .t-store__card__btns-wrapper .js-product-price,
    .t-store__card__btns-wrapper .t-store__card__price-currency {
        font-size: 10px !important;
    }
    .t-store__card__btns-wrapper.long-price .t-store__card__btn {
        font-size: 8px !important;
        padding: 1px 3px !important;
        min-width: 35px !important;
        max-width: 50px !important;
    }
}

@media (max-width: 1200px) {
    .t-store__card__wrap_txt-and-btns {
        height: 200px !important;
    }
    .t-store__card__title {
        font-size: clamp(8px, 1.5vw, 14px) !important;
        -webkit-line-clamp: 1 !important;
        min-height: calc(1 * 1.2em) !important;
        margin-bottom: 0 !important;
        text-transform: uppercase !important;
    }
    .t-store__card__descr {
        font-size: 12px !important;
        -webkit-line-clamp: 2 !important;
        min-height: calc(2 * 1.2em) !important;
        margin-bottom: 0 !important;
    }
    .store__card__wrap_txt-and-opts {
        padding: 8px !important;
    }
    .t-store__card__btns-wrapper {
        padding: 3px 3px 18px 3px !important;
        gap: 5px !important;
        max-height: 40px !important;
    }
    .t-store__card__btns-wrapper > div {
        max-height: 15px !important;
    }
    .t-store__card__btns-wrapper .js-product-price,
    .t-store__card__btns-wrapper .t-store__card__price-currency {
        font-size: 12px !important;
    }
    .t-store__card__btns-wrapper .t-store__card__btn {
        font-size: clamp(4px, 1vw, 5px) !important;
        padding: 0px 1px !important;
        border-radius: 50px !important;
        height: auto !important;
        min-height: 8px !important;
    }
}

@media (max-width: 1200px) and (max-height: 300px) {
    .t-store__card__wrap_txt-and-btns {
        height: 200px !important;
    }
    .t-store__card__title {
        font-size: 8px !important;
        -webkit-line-clamp: 1 !important;
        min-height: calc(1 * 1.2em) !important;
        margin-bottom: 0 !important;
        text-transform: uppercase !important;
    }
    .t-store__card__descr {
        font-size: 10px !important;
        -webkit-line-clamp: 2 !important;
        min-height: calc(2 * 1.2em) !important;
        margin-bottom: 0 !important;
    }
    .store__card__wrap_txt-and-opts {
        padding: 5px !important;
        gap: 3px !important;
    }
    .js-product-controls-wrapper {
        gap: 3px !important;
        padding: 2px !important;
    }
    .t-product__option {
        width: 45% !important;
    }
    .t-product__option:first-child .t-product__option-variants {
        flex-direction: row !important;
        gap: 3px !important;
    }
    .t-product__option:only-child {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-self: flex-start !important;
    }
    .t-product__option:only-child .t-product__option-variants {
        gap: 4px !important;
    }
    .t-product__option-title {
        font-size: 12px !important;
        font-weight: 500 !important;
        color: #333 !important;
        margin-bottom: 1px !important;
    }
    .product-option-button {
        font-size: 11px !important;
        padding: 2px 4px !important;
        min-height: 18px !important;
    }
    .t-product__option:first-child .product-option-button {
        border-radius: 5px !important;
    }
    .t-product__option:last-child .product-option-button,
    .t-product__option:only-child .product-option-button {
        font-size: 11px !important;
    }
    .t-product__option:last-child .t-product__option-select {
        font-size: 9px !important;
        padding: 1px 2px !important;
        padding-right: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        background-image: url('data:image/svg+xml;utf8,') !important;
        background-position: right 2px center !important;
    }
    .t-store__card__btns-wrapper {
        padding: 2px 2px 16px 2px !important;
        gap: 3px !important;
        max-height: 30px !important;
    }
    .t-store__card__btns-wrapper > div {
        max-height: 12px !important;
    }
    .t-store__card__btns-wrapper .js-product-price,
    .t-store__card__btns-wrapper .t-store__card__price-currency {
        font-size: 10px !important;
    }
    .t-store__card__btns-wrapper .t-store__card__btn {
        font-size: clamp(4px, 1vw, 5px) !important;
        padding: 0px 0px !important;
        border-radius: 5px !important;
        height: auto !important;
        min-height: 6px !important;
    }
}

.hidden { display: none !important; }

/* Скрытие только кнопки "В зёрнах" в каталоге */
.t-store__card__wrap_all .t-product__option:first-child .t-product__option-variants .product-option-button[data-value="В зёрнах"],
.t-store__card__wrap_all .t-product__option:first-child .t-product__option-variants .product-option-button[data-value="В зёрнах"].active {
    display: none !important;
} 
/* Стили для длинной цены */
.t-store__card__btns-wrapper.long-price .t-store__card__btn {
    font-size: 10px !important;
    padding: 2px 4px !important;
    min-width: 90px !important;
    max-width: 120px !important;
    width: auto !important;
}

/* Базовые стили для компактных карточек */
.compact-card .t-store__card__wrap_txt-and-btns {
  height: 150px !important;
  padding-bottom: 10px !important;
}

.compact-card .t-store__card__imgwrapper {
  height: 550px !important;
}

/* Опциональные дополнительные стили */
.compact-card .t-store__card__title {
  font-size: 14px !important;
  -webkit-line-clamp: 1 !important;
  margin-bottom: 2px !important;
}

.compact-card .t-store__card__descr {
  font-size: 12px !important;
  -webkit-line-clamp: 2 !important;
}

@media (max-width: 768px) {
  .compact-card .t-store__card__wrap_txt-and-btns {
    height: 120px !important;
  }
  .compact-card .t-store__card__imgwrapper {
    height: 250px !important;
  }
}


#rec572181572 > div.t778 > div > div.t-popup.t-popup_show > div.t-popup__container.t-popup__container-static.t-popup__container-animated > div > div > div > div > div.t-store__prod-popup__info.t-align_left.t-store__prod-popup__col-right.t-col.t-col_6 > div.js-product-controls-wrapper > div:nth-child(2) > div.t-product__option-variants.t-product__option-variants_regular > div.t-product__option-variants {
    display: none !important;
}
