#review_form_wrapper {
    border-top: 1px solid #e0e0e0;
    margin-top: 30px;
    padding-top: 30px;
}
#respond {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 8px;
}
#respond .comment-reply-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}
.comment-form-rating,
.comment-form-author,
.comment-form-email,
.comment-form-comment {
    margin-bottom: 20px;
}
.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #444;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form textarea:focus {
    border-color: #005691;
    box-shadow: 0 0 8px rgba(0, 86, 145, 0.2);
    outline: none;
}
.comment-form .stars a {
    font-size: 24px;
    color: #ccc;
    text-decoration: none;
    display: inline-block;
    margin-right: 3px;
    transition: color 0.2s ease;
}
.comment-form .stars:hover a,
.comment-form .stars a:hover ~ a,
.comment-form .stars.selected a,
.comment-form .stars a.active ~ a {
    color: #ccc;
}
.comment-form .stars:hover a:hover,
.comment-form .stars a.active,
.comment-form .stars.selected a:hover,
.comment-form .stars.selected a.active {
     color: #ffb400;
}
.comment-form .form-submit input#submit {
    background-color: #005691;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    -webkit-appearance: none;
}
.comment-form .form-submit input#submit:hover {
    background-color: #003d66;
    transform: translateY(-2px);
}

/* Custom styles for product tab subheadings */
.woocommerce-tabs .panel.entry-content h3 {
    font-weight: 700;
    font-size: 1.15em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.woocommerce-tabs .panel.entry-content h3:first-child {
    margin-top: 0;
}

/* Styles for Out of Stock Notification Form */
.out-of-stock-notification-form {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.out-of-stock-form-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
    color: #444;
}

.out-of-stock-notification-form .wpcf7-form p {
    margin-bottom: 15px;
}

.out-of-stock-notification-form .wpcf7-form input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.out-of-stock-notification-form .wpcf7-form input[type="email"]:focus {
    border-color: #005691;
    box-shadow: 0 0 8px rgba(0, 86, 145, 0.2);
    outline: none;
}

.out-of-stock-notification-form .wpcf7-submit {
    background-color: #005691;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    -webkit-appearance: none;
    width: auto;
}

.out-of-stock-notification-form .wpcf7-submit:hover {
    background-color: #003d66;
    transform: translateY(-2px);
}
/* Product Advantages Block - Grid Layout */
.product-advantages-block {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    gap: 6px;
    margin: 25px 0;
    padding: 0;
    background-color: transparent;
    border: none;
}

.advantage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #fff;
    border-radius: 4px;
    padding: 5px 5px;
    flex-basis: calc(25% - 6px);
    gap: 12px;
    box-sizing: border-box;
    box-shadow: 0px 0px 3px 1px rgba(94, 126, 245, 0.29);
}

.advantage-icon {
    margin-bottom: 10px;
    flex-shrink: 0;
}

.advantage-text {
    font-size: 12px;
    line-height: 1.3;
    color: #333;
    margin: 0;
    font-weight: 500;
}
.advantage-item svg {
    width: 28px;
    height: 28px;
}
@media (max-width: 992px) {
    .advantage-item {
        flex-basis: calc(50% - 8px);
    }
}

@media (max-width: 480px) {
    .advantage-item {
        flex-basis: 100%;
    }
}