/* Секция с оборудованием (слайдер) */
.equipment-section {
    padding-top: 80px;
}

.equipment-header {
    margin-bottom: 55px;
}

.equipment-slider {
    position: relative;
}

.slider-container {
    overflow: hidden;
    border-radius: 20px;
}

.slider-track {
    display: flex;
    transition: transform 0.4s ease;
    gap: 24px;
}

.equipment-card {
    flex: 0 0 calc(33.333% - 16px);
    background-color: #f7f7fe;
    border-radius: 60px;
    padding: 38px 37px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.equipment-tags {
    display: flex;
    gap: 8px;
    position: absolute;
}

.equipment-tag {
    padding: 9px 18px;
    border-radius: 24px;
    background-color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: -0.14px;
    text-decoration: none;
    color: #ee5757;
}

.equipment-image {
    width: 100%;
    height: 306px;
    margin-bottom: 48px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equipment-image a {
    display: inline-block;
    width: 100%;
    height: 100%;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.equipment-card:hover .equipment-image img {
    transform: scale(1.05);
}

.equipment-info {
    text-align: left;
}

.equipment-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #383d4c;
    margin-bottom: 16px;
    text-decoration: none;
}

.equipment-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(56, 61, 76, 0.2);
    margin-bottom: 16px;
    margin-top: 16px;
}

.equipment-price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.equipment-price {
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #383d4c;
    letter-spacing: -0.24px;
}

.equipment-add-btn {
    width: 41px;
    height: 41px;
    background-color: #4a8cf0;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.equipment-add-btn:hover {
    transform: scale(1.1);
    background-color: #3a7bd8;
}

.plus-icon {
    color: #ffffff;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: -25px;
    right: -25px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.slider-btn {
    width: 56px;
    height: 56px;
    border: none;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(56, 61, 76, 0.1);
    pointer-events: auto;
}

.slider-btn:first-child {
    transform: scaleX(-1);
}

.slider-btn:last-child {
    transform: scaleX(-1);
}

.slider-btn:first-child:hover:not(:disabled) {
    transform: scaleX(-1);
}

.slider-btn:last-child:hover:not(:disabled) {
    transform: scaleX(-1);
}

.slider-btn:hover:not(:disabled) {
    background-color: #383d4c;
    transform: scale(1.05);
}

.slider-btn:hover:not(:disabled) img {
    filter: brightness(0) invert(1);
}

.slider-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.slider-btn-prev img {
    transform: rotate(180deg);
}

.slider-btn img {
    width: 16px;
    height: 16px;
    transition: filter 0.3s ease;
}

/* Адаптивность для слайдера */
@media (max-width: 1200px) {
    .equipment-card {
        flex: 0 0 calc(50% - 12px);
    }

    .equipment-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .slider-track {
        gap: 16px;
    }
    
    .equipment-card {
        flex: 0 0 calc(100% - 16px);
        padding: 30px 28px;
    }

    .equipment-section {
        padding: 40px 0;
    }

    .equipment-image {
        height: 240px;
        margin-bottom: 36px;
    }

    .equipment-title {
        font-size: 15px;
        line-height: 22px;
        margin-bottom: 14px;
    }

    .equipment-divider {
        margin-bottom: 14px;
    }

    .equipment-price {
        font-size: 18px;
        line-height: 22px;
    }

    .equipment-add-btn {
        width: 36px;
        height: 36px;
    }

    .plus-icon {
        font-size: 15px;
    }

    .slider-btn {
        width: 48px;
        height: 48px;
    }

    .slider-btn img {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .equipment-card {
        padding: 24px 20px;
        border-radius: 40px;
    }

    .equipment-tag {
        padding: 7px 14px;
        font-size: 12px;
        line-height: 12px;
    }

    .equipment-image {
        height: 200px;
        margin-bottom: 28px;
    }

    .equipment-title {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 12px;
    }

    .equipment-divider {
        margin-bottom: 12px;
    }

    .equipment-price {
        font-size: 16px;
        line-height: 20px;
    }

    .equipment-add-btn {
        width: 32px;
        height: 32px;
    }

    .plus-icon {
        font-size: 13px;
    }

    .slider-controls {
        left: -15px;
        right: -15px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slider-btn {
        width: 44px;
        height: 44px;
    }

    .slider-btn img {
        width: 12px;
        height: 12px;
    }
}