/*
Theme Name: Kadence Child
Description: Theme con cua Kadence
Template: kadence
Version: 1.0.0
*/
/* Home page product detail */
h2.wp-block-post-title.has-larger-font-size {
    font-size: 20px !important;
    text-transform: uppercase;
    color: #9a5f27;
    font-weight: 600;
    font-family: 'Open Sans';
}
span.woocommerce-Price-amount.amount {
    font-size: 24px;
    font-family: 'Open Sans';
    font-weight: 600;
    color: #373131;
}
div.cts-colum-product {
    padding: 20px;
    background: white;
    border-radius: 20px;
    border: 1px solid #e2dcd3;
}
table.variations {
    margin-top: 25px;
}


.woocommerce-variation-description {
   
    background: #f4f1ec;
    border-left: 3px solid #9a5f27;
    padding: 12px 16px;
    border-radius: 0 5px 5px 0;
    margin-bottom: 16px;
}
.woocommerce-variation-description p {
    margin-bottom: 0px !important;
}

button.single_add_to_cart_button.button.alt:hover {
    
    background: #9a5f27;
 
}
button.single_add_to_cart_button.button.alt {
    /* background: #9a5f27; */
    background: #9a5f27;
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'Open Sans';
    font-weight: 600;
    padding: 0px 30px !important;
}
button.single_add_to_cart_button.button.alt.disabled.wc-variation-selection-needed {
	background: #9a5f27;
}
/* End Home page product detail */

/* Product Detail page */
.woocommerce-variation-description > p {
    margin-top: 0px !important;
}
h1.product_title.entry-title {
    text-transform: uppercase;
    font-weight: 600 !important;
    font-size: 34px !important;
}
.woocommerce-product-details__short-description {
    margin-bottom: 5px !important;
}
.woocommerce-product-gallery__image.flex-active-slide img{
    border-radius: 20px !important;
}
span.woocommerce-Price-amount.amount {
    font-family: 'Oswald';
    font-size: 34px;
    font-weight: 500;
}
p.price span:nth-of-type(2){
    font-size: 34px !important;
}
/* ==========================================================================
   CUSTOM PRODUCT SPECS & SIZE GUIDE LAYOUT
   ========================================================================== */

/* Khung bao toàn bộ phần thông số */
.custom-product-specs-wrapper {
    margin: 45px 0;
    width: 100%;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2c2c2c;
    clear: both !important;
    width: 100% !important;
    display: block !important;
    margin-top: 50px !important;
}

/* 1. Header Tiêu đề & Mô tả */
.custom-product-specs-wrapper .spec-header {
    margin-bottom: 24px;
}

.custom-product-specs-wrapper .spec-header h2 {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #111111;
    margin: 0 0 10px 0 !important;
    line-height: 1.2;
}

.custom-product-specs-wrapper .spec-header p {
    color: #666666;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 !important;
}

/* 2. Grid 4 Thẻ Spec (Lớp ngoài nền kem, bên trong chứa 2 ô trắng) */
.custom-product-specs-wrapper .spec-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 35px;
}

.custom-product-specs-wrapper .spec-card-item {
    background-color: #f5f2ec; /* Nền kem sáng ngoài */
    border: 1px solid #e2ded6;  /* Viền ngoài xám nhẹ */
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Ô nhãn bên trên (Main line, Drops...) */
.custom-product-specs-wrapper .card-label {
    background-color: #fbf9f6;
    border: 1px solid #e6e2da;
    border-radius: 5px;
    padding: 12px 14px;
    font-size: 13px;
    color: #666666;
    font-weight: 500;
}

/* Ô giá trị bên dưới (250 lb mono, 4 hooks...) */
.custom-product-specs-wrapper .card-value {
    background-color: #fbf9f6;
    border: 1px solid #e6e2da;
    border-radius: 5px;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    color: #111111;
}

/* 3. Bảng Size Guide */
.custom-product-specs-wrapper .spec-table-box {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2ded6;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

/* Header đen của Bảng */
.custom-product-specs-wrapper .table-dark-header {
    background-color: #191e24; /* Nền đen xám cao cấp */
    padding: 20px 24px;
}

.custom-product-specs-wrapper .table-dark-header h3 {
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 6px 0 !important;
}

.custom-product-specs-wrapper .table-dark-header p {
    color: #8c96a3;
    font-size: 13px;
    margin: 0 !important;
}

/* Nội dung Bảng Table */
.custom-product-specs-wrapper .spec-custom-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    margin: 0 !important;
    text-align: left;
}

.custom-product-specs-wrapper .spec-custom-table th {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #777777;
    background-color: #faf8f5;
    padding: 14px 20px;
    border-bottom: 1px solid #e8e4dc;
    letter-spacing: 0.6px;
}

.custom-product-specs-wrapper .spec-custom-table td {
    padding: 16px 20px;
    font-size: 14px;
    color: #333333;
    border-bottom: 1px solid #f2eee8;
    vertical-align: middle;
}

.custom-product-specs-wrapper .spec-custom-table tbody tr:last-child td {
    border-bottom: none;
}

/* Hiệu ứng rê chuột qua từng hàng */
.custom-product-specs-wrapper .spec-custom-table tbody tr:hover {
    background-color: #fcfbfa;
}

/* Cột SIZE làm nổi bật bằng màu thương hiệu (#9a5f27) */
.custom-product-specs-wrapper .spec-custom-table td.highlight-size {
    font-size: 17px;
    font-weight: 800;
    color: #9a5f27;
}

/* 4. Responsive (Tương thích máy tính bảng & điện thoại) */
@media (max-width: 992px) {
    .custom-product-specs-wrapper .spec-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .custom-product-specs-wrapper .spec-cards-grid {
        grid-template-columns: 1fr;
    }

    .custom-product-specs-wrapper .table-dark-header {
        padding: 16px;
    }

    /* Bọc ngang cuộn bảng trên điện thoại */
    .custom-product-specs-wrapper .spec-table-box {
        overflow-x: auto;
    }

    .custom-product-specs-wrapper .spec-custom-table th,
    .custom-product-specs-wrapper .spec-custom-table td {
        padding: 12px 14px;
        font-size: 13px;
        white-space: nowrap;
    }

    .custom-product-specs-wrapper .spec-custom-table td.highlight-size {
        font-size: 15px;
    }
}




/* button css */
/* Đồng bộ Font và Style cho tất cả các loại nút trên trang */
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.button,
.btn,
.wp-block-button__link,
.single_add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    font-family: "Oswald", sans-serif !important; /* Đổi "Oswald" thành tên font bạn muốn dùng */
    font-weight: 500 !important;                 /* Độ đậm chữ */
    text-transform: uppercase !important;       /* Viết hoa toàn bộ (bỏ dòng này nếu muốn chữ thường) */
    letter-spacing: 1px !important;              /* Khoảng cách giữa các chữ cái */
    border-radius: 4px !important;               /* Bo tròn góc nút */
    transition: all 0.3s ease !important;        /* Hiệu ứng mượt khi rê chuột */
}

 

/* pop-up cart */
