.btn-back {
    display: inline-block;
    padding: 10px 20px;
    background: #f5e6d3;
    color: #c4816e;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-back:hover {
    background: #e8d5c0;
    color: #b06d5a;
    transform: translateX(-3px);
}

.product-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(196, 129, 110, 0.08);
}

/* СЛАЙДЕР */
.product-slider {
    background: #fffbf8;
    border-radius: 20px;
    padding: 20px;
}

.slider-image {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fffbf8;
    border-radius: 16px;
}

.slider-image img {
    max-height: 330px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Стрелки карусели */
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(196, 129, 110, 0.7);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s;
}

.product-slider:hover .carousel-control-prev,
.product-slider:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 60%;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #FFABB9;
}

/* Миниатюры */
.carousel-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 70px;
    height: 70px;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0.6;
    transition: all 0.2s;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: #FFABB9;
}

/* Информация о товаре */
.product-title {
    font-size: 32px;
    font-weight: 600;
    color: #5c3d2e;
    margin-bottom: 20px;
}

.product-info {
    background: #fff5ef;
    padding: 18px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.info-row {
    padding: 8px 0;
    border-bottom: 1px solid #f0dfd3;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    width: 100px;
    display: inline-block;
    color: #a87b66;
}

.info-value {
    color: #5c3d2e;
    font-weight: 500;
}

.in-stock {
    color: #6b8c5c;
    font-weight: 600;
}

.out-stock {
    color: #d4a5a5;
    font-weight: 600;
}

.product-price {
    margin-bottom: 20px;
    padding: 15px;
    text-align: center;
    background: linear-gradient(135deg, #fff5ef 0%, #fffbf8 100%);
    border-radius: 20px;
}

.price-value {
    font-size: 48px;
    font-weight: 800;
    color: #FFABB9;
    letter-spacing: -1px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #5c3d2e;
    margin-bottom: 12px;
}

.desc-text {
    background: #fffbf8;
    padding: 15px;
    border-radius: 14px;
    line-height: 1.7;
    color: #7a5a4a;
    font-size: 14px;
}

/* Кнопки */
.product-buttons {
    margin-top: 20px;
}

.quantity-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.qty-btn {
    width: 44px;
    height: 44px;
    border: 2px solid #f0dfd3;
    background: white;
    border-radius: 12px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    color: #c4816e;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #f5e6d3;
    border-color: #FFABB9;
}

#qty {
    width: 80px;
    height: 44px;
    text-align: center;
    border: 2px solid #f0dfd3;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #5c3d2e;
}

.btn-cart {
    width: 100%;
    padding: 16px;
    background: #FFABB9;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 12px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 171, 185, 0.4);
}

.btn-cart:hover {
    background: #ff95a6;
    transform: translateY(-2px);
}

.btn-cart-link {
    display: block;
    width: 100%;
    padding: 12px;
    background: #fff5ef;
    color: #c4816e;
    text-align: center;
    text-decoration: none;
    border: 2px solid #f0dfd3;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-cart-link:hover {
    background: #f5e6d3;
    border-color: #FFABB9;
    color: #b06d5a;
}

.review-link {
    margin-top: 20px;
    text-align: center;
}

.review-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #FFBECA;
    color: white;
    border: none;
    border-radius: 40px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(255, 190, 202, 0.3);
}

.review-btn:hover {
    background: #ffa5b5;
    transform: translateY(-2px);
    color: white;
}

/* Отзывы */
.reviews-section {
    margin-top: 40px;
}

.review-item {
    background: #fffbf8;
    padding: 18px;
    border-radius: 18px;
    margin-bottom: 15px;
    border-left: 4px solid #FFABB9;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-author {
    color: #5c3d2e;
    font-weight: 600;
}

.review-date {
    font-size: 12px;
    color: #c9aa98;
}

.review-rating {
    color: #FFBECA;
    margin-bottom: 10px;
    font-size: 14px;
}

.review-text {
    margin: 0;
    color: #7a5a4a;
    line-height: 1.6;
}

/* Адаптив */
@media (max-width: 768px) {
    .product-card {
        padding: 20px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .price-value {
        font-size: 36px;
    }
    
    .slider-image {
        height: 250px;
    }
    
    .thumbnail {
        width: 55px;
        height: 55px;
    }
}
.search{
    background-color: #ff95a6;
}
.resest{
    background-color: #7a5a4a;
    color: #f5e6d3;
}
.register{
    background-color: #ff95a6;
}
.register:hover{
    background-color: #ff95a6;
}
.login{
     background-color: #ff95a6;
}
.login:hover{
    background-color: #ff95a6;
}
.logo{
    height: 70px;
    width: 80px;
    border-radius: 100px;
}
.navbar{
    background-color: #7a5a4a;
   
}
