/* =========================================
   SINGLE PRODUCT WOOCOMMERCE
========================================= */


/* Container */

.single-product .site-main
{
    max-width:1200px;

    margin:40px auto;

    padding:0 20px;
}


/* =========================================
   PRODUCT TOP AREA

   IMAGE + SUMMARY
========================================= */


.single-product div.product
{
    display:flex;

    flex-wrap:wrap;

    gap:40px;

    align-items:flex-start;
}



/* Ảnh */

.single-product div.product div.images
{
    width:calc(55% - 20px)!important;

    margin:0!important;
}



/* Thông tin */

.single-product div.product div.summary
{
    width:calc(45% - 20px)!important;

    margin:0!important;

    padding:0!important;
}



/* =========================================
   IMAGE
========================================= */


.single-product div.product div.images img
{
    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);
}



/* =========================================
   TITLE
========================================= */


.single-product .product_title
{
    font-size:36px;

    line-height:1.35;

    color:#7d2a18;

    margin-bottom:15px;
}



/* =========================================
   RATING
========================================= */


.woocommerce .star-rating span:before
{
    color:#f5b301!important;
}


.woocommerce .star-rating:before
{
    color:#ddd;
}


.woocommerce-review-link
{
    text-decoration:none;
}



/* =========================================
   PRICE
========================================= */


.single-product p.price,
.single-product span.price
{
    font-size:32px!important;

    font-weight:700;

    color:#c62828!important;

    margin:20px 0;
}



/* =========================================
   SHORT DESCRIPTION
========================================= */


.single-product .woocommerce-product-details__short-description
{
    font-size:17px;

    line-height:1.8;

    color:#555;

    margin-bottom:25px;
}



/* =========================================
   BUTTON
========================================= */


.single-product .single_add_to_cart_button
{
    background:#b71c1c!important;

    color:#fff!important;

    border-radius:50px!important;

    padding:15px 40px!important;

    font-size:18px!important;

    font-weight:700!important;
}



/* =========================================
   CLEAR AFTER TOP PRODUCT
========================================= */


.single-product div.product:after
{
    content:"";

    display:block;

    clear:both;
}



/* =========================================
   DESCRIPTION + RELATED
   LUÔN XUỐNG DƯỚI
========================================= */


.single-product .woocommerce-tabs
{
    width:100%;

    clear:both;

    margin-top:70px;
}



.single-product .related.products
{
    width:100%;

    clear:both;

    margin-top:70px;
}



.related.products h2
{
    text-align:center;

    color:#7d2a18;

    font-size:32px;

    margin-bottom:30px;
}



/* =========================================
   MOBILE
========================================= */


@media(max-width:768px)
{


.single-product .site-main
{
    padding:0 15px;
}



.single-product div.product
{
    display:block;
}



.single-product div.product div.images,
.single-product div.product div.summary
{
    width:100%!important;
}



.single-product .product_title
{
    font-size:28px;
}



.single-product p.price,
.single-product span.price
{
    font-size:26px!important;
}



.single-product .single_add_to_cart_button
{
    width:100%;
}

}


/* =========================================
   PRODUCT DESCRIPTION MODERN STYLE
========================================= */


/* Khối tab tổng */

.single-product .woocommerce-tabs
{
    margin-top:80px;

    padding:40px;

    background:#fff;

    border-radius:25px;

    box-shadow:0 10px 35px rgba(0,0,0,.06);
}



/* Thanh menu tab */

.single-product .woocommerce-tabs ul.tabs
{
    display:flex;

    gap:15px;

    padding:0;

    margin:0 0 35px;

    border:none;

}



.single-product .woocommerce-tabs ul.tabs li
{
    list-style:none;

    background:#f8f3ee;

    border:none!important;

    border-radius:30px!important;

    padding:12px 25px!important;

}



.single-product .woocommerce-tabs ul.tabs li a
{
    text-decoration:none;

    color:#7d2a18;

    font-weight:700;

    font-size:16px;
}



/* Tab đang chọn */

.single-product .woocommerce-tabs ul.tabs li.active
{
    background:#8b2c1f;
}



.single-product .woocommerce-tabs ul.tabs li.active a
{
    color:white;
}



/* Nội dung mô tả */

