/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


.wd-tabs.tabs-design-alt.wd-inited .wd-tabs-header .wd-nav-wrapper.wd-nav-tabs-wrapper.wd-mb-action-swipe ul.wd-nav.wd-nav-tabs.wd-icon-pos-left.wd-style-default.wd-add-pd li.wd-active a.wd-nav-link {
	display: none;
    background: #ff6108 !important;
}

.wd-tabs-header {
    display: none !important;
}

.wd-negative-gap.elementor-element.elementor-element-e567d03.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded{
	margin-bottom: 0!important;
}

.wd-arrow-inner{
    background: #07c0f0 !important;
	color: #ffffff !important;
}

.wd-cat-header h3{
	color: #ffffff !important;
}


/*
 Cusome Badged 
*/

.rhyca-save-pill{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    background:#07c0f0;

    color:#fff;

    font-weight:700;

    font-size:14px;

    padding:8px 18px;

    border-radius:999px;

    line-height:1;
}




/* Almost Gone Badge */

/* Desktop */

.rhyca-stock-badge{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    height:32px;
    padding:0 14px;

    background:#07c0f0;
    color:#fff;

    border-radius:999px;

    font-size:13px;
    font-weight:700;

    white-space:nowrap;
}

@media (max-width:1024px){

    /* Container chứa Title + Badge */
    .elementor-element-33d3fe{
        flex-direction:column;
        align-items:flex-start !important;
    }

    .elementor-element-924456c{
        width:100%;
        margin-top:10px;
    }

    .rhyca-stock-badge{
        font-size:9px;
        padding:0 12px;
        height:30px;
    }

}

@media (max-width:767px){

    .elementor-element-33d3fe{
        flex-direction:column;
        align-items:flex-start !important;
    }

    .elementor-element-924456c{
        width:100%;
        margin-top:8px;
        margin-bottom:10px;
    }

    .rhyca-stock-badge{

        font-size:9px;

        height:28px;

        padding:0 12px;

    }

}

 /* Hết Almost Gone Badge */


/* Gallery là mốc để badge bám vào */
.single-product .woocommerce-product-gallery{
    position: relative;
}

/* BEST SELLER */



/* ===========================
   ADD TO CART
=========================== */
.single_add_to_cart_button{
    display:flex !important;
    align-items:center;
    justify-content:center !important;
    gap:16px;
    padding:0 28px !important;
    position:relative;
    background-color:#07c0f0 !important; /* màu cam gốc - đổi lại đúng mã màu cam của theme nếu khác */
    border:2px solid #07c0f0 !important;
    color:#fff !important;
    transition:background-color .25s ease, color .25s ease, border-color .25s ease;
}

/* Hover: đảo màu - nền trắng, chữ + viền cam */
.single_add_to_cart_button:hover{
    background-color:#fff !important;
    border-color:#07c0f0 !important;
    color:#07c0f0 !important;
}

.single_add_to_cart_button:hover .current-price,
.single_add_to_cart_button:hover .current-price *{
    color:#07c0f0 !important;
}

.single_add_to_cart_button:hover .old-price,
.single_add_to_cart_button:hover .old-price *{
    color:#07c0f0!important;
}

.single_add_to_cart_button:hover .rhyca-divider{
    background:#07c0f0;
}

/* Divider */
.single_add_to_cart_button .rhyca-divider{
    width:1px;
    height:18px;
    background:rgba(255,255,255,.35);
    flex-shrink:0;
    align-self:center;
    transition:background-color .25s ease;
}

/* Price Wrapper */
.rhyca-btn-price{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    white-space:nowrap;
    margin:0;
    line-height:1;
}

/* Current Price (bao gồm ký hiệu tiền tệ) */
.rhyca-btn-price .current-price,
.rhyca-btn-price .current-price *{
    color:#fff;
    font-size:20px;
    font-weight:700;
    line-height:1;
    transition:color .25s ease;
}

/* Old Price (bao gồm ký hiệu tiền tệ) */
.rhyca-btn-price .old-price,
.rhyca-btn-price .old-price *{
    color:rgba(255,255,255,.65);
    font-size:14px;
    font-weight:500;
    text-decoration:line-through;
    line-height:1;
    transition:color .25s ease;
}

/* Mobile */
@media(max-width:767px){
    .single_add_to_cart_button{
        gap:12px;
        padding:0 18px !important;
    }
    .rhyca-btn-price .current-price{
        font-size:18px;
    }
    .rhyca-btn-price .old-price{
        font-size:13px;
    }
}






/* =========================
   Frequently Bought Together
========================= */

