/*
Theme Name: Tattoo Expert Pro Child
Theme URI: https://www.luzuk.com/demo/tattoo-expert
Author: Child Theme Developer
Description: Child theme for Tattoo Expert Pro with custom CPT, Animation Management, Equipment, Solution, Blog, Customer Feedback, and full Customizer control.
Template: tattoo-expert-pro
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tattoo-expert-pro-child
Tags: child-theme
*/

/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--tep-font-body, 'Poppins', sans-serif);
    color: var(--tep-color-text, #333333);
    background: var(--tep-color-bg, #ffffff);
    margin: 0;
    padding: 0;
}

a {
    color: var(--tep-color-primary, #c8a96e);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--tep-color-primary-dark, #a07840);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   CSS CUSTOM PROPERTIES (overridden by Customizer inline CSS)
   ============================================================ */
:root {
    --tep-color-primary:      #c8a96e;
    --tep-color-primary-dark: #a07840;
    --tep-color-secondary:    #1a1a1a;
    --tep-color-bg:           #ffffff;
    --tep-color-bg-alt:       #f5f5f5;
    --tep-color-text:         #333333;
    --tep-color-text-light:   #777777;
    --tep-color-border:       #e0e0e0;
    --tep-font-body:          'Poppins', sans-serif;
    --tep-font-heading:       'Playfair Display', serif;
    --tep-btn-radius:         4px;
    --tep-btn-bg:             #c8a96e;
    --tep-btn-color:          #ffffff;
    --tep-container-width:    1200px;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.tep-container {
    max-width: var(--tep-container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.tep-btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--tep-btn-bg);
    color: var(--tep-btn-color);
    border-radius: var(--tep-btn-radius);
    border: 2px solid var(--tep-btn-bg);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
}
.tep-btn:hover {
    background: transparent;
    color: var(--tep-btn-bg);
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.tep-section-title {
    font-family: var(--tep-font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--tep-color-secondary);
    margin: 0 0 10px;
}
.tep-section-subtitle {
    font-size: 16px;
    color: var(--tep-color-text-light);
    margin: 0 0 40px;
}
.tep-section-header {
    text-align: center;
    margin-bottom: 50px;
}

/* ============================================================
   HEADER
   ============================================================ */
#tep-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
#tep-header.scrolled {
    background: var(--tep-color-secondary);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.tep-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
}
.tep-logo img {
    max-height: 60px;
    width: auto;
}
.tep-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}
.tep-nav ul li a {
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.tep-nav ul li a:hover {
    color: var(--tep-color-primary);
}
.tep-lang-switcher {
    min-width: 100px;
    /* placeholder – left empty for integration */
}

/* Mobile Nav Toggle */
.tep-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}
.tep-nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

/* ============================================================
   HOME - PRODUCT MODULE
   ============================================================ */
.tep-products-section {
    padding: 80px 0;
    background: var(--tep-color-bg);
}
.tep-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.tep-product-card {
    background: #fff;
    border: 1px solid var(--tep-color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.tep-product-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}
.tep-product-card .tep-card-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.tep-product-card .tep-card-body {
    padding: 20px;
}
.tep-product-card .tep-card-title {
    font-family: var(--tep-font-heading);
    font-size: 18px;
    margin: 0 0 8px;
}
.tep-product-card .tep-card-excerpt {
    font-size: 14px;
    color: var(--tep-color-text-light);
    margin: 0 0 15px;
}

/* ============================================================
   HOME - SOLUTION MODULE
   ============================================================ */
.tep-solution-section {
    padding: 80px 0;
    background: var(--tep-color-bg-alt);
}
.tep-solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.tep-solution-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    border-left: 4px solid var(--tep-color-primary);
    transition: box-shadow 0.3s ease;
}
.tep-solution-card:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}

/* ============================================================
   HOME - WHY CHOOSE US
   ============================================================ */
.tep-why-section {
    padding: 80px 0;
    background: var(--tep-color-bg);
}
.tep-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.tep-why-item {
    text-align: center;
}
.tep-why-item .tep-why-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px;
}
.tep-why-item h3 {
    font-size: 18px;
    margin: 0 0 10px;
    font-family: var(--tep-font-heading);
}
.tep-why-item p {
    font-size: 14px;
    color: var(--tep-color-text-light);
    margin: 0;
}

/* ============================================================
   HOME - MANUFACTURING PROCESS
   ============================================================ */
.tep-process-section {
    padding: 80px 0;
    background: var(--tep-color-bg-alt);
}
.tep-process-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}
.tep-process-tab {
    padding: 12px 24px;
    border: 2px solid var(--tep-color-primary);
    color: var(--tep-color-primary);
    border-radius: var(--tep-btn-radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    background: transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
}
.tep-process-tab.active,
.tep-process-tab:hover {
    background: var(--tep-color-primary);
    color: #fff;
}
.tep-process-content {
    display: none;
}
.tep-process-content.active {
    display: flex;
    gap: 40px;
    align-items: center;
}
.tep-process-content .tep-proc-img {
    flex: 1;
}
.tep-process-content .tep-proc-img img {
    width: 100%;
    border-radius: 8px;
}
.tep-process-content .tep-proc-text {
    flex: 1;
}
.tep-process-content .tep-proc-text h3 {
    font-family: var(--tep-font-heading);
    font-size: 26px;
    margin: 0 0 15px;
}

/* ============================================================
   HOME - ABOUT US
   ============================================================ */
.tep-about-section {
    padding: 80px 0;
    background: var(--tep-color-bg);
}
.tep-about-inner {
    display: flex;
    gap: 60px;
    align-items: center;
}
.tep-about-img {
    flex: 1;
}
.tep-about-img img {
    width: 100%;
    border-radius: 8px;
}
.tep-about-text {
    flex: 1;
}
.tep-about-text h2 {
    font-family: var(--tep-font-heading);
    font-size: 36px;
    margin: 0 0 20px;
}
.tep-about-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--tep-color-text-light);
    margin: 0 0 25px;
}

