/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.4.1774599238
Updated: 2026-03-27 15:13:58

*/

/*--- Css product -----*/
.woocommerce-loop-product__title {
    display: block;
    display: -webkit-box;
    min-height: 74px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    visibility: visible;
    text-overflow: ellipsis;
    overflow:hidden;
    -webkit-box-orient: vertical;
}

span.detail-content a::before {
    content: "#";
}

span.detail-content a {
    background: #f7efe3;
    color: #ffa500;
    padding: 5px 10px;
    display: inline-block;
    margin-bottom: 10px;
}

.elementor-share-buttons--shape-circle .elementor-share-btn {
    margin: 0 10px;
}



/*--- Kim Phat Download Buttons ---*/
.kp-download-wrapper {
    display: flex;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: nowrap; /* Force them to stay on one row if screen is large enough */
}
@media (max-width: 600px) {
    .kp-download-wrapper {
        flex-wrap: wrap; /* Allow stacking on mobile */
    }
}
.kp-download-item {
    flex: 1;
    min-width: 216px;
    max-width: 320px;
    background: #ffffff;
    border: 1px solid #e8eaee;
    border-radius: 24px;
    padding: 0px 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.kp-download-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-color: #ff4d4d20;
}
.kp-pdf-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    background: #fffafa;
    padding: 10px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}
.kp-download-item:hover .kp-pdf-icon {
    transform: scale(1.1);
}
.kp-download-label {
    color: #2d3436;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    font-family: inherit;
    margin-bottom: 8px;
}
.kp-download-action {
    color: #4b6584;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
}
.kp-download-item:hover .kp-download-action {
    color: #ff4d4d;
}

/*--- Kim Phat Table of Contents (TOC) - Premium Design ---*/
.kp-toc-wrapper {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 16px;
    margin: 40px 0;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0,0,0,0.04);
    width: 100%;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.kp-toc-wrapper.is-collapsed {
    width: 56px;
    height: 56px;
    cursor: pointer;
    border-radius: 12px;
}
.kp-toc-wrapper.is-collapsed .kp-toc-header {
    padding: 0;
    height: 100%;
    justify-content: center;
    border-bottom: none;
    background: #ffffff;
}
.kp-toc-wrapper.is-collapsed .kp-toc-title-group {
    gap: 0;
}
.kp-toc-wrapper.is-collapsed .kp-toc-title-group span,
.kp-toc-wrapper.is-collapsed .kp-toc-toggle,
.kp-toc-wrapper.is-collapsed .kp-toc-body {
    display: none !important;
}
.kp-toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #fafbfc;
    border-bottom: 1px solid #f0f2f5;
}
.kp-toc-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #2d3436;
}
.kp-toc-title-group svg {
    color: #d4af37; /* Gold accent */
}
.kp-toc-toggle {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #4b6584;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.kp-toc-toggle:hover {
    border-color: #d4af37;
    color: #d4af37;
    background: #fffcf0;
}
.kp-toc-body {
    display: none;
    padding: 24px;
}
.kp-toc-body.active {
    display: block;
}
.kp-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.kp-toc-item {
    margin: 0;
    padding: 6px 0;
}
.kp-toc-item a {
    text-decoration: none;
    color: #4b6584;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    position: relative;
}
.kp-toc-item a::before {
    content: "•";
    color: #d1d8e0;
    transition: color 0.2s;
}
.kp-toc-item a:hover {
    color: #d4af37;
    transform: translateX(6px);
}
.kp-toc-item a:hover::before {
    color: #d4af37;
}

/* Hierarchy Indentation */
.kp-toc-level-1 { border-left: 4px solid #d4af37; padding-left: 12px; margin-bottom: 10px; }
.kp-toc-level-1 > a { font-weight: 700; color: #2d3436; font-size: 17px; }
.kp-toc-level-1 > a::before { content: ""; display: none; }

.kp-toc-level-2 { margin-left: 15px; }
.kp-toc-level-3 { margin-left: 35px; }
.kp-toc-level-4 { margin-left: 55px; }
.kp-toc-level-5 { margin-left: 75px; }
.kp-toc-level-6 { margin-left: 95px; }

/* Force Theme Font */
.kp-toc-wrapper, 
.kp-toc-header *, 
.kp-toc-body * {
    font-family: inherit !important;
}

/* Desktop Max-width Override to Full Width */
@media (min-width: 992px) {
    .kp-toc-wrapper {
        width: 100%;
        max-width: 100%;
    }
}


/*--- Global Content Headings ---*/
.elementor-widget-theme-post-content h1, .elementor-widget-theme-post-content h2, .elementor-widget-theme-post-content h3, .elementor-widget-theme-post-content h4, .elementor-widget-theme-post-content h5, .elementor-widget-theme-post-content h6,
.elementor-location-single h1, .elementor-location-single h2, .elementor-location-single h3, .elementor-location-single h4, .elementor-location-single h5, .elementor-location-single h6,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6,
article h1, article h2, article h3, article h4, article h5, article h6 {
    color: #d4af37 !important;
    font-family: inherit !important;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}
