
/*Box khuyến mãi*/
.hh_wc_khuyen_mai {
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    padding-bottom: 10px;
}

.hh_wc_khuyen_mai h4 {
    font-size: 15px;
    color: #333;
    padding: 15px 15px 10px;
    text-transform: uppercase;
    margin-bottom: 1px;
}

.hh_wc_khuyen_mai_content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hh_wc_khuyen_mai_content li {
    font-size: 14px;
    color: #333;
    padding: 0 5px 0 35px;
    margin-bottom: 5px;
    position: relative;
}

.hh_wc_khuyen_mai_content li::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 2px;
    background: url(/media/images/check.png) no-repeat;
    background-size: 14px;
    width: 14px;
    height: 14px;
}

/* Style cho thời gian áp dụng khuyến mãi */
.hh-promotion-period {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
	padding-left: 15px;
}

/*END CSS Box khuyến mãi*/

/*Box Cam kết*/
.hh_wc_cam_ket {
    display: block;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 4px;
    position: relative;
    background: #fff;
    padding-bottom: 10px;
}

.hh_wc_cam_ket h4 {
    display: block;
    overflow: hidden;
    font-size: 15px;
    color: #333;
    padding: 15px 15px 10px 15px;
    text-transform: uppercase;
    margin-bottom: 1px;
}

.hh_wc_cam_ket .hh_wc_cam_ket_content {
    display: block;
}

.hh_wc_cam_ket .hh_wc_cam_ket_content ul {
    list-style: none;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
}

.hh_wc_cam_ket .hh_wc_cam_ket_content ul li {
    display: block;
    overflow: hidden;
    font-size: 14px;
    color: #333;
    padding: 0 5px 0px 35px;
    margin-bottom: 5px;
}

.hh_wc_cam_ket .hh_wc_cam_ket_content ul li:before {
    content: "\f148";
    font-family: "woodmart-font";
    color: #eabe12;
    font-size: 16px;
    width: 14px;
    height: 14px;
    margin-left: -20px;
    margin-right: 0;
    margin-top: -3px;
    float: left;
}
/*END CSS Box Cam kết*/

/* Styles cho phần thông báo */
.hh-product-notifications {
    margin: 0;
}
.hh-product-notifications .hh-notification {
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 5px;
    font-weight: bold;
    line-height: 1.6;
}
.hh-product-notifications .hh-notification.hh-red {
    color: #ff3c06;
    background-color: #fff3f2;
}
.hh-product-notifications .hh-notification.hh-green {
    color: #0b9441;
    background-color: #f2f9f2;
}
/* Loại bỏ margin-bottom cho thông báo cuối cùng */
.hh-product-notifications .hh-notification:last-child {
    margin-bottom: 0;
}

/* Styles cho phần Banner Ads */
.hh-product-banners {
    margin: 0;
}
.hh-banner {
    margin-bottom: 15px;
}
.hh-banner img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* Loại bỏ margin-bottom cho banner cuối cùng */
.hh-product-banners .hh-banner:last-child {
    margin-bottom: 0;
}

/* Styles cho phần thông tin quà tặng */
.hh-gift-info {
    border-width: 1px;
    border-style: solid;
    border-color: rgba(253, 230, 138, 1);
    background: linear-gradient(180deg, #fffbeb 0, #fff 43.98%);
    padding: 15px;
    border-radius: 8px;
}
.hh-gift-info h3 {
    color: #333;
    margin-bottom: 5px;
    font-size: 1.2em;
    text-transform: uppercase;
}
.hh-gift-period {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}
.hh-gift-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hh-gift-item {
    display: flex;
    align-items: center;
}
.hh-gift-image {
    width: 80px;
    margin-right: 15px;
}
.hh-gift-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    cursor: pointer;
}
.hh-gift-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.hh-gift-name {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}
.hh-gift-value {
    color: #e44d26;
    font-weight: bold;
    font-size: 13px;
}
.hh-gift-separator {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    margin: 10px auto;
}

/* Styles cho lightbox quà tặng */
.hh-gift-lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.hh-gift-lightbox-content {
    position: relative;
    margin: auto;
    padding: 0px;
    width: 93%;
    max-width: 800px;
    background-color: #fff;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 8px;
}
.hh-gift-lightbox-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    z-index: 1001;
}
.hh-gift-lightbox-close:hover {
    background-color: #f0f0f0;
}
.hh-gift-lightbox-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Style cho ghi chú quà tặng */
#hh-gift-note {
    margin-top: 15px;
	margin-bottom: 0px;
    font-style: italic;
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
}

/* CSS cho bảng thông số kỹ thuật */
/* Tiêu đề chính */
.tech-specs-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
}

/* STYLING CHO REPEATER FIELD hh_tskt_group */
.hh-tech-specs-table {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    margin-bottom: 20px;
}

