.product-card {
    transition: transform 0.3s;
    overflow: hidden;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-image {
    object-fit: cover;
    aspect-ratio: 4/5;
    width: 100%;
    height: auto;
}

.product-title {
    font-size: 1rem;
    color: #333;
    text-decoration: none;
}

.product-price .new-price {
    font-weight: bold;
    color: #007bff;
}

.product-price .old-price {
    color: #6c757d;
    font-size: 0.9rem;
}

.product-gallery .main-image-container {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.product-gallery .main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbnails {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.gallery-thumbnails .thumbnail {
    width: 60px;
    height: 75px;
    margin: 0 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.gallery-thumbnails .thumbnail.active,
.gallery-thumbnails .thumbnail:hover {
    opacity: 1;
}

.gallery-thumbnails .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.product-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.product-title-badge {
    background-color: #28a745;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.price-header, 
.meta-header,
.technologies-header {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.price-details {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.price-item:last-child {
    border-bottom: none;
}

.price-label {
    color: #4a4a4a;
    font-weight: 500;
}

.new-price {
    font-size: 1.3rem;
    color: #28a745;
    font-weight: 700;
}

.old-price {
    color: #dc3545;
    font-size: 1.1rem;
}

.purchase-price {
    color: #17a2b8;
    font-weight: 600;
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.meta-label {
    color: #4a4a4a;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.meta-value {
    color: #333;
    font-weight: 500;
}

.technologies-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.technology-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.technology-item i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .meta-grid,
    .technologies-list {
        grid-template-columns: 1fr;
    }
}

.gallery-thumbnails .thumbnail {
    position: relative;
    transition: opacity 0.3s;
}

.gallery-thumbnails .thumbnail.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #007bff;
}

.gallery-thumbnails .thumbnail:not(.active) {
    opacity: 0.6;
}

.fullscreen-image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullscreen-image-overlay.active {
    display: flex;
    opacity: 1;
}

.fullscreen-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}



.category-header {
display: flex;
align-items: center;
gap: 10px;
}

.category-icon {
width: 33px; /* регулировка размера иконки */
height: auto;
}

.category-title {
font-size: 1.5rem; /* регулировка размера текста */
line-height: 1.2;
}

@media (max-width: 576px) {
.category-icon {
width: 33px;
}
.category-title {
font-size: 1.25rem;
}
}



