/* Twist-Auto Product Description System v2 (PC + Mobile) */
.ta-product {
    font-family: inherit;
    color: #2c3a42;
    line-height: 1.62;
    font-size: 15px;
    max-width: 100%;
    overflow-wrap: break-word;
}
.ta-product *, .ta-product *::before, .ta-product *::after {
    box-sizing: border-box;
}

/* Section Headers */
.ta-product h2,
.ta-sec-head h2 {
    color: #16232b;
    font-size: 21px;
    font-weight: 700;
    margin: 26px 0 14px;
    padding: 2px 0 2px 13px;
    border-left: 4px solid #00a8e8;
    border-bottom: none;
    text-align: left;
    line-height: 1.3;
}
.ta-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 26px 0 14px;
    flex-wrap: wrap;
}
.ta-sec-head h2 {
    margin: 0;
}
.ta-toggle-all {
    appearance: none;
    background: #eef8fc;
    color: #018ec5;
    border: 1px solid #bce4f5;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ta-toggle-all:hover {
    background: #00a8e8;
    color: #ffffff;
    border-color: #00a8e8;
}

.ta-product p {
    margin: 0 0 12px;
    color: #3d4b52;
    text-align: left;
}
.ta-product p:last-child {
    margin-bottom: 0;
}

/* 1. Hero Banner */
.ta-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 90% 85%, rgba(0, 168, 232, 0.36) 0%, rgba(16, 33, 42, 0.96) 54%, #0d151a 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 20px;
    box-shadow: 0 10px 28px rgba(13, 24, 31, 0.16);
}
.ta-hero::before {
    content: "";
    position: absolute;
    right: -40px;
    top: -50px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}
.ta-hero-content {
    position: relative;
    z-index: 2;
}
.ta-hero h2 {
    color: #ffffff;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 12px;
    padding: 0;
    border: none;
}
.ta-hero p {
    color: #d3e3ec;
    font-size: 14.5px;
    line-height: 1.5;
    margin: 0 0 14px;
}
.ta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}
.ta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #eaf5fb;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}
.ta-pill strong {
    color: #7cd8ff;
    font-weight: 600;
}
.ta-badge {
    display: inline-block;
    background: linear-gradient(135deg, #00a8e8 0%, #018ec5 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 7px 18px;
    border-radius: 999px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 16px rgba(0, 168, 232, 0.4);
}

/* 2. Highlights Grid (3-4 compact cards) */
.ta-grid,
.ta-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 22px;
}
.ta-highlights.ta-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ta-highlights.ta-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ta-card {
    background: #ffffff;
    border: 1px solid #e2ecf2;
    border-top: 3px solid #00a8e8;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 4px 14px rgba(18, 42, 54, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ta-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 168, 232, 0.10);
}
.ta-card h3 {
    color: #16232b;
    font-size: 15.5px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
    text-align: left;
}
.ta-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.52;
    color: #51626b;
}

/* 3. Interactive Collapsible Feature Accordion (prevents giant curtain!) */
.ta-acc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0 22px;
}
.ta-acc-item {
    background: #ffffff;
    border: 1px solid #dfe9f0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ta-acc-item.is-open {
    border-color: #9edcf5;
    box-shadow: 0 6px 18px rgba(0, 168, 232, 0.08);
}
.ta-acc-btn {
    width: 100%;
    appearance: none;
    background: #ffffff;
    border: none;
    padding: 15px 48px 15px 18px;
    text-align: left;
    font-size: 15.5px;
    font-weight: 700;
    color: #16232b;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.35;
    transition: background 0.18s ease, color 0.18s ease;
}
.ta-acc-btn:hover {
    background: #f6fbfe;
    color: #018ec5;
}
.ta-acc-item.is-open .ta-acc-btn {
    background: #f2fafe;
    color: #0f3a4a;
}
.ta-acc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00a8e8;
    flex-shrink: 0;
}
.ta-acc-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #eef8fc;
    color: #00a8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}
.ta-acc-item.is-open .ta-acc-icon {
    background: #00a8e8;
    color: #ffffff;
    transform: translateY(-50%) rotate(45deg);
}
.ta-acc-panel {
    display: none;
    padding: 14px 20px 18px;
    border-top: 1px solid #eaf2f7;
    background: #ffffff;
    font-size: 14.5px;
    line-height: 1.62;
    color: #3d4b52;
}
.ta-acc-item.is-open .ta-acc-panel {
    display: block;
}
.ta-acc-panel ul,
.ta-list {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
}
.ta-acc-panel ul li,
.ta-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 7px;
    color: #3d4b52;
    font-size: 14px;
    line-height: 1.55;
}
.ta-acc-panel ul li:last-child,
.ta-list li:last-child {
    margin-bottom: 0;
}
.ta-acc-panel ul li::before,
.ta-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -1px;
    color: #00a8e8;
    font-weight: 800;
    font-size: 18px;
}

/* Two-column compact list inside wide panels on PC */
.ta-acc-panel ul.ta-ul-2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 18px;
}
.ta-acc-panel ul.ta-ul-2col li {
    margin-bottom: 0;
}

