.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images,
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
    float: none !important;
    width: 100% !important;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    color: var(--bs-body-color);
    font-size: var(--bs-body-font-size, 1rem);
}

.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item),
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).image-variable-item .variable-item-span-color {
    border-radius: var(--bs-border-radius, 1rem);
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) {
    width: 100px;
    height: 40px;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item.selected:not(.no-stock) .variable-item-contents:before, .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).image-variable-item.selected:not(.no-stock) .variable-item-contents:before {
    background-size: 20px;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled .variable-item-contents:before, .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled:hover .variable-item-contents:before{
    background-size: 20px;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected, .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover {
    box-shadow: var(--wvs-selected-item-box-shadow, 0 0 0 2px var(--bs-primary, #000));
}

.product-images-carousel .btn[data-carousel] {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumbnails-carousel .embla__slide {
    width: 100px;
}

.product-thumbnails-carousel .embla__slide .embla__slide--image {
    padding: 5px;
    border: 2px solid var(--bs-secondary-bg);
    border-radius: var(--bs-radius, .5rem);
}

.product-thumbnails-carousel .embla__slide.embla__slide--active .embla__slide--image {
    border-color: var(--bs-primary, #666666);
}

.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    --bs-table-bg: transparent !important;
}

.woocommerce-product-attributes hr {
    border-style: dashed;
}

.woocommerce-product-attributes tr {
    display: flex;
    align-items: middle;
    gap: 0.5rem;
    padding: 6px 0;
}

.woocommerce-product-attributes tr > th {
    min-width: 120px;
}

/* عنوان - سمت راست، عرض بر اساس محتوا */
.woocommerce-product-attributes-item__label {
    white-space: nowrap;
    flex-shrink: 0;
}

/* خط نقطه‌چین - وسط، کشیده میشه */
.woocommerce-product-attributes tr td.sr-only {
    flex: 1;
    position: static !important;
    width: auto !important;
    height: auto !important;
    clip: unset !important;
}

.woocommerce-product-attributes tr td.sr-only hr {
}

/* مقدار - سمت چپ، عرض بر اساس محتوا */
.woocommerce-product-attributes td:last-child {
    /*white-space: nowrap;*/
    /*flex-shrink: 0;*/
}

/* حذف padding پیش‌فرض سلول‌ها */
.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
    padding: 0;
    border: none;
}

.woocommerce-product-attributes .woocommerce-product-attributes-item__label,
.woocommerce-product-attributes .woocommerce-product-attributes-item__value {
    max-width: 300px;
}


.woocommerce div.product .woocommerce-product-rating {
    margin-bottom: 0 !important;
}

.product .woocommerce-product-rating .star-rating {
    margin-right: -10px;
}

.woocommerce .star-rating,
.product .woocommerce-product-rating .star-rating {
    font-size: 1rem;
    display: inline-block;
    float: none;
    margin: 0;
    color: #FFC107;
    letter-spacing: 1px;
    width: 5.6em;
}

.woocommerce #reviews #comments > ol.commentlist > li > .comment_container > .comment-text {
    margin: 0 !important;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
    padding: 0;
    border: 0;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text .description {
    position: relative;
    background-color: var(--bs-secondary-bg);
    border-radius: var(--bs-border-radius);
    padding: 25px;
    border: 0;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text .description:before {
    content: "";
    position: absolute;
    display: block;
    width: 30px;
    height: 25px;
    background-color: var(--bs-secondary-bg);
    top: -20px;
    right: 55px;
    box-sizing: border-box;
    clip-path: polygon(0 0, 0% 100%, 100% 0%, calc(100% - 2px) 0, 1px calc(100% - 2px), 35px 0);
    transform: rotate(180deg);
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
    position: relative;
    float: none;
    height: 55px;
    width: 55px;
    object-fit: cover;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-secondary-bg);
    padding: 2px;
    border-radius: 50px;
}

.woocommerce-Reviews .comment-respond .comment-form-cookies-consent,
.woocommerce-Reviews .comment-respond .comment-form-aios-antibot-keys {
    display: none;
}

.woocommerce .product .summary .price {
    font-size: 1.2rem;
    color: var(--bs-primary);
    font-weight: 600;
}

.woocommerce .product .summary .reset_variations {
    display: none !important;
}

@media (max-width: 992px){
    .products-carousel .embla__slide {
        width: 300px;
    }
    .products-carousel.upsells .embla__slide {
        width: 230px;
    }
}
@media (max-width: 570px){
    .products-carousel .embla__slide {
        width: 270px;
    }
    .products-carousel.upsells .embla__slide {
        width: 210px;
    }

}
.woocommerce .product .summary .woocommerce-product-details__short-description {
    font-size: 90%;
    margin: 15px 0;
}

.woocommerce .rank-math-breadcrumb{
    font-size: 90%;
    color: var(--bs-secondary-color);
    --bs-link-color: var(--bs-secondary-color);
    --bs-link-color-rgb: var(--bs-secondary-color-rgb);
}