ul.wc-tabs {
    display: none;
}

#review_form {
    display: block;
    padding-top: 20px;
}

.rating-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-reviews-container {
    padding-top: 20px;

    .rating-score-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid var(--wp--preset--color--neutral-200);
    }

    .avg-rating-score {
        font-size: 52px;
        font-weight: 700;
        margin: 0;
        line-height: normal;
    }

    .reviews-total-count {
        margin: 0;
        font-size: 14px;
        font-weight: 400;
        line-height: 26px;
    }

    .woocommerce-Reviews-title {
        font-size: 0;
    }
}

.rating-histogram {
    display: flex;
    flex-direction: column;
    gap: 9px;

    @media(min-width: 768px) {
        width: 80%;
    }

    .histogram-row {
        display: flex;
        align-items: center;
        gap: 15px;

        .rating-label {
            display: flex;
            gap: 5px;
            align-items: center;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: 26px;

            &:after {
                content: "stars";
                display: inline-block;
            }
        }
        &:last-child {
            .rating-label {
                gap:10px;
            }
        }
    }

    .rating-count {
        font-size: 13px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
        color: var(--wp--preset--color--text-secondary);
    }

    .progress {
        display: flex;
        border-radius: 4px;
        background-color: var(--wp--preset--color--neutral-200);
        height: 8px;
        width: 100%;

        .progress-bar {
            display: flex;
            flex-direction: column;
            justify-content: center;
            color: #fff;
            text-align: center;
            white-space: nowrap;
            background-color: var(--wp--preset--color--primary);
            transition: width .6s ease;
            border-radius: 4px;
        }
    }
}

.woocommerce-Tabs-panel--description p {
    font-size: 14px;
    font-weight: 400;
    line-height: 26px;
    margin-bottom: 0;
}

.woocommerce-Tabs-panel--description, .woocommerce-Tabs-panel--additional_information {
    max-width: 800px;

    h2 {
        font-family: "Space Grotesk", sans-serif ;
        font-size: 28px;
        font-style: normal;
        font-weight: 700;
        margin-bottom: 0;
        margin-top: 29px;
    }
}

.woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes tr {
    background-color: transparent;
    border: none;
}

.comment-form-rating {
	grid-column: 1 / -1;
}

@media(min-width: 1024px) {
    .product-reviews-container{
        display: flex;
        justify-content: flex-start; 
        align-items: flex-start;
        gap: 4%;

        .reviews-summary-section,
        .review-form-header {
            flex-basis: 32%;
        }
    }
}

.wp-block-woocommerce-product-details .woocommerce-tabs {
    .tabs.wc-tabs, .tabs .description_tab, .tabs .additional_information_tab {
        display: none;
    }
}

.woocommerce div.product .wp-block-woocommerce-product-details .woocommerce-tabs .panel {
    display: block !important;
    visibility: visible;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--wp--preset--color--neutral-200);
    margin-bottom: 28px;

    &:last-child {
        border: 0;
        padding: 0;
        margin: 0;
    }
}

.woocommerce .woocommerce-Tabs-panel table.shop_attributes {
    border: 0;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 10px;
    border-collapse: collapse;
}

.woocommerce .woocommerce-Tabs-panel table.shop_attributes th {
    border: 0;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    padding: 15px 20px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    text-align: left;
    width: 250px;

    @media (max-width: 425px) {
        width: 40%;
    }
}

.woocommerce .woocommerce-Tabs-panel table.shop_attributes td {
    border: 0;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    padding: 13px 20px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.woocommerce .woocommerce-Tabs-panel table.shop_attributes tr:nth-child(even) td, 
.woocommerce .woocommerce-Tabs-panel table.shop_attributes tr:nth-child(even) th {
    background-color: var(--wp--preset--color--bg-2);
}

.woocommerce .woocommerce-Tabs-panel table.shop_attributes td p {
    padding: 0;
    text-align: end;
}

.comment-form .comment-form-cookies-consent label {
    margin-bottom: 0;
}

.woocommerce .comment-form {
    column-gap: 30px;
    row-gap: 20px;
}

.woocommerce #reviews #comments {
    padding-top: 71px;
    flex-basis: 64%;

    .comment-form-rating label {
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: 28px;
        margin-bottom: 40px;
    }
}

.woocommerce #reviews #comments ol.commentlist {
    padding: 0;
}