/* 4. Kit Grid */
.ta-kit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0 22px;
}
.ta-kit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f7fafd;
    border: 1px solid #d8e6ee;
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 13.5px;
    color: #1b3f4b;
    font-weight: 500;
    line-height: 1.35;
}
.ta-kit-item::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00a8e8;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

/* 5. Interactive JS FAQ */
.ta-faq {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 12px 0 10px;
}
.ta-faq-item {
    background: #f9fbfd;
    border: 1px solid #dfe9f0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.ta-faq-item.is-open {
    background: #ffffff;
    border-color: #00a8e8;
    box-shadow: 0 4px 14px rgba(0, 168, 232, 0.08);
}
.ta-faq-q {
    width: 100%;
    appearance: none;
    background: transparent;
    border: none;
    padding: 14px 44px 14px 16px;
    text-align: left;
    font-size: 14.5px;
    font-weight: 600;
    color: #16232b;
    cursor: pointer;
    position: relative;
    line-height: 1.4;
}
.ta-faq-q::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #00a8e8;
    font-size: 20px;
    font-weight: 700;
    transition: transform 0.2s ease;
}
.ta-faq-item.is-open .ta-faq-q::after {
    transform: translateY(-50%) rotate(45deg);
}
.ta-faq-a {
    display: none;
    padding: 0 16px 14px;
    font-size: 14px;
    line-height: 1.58;
    color: #4a5d66;
}
.ta-faq-item.is-open .ta-faq-a {
    display: block;
}

/* Legacy compatibility for tables & details (Rewolt/VSO/Deye) */
.ta-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 12px 0 22px;
    background: #ffffff;
    border: 1px solid #e2ecf2;
    border-radius: 12px;
    overflow: hidden;
}
.ta-table thead th {
    background: #162d38;
    color: #ffffff;
    font-weight: 600;
    text-align: left;
    padding: 11px 15px;
    font-size: 14px;
}
.ta-table tbody td {
    padding: 10px 15px;
    border-bottom: 1px solid #edf3f7;
    font-size: 14px;
    vertical-align: top;
}
.ta-table tbody tr:last-child td { border-bottom: none; }
.ta-table tbody tr:nth-child(even) { background: #f8fbfd; }
.ta-table tbody td:first-child { font-weight: 600; color: #1b3f4b; width: 38%; }
.ta-note {
    background: #eef8fc;
    border: 1px solid #cdeaf7;
    border-left: 4px solid #00a8e8;
    border-radius: 10px;
    padding: 14px 18px;
    margin: 16px 0;
    color: #1b3f4b;
    font-size: 14px;
}
.ta-accordion {
    background: #ffffff;
    border: 1px solid #e2ecf2;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}
.ta-accordion summary {
    padding: 14px 40px 14px 16px;
    font-weight: 600;
    color: #16232b;
    cursor: pointer;
    list-style: none;
    position: relative;
}
.ta-accordion summary::-webkit-details-marker { display: none; }
.ta-accordion summary::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #00a8e8;
    font-size: 20px;
    font-weight: 700;
}
.ta-accordion[open] summary::after { content: "−"; }
.ta-accordion .ta-content {
    padding: 12px 16px 15px;
    color: #55656e;
    font-size: 14px;
    border-top: 1px solid #edf3f7;
    background: #f9fbfd;
}

/* Tablet & Mobile Responsive */
@media (max-width: 991px) {
    .ta-highlights.ta-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ta-kit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    .ta-product {
        font-size: 14px;
    }
    .ta-product h2,
    .ta-sec-head h2 {
        font-size: 18px;
        margin: 20px 0 11px;
        padding-left: 11px;
    }
    .ta-sec-head {
        margin: 20px 0 11px;
    }
    .ta-hero {
        padding: 18px 16px;
        border-radius: 14px;
        margin-bottom: 14px;
    }
    .ta-hero h2 {
        font-size: 19px;
        margin-bottom: 10px;
    }
    .ta-pills {
        gap: 6px;
        margin-bottom: 12px;
    }
    .ta-pill {
        font-size: 12px;
        padding: 4px 9px;
    }
    .ta-badge {
        font-size: 12.5px;
        padding: 6px 14px;
    }
    .ta-grid,
    .ta-highlights,
    .ta-highlights.ta-cols-4,
    .ta-highlights.ta-cols-2 {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 14px 0 18px;
    }
    .ta-card {
        padding: 14px 15px;
    }
    .ta-acc-btn {
        padding: 13px 44px 13px 14px;
        font-size: 14.5px;
        min-height: 48px;
    }
    .ta-acc-panel {
        padding: 12px 14px 15px;
        font-size: 13.5px;
    }
    .ta-acc-panel ul.ta-ul-2col {
        grid-template-columns: 1fr;
    }
    .ta-kit-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .ta-faq-q {
        padding: 13px 40px 13px 14px;
        font-size: 14px;
        min-height: 48px;
    }
    .ta-faq-a {
        padding: 0 14px 13px;
        font-size: 13.5px;
    }
    .ta-table tbody td:first-child {
        width: auto;
    }
}

