.yt-comment-container {
            display: flex;
            gap: 16px;
            max-width: 100%;
            background-color: #ffffff;
            padding: 16px;
            border-radius: 8px;
        }

       
.yt-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #f27025;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 500;
            font-size: 16px;
            flex-shrink: 0;
            user-select: none;
}

.yt-comment-box {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
}

.yt-comment-input {
            width: 100%;
            border: none;
            border-bottom: 1px solid #e5e5e5;
            font-size: 14px;
            line-height: 20px;
            padding-bottom: 4px;
            outline: none;
            resize: none;
            background: transparent;
            color: #0f0f0f;
            font-family: inherit;
            transition: border-color 0.2s ease;
}

.yt-comment-input:focus {
            border-bottom: 2px solid #0f0f0f;
            padding-bottom: 3px; 
}

.yt-action-buttons {
            display: none;
            justify-content: flex-end;
            gap: 8px;
            margin-top: 8px;
}


.yt-btn {
            font-family: inherit;
            font-size: 14px;
            font-weight: 500;
            border: none;
            border-radius: 18px;
            padding: 0 16px;
            height: 36px;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

.yt-btn-cancel {
            background-color: transparent;
            color: #0f0f0f;
}

.yt-btn-cancel:hover {
            background-color: rgba(0, 0, 0, 0.05);
}


.yt-btn-submit {
            background-color: #f27025;
            color: white;
}

.yt-btn-submit:hover {
            background-color: #d66a2b;
}

        
.yt-comment-box.active .yt-action-buttons {
            display: flex;
}

.yt-comments-list {
            max-width: 100%;
            margin-top: 24px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            background-color: #ffffff;
            padding: 16px;
            border-radius: 8px;
        }

.yt-comment-item {
            display: flex;
            gap: 16px;
}


.yt-comment-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 500;
            font-size: 16px;
            flex-shrink: 0;
            user-select: none;
}

.yt-comment-content {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            gap: 4px;
}


.yt-comment-header {
            display: flex;
            align-items: center;
            gap: 8px;
        }

.yt-comment-author {
            font-size: 13px;
            font-weight: 500;
            color: #0f0f0f;
            cursor: pointer;
}

.yt-comment-author.author-owner {
            background-color: #888888;
            color: white;
            padding: 2px 6px;
            border-radius: 12px;
            font-size: 12px;
}

.yt-comment-time {
            font-size: 12px;
            color: #606060;
}


.yt-comment-text {
            font-size: 14px;
            line-height: 20px;
            color: #0f0f0f;
}

.yt-comment-actions {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 4px;
}

.yt-action-btn {
            background: transparent;
            border: none;
            cursor: pointer;
            font-size: 13px;
            padding: 4px 8px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 4px;
            color: #0f0f0f;
            transition: background-color 0.1s;
}
 .rating-area{
        margin-left: 10px;
}
.yt-comment-box.active .rating-area{
        margin-bottom: 15px;
}

.yt-action-btn:hover {
            background-color: rgba(0, 0, 0, 0.05);
}

.yt-likes-count {
            font-size: 12px;
            color: #606060;
}

.yt-reply-link {
            background: transparent;
            border: none;
            font-size: 12px;
            font-weight: 500;
            color: #0f0f0f;
            cursor: pointer;
            padding: 4px 12px;
            border-radius: 12px;
}

.yt-reply-link:hover {
            background-color: rgba(0, 0, 0, 0.05);
}

.yt-replies-toggle {
            font-size: 14px;
            font-weight: 500;
            color: #065fd4;
            cursor: pointer;
            margin-top: 6px;
            display: inline-block;
            width: max-content;
            padding: 4px 8px;
            border-radius: 12px;
}

.yt-replies-toggle:hover {
            background-color: #def0ff;
}

.yt-guest-fields {
    display: none; /* По умолчанию скрыты, показываем при фокусе */
    gap: 12px;
    margin-bottom: 12px;
}

.yt-guest-input {
    flex: 1;
    border: none;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    padding: 6px 0;
    outline: none;
    color: #0f0f0f;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.yt-guest-input:focus {
    border-bottom: 2px solid #f27025; 
}

.yt-comment-box.active .yt-guest-fields {
    display: flex;
}

.title-comment-video{
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
}

.rating-area {
    overflow: hidden;
    width: 150px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating-area input[type="radio"] {
    display: none;
}

.rating-area label {
    color: #e1e1e1;
    font-size: 20px;
    margin-right: 5px;
    cursor: pointer;
    transition: color 0.2s;
}

.rating-area label:before {
    content: '★';
}

.rating-area input[type="radio"]:checked ~ label {
    color: #ffc107;
}

.rating-area label:hover,
.rating-area label:hover ~ label {
    color: #ffcc00;
}

.yt-guest-padd{
   padding: 0px;
}

.yt-guest-padd1{
    margin-bottom: 45px;
    margin-top: 0px;
}
.reviews-heading-block h2{
    margin-bottom: 0px;
}
.reviews-heading-block {
    display: flex;
    align-items: center;
    flex-wrap: wrap; 
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef2f4; 
}

.product-card-description__title {
    font-size: 22px;
    font-weight: 700;
    color: #1c1c1e;
    margin: 0;
}

.reviews-heading-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f7fa; 
    padding: 6px 12px;
    border-radius: 20px; 
}

.reviews-heading-stars {
    font-size: 16px;
    color: #e2e8f0;
    letter-spacing: -2px; 
}

.reviews-heading-stars .star.filled {
    color: #ffb800; 
    text-shadow: 0 0 1px rgba(255, 184, 0, 0.4); 
}

.reviews-heading-number {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
}

.reviews-heading-count {
    font-size: 12px;
    font-weight: 500;
    color: #718096;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 1px 8px;
    border-radius: 10px;
}

.reviews-heading-empty {
    font-size: 14px;
    color: #a0aec0;
}


@media(max-width:768px){

    .yt-comment-box.active .yt-guest-fields{
       flex-direction: column;
    }

}

