/* New Products Slider Styles */

.new-products-slider-title {
    color: #000;
    font-family: Verdana, sans-serif;
    font-size: 15pt;
    font-weight: normal;
    margin: 20px 0;
    padding-left: 15px;
    text-align: center;
}
@media only screen and (min-width: 768px) {
    .new-products-slider-title {
        text-align: left;
    }
}
.new-products-slider-container {
    margin-bottom: 20px;
    position: relative;
}
.new-products-slider {
    position: relative;
    padding: 0 40px;
}
.slider-track-wrapper {
    overflow: hidden;
    border-radius: 8px;
}
.slider-track {
    display: flex;
    transition: transform 0.3s ease;
}
.slider-item {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 15px;
}
.slider-item-link {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    text-decoration: none;
    min-height: 155px;
}
.slider-item img {
    width: 155px;
    height: 155px;
    object-fit: contain;
}
.slider-item-title {
    display: block;
    width: 180px;
    max-width: 100%;
    margin: 0 auto 6px;
    text-align: center;
    font-family: Verdana, sans-serif;
    font-size: 12px;
    color: #000;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.slider-item-title:hover {
    color: #006cac;
}
.slider-item-price {
    width: 180px;
    max-width: 100%;
    margin: 0 auto 8px;
    text-align: center;
    font-family: Verdana, sans-serif;
    font-size: 11pt;
    color: #1d1f23;
}
.slider-item-price span {
    font-weight: bold;
    color: #0045be;
}
.slider-item-add.count {
    width: 180px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.slider-item-add .count-name.add-product-to-basket {
    cursor: pointer;
    display: inline-block;
    background-color: #fbce34;
    color: #1d1f23;
    font-family: Verdana, sans-serif;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    padding: 8px 18px;
    border-radius: 20px;
}
.slider-item-add .icon_show {
    display: none;
    align-items: center;
    gap: 8px;
}
.slider-item-add .icon_show.active {
    display: flex;
}
.slider-item-add .quantity-button {
    position: relative;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background-color: #3b3d43;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-item-add .quantity-button img {
    display: none;
}
.slider-item-add .quantity-button.remove:before {
    content: '';
    width: 12px;
    height: 1px;
    background-color: #fff;
}
.slider-item-add .quantity-button.add:before {
    content: '';
    width: 12px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.slider-item-add .quantity-button.add:after {
    content: '';
    width: 12px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
}
.slider-item-add .prod_quantity {
    width: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 2px;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    padding: 0;
}
.slider-arrow:hover {
    background: #f0f0f0;
    border-color: #999;
}
.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}
.slider-arrow-prev {
    left: 5px;
}
.slider-arrow-next {
    right: 5px;
}
.slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.slider-arrow:disabled:hover {
    background: #fff;
    border-color: #ddd;
}
@media (max-width: 768px) {
    .new-products-slider {
        padding: 15px 35px;
    }

    .slider-arrow {
        width: 30px;
        height: 30px;
    }
}
