/*
Theme Name: Ruffer Child
Theme URI: https://themeholy.com/wordpress/ruffer/
Template: ruffer
Author: Themeholy
Author URI: https://themeforest.net/user/themeholy
Description: Plumbing &amp; Repair Service WordPress Theme
Tags: one-column,flexible-header,accessibility-ready,custom-colors,custom-menu,custom-logo,editor-style,featured-images,footer-widgets,rtl-language-support,sticky-post,threaded-comments,translation-ready
Version: 1.3.1773974266
Updated: 2026-03-20 02:37:46

*/
:root {
    --styler-light: #fff;
    --styler-black: #E63A27;
    --btn-size: 36px;
    --icon-bg: #f5f4ee;
}

.th-product-news .product-img {
    position: relative;
    overflow: hidden;
}

.th-product-news .product-img .styler-product-labels {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
}

.th-product-news .product-img .styler-label:not(:last-child) {
    margin-bottom: 5px;
}

.th-product-news .product-img .styler-label {
    color: var(--styler-light);
    background-color: var(--styler-black);
    height: 20px;
    padding: 0px 7px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.th-product-news .product-img .actions {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -36px;
    top: 10px;
    opacity: 0;
    -moz-transition: all ease 0.25s;
    -webkit-transition: all ease 0.25s;
    -o-transition: all ease 0.25s;
    -ms-transition: all ease 0.25s;
    transition: all ease 0.25s;
    z-index: 2;
}

.th-product-news .product-img .actions .icon-btn {
    box-shadow: 0 0 5px rgb(0 0 0 / 15%);
    color: #404040;
}

.th-product-news .product-img .actions .icon-btn:hover {
    color: var(--styler-light);
    background-color: var(--styler-black);
}

.th-product-news:hover .product-img .actions {
    right: 15px;
    opacity: 1;
}

.th-product-news .product-content {
    margin-top: 15px;
}

.th-product-news .product-content .price {
    color: var(--styler-black);
    opacity: 0.8;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    display: flex;
    gap: 1rem;
}

.th-product-news .product-content .product-title {
    margin: 5px 0;
    -moz-transition: all ease 0.25s;
    -webkit-transition: all ease 0.25s;
    -o-transition: all ease 0.25s;
    -ms-transition: all ease 0.25s;
    transition: all ease 0.25s;
    font-size: 16px;
    color: var(--styler-black);
    font-style: normal;
    font-weight: 700;
}

.th-product-news .product-content .product-title a {}

.th-product-news .product-content .styler-cart-hidden {
    -moz-transition: all ease 0.25s;
    -webkit-transition: all ease 0.25s;
    -o-transition: all ease 0.25s;
    -ms-transition: all ease 0.25s;
    transition: all ease 0.25s;
}

.styler-title-cart-hover {
    position: relative;
    overflow: hidden;
    min-height: 33px;
}

.styler-cart-hidden {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    -moz-transform: translateY(40px);
    -webkit-transform: translateY(40px);
    -o-transform: translateY(40px);
    -ms-transform: translateY(40px);
    transform: translateY(40px);
}

.th-product-news:hover .styler-cart-hidden {
    -moz-transform: translateY(0px);
    -webkit-transform: translateY(0px);
    -o-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.th-product-news:hover .product-title {
    -moz-transform: translateY(-40px);
    -webkit-transform: translateY(-40px);
    -o-transform: translateY(-40px);
    -ms-transform: translateY(-40px);
    transform: translateY(-40px);
    opacity: 0;
    visibility: hidden;
}

.th-product-news .add_to_cart_button.added {
    display: none;
}

.th-product-news.list-view {
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    padding: 0.5rem;
    border: 1px solid var(--styler-black);
}

.th-product-news.list-view .product-img {
    width: 50%;
}

.th-product-news.list-view .product-content {
    padding-left: 10px;
    width: 50%;
}

.th-product-news.list-view .product-content .product-title-horizontal {
    font-size: 16px;
    color: var(--styler-black);
    font-style: normal;
    font-weight: 700;
}

.th-product-news.list-view .product-content .styler-product-excerpt {
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
}

.th-product-news.list-view .product-content .styler-cart {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.single-product .product-details {
    padding-top: 40px;
}

.single-product .product-details .breadcumb-menu {
    margin: 0 0 20px 0;
}

.single-product .product-details .breadcumb-menu li a {
    color: #252525;
    font-size: 15px;
    font-weight: normal;
}

.single-product .product-details .breadcumb-menu li {
    font-size: 15px;
    font-weight: normal;
}

.single-product .product-details .breadcumb-menu li::after {
    color: #252525;
}

.single-product .product-details .product-big-img {
    border-radius: 0;
}

.single-product .product-details .product-about .product-title {
    font-size: 35px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.single-product .product-details .woocommerce-product-rating {
    display: none;
}

.single-product .product-details .product-about {
    font-size: 14px;
}

.single-product .product-details .product-about .checklist {
    margin: 1rem 0;
}

.single-product .product-details .product-about .checklist li {
    font-size: 16px;
}

.single-product .product-details .product-about .quantity .quantity-plus {
    top: 0;
}

.single-product .product-details .product-about .quantity .quantity-minus {
    bottom: 0;
}

.single-product .product-details .product-about .quantity .qty-input {
    height: 44px;
    border-radius: 0;
    font-size: 14px;
}

.single-product .product-details .product-about .th-btn {
    height: 44px;
    font-size: 14px;
    border-radius: 0;
    font-weight: normal;
    padding: 0;
}

.single-product .product-details .product-about .actions {
    align-items: center;
}

.single-product .product-details .product-about .actions .woosw-btn {
    color: #404040;
}

.single-product .product-details .product-about .actions .woosw-btn:hover {
    color: white;
}

.styler-extra-buttons {
    display: flex;
    gap: 5px;
}

.styler-extra-buttons .styler-btn {
    background-color: #E63A27;
    color: white;
}

.styler-extra-buttons a {
    width: 100%;
    background-color: #E63A27;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    font-weight: bold;
    justify-content: center;
}

.styler-extra-buttons .styler-zalo {
    background-color: #0068FF;
    color: white;
    display: block;
    text-align: center;
    padding: 0.25rem 0;
    max-width: 50%;
}

.styler-zalo svg {
    width: 35px;
    height: 34px;
}

.custom-tabs {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
    border-bottom: 0;
}

.custom-tabs .tab-item {
    border-bottom: 1px solid #eee;
}

.custom-tabs .tab-title {
    cursor: pointer;
    padding: 14px;
    font-weight: 600;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--title-color);
}

/* animation content */
.custom-tabs .tab-content {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    padding: 0 14px;
}

.styler-svg-icon {
    max-width: 20px;
    max-height: 20px;
    margin-right: 5px;
}

.info-item {
    color: var(--title-color);
}

.info-item a {
    color: var(--title-color);
    font-weight: 600;
}

.custom-product-info .product_meta {
    margin-top: 1rem;
    font-size: 14px;
}

.related-products .sec-title {
    font-size: 22px;
    text-transform: capitalize;
}

.floating-add-to-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(100%);
    transition: all 0.3s ease;
    z-index: 9999;
}

.floating-add-to-cart.show {
    transform: translateY(0);
}

.floating-add-to-cart .product-info img {
    max-width: 60px;
    margin-right: 20px;
}

.floating-atc-inner {
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-title {
    font-weight: 600;
}

.product-price {
    color: #666;
    font-size: 14px;
}

.product-action {
    text-align: right;
}

.otgs-development-site-front-end {
    display: none;
}

.wpml-ls-legacy-dropdown>ul {
    text-align: right;
    margin-right: 1rem !important;
}

.wpml-ls-legacy-dropdown>ul>li>a {
    background-color: transparent;
}

.wpml-ls-legacy-dropdown ul .wpml-ls-sub-menu {
    width: 100%;
}

.wpml-ls-legacy-dropdown ul .wpml-ls-sub-menu li {
    width: 100%;
    text-align: left;
}

body .popup-search-box {
    position: fixed;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

body .popup-search-box.show {
    width: 50%;
    height: 40%;
}

body .popup-search-box.show form {
    padding-bottom: 0;
}

.wpml-ls-legacy-dropdown {
    width: fit-content;
}

.wpml-ls-legacy-dropdown ul li:first-child {
    display: inline-block !important;
}

@media (max-width: 823px) {
    body .popup-search-box.show {
        width: 100%;
        height: 100%;
    }
}
@media (max-width: 575px) {
    .header-layout1 .logo-bg {
        width: 60% !important;
    }
}