.product-a{
    position: relative;
    display: block;
    height: 250px;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin-top: 10px;
}

.flex-container {
    height: 250px;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    position: absolute; 
    z-index: 30;
}

.product_img {
    height: 100%;
    position: relative;
}

.product-item-info-rait-count {
    font-weight: 700;
    font-size: 13px;
    color: #E7868A;
}

.product_img_line {
  background: #aeaeae;
  height: 2px;
  width: 94%;
  position: absolute;
  bottom: 4px;
  left: 3%;
  opacity:0;
}

.product-item-info-art-rait{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 24px;
    align-items: center;
}
.product-item-info-art{
    color: #818084;
    font-weight: 600;
    font-size: 14px;
}

.product-item-line .product-item-info-art{
    color: #818084;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
}

.product-item-info-rait{
    color: #D10F17;
    font-size: 14px;

}

.product-item-info-nal{
        background: #F2F2F3;
    color: #C0BFC2;
    padding: 4px;
    text-align: center;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
}


.product-item-info-price-za{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
    height: 30px;
    gap:5px;
}



@media (min-width: 992px){

    .product-item-info-price-za-1{
        color: #A1A1A1;
        font-size: 15px;
        font-weight: 600;
        white-space: nowrap;
    }
    
    .product-item-scu-item-list{
        width: 100%;
        display: flex;
        flex-direction: row;
        border-radius: 7px;
        overflow: hidden;
    }
     
    .product-item-scu-item-list li.selected{
        background: #C0BFC2;
        color:#ffff;
        text-align: center;
        padding: 3px;
        cursor:pointer;
        flex:1;
        line-height: 28px;
    }

    .product-item-scu-item-list li:not(.selected){
        background: #F2F2F3;
        color: #C0BFC2;
        text-align: center;
        padding: 3px;
        cursor:pointer;
        flex:1;
        line-height: 28px;
    }
    
    
    .btn-amount-add{
        display: grid;
        grid-template-columns: auto 120px;
        gap: 5px;
    }
    
    .product-count1{
        width: 120px;
    }

}
@media (max-width: 992px){

    .product-item-info-price-za-1{
        display:none
    }

    .product-item-scu-item-list{
        width: fit-content;
        display: flex;
        flex-direction: row;
        border-radius: 7px;
        overflow: hidden;
        width: 100%;
        font-size: 13px;
        height: 33px
    }
     
    .product-item-scu-item-list li.selected{
        background: #C0BFC2;
        color:#ffff;
        width: 50%;
        text-align: center;
        padding: 3px;
        cursor:pointer;
        display: flex;
        justify-content: center;
        align-items: center;
     
    }

    .product-item-scu-item-list li:not(.selected){
        background: #F2F2F3;
        color: #C0BFC2;
        width: 50%;
        text-align: center;
        padding: 3px;
        cursor:pointer;
        display: flex;
        justify-content: center;
        align-items: center;

    }
    
    .btn-amount-add{
     
    }
    
    .product-count1{
        width: 100%;
    }

    .product-item-title {
        font-family: Evolventa;
        font-weight: 400;
        font-style: Regular;
        font-size: 12px !important;
        leading-trim: NONE;
        line-height: 16px;
        letter-spacing: 0%;
        height: 64px !important;
        margin-bottom: 10px;
    }

    .product-item-info-nal{
        background: #F2F2F3;
        color: #C0BFC2;
        padding: 4px;
        text-align: center;
        border-radius: 5px;
        font-weight: 700;
        font-size: 10px;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .product-item-price-container {
        margin-bottom: 12px;
    }

    .btn-amount-add {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .product-item-detail-add {
        display: block;
        width: 100%;
        font-weight: 600;
        border: 0;
        padding: 9px 0px;
        background: #d10f17;
        text-align: center;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 12px;
        transition: all .3s linear;
    } 

    .product-item-info-container {
        width: 100%;
    }

    .product-item-amount-field-container {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        position: relative;
        max-width: 150px;
        width: 100%;
        margin: 0 auto 15px;
    }

    .product-item-info-art-rait{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 12px;
        align-items: center;
    }

}
 


.product-item-btn-add1{
    padding: 9px 10px;
    background: #00B1BA;
    color: #fff;
    border: 0px;
    border-radius: 5px;
}

.product-item-container { 
    position: relative; 
    /*z-index: 1;*/
    height: 100% !important;
}

.product-item-container.hover { z-index: 17; }

.product-item {
    display: block;
    box-sizing: border-box;
    overflow: hidden;
    padding: 15px; 
    width: 100%;
    height: 100%;
    border-radius: 25px;
    border: 1px solid #efefef;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, .19);
}

.product-item-line {
    display: block;
    box-sizing: border-box;
    overflow: hidden;
    padding: 35px 20px; 
    width: 100%;
    height: 330px;
    border-radius: 25px;
    border: 1px solid #efefef;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, .19);
}

.product-item:hover {
    box-shadow: 0 10px 20px 0 rgba(0,0,0,.1);
}

.product-item > .row {
    height: 100%;
}

.product-item > .row > [class*="col-"] {
    height: 100%;
}



 

/*Image*/
.product-item-image-wrapper {
    position: relative;
    display: block;
    margin: -15px -15px 15px;
    padding-top: 116%;
    width: calc(100% + 30px);
    transition: all 300ms ease;
}

.product-item-image-wrapper-line {
    position: relative;
    display: block;
    margin-bottom: 15px;
    padding-top: 0;
    width: calc(100%);
    transition: all 300ms ease;
    height: 100%;
}

.product-item-image-wrapper:hover { }

.product-item-container.hover.product-item-scalable-card .product-item-image-wrapper { padding-top: 54%; }
.product-item-container.hover.product-item-scalable-card .product-item-image-wrapper-line { padding-top: 54%; }

.product-item-image-original,
.product-item-image-alternative {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: opacity 300ms linear;
}

.product-item-image-original { z-index: 11; }

.product-item-image-alternative {
    z-index: 13;
    opacity: 0;
}

 
.product-item-big-card .product-item-image-wrapper { margin-bottom: 25px; }
.product-item-big-card .product-item-image-wrapper-line { margin-bottom: 25px; }

/*Image Slider*/
.product-item-image-slider-slide-container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 100%;
    transition: opacity 300ms ease;
}

.product-item-image-slide {
    position: relative;
    display: none;
    height: 100%;
    background-color: #fff;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: .6s ease-in-out left;
}

@media all and (transform-3d), (-webkit-transform-3d) {
    .product-item-image-slide {
        transition: transform .6s ease-in-out, -webkit-transform .6s ease-in-out;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000px;
        perspective: 1000px;
    }

    .product-item-image-slide.next,
    .product-item-image-slide.active.right {
        left: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }

    .product-item-image-slide.prev,
    .product-item-image-slide.active.left {
        left: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    .product-item-image-slide.next.left,
    .product-item-image-slide.prev.right,
    .product-item-image-slide.active {
        left: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.product-item-image-slider-slide-container > .active,
.product-item-image-slider-slide-container > .next,
.product-item-image-slider-slide-container > .prev { display: block; }

.product-item-image-slider-slide-container > .active { left: 0; }

.product-item-image-slider-slide-container > .next,
.product-item-image-slider-slide-container > .prev {
    position: absolute;
    top: 0;
    width: 100%;
}

.product-item-image-slider-slide-container > .next { left: 100%; }

.product-item-image-slider-slide-container > .prev { left: -100%; }

.product-item-image-slider-slide-container > .next.left,
.product-item-image-slider-slide-container > .prev.right { left: 0; }

.product-item-image-slider-progress-bar-container {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 1px;
}

.product-item-image-slider-progress-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: block;
    height: 1px;
    background-color: var(--theme-color-primary);
    opacity: .8;
}

.product-item-image-slider-control-container {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    z-index: 15;
    display: block;
    padding: 0;
    text-align: center;
    opacity: 1;
    transition: opacity 300ms ease;
}

.product-item-container.hover .product-item-image-slider-control-container,
.product-item-line-card:hover .product-item-image-slider-control-container { opacity: 1; }

.product-item-image-slider-control,
.product-item-image-slider-control.active {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(128, 128, 128, .8);
    opacity: .6;
    cursor: pointer;
    transition: all 300ms ease;
}

.product-item-image-slider-control:hover,
.product-item-image-slider-control.active:hover { cursor: pointer; }

.product-item-image-slider-control.active,
.product-item-image-slider-control:hover { background-color:#000; }

/*Label*/
.product-item-label-text,
.product-item-label-ring {
    position: absolute;
    z-index: 15;
}

.product-item-label-text span,
.product-item-label-ring {
    display: inline-block;
    clear: both;
    margin-bottom: 2px;
    background: #ffeb81;
    color: #000000;
    vertical-align: middle;
    text-align: center;
    transition: all 250ms ease;
}

.bx-red .product-item-label-text span,
.bx-red .product-item-label-ring { background-color: #fba90c; }

.product-item-label-text > div,
.product-item-label-ring > div { line-height: 0; }

/* TEXT */
.product-item-label-text span {
    padding: 2px 5px;
    vertical-align: middle;
    font-weight: bold;
}

/*SMALL*/
.product-item-label-text.product-item-label-small span,
.product-item-scalable-card.hover .product-item-label-text.product-item-label-small span {
    margin-bottom: 1px;
    padding: 2px 7px;
    font-weight: normal;
    font-size: 13px;
    line-height: 14px;
}

.product-item-big-card .product-item-label-text.product-item-label-small span {
    padding: 5px 12px;
    font-size: 16px;
    line-height: 21px;
}

/* BIG */
.product-item-label-text.product-item-label-big span,
.product-item-scalable-card.hover .product-item-label-text.product-item-label-big span {
    padding: 4px 10px;
    font-size: 13px;
    line-height: 17px;
}

.product-item-big-card .product-item-label-text.product-item-label-big span {
    padding: 5px 17px;
    font-size: 22px;
    line-height: 33px;
}

@media (max-width: 767px) {
    .product-item-label-text > div { line-height: 0; }

    .product-item-label-text.product-item-label-small span,
    .product-item-scalable-card.hover .product-item-label-text.product-item-label-small span {
        margin-bottom: 1px;
        padding: 2px 7px;
        font-size: 10px;
        line-height: 14px;
    }

    .product-item-big-card .product-item-label-text.product-item-label-small span,
    .product-item-label-text.product-item-label-big span,
    .product-item-scalable-card.hover .product-item-label-text.product-item-label-big span {
        margin-bottom: 1px;
        padding: 3px 12px;
        font-size: 14px;
        line-height: 16px;
    }

    .product-item-big-card .product-item-label-text.product-item-label-big span {
        padding: 3px 12px;
        font-size: 20px;
        line-height: 25px;
    }
}

/*RING*/
.product-item-label-ring {
    box-sizing: border-box;
    border-radius: 50%; 
}

.product-item-label-ring.product-item-label-small,
.product-item-scalable-card.hover .product-item-label-ring.product-item-label-small {
    width: 40px;
    height: 40px;
    font-size: 14px;
    line-height: 40px;
}

.product-item-big-card .product-item-label-ring.product-item-label-small {
    width: 100px;
    height: 100px;
    font-size: 30px;
    line-height: 100px;
}

.product-item-label-ring.product-item-label-big,
.product-item-scalable-card.hover .product-item-label-ring.product-item-label-big {
    width: 50px;
    height: 50px;
    font-size: 18px;
    line-height: 50px;
}

.product-item-big-card .product-item-label-ring.product-item-label-big {
    width: 120px;
    height: 120px;
    font-size: 42px;
    line-height: 120px;
}

@media (max-width: 767px) {
    .product-item-label-ring.product-item-label-small,
    .product-item-scalable-card.hover .product-item-label-ring.product-item-label-small {
        --product-item-label-ring-size: 40px;
        width: var(--product-item-label-ring-size);
        height: var(--product-item-label-ring-size);
        line-height: var(--product-item-label-ring-size);
        font-size: 14px;
    }

    .product-item-big-card .product-item-label-ring.product-item-label-small,
    .product-item-label-ring.product-item-label-big,
    .product-item-scalable-card.hover .product-item-label-ring.product-item-label-big {
        width: 35px;
        height: 35px;
        font-size: 12px;
        line-height: 35px;
    }

    .product-item-big-card .product-item-label-ring.product-item-label-big {
        width: 70px;
        height: 70px;
        font-size: 24px;
        line-height: 70px;
    }
}

.product-item-label-top { top: -5px; }

.product-item-label-center {
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.product-item-label-center > div { text-align: center; }

.product-item-label-left { left: -5px; }

.product-item-label-left > div { text-align: left; }

.product-item-label-bottom { bottom: -5px; }

.product-item-label-middle {
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.product-item-label-right { right: 10px; }

.product-item-label-right > div { text-align: right; }

.product-item-label-center.product-item-label-middle {
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}


.product-item-detail-add {
    display: block;
    width: 100%;
    font-weight: 600;
    border: 0;
    padding: 9px 0px;
    background: #d10f17;
    text-align: center;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    transition: all .3s linear;
} 

 .product-item-detail-add:hover{
    background: #DD4B51; 
    text-decoration:none;
    color:#fff;
}


/*Title*/
.product-item-title {
    font-size: 16px;
    font-weight: 500;
    overflow: hidden;
    margin-bottom: 16px;
    color: rgba(43, 43, 43, 1) !important;
    text-decoration: none;
    height: 71px;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

 
 

.product-item-price-current {
    white-space: nowrap; 
    font-size: 20px;
    font-weight: 600;
    color: #383838;
    height: 11px;
    line-height: 18px;
}

.product-item-price-old {
    color: #a5a5a5;
    text-decoration: line-through;
    white-space: nowrap;
    font-size: 13px;
}

.product-item-big-card .product-item-price-current,
.product-item-big-card .product-item-price-old {
    vertical-align: middle;
    line-height: 20px;
}

 .product-item-title
.product-item-big-card .product-item-price-current { font-size: 18px; }

.product-item-big-card .product-item-price-old { font-size: 15px; }

/*Info*/
.product-item-info-container {
    clear: both;
    margin-bottom: 8px;
}

.product-item-info-container-title { font-size: 12px; }

 

 

/*Amount*/
.product-item-amount {
    /* width: 110px; */
    /*background: #f2f2f2;*/
    height: 38px;
    border-radius: 5px;
    overflow: hidden; 
}

.product-item-amount-field-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    max-width: 150px;
    margin: 0 auto 15px;
}

.product-item-amount-field-container-line {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    max-width: 150px;
    margin: auto auto 0px;
}

.line-menu-bottom {
    margin-top: auto;
}


.product-item-amount-field-btn-plus,
.product-item-amount-field-btn-minus {
    position: relative;
    display: block;
    min-width: 25px;
    height: 38px;
    border-radius: 2px;
    /*background-color: #f2f2f2;*/
    color: #fff;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    transition: background 300ms ease, opacity 300ms ease;
}

.bx-retina .product-item-amount-field-btn-plus,
.bx-retina .product-item-amount-field-btn-minus { border-width: .5px; }

.product-item-amount-field-btn-plus:hover,
.product-item-amount-field-btn-minus:hover { background: #d3d3d3; }

.product-item-amount-field-btn-plus:after,
.product-item-amount-field-btn-minus:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: "";
    opacity: .8;
    transition: opacity 300ms ease, background 300ms ease;
}

.product-item-amount-field-btn-disabled.product-item-amount-field-btn-plus:after,
.product-item-amount-field-btn-disabled.product-item-amount-field-btn-minus:after {
    opacity: .3 !important;
    cursor: default;
}

.product-item-amount-field-btn-disabled.product-item-amount-field-btn-plus:hover,
.product-item-amount-field-btn-disabled.product-item-amount-field-btn-minus:hover {
    /*background-color: #f2f2f2;*/
}

.product-item-amount-field-btn-plus:after {
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCIgdmlld0JveD0iMCAwIDMwIDMwIj4gIDxwYXRoIGZpbGw9IiM1MjVDNjgiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTE4LDEyIEwxOCwwIEwxMiwwIEwxMiwxMiBMMCwxMiBMMCwxOCBMMTIsMTggTDEyLDMwIEwxOCwzMCBMMTgsMTggTDMwLDE4IEwzMCwxMiBMMTgsMTIgWiIvPjwvc3ZnPg==) no-repeat center;
    background-size: 10px;
}

.product-item-amount-field-btn-minus:after {
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCIgdmlld0JveD0iMCAwIDMwIDMwIj4gIDxyZWN0IHdpZHRoPSIzMCIgaGVpZ2h0PSI2IiB5PSIxMiIgZmlsbD0iIzUyNUM2OCIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat center;
    background-size: 10px;
}

.product-item-amount-field-btn-plus:hover:after,
.product-item-amount-field-btn-minus:hover:after { opacity: 1; }

.product-item-amount-field-block {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.product-item-amount-field {
    display: block;
    padding: 0;
    width: 100%;
    height: 22px;
    border: 1px solid transparent;
    border-radius: 2px;
    background: transparent !important;
    color: #000;
    vertical-align: middle;
    text-align: center; 
    line-height: 22px;
    transition: border 300ms ease;
}

.bx-retina .product-item-amount-field { border-width: .5px; }

.product-item-amount-field:focus { outline: none !important; }

.bx-no-touch input.product-item-amount-field::-webkit-outer-spin-button,
.bx-no-touch input.product-item-amount-field::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
    appearance: none
}

.product-item-amount-description-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    color: #a5a5a5;
    white-space: nowrap;
    font-size: 12px;
}

/*.product-item-big-card .product-item-amount-field-container { text-align: left; }*/

.product-item-amount-description-container strong {
    color: #333;
    white-space: nowrap;
}

.product-item-amount-label-container {
    margin: 5px 0;
    color: #a5a5a5;
    font-weight: bold;
    font-size: 12px;
}

/**/
.product-item-quantity { font-size: 12px; }

/*region Properties */
.product-item-info-col {
    display: flex;
    flex-direction: column;
}

.product-item-properties-wrap {
    flex: 1;
    min-height: 0;
}

.product-item-properties-wrap .product-item-info-container {
    height: 100%;
    display: flex;
    margin-bottom: 0;
}

.product-item-properties {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 6px;
    row-gap: 4px;
    margin: 0;
    height: 100%;
    align-content: space-between;
}

.product-item-properties dl { clear: both; }

.product-item-properties dt {
    float: none;
    clear: none;
    font-weight: normal;
    font-size: 13px;
    color: #05020B;
    margin: 0;
}

.product-item-properties dd {
    float: none;
    margin-left: 10px;
    font-size: 13px;
    text-align: left;
    margin-bottom: 0;
    color: #A1A1A1;
}

/*endregion*/

/*Compare*/
.product-item-compare-container {
    position: relative;
    display: none;
    margin: 0 -15px;
    padding: 4px 15px;
    min-height: 30px;
    border-top: 1px solid #e6e6e6;
    background: #f3f3f3;
    box-shadow: inset 0 1px 1px 0 #eee;
    vertical-align: middle;
    font-size: 12px;
    line-height: 20px;
}

.product-item-line-card .product-item-compare-container {
    margin: 0;
    border: none;
    background-color: transparent;
    box-shadow: none;
    text-align: center;
}

 
.product-item-line-card .product-item-compare-container,
.product-item-container.hover .product-item-compare-container { display: block; }

.product-item-compare .checkbox {
    margin: 0;
    padding: 0;
}

/* SCU */
.product-item-line-card .product-item-scu-container { text-align: left; }

.product-item-scu-container-title {
    color: #333;
    font-size: 12px;
}

.product-item-scu-block { }

.product-item-scu-block-title { 
    font-size: 13px; 
    font-weight: 700;
    color: #A1A1A1;
    margin-bottom: 8px;
}

.product-item-scu-list { margin: 0; }

/*
.product-item-scu-item-list {
    overflow: hidden;
    margin: 0;
    padding: 0;
    list-style: none;
}
*/
.product-item-scu-item-list-full {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.product-item-scu-item-list-full .product-item-scu-item-text-container {
    display: flex;
    align-items: center;
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
    height: 33px;
}

.product-item-scu-item-list-full .product-item-scu-item-text-block {
    width: 100%;
    box-sizing: border-box;
}
.product-item-scu-item-color-container,
.product-item-scu-item-text-container {
    display: inline-block;
    box-sizing: border-box;
    padding: 5px 3px;
    max-width: 100%;
}

.product-item-scu-item-text-container { min-width: 32px; }

.product-item-scu-item-color-container {
    max-width: 38px;
    width: 25%;
}

.product-item-scu-item-color-block {
    position: relative;
    padding-top: 100%;
    outline: 1px solid #c0cfda;
    cursor: pointer;
}

 
 
.product-item-scu-item-color-container.selected .product-item-scu-item-color-block { outline-width: 2px; }

 
.product-item-scu-item-color {
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.product-item-scu-item-text-block {
    position: relative;
    padding: 0 5px;
    cursor: pointer;
}

 
 
.product-item-scu-item-text-container.selected .product-item-scu-item-text-block { outline-width: 2px; }

 
.product-item-scu-item-text {
    overflow: hidden;
    max-width: 100%;
    vertical-align: middle;
    text-align: center;
    text-transform: uppercase;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    line-height: 18px;
}

.product-item-scu-item-color-container.notallowed .product-item-scu-item-color-block,
.product-item-scu-item-text-container.notallowed .product-item-scu-item-text-block {
    position: relative;
    outline-color: #a9adb4 !important;
}

.product-item-scu-item-color-container.notallowed .product-item-scu-item-color-block:after,
.product-item-scu-item-text-container.notallowed .product-item-scu-item-text-block:after {
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: rgba(255, 255, 255, 0.75) url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNiIgaGVpZ2h0PSIyNiIgdmlld0JveD0iMCAwIDI2IDI2Ij4gIDxwYXRoIGZpbGw9IiNBOUFEQjQiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTE0LjM5MjEyNjgsMTMuMjMyMzAyOSBMMjUuOTkyLDEuNDE4IEwyNC42LDAgTDEyLjk5OTk5NTYsMTEuODE0NDM2NCBMMS40LDAgTDAuMDA5LDEuNDE5IEwxMS42MDc4Njg3LDEzLjIzMjI5NzUgTDAuNDczLDI0LjU3MyBMMS44NjUsMjUuOTkxIEwxMi45OTk5OTkzLDE0LjY1MDE2NDUgTDI0LjEzNCwyNS45OSBMMjUuNTI2LDI0LjU3MiBMMTQuMzkyMTI2OCwxMy4yMzIzMDI5IFoiLz48L3N2Zz4=) no-repeat center;
    background-size: 80% 80%;
    content: "";
}

/*
.product-item-scu-item-text-block:hover,
.product-item-scu-item-color-block:hover,
.product-item-scu-item-text-container.selected .product-item-scu-item-text-block,
.product-item-scu-item-color-container.selected .product-item-scu-item-color-block { outline-color: #000; }
*/

/*Description*/
 
.product-item-description-container p {
    color: #575757;
    font-size: 13px;
}

/*Buttons*/
.product-item-button-container { text-align: center; }

.product-item-button-container .btn { margin-bottom: 2px; }

/*Stickers*/
.product-item-sticker,
.product-item-sticker-round { display: none; }

/*More*/
.product-item-more-container {
    position: relative;
    display: block;
    box-sizing: border-box;
    padding: 15px 15px 5px;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: all 300ms ease;
}

.product-item-more-wrapper {
    position: relative;
    display: block;
    margin-bottom: 15px;
    padding-top: 116%;
    width: 100%;
}

.product-item-more {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: #f3f3f3 url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjk3LjYxMyAyOTcuNjEzIiBzdHlsZT0iZmlsbDogcmdiKDEzMCwgMTMwLCAxMzApOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PGcgc3R5bGU9ImZpbGw6IHJnYigxMzAsIDEzMCwgMTMwKTsiPjxjaX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ny44NTIiIHI9IjE0LjgzIiBzdHlsZT0iZmlsbDogcmdiKDEzMCwgMTMwLCAxMzApOyI+PC9jaXJjbGU+PC9nPjxnIHN0eWxlPSJmaWxsOiByZ2IoMTMwLCAxMzAsIDEzMCk7Ij48L2c+PGcgc3R5bGU9ImZpbGw6IHJnYigxMzAsIDEzMCwgMTMwKTsiPjwvZz48ZyBzdHlsZT0iZmlsbDogcmdiKDEzMCwgMTMwLCAxMzApOyI+PC9nPjxnIHN0eWxlPSJmaWxsOiByZ2IoMTMwLCAxMzAsIDEzMCk7Ij48L2c+PGcgc3R5bGU9ImZpbGw6IHJnYigxMzAsIDEzMCwgMTMwKTsiPjwvZz48ZyBzdHlsZT0iZmlsbDogcmdiKDEzMCwgMTMwLCAxMzApOyI+PC9nPjxnIHN0eWxlPSJmaWxsOiByZ2IoMTMwLCAxMzAsIDEzMCk7Ij48L2c+PGcgc3R5bGU9ImZpbGw6IHJnYigxMzAsIDEzMCwgMTMwKTsiPjwvZz48ZyBzdHlsZT0iZmlsbDogcmdiKDEzMCwgMTMwLCAxMzApOyI+PC9nPjxnIHN0eWxlPSJmaWxsOiByZ2IoMTMwLCAxMzAsIDEzMCk7Ij48L2c+PGcgc3R5bGU9ImZpbGw6IHJnYigxMzAsIDEzMCwgMTMwKTsiPjwvZz48ZyBzdHlsZT0iZmlsbDogcmdiKDEzMCwgMTMwLCAxMzApOyI+PC9nPjxnIHN0eWxlPSJmaWxsOiByZ2IoMTMwLCAxMzAsIDEzMCk7Ij48L2c+PGcgc3R5bGU9ImZpbGw6IHJnYigxMzAsIDEzMCwgMTMwKTsiPjwvZz48ZyBzdHlsZT0iZmlsbDogcmdiKDEzMCwgMTMwLCAxMzApOyI+PC9nPjwvc3ZnPg==) no-repeat center;
    background-size: 50%;
    opacity: .7;
    transition: opacity 300ms ease;
}

 
.product-item-more-title {
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input[type='number'] { -moz-appearance: textfield; }

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { -webkit-appearance: none; }

.NOT_AVAILABLE{
    border: 0;
    background: #fff;
    color: #ff4c4c;
    font-size: 16px;
    padding: 0px;
    margin-left: -10px;
    white-space: nowrap;
}



.product-item-idetails{
    display: block;
 
}
 
/*
.product-item-idetails{
    display:none;
}
*/
/*
@media (min-width: 992px){

    .product-item:hover .product-item-idetails{
        display: block;
        position: absolute;
        z-index: 100;
        background: #fff;
        margin-left: -15px;
        padding: 8px 16px;
        margin-top: -6px;
        width: 99.2%;
        border-radius: 0 0 10px 10px;
        box-shadow: 3px 15px 20px 0 rgba(0,0,0,.1);
    }
    
}
*/

.product-item-info-tag{
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 50;
}

.product-item-info-hit{
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
    color: #fff;
    background: #A1A1A1;
    display: inline-block;

}

.product-item-info-sale{
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
    color: #fff;
    background: #d10f17;
    display: inline-block;
}

/*
.product-item-line .product-item-info-hit{
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 50;
    padding: 3px 10px;
    font-size: 13px;
    font-weight:600;
    border-radius: 5px;
    color: #fff;
    background: #A1A1A1;

}*/

.favorites_card {
    font-size: 18px;
    color: #818084;
    cursor: pointer;
    transition: all .2s linear;
}

.favorites_card.favorites_active {
    font-size: 18px;
    color: #AC0A11;
    cursor: pointer;
}

.item-card-actions-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-item-line .item-card-actions-container {
    position: absolute;
    top: 0px;
    right: 40px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.item-card-action-button {
    width: 28px;
    height: 28px;
    background: #FFFFFFCC;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s linear;
    color: #818084;
}

.item-card-action-button:hover {
    background: #FFFFFF;
    color: #AC0A11;
}

.item-card-action-button:hover .favorites_card {
    color: #AC0A11;
}

.custom_price{
    color: #A1A1A1;
    font-weight: 600;
    font-size: 15px;
    margin-left: 7px;
}


/* ===========================================
   СТИЛИ ДЛЯ ВИДА ПЛИТКОЙ (PT-PRODUCT-CARD)
========================================== */

.pt-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #EFEEF1;
    border-radius: 25px;
    padding: 20px;
    position: relative;
    box-sizing: border-box;
    transition: box-shadow 0.2s;
}
.pt-product-card:hover { box-shadow: 0 10px 20px 0 rgba(0,0,0,.1); }

/* Image Block */
.pt-card-top { position: relative; width: 100%; margin-bottom: 15px; }
.pt-card-image-link { display: block; width: 100%; height: 180px; border-radius: 8px; overflow: hidden; }
.pt-card-image { width: 100%; height: 100%; background-size: contain; background-position: center; background-repeat: no-repeat; }

/* Badges */
.pt-card-badges {     
    position: absolute;
    top: 0px;
    left: 0px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 15; 
}
.pt-badge-sale, .pt-badge-hit {     
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 32px; 
}
.pt-badge-sale { background: #D92A22; }
.pt-badge-hit { background: #2FB844; }

/* Actions (Icons) */
.pt-card-actions { position: absolute; top: 0px; right: 0px; display: flex; flex-direction: row; gap: 8px; z-index: 15; }
.pt-action-btn { width: 32px; height: 32px; background: rgba(255,255,255,0.85); border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #818084; border: none; transition: all 0.2s; }
.pt-action-btn:hover { background: #fff; color: #00B1BA; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

/* Slider Dots */
.pt-slider-dots { position: absolute; bottom: -12px; left: 0; width: 100%; display: flex; justify-content: center; gap: 6px; z-index: 5; }
.pt-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.6); border: 1px solid #ccc; cursor: pointer; }
.pt-dot.active, .pt-dot:hover { background: #00B1BA; border-color: #00B1BA; }

/* Info Block */
.pt-card-info { margin-bottom: 10px; }
.pt-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; font-size: 14px; color: #292A2A; font-weight: 500; }
.pt-title { color: #292A2A; font-size: 14px; font-weight: 500; text-decoration: none; display: block; margin-bottom: 4px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pt-title:hover { color: #00B1BA; }
.pt-article { color: #878D91; font-size: 12px; }

/* Delivery */
.pt-delivery { padding-top: 10px; border-top: 1px solid #F3F4F5; margin-bottom: 10px; }
.pt-del-row { display: flex; gap:4px; font-size: 14px; margin-bottom: 4px; }
.pt-del-label { color: #878D91; }
.pt-del-val { color: #292A2A; font-weight: 500; }

/* Stock (Наличие) */
.pt-stock { display: flex; align-items: center; gap: 6px; margin-bottom: 15px; font-size: 13px; color: #2FB844; }
.pt-stock-icon { display: flex; align-items: center; }
.pt-stock-text { font-weight: 500; }
.pt-stock-badge { background: rgba(47, 184, 68, 0.20); color: #2FB844; padding: 2px 6px; border-radius: 4px; font-size: 12px; font-weight: 500; }
.out-of-stock-text { color: #D10F17 !important; background: transparent; padding: 0; font-size: 13px; font-weight: 500; }

/* SKU */
.pt-scu-container { margin-bottom: 15px; }
.pt-sku-title { font-size: 13px; font-weight: 600; color: #A1A1A1; margin-bottom: 8px; }
.pt-sku-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pt-scu-item-text-container { cursor: pointer; }
.pt-sku-text { padding: 6px 12px; background: #F2F2F3; border-radius: 5px; font-size: 13px; color: #292A2A; display: inline-block; transition: all 0.2s; }
.pt-scu-item-text-container.selected .pt-sku-text { background: #00B1BA; color: #fff; }

/* Bottom: Price & Button */
.pt-card-bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.pt-price-block { display: flex; flex-direction: column; }
.pt-price-current { color: #292A2A; font-size: 20px; font-weight: 600; line-height: 1.2; }
.pt-price-old { color: #878D91; font-size: 14px; text-decoration: line-through; line-height: 1.2; margin-top: 2px; }

/* Button & Quantity */
.pt-btn-wrapper { position: relative; width: 48px; height: 48px; }
.pt-cart-btn { width: 48px; height: 48px; background: #00B1BA; border-radius: 32px; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s; position: absolute; right: 0; bottom: 0; }
.pt-cart-btn:hover { background: #0099a1; }
.pt-cart-btn.out-of-stock { background: transparent; width: auto; height: auto; position: relative; color: #D10F17; font-weight: 600; font-size: 14px; }

/* Quantity Selector */
.pt-quantity-block { position: absolute; right: 0; bottom: 0; width: 130px; height: 48px; background: #F3F4F5; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; padding: 0 5px; z-index: 10; }
.pt-qty-btn { width: 30px; height: 30px; background: #fff; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: bold; color: #292A2A; cursor: pointer; user-select: none; }
.pt-qty-input { width: 50px; text-align: center; border: none; background: transparent; font-size: 16px; font-weight: 500; color: #292A2A; }
.pt-qty-input:focus { outline: none; }

.product-item-hidden { display: none; }

/* ===========================================
   НОВЫЕ СТИЛИ ДЛЯ ВИДА СПИСКОМ (LINE-NEW) - FIGMA
   Префикс: line-nw-
========================================== */

.product-item-line-new {
    display: flex;
    width: 100%;
    background: #fff;
    border: 1px solid #DEE2E3;
    border-radius: 12px;
    padding: 12px;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
    align-items: flex-start;
}

/* Левая колонка (Картинка) */
.line-nw-left {
    flex-shrink: 0;
    width: 210px;
    min-height: 210px;
    position: relative;
    margin-right: 18px;
}

.line-nw-image-box {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.line-nw-image-box img,
.line-nw-image-box span {
    max-width: 170px;
    max-height: 170px;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Бейджи в списке */
.line-nw-badge {
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 2px 8px;
    border-radius: 32px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    z-index: 20;
}
.line-nw-badge-hit { background: #2FB844; }
.line-nw-badge-sale { background: #D92A22; }

/* Средняя колонка (Инфо) */
.line-nw-middle {
    flex: 1;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.line-nw-info-head {
    margin-bottom: 8px;
}

.line-nw-title {
    display: block;
    color: #292A2A;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 4px;
}
.line-nw-title:hover { color: #00B1BA; }

.line-nw-code {
    color: #878D91;
    font-size: 14px;
    margin-bottom: 12px;
}

/* ===== НОВЫЕ СТИЛИ ДЛЯ ХАРАКТЕРИСТИК (FIGMA) ===== */
.line-nw-props {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-right: 40px;
}

/* ===== Строка свойства ===== */
.line-nw-prop-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    position: relative;
    margin-bottom: 4px;
}

/* ===== Название свойства (слева) ===== */
.line-nw-prop-name {
    color: #878D91;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 18.9px;
    flex-shrink: 0;              /* Не сжимать */
    white-space: nowrap;         /* Название в одну строку */
    word-wrap: break-word;
}

/* ===== ТОЧКИ (посередине) ===== */
.line-nw-prop-dots {
    flex: 1;                     /* Занимает всё свободное место */
    min-width: 10px;             /* Минимальная длина точек */
    border-bottom: 1px dotted #ccc;
    position: relative;
    bottom: 0px;                 /* Выравнивание по базовой линии */
    pointer-events: none;
}

/* ===== Значение свойства (справа) ===== */
.line-nw-prop-val {
    color: #292A2A;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 18.9px;
    max-width: 300px;
    text-align: right;
    flex-shrink: 0;              /* Не сжимать */
    white-space: nowrap;         /* Значение в одну строку */
    word-wrap: break-word;
}

/* Точки-разделитель между названием и значением 
.line-nw-prop-row::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        #ccc 0,
        #ccc 2px,
        transparent 2px,
        transparent 4px
    );
    z-index: 0;
}
*/

/* Стили для ссылок SKU внутри характеристик */
.line-nw-sku-vals {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
}

.line-nw-sku-link {
    color: #292A2A;
    text-decoration: none;
    font-size: 14px;
    padding: 2px 6px;
    background: #F3F4F5;
    border-radius: 4px;
    transition: all 0.2s;
}

.line-nw-sku-link:hover {
    background: #00B1BA;
    color: #fff;
}

/* Адаптив для мобильных */
@media (max-width: 1100px) {
    .line-nw-prop-name {
        min-width: 100px;
        font-size: 13px;
    }
    
    .line-nw-prop-val {
        font-size: 13px;
        max-width: 200px;
    }
    
    .line-nw-prop-row::after {
        bottom: 1px;
    }
}

@media (max-width: 767px) {
    .line-nw-prop-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        padding-bottom: 8px;
    }
    
    .line-nw-prop-row::after {
        display: none; /* Убираем точки на мобильных */
    }
    
    .line-nw-prop-name,
    .line-nw-prop-val {
        min-width: auto;
        max-width: 100%;
        text-align: left;
        padding: 0;
    }
    
    .line-nw-prop-val {
        color: #292A2A;
        font-weight: 500;
    }
    
    .line-nw-sku-vals {
        justify-content: flex-start;
    }
}

/* SKU в списке */
.line-nw-sku-box .line-nw-prop-val {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.line-nw-sku-link {
    color: #292A2A;
    text-decoration: none;
    font-size: 14px;
    padding: 2px 6px;
    background: #F3F4F5;
    border-radius: 4px;
}
.line-nw-sku-link:hover {
    background: #00B1BA;
    color: #fff;
}

/* Правая колонка (Покупка) */
.line-nw-right {
    flex-shrink: 0;
    width: 264px;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Цена */
.line-nw-price-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.line-nw-price-cur {
    color: #292A2A;
    font-size: 24px;
    font-weight: 600;
}
.line-nw-price-old {
    color: #878D91;
    font-size: 14px;
    text-decoration: line-through;
}

/* Наличие */
.line-nw-stock {
    display: flex;
    align-items: center;
    gap: 8px;
}
.line-nw-stock-icon { display: flex; align-items: center; }
.line-nw-stock-txt { color: #2FB844; font-size: 14px; font-weight: 500; }
.line-nw-stock-badge {
    background: rgba(47, 184, 68, 0.20);
    color: #2FB844;
    padding: 3px 8px;
    border-radius: 32px;
    font-size: 12px;
    font-weight: 600;
}
.line-nw-stock-order { color: #D10F17 !important; }

/* Кнопки */
.line-nw-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.line-nw-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F3F4F5;
    border-radius: 8px;
    padding: 0 5px;
    height: 40px;
}

.line-nw-btns-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.line-nw-btn-cart {
    flex: 1;
    height: 48px;
    background: #00B1BA;
    border-radius: 8px;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 16px;
    padding-right: 16px;
}
.line-nw-btn-cart:hover { background: #0099a1; }

.line-nw-btn-order {
    flex: 1;
    height: 48px;
    background: transparent;
    border-radius: 8px;
    border: 1px solid #DEE2E3;
    color: #D10F17;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.line-nw-btn-click {
    width: 73%;
    height: 48px;
    background: rgba(0, 177, 186, 0.10);
    border-radius: 8px;
    border: none;
    color: #00B1BA;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.line-nw-btn-icons {
    display: flex;
    flex-direction: row-reverse;
    gap: 12px;
}

.line-nw-icon-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #878D91;
    cursor: pointer;
}
.line-nw-icon-btn:hover { color: #00B1BA; }

/* Доставка */
.line-nw-delivery {
    border-top: 1px solid #F3F4F5;
    padding-top: 8px;
    margin-top: auto;
}

.line-nw-del-row {
    display: flex;
    gap: 4px;
    font-size: 14px;
    margin-bottom: 4px;
}
.line-nw-del-lbl { color: #878D91; }
.line-nw-del-val { color: #292A2A; }

/* Адаптив */
@media (max-width: 1100px) {
    .product-item-line-new {
        flex-wrap: wrap;
    }
    .line-nw-left {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .line-nw-middle, .line-nw-right {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .line-nw-right { margin-top: 20px; }
}

/* Скрываем стандартный селектор количества Битрикс, но оставляем в DOM */
[data-entity="quantity-block"],
.line-nw-qty-row.product-item-hidden {
    display: none !important;
}

/* ===== МОДАЛЬНОЕ ОКНО «КУПИТЬ В 1 КЛИК» — ИСПРАВЛЕННЫЕ СТИЛИ ===== */

/* ===== МОДАЛЬНОЕ ОКНО «КУПИТЬ В 1 КЛИК» — СТИЛИ ПО FIGMA ===== */

/* Оверлей — слегка затемнённый */
.oneclick-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(36, 37, 39, 0.45) !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    overflow: auto !important;
}

/* Когда окно открыто — отображаем */
.oneclick-modal-overlay[style*="display: flex"] {
    display: flex !important;
}

/* Само окно */
.oneclick-modal-window {
    width: 100%;
    max-width: 924px;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
    z-index: 100000 !important;
    animation: oc-slide-in 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

@keyframes oc-slide-in {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Кнопка закрытия */
.oneclick-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border: 1px solid #DEE2E3;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
    z-index: 100001 !important;
}
.oneclick-modal-close:hover { 
    background: #fff; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: scale(1.05);
}
.oneclick-modal-close svg {
    width: 24px;
    height: 24px;
}

/* Блокируем прокрутку фона */
body.modal-open {
    overflow: hidden !important;
}

/* Принудительно «опускаем» карточки товаров */
body.modal-open .product-item-line-new,
body.modal-open .product-item,
body.modal-open .pt-product-card,
body.modal-open .item-card-actions-container {
    z-index: 1 !important;
    pointer-events: none !important;
}

/* ===== Заголовок ===== */
.oneclick-modal-title {
    font-size: 28px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #292A2A;
    text-align: left;
}

/* ===== Блок товара (по макету Figma) ===== */
.oneclick-product-block {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 0;
    border-bottom: none;
}

.oneclick-product-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 0;
    overflow: hidden;
    background: #F3F4F5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.oneclick-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.oneclick-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}
.oneclick-product-name {
    align-self: stretch;
    color: #292A2A;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 20.8px;
    word-wrap: break-word;
}
.oneclick-product-code {
    color: #878D91;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 18.9px;
    word-wrap: break-word;
}

.oneclick-product-right-block {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
    flex-shrink: 0;
}

.oneclick-product-price {
    color: #292A2A;
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    white-space: nowrap;
}

.oneclick-qty-wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    display: inline-flex;
}

/* Контрол количества */
.oneclick-qty-control {
    width: 157px;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    display: inline-flex;
}

.oneclick-qty-btn {
    width: 32px;
    height: 32px;
    background: #F3F4F5;
    border: none;
    border-radius: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.oneclick-qty-btn:hover {
    background: #E0E2E5;
}

.oneclick-qty-btn svg {
    width: 14px;
    height: 14px;
}

.oneclick-qty-input {
    width: 77px;
    height: 32px;
    padding: 0 12px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #DEE2E3;
    text-align: center;
    color: #292A2A;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 22.4px;
    outline: none;
    transition: border-color 0.2s;
}

.oneclick-qty-input:focus {
    border-color: #00B1BA;
}

/* Убираем стрелки у input number */
.oneclick-qty-input::-webkit-inner-spin-button,
.oneclick-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.oneclick-qty-input[type=number] {
    -moz-appearance: textfield;
}

/* Итоговая сумма под блоком количества */
.oneclick-total-price {
    color: #292A2A;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 18.9px;
    text-align: center;
    width: 157px;
}

/* Форма */
.oneclick-form-row {
    display: flex;
    gap: 16px;
}

form.oneclick-form {
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.oneclick-input {
    flex: 1;
    height: 52px;
    padding: 12px 18px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #DEE2E3;
    outline: none;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: #292A2A;
    transition: border-color 0.2s;
}
.oneclick-input:focus { 
    border-color: #00B1BA; 
}
.oneclick-input::placeholder { 
    color: #878D91; 
}

.oneclick-form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.oneclick-submit-btn {
    min-width: 230px;
    height: 52px;
    background: #00B1BA;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0 24px;
}
.oneclick-submit-btn:hover { 
    background: #0099a1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,177,186,0.3);
}
.oneclick-submit-btn:disabled {
    background: #C0BFC2;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.oneclick-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #878D91;
    cursor: pointer;
}
.oneclick-consent input {
    width: 20px;
    height: 20px;
    accent-color: #00B1BA;
    cursor: pointer;
}
.oneclick-consent a {
    color: #878D91;
    text-decoration: underline;
}
.oneclick-consent a:hover { 
    color: #00B1BA; 
}

/* Сообщения */
.oneclick-message {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    display: none;
}
.oneclick-message.success {
    display: block;
    background: rgba(47, 184, 68, 0.12);
    color: #2FB844;
    border-left: 3px solid #2FB844;
}
.oneclick-message.error {
    display: block;
    background: rgba(209, 15, 23, 0.12);
    color: #D10F17;
    border-left: 3px solid #D10F17;
}

/* Адаптив */
@media (max-width: 768px) {
    .oneclick-modal-window { 
        padding: 24px; 
    }
    .oneclick-modal-title { 
        font-size: 24px; 
    }
    .oneclick-product-block { 
        flex-wrap: wrap;
        gap: 16px;
    }
    .oneclick-product-right-block {
        width: 100%;
        justify-content: space-between;
        gap: 16px;
    }
    .oneclick-product-price {
        font-size: 18px;
    }
    .oneclick-qty-control {
        width: auto;
        gap: 6px;
    }
    .oneclick-qty-input {
        width: 60px;
    }
    .oneclick-total-price {
        width: auto;
    }
    .oneclick-form-row { 
        flex-direction: column; 
        gap: 12px;
    }
    .oneclick-form-actions { 
        flex-direction: column; 
        align-items: stretch;
    }
    .oneclick-submit-btn { 
        width: 100%; 
    }
    .oneclick-consent {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .oneclick-modal-title { 
        font-size: 20px; 
    }
    .oneclick-product-name { 
        font-size: 14px; 
    }
    .oneclick-product-price { 
        font-size: 16px; 
    }
    .oneclick-qty-input {
        width: 50px;
        font-size: 14px;
    }
}