/* ============================================================
   HOME - CUSTOMER REVIEWS
   ============================================================ */
.tep-reviews-section {
    padding: 80px 0;
    background: var(--tep-color-bg-alt);
}
.tep-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.tep-review-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.tep-review-card .tep-review-flag {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}
.tep-review-card .tep-reviewer-name {
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 8px;
}
.tep-review-card .tep-review-text {
    font-size: 14px;
    color: var(--tep-color-text-light);
    line-height: 1.7;
    margin: 0 0 12px;
}

/* ============================================================
   HOME - BLOG
   ============================================================ */
.tep-blog-section {
    padding: 80px 0;
    background: var(--tep-color-bg);
}
.tep-blog-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.tep-blog-featured .tep-post-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
}
.tep-blog-featured .tep-post-meta {
    margin: 15px 0 10px;
    font-size: 12px;
    color: var(--tep-color-text-light);
}
.tep-blog-featured .tep-post-title {
    font-family: var(--tep-font-heading);
    font-size: 22px;
    margin: 0 0 10px;
}
.tep-blog-featured .tep-post-excerpt {
    font-size: 14px;
    color: var(--tep-color-text-light);
}
.tep-blog-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.tep-blog-list-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--tep-color-border);
}
.tep-blog-list-item:last-child { border-bottom: none; }
.tep-blog-list-item img {
    width: 90px;
    height: 65px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.tep-blog-list-item .tep-list-text .tep-post-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 5px;
}
.tep-blog-list-item .tep-list-text .tep-post-meta {
    font-size: 12px;
    color: var(--tep-color-text-light);
}

/* ============================================================
   FOOTER
   ============================================================ */
#tep-footer {
    background: var(--tep-color-secondary);
    color: #aaa;
    padding: 60px 0 30px;
}
.tep-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}
.tep-footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.tep-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tep-footer-col ul li {
    margin-bottom: 8px;
}
.tep-footer-col ul li a {
    color: #aaa;
    font-size: 14px;
}
.tep-footer-col ul li a:hover {
    color: var(--tep-color-primary);
}
.tep-footer-logo {
    max-height: 50px;
    margin-bottom: 15px;
}
.tep-footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.tep-footer-social a {
    color: #aaa;
    font-size: 18px;
    transition: color 0.3s ease;
}
.tep-footer-social a:hover {
    color: var(--tep-color-primary);
}
.tep-footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

