/* CSS of taxonomy-danh-muc-san-pham-tam-op-da-deo.php, moved verbatim
   from its inline <style> blocks, in source order. Still inline in the template: declarations built from
   ACF values. Loaded last in <head> by kosmos_category_template_css() (functions/actions.php). */

/* taxonomy-danh-muc-san-pham-tam-op-da-deo.php, <style> at line 3 */
.hdsd-grid .hdsd-item:nth-child(1) {
    border: 2.5px solid #fcd33b;
}.hdsd-grid .hdsd-item:nth-child(2) {
    border: 2.5px solid #1c63a9;
}.hdsd-grid .hdsd-item:nth-child(3) {
    border: 2.5px solid #e02c3d;
}.hdsd-grid .hdsd-item:nth-child(4) {
    border: 2.5px solid #6d6e70;
}.hdsd-grid .hdsd-item:nth-child(5) {
    border: 2.5px solid #00a156;
}


#huong-dan-su-dung-bao-quan .hdsd-bq-item:nth-child(4n+1) {
    border: 2.5px solid #0065b0;
}

#huong-dan-su-dung-bao-quan .hdsd-bq-item:nth-child(4n+2) {
    border: 2.5px solid #11aa5d;
}

#huong-dan-su-dung-bao-quan .hdsd-bq-item:nth-child(4n+3) {
    border: 2.5px solid #eea43c;
}

#huong-dan-su-dung-bao-quan .hdsd-bq-item:nth-child(4n+4) {
    border: 2.5px solid #6d6e70;
}


#chung-chi{display: none!important;}
#baogia{
    margin-bottom: 30px;
}

/* Section 3 - Cấu tạo */
.section-cau-tao {
    padding: 50px 0;
    background: #f9f9f9;
}

.section-cau-tao .section_heading {
    margin-bottom: 40px;
}

.cau-tao-content {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}

.section-cau-tao .grid-container{
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cau-tao-col {
    flex: 1;
}

.cau-tao-col h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.cau-tao-col p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 10px;
}

.cau-tao-col ul,
.cau-tao-col ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.cau-tao-col li {
    line-height: 1.8;
    color: #666;
    margin-bottom: 10px;
}

.cau-tao-col img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 15px 0;
}

.cau-tao-col strong{
    color: var(--primary-color);
}


.sec_cont h2{
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 800!important;
    font-size: 40px!important;
    line-height: 48px!important;
    color: var(--primary-color)!important;
    margin-bottom: 0!important;

}

.reviewer .author{
    text-align: center;
}


.bang-kiem-dinh-content table tbody tr:first-child td {
    background: #404041;
    color: #fff;
}


@media (max-width: 768px) {
    .cau-tao-content {
        flex-direction: column;
        gap: 20px;
    }

    .section-cau-tao .grid-container {
        padding: 15px!important;
    }
    
    /* .cau-tao-col {
        padding: 20px;
    } */

    .hdsd-bq-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .section_heading > .sec_cont * {
        font-size: 25px !important;
    }
.section-loc-san-pham {
    margin-top: 0;
}
}


/* Tabs Level 1 - Stone Pattern Selector */
.tabs-level-1 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    position: relative;
    padding: 20px 0;
}
/* Connecting line between tabs */
.tabs-level-1::before {
    content: '';
    position: absolute;
    top: 38%;
    left: 4.8%;
    right: 5%;
    height: 1px;
    background-color: #333;
    transform: translateY(-50%);
    z-index: 0;
}
/* Individual tab button */
.tabs-level-1 .tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 0 30px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}
/* Tab text */
.tabs-level-1 .tab p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    text-align: center;
    order: 2;
    transition: color 0.3s ease;
}
/* Tab image - circular */
.tabs-level-1 .tab img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    order: 1;
    transition: all 0.3s ease;
    background-color: 
#f5f5f5;
}
/* Active tab - curved border on top */
.tabs-level-1 .tab.active::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 50px;
    border: 2px solid #333;
    border-bottom: none;
    border-radius: 50px 50px 0 0;
    pointer-events: none;
}
/* Active tab styles */
.tabs-level-1 .tab.active img {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        border-radius: 50%;
}
.tabs-level-1 .tab.active p {
    color: #333;
    font-weight: 600;
}
/* Hover effects */
.tabs-level-1 .tab:hover img {
    transform: scale(1.01);
}


/* Vòng tròn nửa trên cho active và hover */
.tabs-level-1 .tab.active::before,
.tabs-level-1 .tab:hover::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 50px;
    border: 2px solid #333;
    border-bottom: none;
    border-radius: 50px 50px 0 0;
    pointer-events: none;
}

/* Hover text color */
.tabs-level-1 .tab:hover p {
    color: #333;
}

.tab-container .tab.active {
    border-top: none;
}
.tabs-level-1 .tab:last-child {
    border-right: none;
}
.tabs-level-1 .tab.active img {
    box-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
    .tabs-level-1 {
        flex-wrap: wrap;
        gap: 20px;
    }
    .tabs-level-1::before {
        display: none;
    }
    .tabs-level-1 .tab img {
        width: 60px;
        height: 60px;
    }
}

/* taxonomy-danh-muc-san-pham-tam-op-da-deo.php, <style> at line 1159 */
.chung-chi-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
}