.wd-fbt-form{
    background:#fafafa;
    border:1px solid #ededed;
    border-radius:18px;
    padding:18px;
    margin-top:15px;
}

/* mỗi sản phẩm */

.wd-fbt-product{
    padding:14px 0;
}

.wd-fbt-product:not(:last-child){
    border-bottom:1px solid #efefef;
}

.wd-fbt-product-heading{
    display:flex;
    align-items:flex-start;
    gap:10px;
}

/* checkbox */

.wd-fbt-product input[type="checkbox"]{

    width:18px;
    height:18px;

    accent-color:#07c0f0;

    margin-top:3px;

    flex-shrink:0;
}

/* title */

.wd-fbt-product label{

    flex:1;

    margin:0;

    cursor:pointer;
}

.wd-fbt-product .title{

    display:block;

    color:#222;

    font-size:14px;

    font-weight:600;

    line-height:1.45;
}

/* giá */

.wd-fbt-product .price{

    display:flex;

    align-items:center;

    gap:6px;

    flex-wrap:wrap;

    margin-top:5px;

    font-size:14px;
}

.wd-fbt-product del{

    color:#999;

    font-size:13px;
}

.wd-fbt-product ins{

    color:#07c0f0;

    text-decoration:none;

    font-weight:700;
}

/* variation */

.wd-fbt-product-variation{

    margin-top:10px;

    padding-left:28px;
}

.wd-fbt-product-variation select{

    width:100%;

    height:42px;

    border:1px solid #e5e5e5;

    border-radius:12px;

    background:#fff;

    padding:0 14px;

    font-size:14px;
}

.wd-fbt-product-variation select:focus{

    border-color:#07c0f0;

    outline:none;
}

/* tổng */

.wd-fbt-purchase{

    margin-top:18px;

    padding-top:18px;

    border-top:2px solid #f2f2f2;

    display:flex;

    align-items:center;

    justify-content:space-between;

    flex-wrap:wrap;

    gap:12px;
}

.wd-fbt-purchase .price{

    font-size:30px;

    font-weight:700;

    color:#07c0f0;

    line-height:1;
}

.wd-fbt-desc{

    width:100%;

    color:#777;

    font-size:13px;

    margin-top:-6px;
}

/* button */

.wd-fbt-purchase-btn{

    height:48px;

    border-radius:999px !important;

    padding:0 28px !important;

    font-size:15px;

    font-weight:700;

    background:#07c0f0 !important;

    transition:.25s;
}

.wd-fbt-purchase-btn:hover{

    background:#e85f00 !important;

    transform:translateY(-2px);
}

/* =========================
   Mobile
========================= */

@media(max-width:767px){

.wd-fbt-form{

    padding:14px;

    border-radius:14px;
}

.wd-fbt-product{

    padding:12px 0;
}

.wd-fbt-product .title{

    font-size:13px;

    line-height:1.45;
}

.wd-fbt-product .price{

    font-size:13px;
}

.wd-fbt-product del{

    font-size:12px;
}

.wd-fbt-product-variation{

    padding-left:26px;
}

.wd-fbt-product-variation select{

    height:40px;

    font-size:13px;
}

.wd-fbt-purchase{

    justify-content:center;

    text-align:center;
}

.wd-fbt-purchase .price{

    width:100%;

    font-size:28px;
}

.wd-fbt-desc{

    margin:0;

    text-align:center;
}

.wd-fbt-purchase-btn{

    width:100%;

    height:46px;
}

}
.wd-fbt-purchase-btn{

    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    width:100%;

    height:52px;

    background:#07c0f0 !important;

    color:#fff;

    border-radius:999px;
}

.rhyca-btn-text{

    font-weight:700;

    color:#fff;
}

.rhyca-btn-divider{

    width:1px;

    height:18px;

    background:rgba(255,255,255,.35);
}

.rhyca-btn-price{

    color:#fff;

    font-weight:700;
}

.rhyca-btn-price del{

    display:none;
}

.rhyca-btn-price ins{

    color:#fff;

    text-decoration:none;
}

.rhyca-btn-desc{

    color:rgba(255,255,255,.85);

    font-size:13px;
}

/* Giá trong nút FBT */
.rhyca-btn-price,
.rhyca-btn-price *,
.wd-fbt-purchase-btn .rhyca-btn-price,
.wd-fbt-purchase-btn .rhyca-btn-price *{
    color:#fff !important;
}

.rhyca-btn-price ins{
    color:#fff !important;
    text-decoration:none !important;
}

.rhyca-btn-price .woocommerce-Price-amount,
.rhyca-btn-price .woocommerce-Price-currencySymbol{
    color:#fff !important;
}

.rhyca-btn-price del{
    display:none !important;
}