/* ============================================================
   EQUIPMENT SYSTEM
   ============================================================ */
.tep-equipment-page {
    padding: 80px 0;
}
.tep-equip-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    justify-content: center;
}
.tep-equip-cat-btn {
    padding: 8px 20px;
    border: 2px solid var(--tep-color-primary);
    border-radius: 30px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--tep-color-primary);
    background: transparent;
    transition: all 0.3s ease;
}
.tep-equip-cat-btn.active,
.tep-equip-cat-btn:hover {
    background: var(--tep-color-primary);
    color: #fff;
}
.tep-equip-cat-desc {
    text-align: center;
    margin-bottom: 30px;
    color: var(--tep-color-text-light);
    font-size: 15px;
    line-height: 1.8;
}
.tep-equip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.tep-equip-card {
    background: #fff;
    border: 1px solid var(--tep-color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.tep-equip-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.tep-equip-card .tep-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.tep-equip-card .tep-card-body {
    padding: 18px;
}
.tep-equip-card .tep-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
}
.tep-equip-card .tep-card-excerpt {
    font-size: 13px;
    color: var(--tep-color-text-light);
    margin: 0;
}

/* Equipment Detail */
.tep-product-detail {
    padding: 80px 0;
}
.tep-product-detail-top {
    display: flex;
    gap: 50px;
    margin-bottom: 40px;
}
.tep-product-gallery {
    flex: 1;
}
.tep-product-main-img img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}
.tep-product-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}
.tep-product-thumbs img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}
.tep-product-thumbs img.active {
    border-color: var(--tep-color-primary);
}
.tep-product-info {
    flex: 1;
}
.tep-product-info h1 {
    font-family: var(--tep-font-heading);
    font-size: 32px;
    margin: 0 0 20px;
}

/* Sticky Tab Nav */
.tep-product-nav {
    position: sticky;
    top: 80px;
    background: #fff;
    border-bottom: 2px solid var(--tep-color-border);
    z-index: 100;
    display: flex;
    gap: 0;
    margin-bottom: 40px;
}
.tep-product-nav-item {
    padding: 15px 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    color: var(--tep-color-text-light);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.tep-product-nav-item.active,
.tep-product-nav-item:hover {
    color: var(--tep-color-primary);
    border-bottom-color: var(--tep-color-primary);
}

.tep-product-sections > div {
    padding: 40px 0;
    border-bottom: 1px solid var(--tep-color-border);
}
.tep-product-sections > div:last-child {
    border-bottom: none;
}

/* Related products */
.tep-related-products {
    padding: 60px 0;
    background: var(--tep-color-bg-alt);
}

/* ============================================================
   SOLUTION SYSTEM
   ============================================================ */
.tep-solution-page {
    padding: 80px 0;
}
.tep-solution-layout {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 40px;
}
.tep-solution-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}
.tep-solution-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tep-solution-sidebar ul li {
    border-bottom: 1px solid var(--tep-color-border);
}
.tep-solution-sidebar ul li a,
.tep-solution-sidebar ul li button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 15px;
    color: var(--tep-color-text);
    font-size: 14px;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}
.tep-solution-sidebar ul li.active a,
.tep-solution-sidebar ul li.active button,
.tep-solution-sidebar ul li a:hover,
.tep-solution-sidebar ul li button:hover {
    color: var(--tep-color-primary);
    background: var(--tep-color-bg-alt);
}
.tep-solution-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 30px 0;
    border-bottom: 1px solid var(--tep-color-border);
}
.tep-solution-item:last-child {
    border-bottom: none;
}
.tep-solution-item .tep-sol-img {
    width: 220px;
    flex-shrink: 0;
}
.tep-solution-item .tep-sol-img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
}
.tep-solution-item .tep-sol-text h3 {
    font-family: var(--tep-font-heading);
    font-size: 20px;
    margin: 0 0 10px;
}
.tep-solution-item .tep-sol-text p {
    font-size: 14px;
    color: var(--tep-color-text-light);
    margin: 0 0 15px;
    line-height: 1.7;
}