.woocommerce #reviews #comments ol.commentlist li .comment_container {
    display: flex;
    flex-direction: row;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;

    img.avatar {
        flex-shrink: 0;
        width: 70px;
        height: 70px;
        border-radius: 70px;
        border: 0;
        padding: 0;
    }
}

.woocommerce #reviews #comments ol.commentlist li .comment-text .description p {
    margin: 0;
}

.woocommerce #comments #review_form #respond p {
    margin: 0;
}

.woocommerce #review_form .comment-form #comment {
    padding: 15px 15px 25px 15px;
    height: 229px;
    font-family: "Archivo", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.woocommerce .woocommerce-Reviews #comments .comment-reply-title {
    font-weight: 600;
    line-height: 28px;
    margin-bottom: 2px;
}

.woocommerce #review_form #respond .stars {
    margin: 12px 0 0 0;

    span {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 10px;
        margin-bottom: 10px;

        a {
            display: flex;
            gap: 6.5px;
            border: 1px solid var(--wp--preset--color--neutral-200);
            border-radius: 8px;
            transition: 0.3s ease-in-out;
            font-weight: 600;
            line-height: 26px;
            color: var(--wp--preset--color--text-primary);
            font-size: 0;
            float: none;
            margin: 0;
            vertical-align: middle;
            max-width: 95px;
            height: 46px;
            width: 100%;
            justify-content: center;
            align-items: center;

            @media (max-width:600px) { 
                padding: 12px 20px;
            }

            &::before {
                font-family: 'WooCommerce', sans-serif;
                content: 's';
                font-size: 16px;
                color: #CD8100;
                position: static;
            }

            &:hover {
                border-color: var(--wp--preset--color--contrast);
            }

            &:hover::before,
            &.active::before {
                content: 'S';
                border-color: var(--wp--preset--color--text-primary);
                color: #FFDF00;
                -webkit-text-stroke: 1px #CD8100;
            }

            &.active {
                border-color: var(--wp--preset--color--text-primary);
            }

            &:after {
                font-size: 15px;
                font-weight: 600;
                line-height: 26px;
            }

            &.star-1::after { content: "1"; }
            &.star-2::after { content: "2"; }
            &.star-3::after { content: "3"; }
            &.star-4::after { content: "4"; }
            &.star-5::after { content: "5"; }
        }
    }
}

.woocommerce .wp-block-woocommerce-product-details #reviews #comments ol.commentlist li {
    list-style: none;
    padding: 0 0 21px 0;
    margin: 0 0 32px;
    border-bottom: 1px solid var(--wp--preset--color--neutral-200);
}

.woocommerce .wp-block-woocommerce-product-details #reviews #comments ol.commentlist li .comment-text {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
    margin: 0 0 0 85px;
    padding: 0;
    border: 0;

    .star-rating-value, p.meta .woocommerce-review__dash {
        display: none;
    }
}

.woocommerce #reviews #comments ol.commentlist li .comment-text .meta {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    flex: 1;

    .woocommerce-review__author {
        font-size: 15px;
        font-style: normal;
        font-weight: 500;
        line-height: 26px;
        text-transform: capitalize;
    }

    .woocommerce-review__published-date {
        font-size: 13px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
        color: var(--wp--preset--color--text-secondary);
    }
}

.woocommerce #reviews #comments ol.commentlist li .comment-text > div:first-child {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 0;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text .description {
    order: 3;
    width: 100%;
    margin-top: 15px;
    font-size: 14px;
    line-height: 26px;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text .star-rating {
    margin: 0;
    color: #FFDF00;
    -webkit-text-stroke: 1px #CD8100;
    letter-spacing: 5px;
    font-size: 10px;
    display: inline-block;
    line-height: 1;
    width: 82px;
    height: 1.1em;
}

#comments  #review_form .comment-respond .comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
    margin-top: 6px !important;
    margin-bottom: 5px !important;
}

.comment-form-cookies-consent input[type="checkbox"] {
	width: 18px;
	height: 18px;
	min-width: 18px;
	min-height: 18px;
	margin: 3px 0 0;
    border-radius: 4px;
}

.woocommerce #review_form #respond .form-submit .wp-element-button {
    height: 54px;
    padding: 0 30px;
    box-shadow: 0 4px 10px 0 rgba(37, 99, 235, 0.10);
    
}