.single-product .woocommerce-Tabs-panel
{
    font-size:17px;

    line-height:1.9;

    color:#444;
}



/* Tiêu đề trong mô tả */

.single-product .woocommerce-Tabs-panel h2,
.single-product .woocommerce-Tabs-panel h3
{
    color:#7d2a18;

    margin-top:35px;

    margin-bottom:15px;

    font-weight:700;
}



/* Đoạn văn */

.single-product .woocommerce-Tabs-panel p
{
    margin-bottom:20px;
}



/* Hình ảnh trong mô tả */

.single-product .woocommerce-Tabs-panel img
{
    border-radius:18px;

    margin:25px auto;

    display:block;

    max-width:100%;
}



/* Danh sách */

.single-product .woocommerce-Tabs-panel ul
{
    padding-left:25px;

}



.single-product .woocommerce-Tabs-panel li
{
    margin-bottom:12px;
}

/* =====================================
   TRUST BOX
===================================== */


.product-trust-box
{
    margin-top:30px;

    padding:25px;

    background:#fff8f0;

    border-radius:20px;

    border:1px solid #f0ddc4;
}


.trust-item
{
    display:flex;

    gap:15px;

    margin-bottom:18px;

    align-items:center;
}


.trust-item:last-child
{
    margin-bottom:0;
}


.trust-item span
{
    width:32px;

    height:32px;

    background:#8b2c1f;

    color:#fff;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-weight:bold;
}


.trust-item strong
{
    color:#7d2a18;
}


.trust-item p
{
    margin:3px 0 0;

    font-size:14px;

    color:#666;
}



/* MUA NGAY */


.buy-now-button
{
    display:inline-flex;

    align-items:center;

    justify-content:center;

    margin-left:12px;

    padding:16px 35px;

    background:#f39c12;

    color:#fff!important;

    border-radius:50px;

    font-weight:700;

    text-decoration:none!important;
}


.buy-now-button:hover
{
    background:#d68910;
}


/* =====================================
   MOBILE PRODUCT TABS FIX
===================================== */


@media(max-width:768px)
{
.single-product .woocommerce-tabs ul.tabs li
{
    flex:1;

    text-align:center;

}



.single-product .woocommerce-tabs ul.tabs li a
{
    font-size:15px;
}

.single-product .woocommerce-tabs
{
    width:calc(100% - 30px);

    margin-left:auto;

    margin-right:auto;

    padding:25px 18px;

    box-sizing:border-box;

    border-radius:20px;

    overflow:hidden;
}



.single-product .woocommerce-tabs ul.tabs
{
    margin-left:0;

    margin-right:0;

    padding:0;

}



.single-product .woocommerce-Tabs-panel
{
    width:100%;

    box-sizing:border-box;
}
}


/* =====================================
   PRODUCT SERVICE BOX
===================================== */


.product-service-box
{
    margin-top:20px;

    padding:22px;

    background:#fff;

    border-radius:20px;

    border:1px solid #eee;

    box-shadow:0 8px 25px rgba(0,0,0,.05);
}



.service-row
{
    display:flex;

    align-items:center;

    gap:15px;

    padding:12px 0;

    border-bottom:1px solid #f1f1f1;
}



.service-row:last-child
{
    border-bottom:none;
}



.service-icon
{
    width:42px;

    height:42px;

    border-radius:50%;

    background:#fff3e6;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:22px;
}



.service-row strong
{
    color:#7d2a18;

    font-size:16px;
}



.service-row p
{
    margin:4px 0 0;

    color:#666;

    font-size:14px;

    line-height:1.5;
}

/*=====================================
RELATED PRODUCTS
=====================================*/

.related.products
{
    margin-top:80px;
}

.related.products h2
{
    text-align:center;

    font-size:38px;

    color:#7d2a18;

    margin-bottom:10px;
}

.related.products h2::after
{
    content:"";

    display:block;

    width:90px;

    height:4px;

    background:#c99a4b;

    margin:18px auto 0;

    border-radius:20px;
}

.related-description
{
    max-width:700px;

    margin:0 auto 40px;

    text-align:center;

    color:#666;

    font-size:17px;

    line-height:1.8;
}

/* =========================================
   QUICK ORDER
========================================= */