/* ============================================================
   CUSTOMER FEEDBACK PAGE
   ============================================================ */
.tep-feedback-page {
    padding: 80px 0;
}
.tep-feedback-slider-wrapper {
    position: relative;
    overflow: hidden;
}
.tep-feedback-track {
    display: flex;
    gap: 30px;
    transition: transform 0.4s ease;
}
.tep-feedback-card {
    min-width: calc(33.333% - 20px);
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.tep-feedback-card-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.tep-feedback-card .tep-flag {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--tep-color-primary);
}
.tep-feedback-card .tep-reviewer-name {
    font-weight: 700;
    font-size: 16px;
    margin: 0;
}
.tep-feedback-card .tep-review-body {
    font-size: 14px;
    color: var(--tep-color-text-light);
    line-height: 1.8;
    margin: 0 0 15px;
}
.tep-feedback-card .tep-review-img img {
    width: 100%;
    border-radius: 6px;
    max-height: 160px;
    object-fit: cover;
}
.tep-feedback-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}
.tep-feedback-btn {
    background: var(--tep-color-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.tep-feedback-btn:hover {
    background: var(--tep-color-primary-dark);
}

/* ============================================================
   BLOG PAGE
   ============================================================ */
.tep-blog-page {
    padding: 80px 0;
}
.tep-blog-page-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
}
.tep-blog-cats {
    position: sticky;
    top: 100px;
    height: fit-content;
}
.tep-blog-cats h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.tep-blog-cats ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tep-blog-cats ul li {
    border-bottom: 1px solid var(--tep-color-border);
}
.tep-blog-cats ul li a,
.tep-blog-cats ul li button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 0;
    color: var(--tep-color-text);
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}
.tep-blog-cats ul li.active a,
.tep-blog-cats ul li a:hover,
.tep-blog-cats ul li button:hover {
    color: var(--tep-color-primary);
}
.tep-blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}
.tep-blog-post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--tep-color-border);
    transition: box-shadow 0.3s;
}
.tep-blog-post-card:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}
.tep-blog-post-card .tep-post-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.tep-blog-post-card .tep-post-body {
    padding: 18px;
}
.tep-blog-post-card .tep-post-cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tep-color-primary);
    font-weight: 700;
    margin-bottom: 6px;
}
.tep-blog-post-card .tep-post-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.4;
}
.tep-blog-post-card .tep-post-meta {
    font-size: 12px;
    color: var(--tep-color-text-light);
}

/* ============================================================
   PAGINATION (shared)
   ============================================================ */
.tep-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.tep-pagination a,
.tep-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--tep-color-border);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tep-color-text);
    transition: all 0.2s;
}
.tep-pagination a:hover,
.tep-pagination .current {
    background: var(--tep-color-primary);
    border-color: var(--tep-color-primary);
    color: #fff;
}
.tep-pagination .tep-page-prev,
.tep-pagination .tep-page-next {
    width: auto;
    padding: 0 15px;
}

/* ============================================================
   CONTENTS (TOC) SIDEBAR
   ============================================================ */
.tep-single-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
    padding: 60px 0;
}
.tep-toc {
    position: sticky;
    top: 100px;
    background: var(--tep-color-bg-alt);
    border-radius: 8px;
    padding: 20px;
    font-size: 13px;
}
.tep-toc h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--tep-color-secondary);
}
.tep-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 400px;
    overflow-y: auto;
}
.tep-toc ul li a {
    display: block;
    padding: 6px 0;
    color: var(--tep-color-text-light);
    border-bottom: 1px solid var(--tep-color-border);
    font-size: 13px;
    line-height: 1.5;
}
.tep-toc ul li a:hover,
.tep-toc ul li.active a {
    color: var(--tep-color-primary);
}
.tep-toc ul li[data-level="h3"] a {
    padding-left: 12px;
}
.tep-toc ul li[data-level="h4"] a {
    padding-left: 22px;
}
.tep-toc ul li[data-level="h5"] a {
    padding-left: 32px;
}