.wd-fbt-product-variation select{
	display: none;
}



/* Stock */
/* Size */
.single-product .variable-items-wrapper{
    display:inline-flex;
    align-items:center;
    gap:8px;
}

/* Clear */
/* Khoảng cách giữa XL và Clear */
.single-product .wd-reset-var{
    display:inline-flex;
    align-items:center;
    margin-left:16px;
    vertical-align:middle;
}

/* Chữ Clear */
.single-product .reset_variations{
	font-size:12px!important;
    font-weight:500!important;
    color:#07c0f0!important;
    text-decoration:none!important;
}

/* Căn Stock */
.woocommerce-variation-availability{
	margin-left: 0!important;
}

/* Real Review Product */
h2.woocommerce-Reviews-title {
    display: none;
}

p.cr-ajax-reviews-cus-images-title{
    display: none;
}


/* ===========================
   RHYCA - Beautiful Reviews
===========================*/

/* Background */
.cr-reviews-ajax-reviews{
    max-width:100%;
    margin:0 auto;
    font-family:"Fredoka",sans-serif;
}

/* Rating Summary */
.cr-ajax-reviews-nosummary{
    background:#fff;
    border:1px solid #e9eef3;
    border-radius:18px;
    padding:24px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    margin-bottom:25px;
}

/* Rating number */
.cr-nosummary-rating-val{
    font-size:42px;
    font-weight:700;
    color:#222;
}

.cr-nosummary-rating-lbl{
    color:#666;
    font-size:16px;
}

/* Add Review Button */
.cr-nosummary-add{
    background:#07c0f0 !important;
    color:#fff !important;
    border:none !important;
    border-radius:12px !important;
    font-weight:700;
    padding:14px 26px !important;
    transition:.3s;
    box-shadow:0 8px 22px rgba(7,192,240,.25);
}

.cr-nosummary-add:hover{
    background:#00acd9 !important;
    transform:translateY(-2px);
    box-shadow:0 14px 28px rgba(7,192,240,.35);
}

/* Search */
.cr-ajax-search input{
    border:2px solid #edf2f7 !important;
    border-radius:12px !important;
    height:48px;
    transition:.3s;
}

.cr-ajax-search input:focus{
    border-color:#07c0f0 !important;
    outline:none !important;
    box-shadow:none !important;
}

/* Sort */
.cr-ajax-reviews-sort{
    border-radius:10px;
    border:2px solid #edf2f7;
    padding:8px 14px;
}

/* Each review */
.commentlist .review{
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:18px;
    padding:22px;
    margin-bottom:18px;
    transition:.3s;
}

.commentlist .review:hover{
    border-color:#07c0f0;
    box-shadow:0 10px 25px rgba(7,192,240,.12);
}

/* ===================================
   Review Card
=================================== */

.comment_container{
    display:flex;
    align-items:flex-start;
    gap:14px;

    padding:18px 20px !important;
    position:relative;
}

/* Đếm số review */

.cr-count-row-count {
    display: none;
}

/* Avatar */

.comment_container img.cr-std-avatar{
    position:static !important;

    flex:0 0 52px;

    width:52px !important;
    height:52px !important;

    margin:0 !important;

    border-radius:50%;
    border:2px solid #07c0f0;

    object-fit:cover;
}

/* Nội dung */

.cr-comment-text{

    flex:1;

    margin:0 !important;

    padding:0 !important;

}

/* Tên */

.woocommerce-review__author{

    font-size:16px;

    font-weight:700;

    color:#222;

}

/* Ngày */

.woocommerce-review__published-date{

    margin-left:8px;

    color:#999;

    font-size:13px;

}

/* Badge */

.woocommerce-review__verified{

    display:inline-block;

    margin:4px 0 8px;

    padding:3px 10px;

    border-radius:999px;

    background:#abeeff;

    color:#00b6e6!important;

    font-size:11px;

    font-weight:600;

}

/* Nội dung review */

.cr-comment-text .description{

    margin:10px 0 14px;

    font-size:15px;

    line-height:1.7;

    color:#444;

}

/* Ảnh review */

.cr-comment-images{

    margin-top:10px;

}

.cr-comment-images img{

    width:72px;

    border-radius:10px;

    margin-right:8px;

    transition:.25s;

}

.cr-comment-images img:hover{

    transform:scale(1.05);

}

/* Stars */
.cr-rating-icon{
    color:#FFC107 !important;
}

/* Mobile */
@media(max-width:768px){

.commentlist .review{
    padding:18px;
}

.cr-nosummary-rating-val{
    font-size:34px;
}

.cr-nosummary-add{
    width:100%;
    margin-top:15px;
}

.cr-comment-text .description{
    font-size:15px;
}

}

