/* ==========================================
   СКРЫТИЕ НАТИВНЫХ ОПЦИЙ
   ========================================== */

.t-store__prod-popup .js-product-edition-option,
.t-store__prod-popup .t-product__option,
.t-popup .js-product-edition-option,
.t-popup .t-product__option,
.t706 .js-product-edition-option,
.t706 .t-product__option,
.js-product .js-product-edition-option,
.js-product .t-product__option,
.t-store__prod-popup__container .js-product-edition-option,
.t-store__prod-popup__container .t-product__option {
    display: none !important;
}

.js-store-prod-quantity,
.t-store__prod-popup__quantity,
.t-store__prod-popup__quantity-title,
.t-store__prod-popup__cnt,
.js-store-prod-cnt {
    display: none !important;
}

.t-store__prod__price-portion,
.t706__product-title__portion {
    display: none !important;
}

.t-slds__thumbsbullet-wrapper {
    display: none !important;
}

.t-store__card .my-swatches,
.t-store__card .limit-wrapper,
.t-store__card .leadux-order-block,
.t706 .my-swatches,
.t706 .limit-wrapper,
.t706 .leadux-order-block {
    display: none !important;
}


/* ==========================================
   ЦВЕТОВЫЕ СВОТЧИ
   ========================================== */

.my-swatches {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 14px !important;
    position: relative !important;
    z-index: 100 !important;
    pointer-events: auto !important;
}

.my-swatch {
    display: inline-block !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    outline: 2px solid transparent !important;
    outline-offset: 3px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: none !important;
    animation: none !important;
    position: relative !important;
    z-index: 100 !important;
    pointer-events: auto !important;
}

.my-swatch:hover {
    opacity: 0.72 !important;
}

.my-swatch.active {
    outline-color: #111111 !important;
    opacity: 1 !important;
}


/* ==========================================
   ОСТАТОК
   ========================================== */

.limit-wrapper {
    margin: 8px 0 14px;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.3;
}

.limit-text {
    color: #AAAAAA;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.limit-count {
    color: #111111;
    font-weight: 700;
}


/* ==========================================
   КОМПАКТНАЯ ТАБЛИЦА
   ========================================== */

.js-store-prod-all-charcs,
.js-catalog-prod-all-charcs {
    display: none;
}

.js-store-prod-all-charcs.show-chrs,
.js-catalog-prod-all-charcs.show-chrs {
    display: block;
    width: 100%;
}

.chr-row {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 0;
    margin: -1px 0 0;
    padding: 0;
}

.chr-row > div {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    margin: 0;
    background: #F5F5F5;
    border: 1px solid #FFFFFF;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.25;
}

.chr-title {
    color: #222222;
    font-weight: 600;
}

.chr-descr {
    margin-left: -1px !important;
    color: #666666;
    font-weight: 400;
}

.js-store-product[data-product-pack-m="0"] p.js-store-prod-weight,
.js-catalog-product[data-product-pack-m="0"] p.js-catalog-prod-weight {
    display: none !important;
}

.js-store-product[data-product-pack-x="0"] p.js-store-prod-dimensions,
.js-catalog-product[data-product-pack-x="0"] p.js-catalog-prod-dimensions {
    display: none !important;
}


/* ==========================================
   ПОЛЕ «ТИРАЖ»
   ========================================== */

.leadux-order-block {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin: 0 0 14px;
}

.leadux-quantity-column {
    width: 280px;
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
}

.leadux-quantity-input {
    display: block;
    width: 100%;
    height: 52px;
    padding: 0 18px;

    border: 1px solid #D8D8D8;
    border-radius: 8px;
    outline: none;

    background: #FFFFFF;
    color: #111111;

    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 52px;

    box-sizing: border-box;
    appearance: textfield;
    -moz-appearance: textfield;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease;
}

.leadux-quantity-input::placeholder {
    color: #8F8F8F;
    opacity: 1;
}

.leadux-quantity-input:focus {
    border-color: #777777;
    box-shadow: 0 0 0 1px #777777;
}


/* Красная рамка при ошибке */

.leadux-quantity-input.leadux-input-error {
    border-color: #E53935 !important;
    color: #111111;
    box-shadow: 0 0 0 1px #E53935 !important;
}

.leadux-quantity-input.leadux-input-error:focus {
    border-color: #E53935 !important;
    box-shadow: 0 0 0 1px #E53935 !important;
}


/* Убираем стрелки number */

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


/* Сообщение об ошибке */

.leadux-quantity-error {
    display: block;
    min-height: 16px;
    margin-top: 7px;

    color: transparent;

    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;

    white-space: normal;
    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.2s ease,
        color 0.2s ease;
}

.leadux-quantity-error.is-visible {
    color: #E53935;
    opacity: 1;
    visibility: visible;
}


/* ==========================================
   КНОПКА ЗАКАЗА
   ========================================== */

.leadux-buy-wrapper {
    width: 180px !important;
    flex: 0 0 180px !important;
    margin: 0 !important;
}

.leadux-buy-button {
    width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.leadux-buy-button.leadux-button-disabled,
.leadux-button-disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}


/* ==========================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================== */

@media screen and (max-width: 640px) {
    .chr-row {
        grid-template-columns: 42% 58%;
    }

    .chr-row > div {
        min-height: 36px;
        padding: 7px 9px;
        font-size: 12px;
    }

    .leadux-order-block {
        flex-direction: column;
        gap: 10px;
    }

    .leadux-quantity-column,
    .leadux-buy-wrapper {
        width: 100% !important;
        flex: 0 0 auto !important;
    }

    .leadux-buy-button {
        width: 100% !important;
    }

    .leadux-quantity-error {
        min-height: 15px;
        margin-top: 7px;
        font-size: 11px;
        line-height: 1.3;
        white-space: normal;
    }
}

/* ==========================================
   КНОПКИ ПО ЦЕНТРУ В КАРТОЧКАХ ТОВАРОВ
   ========================================== */

.js-product.t-store__card .t-store__card__btns-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

.js-product.t-store__card .t-store__card__btn {
    margin-left: auto !important;
    margin-right: auto !important;
}