.hh-tech-specs-table table {
    width: 100%;
    border-collapse: collapse;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 13px;
}

.hh-tech-specs-table table tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.hh-tech-specs-table table tr:hover {
    background-color: #f8f9fa;
}

.hh-tech-specs-table table tr:last-child {
    border-bottom: none;
}

.hh-tech-specs-table table td {
    padding: 10px 12px;
    vertical-align: top;
    line-height: 1.4;
    font-size: 13px;
}

.hh-tech-specs-table table td:first-child {
    background-color: #f8f9fa;
    font-weight: 500;
    color: #666;
    width: 35%;
    border-right: 1px solid #e9ecef;
}

.hh-tech-specs-table table td:last-child {
    color: #333;
    width: 65%;
    font-weight: 500;
}

.hh-tech-specs-table table td p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

.hh-tech-specs-table table td:first-child p {
    font-weight: 500;
}

.hh-tech-specs-table table td:last-child p {
    font-weight: 500;
}

/* STYLING CHO META BOX hh_tskt */
.hh-tech-specs-content {
    background: #fff;
    /* border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 20px;
    margin-bottom: 20px; */
    font-size: 13px;
}

.hh-tech-specs-content p {
    margin-bottom: 16px;
    line-height: 1.4;
    color: #333;
    font-size: 13px;
}

.hh-tech-specs-content p:last-child {
    margin-bottom: 0;
}

.hh-tech-specs-content h1,
.hh-tech-specs-content h2,
.hh-tech-specs-content h3,
.hh-tech-specs-content h4,
.hh-tech-specs-content h5,
.hh-tech-specs-content h6 {
    color: #333;
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 600;
}

.hh-tech-specs-content h1:first-child,
.hh-tech-specs-content h2:first-child,
.hh-tech-specs-content h3:first-child,
.hh-tech-specs-content h4:first-child,
.hh-tech-specs-content h5:first-child,
.hh-tech-specs-content h6:first-child {
    margin-top: 0;
}

.hh-tech-specs-content ul,
.hh-tech-specs-content ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.hh-tech-specs-content li {
    margin-bottom: 8px;
    line-height: 1.4;
    color: #333;
    font-size: 13px;
}

.hh-tech-specs-content strong {
    color: #333;
    font-weight: 600;
}

.hh-tech-specs-content em {
    font-style: italic;
    color: #666;
}

.hh-tech-specs-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #007cba;
    padding: 16px 20px;
    margin: 16px 0;
    font-style: italic;
    color: #555;
}

/* Styling cho bảng HTML trong nội dung meta box */
.hh-tech-specs-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    font-size: 13px;
}

.hh-tech-specs-content table th,
.hh-tech-specs-content table td {
    padding: 10px 12px;
    text-align: left;
    border: 1px solid #e9ecef;
    vertical-align: top;
    font-size: 13px;
}

.hh-tech-specs-content table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.hh-tech-specs-content table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.hh-tech-specs-content table tbody tr:hover {
    background-color: #e9ecef;
}

.hh-tech-specs-content a {
    color: #007cba;
    text-decoration: none;
}

.hh-tech-specs-content a:hover {
    text-decoration: underline;
}

.hh-tech-specs-content code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #e83e8c;
}

.hh-tech-specs-content pre {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 4px;
    overflow-x: auto;
    margin-bottom: 16px;
}

.hh-tech-specs-content pre code {
    background: none;
    padding: 0;
    color: #333;
}

/* Responsive design */
@media (max-width: 768px) {
    .tech-specs-title {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    /* Responsive cho bảng repeater */
    .hh-tech-specs-table table td {
        padding: 8px 10px;
    }
    
    .hh-tech-specs-table table td:first-child {
        width: 40%;
    }
    
    .hh-tech-specs-table table td:last-child {
        width: 60%;
    }
    
    /* Responsive cho nội dung meta box */
    .hh-tech-specs-content {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .tech-specs-title {
        font-size: 15px;
    }
    
    /* Responsive cho bảng repeater */
    .hh-tech-specs-table table {
        font-size: 12px;
    }
    
    .hh-tech-specs-table table td {
        padding: 6px 8px;
    }
    
    .hh-tech-specs-table table td:first-child {
        width: 45%;
    }
    
    .hh-tech-specs-table table td:last-child {
        width: 55%;
    }
    
    .hh-tech-specs-table table td p {
        font-size: 12px;
    }
    
    /* Responsive cho nội dung meta box */
    .hh-tech-specs-content {
        padding: 12px;
        font-size: 12px;
    }
    
    .hh-tech-specs-content p,
    .hh-tech-specs-content li {
        font-size: 12px;
    }
    
    .hh-tech-specs-content table th,
    .hh-tech-specs-content table td {
        padding: 6px 8px;
        font-size: 12px;
    }
}
