.product_img_box {
    min-height: 500px;
}

.product_img_zoom {
    background-color: unset !important;
}

.alert {
    z-index: 9999999 !important;
}

.archive-blog .blog_img img {
    height: 170px;
}

.related_post .blog_img img {
    height: 265px;
}

.categories_box span {
    font-size: 14px;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.owl-carousel .owl-item img {
    width: auto !important;
    display: initial !important;
}

h5.blog_title {
    height: 60px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog_text p:last-child {
    height: 140px;
    -webkit-line-clamp: 5;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

span.name_shop_header {
    height: 40px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post_content h6 {
    height: 45px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.single_post_detail .post_navigation {
    width: 100%;
}

.comment_content {
    width: 100%;
}

.comment-error {
    color: #ff0023;
    font-size: 15px;
}

.reply-to {
    font-weight: 400;
    color: #8b8b8b;
}

.remove-reply,
.error_show {
    color: #ff0023;
    text-align: left;
}

p.no-products-found {
    width: 100%;
}

.product .product_price .price,
.shop_container .product .product_price .price,
.releted_product_slider .product .product_price .price {
    color: #d80b2f;
}

.login_register_wrap .woocommerce {
    display: contents;
}

.submenu-account {
    position: absolute;
    transform: translate3d(331px, 22px, 0px);
    top: 0px;
    left: 0px;
    border: 0;
    border-radius: 0;
    margin: 0;
    padding: 0;
    min-width: 14rem;
    background-color: #fff;
    box-shadow: 0 13px 42px 11px rgb(0 0 0 / 5%);
    transition: all 0.1s ease-in-out;
    margin-top: 10px;
}

.submenu-account ul li {
    list-style: none;
    transition: all 0.3s ease 0s;
}

.header_list li a {
    cursor: pointer;
}

.update_address_info p.form-row {
    display: contents;
}

.update_address_info .select2-container {
    height: 50px !important;
}

.update_address_info .select2-container .select2-selection--single {
    height: 50px !important;
}

.update_address_info .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 50px !important;
}

.update_address_info .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
}

.message_cart_orror>p {
    font-size: 16px;
    line-height: 24px;
    background: #f7f6f7;
    padding: 12px;
    border-top: 3px solid #a40f2f;
    margin: 0px 0px 30px 0px;
}

td.cart_total_amount {
    text-align: right;
}

.link_banner_coupon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.account_menu li a {
    padding: 10px !important;
}

.image_icon_product_cat {
    display: initial;
}

.blog_style1 .blog_img img {
    height: 230px;
}


.custom-banner-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: border 0.3s ease;
}

.custom-banner-item:hover {
    border: 2px solid red;
}

.custom-banner-item img {
    width: 100%;
    height: auto;
    display: block;
}

.custom-banner-link {
    position: relative;
    display: block;
    text-align: center;
    color: white;
    text-decoration: none;
}

.custom-banner-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-banner-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
    color: white;
    transition: color 0.3s ease;
}

.custom-banner-sub {
    font-size: 14px;
    margin-bottom: 10px;
    color: white;
}

.custom-banner-button {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    color: red;
    border: 1px solid red;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.custom-banner-link:hover .custom-banner-title {
    color: red;
}

.custom-banner-link:hover .custom-banner-button {
    background-color: red;
    color: white;
}

/* Fix product detail summary layout. The theme header does not output body_class(),
   so these rules target the product detail block directly instead of .single-product. */
.pr_detail .product_description {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.pr_detail .product_description .product_title,
.pr_detail .product_description .pr_desc,
.pr_detail .product_description .product_sort_info {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;
}

.pr_detail .product_description .product_title {
    overflow-wrap: break-word;
}

.pr_detail .product_description .product_price,
.pr_detail .product_description .rating_wrap,
.pr_detail .product_description .pr_desc,
.pr_detail .product_description .product_sort_info {
    float: none !important;
}

.pr_detail .product_description .product_price {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 20px 10px 0;
    line-height: 1.2;
}

.pr_detail .product_description .rating_wrap {
    order: 3;
    flex: 0 0 auto;
    margin: 7px 0 10px auto;
}

.pr_detail .product_description .pr_desc {
    order: 4;
    margin-top: 0;
}

.pr_detail .product_description .product_sort_info {
    order: 5;
    clear: both !important;
    margin: 0 0 15px 0;
}

.pr_detail .product_description .product_summary_info {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    margin-top: 0 !important;
}

.pr_detail .product_description .product_sort_info ul {
    margin: 0;
    padding: 0;
}

.pr_detail .product_description .product_sort_info li {
    line-height: 24px;
    margin-bottom: 6px;
}

@media (max-width: 575px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .header_wrap,
    .main_content,
    .section,
    .container,
    .row,
    .product-image,
    .pr_detail {
        max-width: 100%;
    }

    .product_img_box {
        min-height: 0 !important;
        padding: 0 !important;
        line-height: 0;
    }

    .product_img_box #product_img,
    .product_img_box img {
        display: block;
        width: 100%;
        height: auto;
    }

    .pr_detail .product_description .product_price,
    .pr_detail .product_description .rating_wrap {
        flex: 0 0 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
}