/* Recommended */
.tep-recommended {
    margin-top: 25px;
}
.tep-recommended h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--tep-color-secondary);
}
.tep-recommended-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--tep-color-border);
}
.tep-recommended-item img {
    width: 50px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.tep-recommended-item a {
    font-size: 13px;
    color: var(--tep-color-text);
    line-height: 1.4;
}
.tep-recommended-item a:hover {
    color: var(--tep-color-primary);
}

/* ============================================================
   WHATSAPP BUTTON
   ============================================================ */
#tep-whatsapp-btn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    font-size: 26px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
#tep-whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.6);
    color: #fff;
}

/* ============================================================
   ANIMATION SYSTEM (iframe wrapper)
   ============================================================ */
.tep-animation-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}
.tep-animation-wrap iframe {
    display: block;
    width: 100%;
    border: none;
}

/* ============================================================
   AJAX LOADING INDICATOR
   ============================================================ */
.tep-ajax-loader {
    display: none;
    text-align: center;
    padding: 40px;
}
.tep-ajax-loader.active {
    display: block;
}
.tep-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid var(--tep-color-border);
    border-top-color: var(--tep-color-primary);
    border-radius: 50%;
    animation: tep-spin 0.7s linear infinite;
}
@keyframes tep-spin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .tep-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .tep-blog-layout {
        grid-template-columns: 1fr;
    }
    .tep-blog-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .tep-solution-layout {
        grid-template-columns: 1fr;
    }
    .tep-solution-sidebar {
        position: static;
    }
    .tep-solution-sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }
    .tep-solution-sidebar ul li {
        border-bottom: none;
    }
    .tep-solution-sidebar ul li a,
    .tep-solution-sidebar ul li button {
        border: 1px solid var(--tep-color-primary);
        border-radius: 20px;
        padding: 6px 14px;
        color: var(--tep-color-primary);
    }
    .tep-blog-page-layout {
        grid-template-columns: 1fr;
    }
    .tep-blog-cats {
        position: static;
    }
    .tep-blog-cats ul {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .tep-blog-cats ul li {
        border: none;
    }
    .tep-blog-cats ul li a,
    .tep-blog-cats ul li button {
        border: 1px solid var(--tep-color-primary);
        border-radius: 20px;
        padding: 6px 14px;
        color: var(--tep-color-primary);
    }
    .tep-single-layout {
        grid-template-columns: 1fr;
    }
    .tep-toc {
        position: static;
    }
}

@media (max-width: 768px) {
    .tep-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--tep-color-secondary);
        padding: 20px;
    }
    .tep-nav.open {
        display: block;
    }
    .tep-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    .tep-nav-toggle {
        display: flex;
    }
    .tep-products-grid,
    .tep-solution-grid,
    .tep-why-grid,
    .tep-reviews-grid,
    .tep-equip-grid,
    .tep-blog-posts-grid {
        grid-template-columns: 1fr;
    }
    .tep-about-inner,
    .tep-process-content.active {
        flex-direction: column;
    }
    .tep-product-detail-top {
        flex-direction: column;
    }
    .tep-product-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
    .tep-footer-grid {
        grid-template-columns: 1fr;
    }
    .tep-solution-item {
        flex-direction: column;
    }
    .tep-solution-item .tep-sol-img {
        width: 100%;
    }
    .tep-feedback-card {
        min-width: 85%;
    }
    .tep-blog-list {
        grid-template-columns: 1fr;
    }
    .tep-section-title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .tep-header-inner {
        padding: 15px 20px;
    }
    .tep-container {
        padding: 0 15px;
    }
    .tep-process-tabs {
        gap: 6px;
    }
    .tep-process-tab {
        padding: 8px 14px;
        font-size: 12px;
    }
    .tep-product-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .tep-product-nav-item {
        white-space: nowrap;
        padding: 12px 16px;
    }
}