/* ===========================
   RHYCA - Review Form
===========================*/

.cr-review-form-wrap{
    background:#fff;
    border-radius:20px;
    border:1px solid #e9eef4;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    overflow:hidden;
}

/* Header */

.cr-review-form-nav{
    padding:18px 24px;
    border-bottom:1px solid #edf2f7;
    background:#fafcff;
}

.cr-nav-left span{
    font-size:20px;
    font-weight:700;
    color:#222;
}

.cr-nav-left svg,
.cr-nav-right svg{
    transition:.25s;
    cursor:pointer;
}

.cr-nav-left svg:hover,
.cr-nav-right svg:hover{
    transform:scale(1.1);
}

.cr-nav-left path,
.cr-nav-right path{
    stroke:#07c0f0;
}

/* Product */

.cr-review-form-item{
    padding:24px;
    gap:16px;
    border-bottom:1px solid #f3f4f7;
}

.cr-review-form-item img{
    width:70px;
    height:70px;
    border-radius:14px;
    object-fit:cover;
}

.cr-review-form-item span{
    font-size:22px;
    font-weight:700;
    color:#222;
    line-height:1.35;
}

/* Rating */

.cr-review-form-rating{
    padding:24px;
}

.cr-review-form-rating-label{
    font-size:17px;
    font-weight:700;
    margin-bottom:12px;
}

.cr-review-form-rating-inner{
    transition:.25s;
    cursor:pointer;
}

.cr-review-form-rating-inner:hover{
    transform:scale(1.15);
}

.cr-review-form-rating-nbr{
    font-size:20px;
    font-weight:700;
    color:#07c0f0;
    margin-left:10px;
}

/* Inputs */

.cr-review-form-comment,
.cr-review-form-ne{
    padding:0 24px 24px;
}

.cr-review-form-lbl{
    font-weight:700;
    margin-bottom:8px;
    color:#333;
}

.cr-review-form-comment textarea,
.cr-review-form-txt{
    border:2px solid #edf2f7 !important;
    border-radius:14px;
    transition:.25s;
    padding:14px;
    font-size:15px;
    background:#fff;
}

.cr-review-form-comment textarea:focus,
.cr-review-form-txt:focus{
    border-color:#07c0f0 !important;
    box-shadow:0 0 0 5px rgba(7,192,240,.12);
}

/* Upload */

.cr-form-item-container{
    border:none !important;
    background:transparent !important;
    margin:0 24px !important;
    padding:0 !important;
}

.cr-form-item-container:hover{
    border-color:#07c0f0;
    background:#f5fcff;
}

.cr-form-item-media-none{
    padding:22px;
}

.cr-form-item-media-icon{
    fill:#07c0f0;
}

.cr-form-item-media-none span{
    font-weight:600;
    color:#555;
}

/* Buttons */

.cr-review-form-buttons{
    display:flex;
    gap:12px;

    padding:20px 24px 24px;

    margin-top:20px!important;

    border-top:1px solid #eef2f6;
}

.cr-review-form-submit{
    flex:1;
    background:#07c0f0 !important;
    border:none !important;
    border-radius:14px;
    color:#fff;
    font-size:16px;
    font-weight:700;
    height:52px;
    transition:.3s;
    box-shadow:0 10px 25px rgba(7,192,240,.25);
}

.cr-review-form-submit:hover{
    background:#00abd8 !important;
    transform:translateY(-2px);
}

.cr-review-form-cancel{
    flex:1;
    background:#fff !important;
    border:2px solid #e5e7eb !important;
    border-radius:14px;
    color:#666;
    font-weight:700;
    height:52px;
    transition:.25s;
}

.cr-review-form-cancel:hover{
    border-color:#07c0f0 !important;
    color:#07c0f0;
}

/* Mobile */

@media(max-width:768px){

.cr-review-form-item{
    padding:18px;
}

.cr-review-form-item span{
    font-size:18px;
}

.cr-review-form-rating,
.cr-review-form-comment,
.cr-review-form-ne{
    padding-left:18px;
    padding-right:18px;
}

.cr-form-item-container{
    margin:0 18px 18px;
}

.cr-review-form-buttons{
    padding:0 18px 18px;
    flex-direction:column;
}

.cr-review-form-submit,
.cr-review-form-cancel{
    width:100%;
}

}

button.cr-review-form-continue.cr-review-form-error{
	background-color: #07c0f0!important;
	color: #fff;
}

button.cr-review-form-continue.cr-review-form-error:hover{
	background-color: #fff!important;
	color: #07c0f0!important;
}