/**
 * Version: 1.5.0
 * Stylesheet for Single Product Detail NewsThemes
 */

:root {
    --newsthemes-primary: #2a5298;
    --newsthemes-accent: #00ff88;
    --newsthemes-dark: #050505;
    --newsthemes-light: #ffffff;
    --newsthemes-text-main: #1a1a1a;
    --newsthemes-text-muted: #666666;
    --newsthemes-red: #e53e3e;
    --newsthemes-green: #25D366;
}

/* --- Layout Container --- */
.newsthemes-single-layout { padding: 80px 0; background: #fff; color: #1a1a1a; }
.newsthemes-product-title { 
    font-size: 3.5rem; 
    font-weight: 900; 
    margin-bottom: 50px; 
    color: #0a0f18; }

/* --- Top Row: 2 Column Grid --- */
.newsthemes-product-top-row { 
    display: grid; 
    grid-template-columns: 1.4fr 1fr; 
    gap: 60px; 
    align-items: start;
    margin-bottom: 80px;
}

/* --- Left Column: Media --- */
.newsthemes-main-preview img { 
    width: 100%; 
    height: auto; 
    border-radius: 16px; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.12); 
    margin-bottom: 25px; 
    border: 1px solid #eee;
}

/* --- Wrapper Tombol Demo --- */
.newsthemes-demo-wrapper {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.newsthemes-btn-demo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: #ffffff;
    color: var(--newsthemes-primary);
    border: 2px solid var(--newsthemes-primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.newsthemes-btn-demo:hover {
    background: var(--newsthemes-primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(42, 82, 152, 0.2);
}

.newsthemes-btn-demo i {
    font-size: 1.1rem;
}

/* --- Right Column: Sales Box --- */
.newsthemes-info-label {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #2a5298;
    margin-bottom: 12px;
    text-transform: capitalize; /* Biar huruf depannya otomatis gede */
    border-left: 4px solid #2a5298;
    padding-left: 15px;
}
.newsthemes-short-info { font-size: 1.2rem; line-height: 1.7; color: #555; margin-bottom: 40px; }

.newsthemes-short-info p {
    font-size: initial;
}

.newsthemes-purchase-box { 
    background: #f8f9fb; 
    padding: 25px; 
    border-radius: 20px; 
    border: 1px solid #eef0f2; 
}

.newsthemes-price-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #718096; /* Warna abu-abu elegan */
    margin-bottom: 5px;
}

.newsthemes-price-wrapper {
    display: flex;
    align-items: baseline;
}

.newsthemes-pricing { margin-bottom: 25px; }
.newsthemes-old-price { font-size: 1.4rem; color: #999; text-decoration: line-through; margin-right: 12px; }
.newsthemes-current-price { font-size: 3rem; font-weight: 900; color: #0a0f18; }

.newsthemes-btn-buy { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 12px; 
    padding: 22px; 
    background: #25D366; 
    color: #fff; 
    text-decoration: none; 
    font-weight: 800; 
    font-size: 1.1rem; 
    border-radius: 12px; 
    text-transform: uppercase; 
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.25); 
    transition: 0.3s; 
}
.newsthemes-btn-buy:hover { transform: translateY(-3px); background: #20ba5a; }

@media (max-width: 480px) {
	.newsthemes-btn-buy {
		font-size: small;
	}
}

.newsthemes-secure-note { font-size: 0.85rem; color: #888; margin-top: 20px; text-align: center; }
.newsthemes-secure-note i { color: #25D366; margin-right: 5px; }

/* --- Bottom Row: Technical Specs & Features --- */
.newsthemes-product-bottom-row { border-top: 2px solid #f0f0f0; padding-top: 80px; margin-top: 60px; }
.newsthemes-section-title { font-size: 2.2rem; margin-bottom: 40px; text-align:center; }

/* 1. CSS GRID FITUR BARU (Yang Bos Request) */
.newsthemes-features-grid-new {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 60px; /* Jarak ke tabel di bawahnya */
}

.newsthemes-feature-col {
    flex: 1;
    min-width: 280px;
}

.newsthemes-feature-item-new {
    background: #ffffff;
    padding: 15px 20px;
    margin-bottom: 12px;
    border-radius: 10px;
    font-size: 1rem;
    color: #2d3748;
    display: flex;
    align-items: center;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

.newsthemes-feature-item-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--newsthemes-primary);
}

.newsthemes-feature-item-new i {
    width: 30px;
    color: var(--newsthemes-primary);
    margin-right: 12px;
    font-size: 1.1rem;
}

.new-badge {
    color: #e53e3e;
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 6px;
    margin-left: auto;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.new-badge img.emoji {
    font-size: large;
}

/* 2. CSS TABEL LAMA (Tetap Dipertahankan) */
.newsthemes-entry-content table { 
    width: 100%; 
    border-collapse: collapse; 
    margin: 20px 0; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.03); 
    border: 1px solid #f0f0f0;
}

.newsthemes-entry-content table td { 
    padding: 20px 25px; 
    border-bottom: 1px solid #f0f0f0; 
    font-size: 1.05rem; 
    color: #444; 
}

.newsthemes-entry-content table tr:last-child td { border-bottom: none; }

.newsthemes-entry-content table tr td:first-child { 
    background: #fafafa; 
    font-weight: 800; 
    color: #0a0f18; 
    width: 35%; 
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .newsthemes-product-top-row { grid-template-columns: 1fr; gap: 40px; }
    .newsthemes-product-title { font-size: 2.5rem; }
    .newsthemes-entry-content table tr td:first-child { width: 45%; }
    .newsthemes-feature-col { min-width: 100%; } /* Kolom fitur jadi full width di HP */
}

/* --- Changelog --- */

.newsthemes-changelog-container {
    margin-top: 40px;
    padding: 25px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.changelog-title {
    margin-bottom: 15px;
    color: var(--newsthemes-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.changelog-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.changelog-version {
    margin-top: 15px;
    color: var(--newsthemes-green);
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 5px;
}
.changelog-item {
    padding: 5px 0 5px 20px;
    position: relative;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
}
.changelog-item::before {
    content: "•";
    position: absolute;
    left: 5px;
    color: var(--newsthemes-primary);
    font-weight: bold;
}
.changelog-item strong, 
.changelog-item b {
    color: var(--newsthemes-primary);
}

/* --- FAQ Section --- */

.newsthemes-faq-wrapper { 
    margin-top: 40px; 
}

.faq-main-title { 
    margin-bottom: 20px; 
    color: #2a5298; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-size: 1.25rem;
}

.faq-item-newsthemes { 
    border: 1px solid #e2e8f0; 
    border-radius: 8px; 
    margin-bottom: 10px; 
    overflow: hidden; 
    background: #fff; 
    transition: all 0.3s ease;
}

.faq-question-new { 
    width: 100%; 
    padding: 15px 20px; 
    text-align: left; 
    background: none; 
    border: none; 
    font-size: initial;
    font-weight: 700; 
    color: #2d3748; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    cursor: pointer; 
    transition: 0.3s; 
    outline: none;
}

.faq-question-new i {
    transition: transform 0.3s ease;
    color: #a0aec0;
}

.faq-question-new:hover { 
    background: #f7fafc; 
}

.faq-answer-new { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.3s ease-out; 
    background: #fdfdfd; 
}

.faq-answer-new p { 
    padding: 15px 20px; 
    margin: 0; 
    color: #4a5568; 
    line-height: 1.6; 
    border-top: 1px solid #edf2f7; 
}

.faq-item-newsthemes.active {
    border-color: #2a5298;
    box-shadow: 0 4px 12px rgba(42, 82, 152, 0.08);
}

.faq-item-newsthemes.active .faq-answer-new { 
    max-height: 500px; 
}

.faq-item-newsthemes.active .faq-question-new { 
    color: #2a5298; 
    background: #f0f5ff; 
}

.faq-item-newsthemes.active i { 
    transform: rotate(180deg); 
    color: #2a5298;
}

/* --- CTA Buy Banner (Final Polish) --- */

.newsthemes-buy-banner {
    margin-top: 50px;
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    border-radius: 15px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    box-shadow: 0 10px 25px rgba(42, 82, 152, 0.2);
}

.buy-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 800;
}

.buy-content p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

.buy-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.price-tag {
    text-align: right;
}

.old-price {
    display: block;
    text-decoration: line-through;
    font-size: 1.1rem;
    opacity: 0.7;
    color: #cbd5e0;
}

.new-price {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffd700;
    line-height: 1;
}

.btn-buy-now {
    background: #fff;
    color: #2a5298 !important; /* Pakai important biar gak ketimpa link default */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* Gabungkan transisi dan animasi */
    transition: all 0.3s ease;
    animation: pulse-border 2s infinite;
}

.btn-buy-now:hover {
    transform: translateY(-3px);
    background: #f8f9fa;
    color: #1e3c72 !important;
}

.btn-buy-now i {
    font-size: 1.3rem;
    color: #25d366; /* Hijau WhatsApp */
}

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (max-width: 768px) {
    .newsthemes-buy-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    .buy-action {
        align-items: center;
        margin-top: 25px;
    }
    .price-tag {
        text-align: center;
    }
}

/* --- TOMBOL SHARE --- */

.newsthemes-share-native-wrapper {
    margin-top: 30px;
}

.newsthemes-btn-share-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    transition: all 0.2s ease;
}

.newsthemes-btn-share-outline:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    color: #3b82f6;
}
