/*#c03f68*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    
}

h1, h2 {
    text-align: center;
    color:   #c03f68; 
    margin-bottom: 40px;
    
}

.categories {display: flex;
justify-content: center;
margin-bottom: 30px;
flex-wrap: wrap;
    
}

.category-btn {background: none;
border: 1px solid   #c03f68;
color:   #c03f68;
padding: 8px 20px;
margin: 5px; 
cursor: pointer;
transition: all 0.3s;}

.category-btn.active, .category-btn:hover {
    background:   #c03f68;
    color: white;
    
}







.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
    
}

.product-card:hover {
    transform: translateY(-10px);
    
}

.product-badge {
    position: absolute; 
    top: 10px; right: 10px; 
    background:   #c03f68;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    
}

.product-image {
    height: 300px; 
    width: 100%; 
    object-fit: cover;
    
}

.product-info {
    padding: 20px;
    
}







.product-title {
    margin: 0 0 10px;
    font-size: 1.2rem;
    
}

.product-price {
    color:   #c03f68;
    font-weight: bold; 
    font-size: 1.1rem; 
    margin-bottom: 15px;
    
}

.product-actions {
    display: flex;
    justify-content: space-between;
    
}


/* Страница товара */
.product-page {display: flex;
flex-wrap: wrap;
margin-top: 40px;
    
}

.product-gallery {
    flex: 1; 
min-width: 300px;
    
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    
}

.thumbnails {
    display: flex;
    margin-top: 15px; gap: 10px;
    
}






.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    
}

.thumbnail.active {
    border-color:   #c03f68;
    
}

.product-details {
    flex: 1;
    min-width: 300px; 
    padding: 0 30px;
    
}

.back-btn {
    display: inline-block;
    margin-bottom: 20px; 
    color:   #c03f68;
    text-decoration: none;
    font-weight: bold;
    
}









.product-description {
    margin: 20px 0;
    line-height: 1.6;
    
}

.product-options {
    margin: 20px 0;
    }

.option-label {
    display: block; 
    margin-bottom: 8px; 
    font-weight: bold;
    
}