.quick-order-box
{
    margin-top:30px;

    padding:28px;

    background:#fff8f0;

    border:1px solid #ecd9c4;

    border-radius:22px;

    box-shadow:0 10px 30px rgba(0,0,0,.05);
}


.quick-order-heading
{
    text-align:center;

    margin-bottom:25px;
}


.quick-order-label
{
    display:inline-block;

    margin-bottom:8px;

    color:#b71c1c;

    font-size:13px;

    font-weight:800;

    letter-spacing:1px;
}


.quick-order-heading h3
{
    margin:0 0 8px;

    color:#7d2a18;

    font-size:26px;
}


.quick-order-heading p
{
    margin:0;

    color:#666;

    line-height:1.6;
}


.quick-field
{
    margin-bottom:17px;
}


.quick-field label
{
    display:block;

    margin-bottom:7px;

    color:#3f3028;

    font-size:15px;

    font-weight:700;
}


.quick-field label span
{
    color:#c62828;
}


.quick-field input,
.quick-field textarea
{
    width:100%;

    padding:14px 15px;

    border:1px solid #dbcdbf;

    border-radius:12px;

    background:#fff;

    color:#333;

    font:inherit;

    box-sizing:border-box;

    outline:none;
}


.quick-field input:focus,
.quick-field textarea:focus
{
    border-color:#b77142;

    box-shadow:0 0 0 3px rgba(183,113,66,.12);
}


.quick-field textarea
{
    resize:vertical;
}


.quick-order-product,
.quick-order-price
{
    display:flex;

    justify-content:space-between;

    gap:15px;

    padding:12px 0;

    border-top:1px solid #eadccc;

    font-size:15px;
}


.quick-order-price strong
{
    color:#c62828;

    font-size:21px;
}


.quick-order-submit
{
    width:100%;

    margin-top:15px;

    padding:17px 20px;

    border:0;

    border-radius:50px;

    background:#b71c1c;

    color:#fff;

    font-size:17px;

    font-weight:800;

    cursor:pointer;

    transition:.25s;
}


.quick-order-submit:hover
{
    background:#8d1616;

    transform:translateY(-2px);
}


.quick-order-note
{
    margin:15px 0 0;

    text-align:center;

    color:#666;

    font-size:13px;

    line-height:1.6;
}

/*Ẩn nút thêm vào giỏ và mua hàng ở trang chi tiết sản phẩm giúp khách tập trung vào mục order nhanh*/
.single-product form.cart
{
    display:none !important;
}


.single-product .buy-now-button
{
    display:none !important;
}


/*css cho trang đặt hàng thành công*/

.quick-order-success{
    max-width:760px;
    margin:40px auto;
    padding:28px;
    border-radius:20px;
    background:#fff8ef;
    border:1px solid #f0dfcf;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    text-align:center;
}

.quick-order-success h1{
    margin:0 0 12px;
    color:#7d2a18;
    font-size:32px;
}

.quick-order-success p{
    margin:0 0 10px;
    color:#5f5248;
    font-size:16px;
    line-height:1.8;
}

/* Nút gọi điện trên trang đặt hàng thành công */
.quick-order-success a[href^="tel:"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px 0;
    padding: 13px 26px;
    background: #7d2a18;
    color: #ffffff !important;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    border: 2px solid #7d2a18;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(125, 42, 24, 0.18);
    transition: all 0.25s ease;
}

/* Bỏ gạch chân ở mọi trạng thái */
.quick-order-success a[href^="tel:"]:link,
.quick-order-success a[href^="tel:"]:visited,
.quick-order-success a[href^="tel:"]:hover,
.quick-order-success a[href^="tel:"]:active {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Hiệu ứng khi rê chuột */
.quick-order-success a[href^="tel:"]:hover {
    background: #5e1e12;
    border-color: #5e1e12;
    box-shadow: 0 7px 20px rgba(125, 42, 24, 0.25);
    transform: translateY(-2px);
}

/* Tối ưu hiển thị trên điện thoại */
@media (max-width: 768px) {
    .quick-order-success a[href^="tel:"] {
        width: 100%;
        box-sizing: border-box;
        font-size: 18px;
        padding: 14px 20px;
    }
}
