/* Стили для блока с информацией о товаре */
.product-details {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.product-details h2 {
    margin-top: 0;
    color: #333;
}

.product-vendor,
.product-vendor-code,
.product-category,
.product-price,
.product-country,
.product-availability {
    margin-bottom: 10px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.current-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.2em;
}

.params-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.params-table td {
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.params-table tr:last-child td {
    border-bottom: none;
}

.product-link {
    margin-top: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.gallery-slider {
    position: relative;
    max-width: 600px;
    margin: 20px auto;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-item {
    flex: 0 0 100%;
}

.gallery-image {
    width: auto;
    height: auto;
    display: block;
    max-height: 50dvh;
    margin: auto;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slider-dots {
    text-align: center;
    padding: 10px 0;
}

.slider-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.slider-dot.active {
    background: #333;
}