/*
Theme Name:   BestMassageGunGuide Child
Template:     kadence
Description:  Child theme for BestMassageGunGuide.com
Version:      1.0.0
*/

/* =============================================
   BRAND VARIABLES
   ============================================= */
:root {
    --bmgg-red: #E8312A;
    --bmgg-red-dark: #C0251F;
    --bmgg-dark: #0D0D0D;
    --bmgg-dark2: #1A1A1A;
    --bmgg-cream: #FAF9F6;
    --bmgg-light: #F5F5F0;
    --bmgg-gold: #D4A849;
    --bmgg-green: #2D7D46;
    --bmgg-border: #E0DDD8;
    --bmgg-text: #1C1C1C;
    --bmgg-muted: #777;
    --bmgg-amazon: #FF9900;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--bmgg-text);
    background: var(--bmgg-cream);
    line-height: 1.75;
    font-size: 17px;
}

h1, h2, h3 {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

/* Загрузить шрифты */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;700&display=swap');

/* =============================================
   DISCLOSURE BOX
   ============================================= */
.bmgg-disclosure {
    background: #1A1A1A;
    border-left: 4px solid var(--bmgg-red);
    color: #B0B0B0;
    padding: 12px 18px;
    margin-bottom: 28px;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}
.bmgg-disclosure .bmgg-disc-icon {
    flex-shrink: 0;
    margin-top: 1px;
}
.bmgg-disclosure strong {
    color: var(--bmgg-gold);
}

/* =============================================
   LAST UPDATED
   ============================================= */
.bmgg-last-updated {
    font-size: 13px;
    color: var(--bmgg-muted);
    margin-bottom: 8px;
    font-style: italic;
}

/* =============================================
   AMAZON BUTTON
   ============================================= */
.amazon-btn,
a.amazon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bmgg-amazon);
    color: #111 !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.amazon-btn:hover,
a.amazon-btn:hover {
    background: #e68900;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.35);
}

/* =============================================
   PRODUCT REVIEW CARD
   ============================================= */
.product-review {
    border: 1px solid var(--bmgg-border);
    border-radius: 14px;
    overflow: hidden;
    margin: 32px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s;
}
.product-review:hover {
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}
.pr-header {
    background: var(--bmgg-dark);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.pr-rank {
    width: 34px;
    height: 34px;
    background: var(--bmgg-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    flex-shrink: 0;
}
.pr-brand {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 3px;
}
.pr-name {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 20px;
    color: #fff;
    line-height: 1.2;
    letter-spacing: 0.3px;
}
.pr-badge {
    margin-left: auto;
    background: rgba(232,49,42,0.2);
    color: #FF8C87;
    border: 1px solid rgba(232,49,42,0.3);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.pr-body {
    padding: 22px;
    background: #fff;
}
.pr-stars {
    color: var(--bmgg-amazon);
    font-size: 16px;
    letter-spacing: 1px;
}
.pr-score {
    font-size: 16px;
    font-weight: 700;
    color: var(--bmgg-dark);
    margin-left: 6px;
}
.pr-count {
    font-size: 13px;
    color: var(--bmgg-muted);
    margin-left: 4px;
}
.pr-specs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 14px 0;
}
.spec-pill {
    background: var(--bmgg-light);
    border: 1px solid var(--bmgg-border);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bmgg-dark);
}
.spec-pill span { color: var(--bmgg-red); }

.pr-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 18px 0;
}
.pr-col h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 10px;
}
.pr-col.pros h4 { color: var(--bmgg-green); }
.pr-col.cons h4 { color: #C0392B; }
.pr-col ul { list-style: none; padding: 0; }
.pr-col.pros li::before { content: '✓ '; color: var(--bmgg-green); font-weight: 700; }
.pr-col.cons li::before { content: '✗ '; color: #C0392B; font-weight: 700; }
.pr-col li {
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.5;
}
.pr-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 22px;
    background: #FAFAFA;
    border-top: 1px solid var(--bmgg-border);
}
.pr-verdict {
    font-size: 14px;
    color: #555;
    flex: 1;
    line-height: 1.5;
}

/* =============================================
   COMPARISON TABLE
   ============================================= */
.compare-wrap {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    margin: 28px 0;
}
table.compare-tbl {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}
table.compare-tbl thead tr {
    background: var(--bmgg-dark);
}
table.compare-tbl th {
    padding: 14px 16px;
    text-align: left;
    font-size: 12px;
    color: #aaa;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
}
table.compare-tbl td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--bmgg-border);
    font-size: 14px;
    vertical-align: middle;
    background: #fff;
}
table.compare-tbl tr:last-child td { border-bottom: none; }
table.compare-tbl tr.winner td { background: #FFF8F8; }
.rank-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}
.r1 { background: var(--bmgg-red); color: #fff; }
.r2 { background: #B8B8B8; color: #fff; }
.r3 { background: #C8862A; color: #fff; }
.r4, .r5 { background: #E8E8E8; color: #555; }
.pill-red { background: var(--bmgg-red); color: #fff; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 700; }
.pill-gray { background: #E8E8E8; color: #555; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 700; }

/* =============================================
   QUICK ANSWER BOX
   ============================================= */
.quick-answer-box {
    background: var(--bmgg-dark);
    border-radius: 14px;
    padding: 28px;
    margin: 28px 0;
}
.qa-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--bmgg-red);
    margin-bottom: 12px;
}
.qa-title {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 26px;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}
.qa-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.qa-item {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 14px;
}
.qa-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--bmgg-red);
    margin-bottom: 5px;
}
.qa-product {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 6px;
}
.qa-reason {
    font-size: 13px;
    color: #B0B0B0;
    line-height: 1.5;
    margin-bottom: 10px;
}
.qa-link {
    display: inline-block;
    background: var(--bmgg-red);
    color: #fff !important;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s;
}
.qa-link:hover { background: var(--bmgg-red-dark); }

/* =============================================
   INFO BOXES
   ============================================= */
.info-box {
    border-radius: 10px;
    padding: 16px 20px;
    margin: 24px 0;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.6;
}
.info-box.blue {
    background: #EBF5FB;
    border-left: 4px solid #1A5276;
}
.info-box.green {
    background: #E8F5EE;
    border-left: 4px solid var(--bmgg-green);
}
.info-box.orange {
    background: #FEF0E4;
    border-left: 4px solid var(--bmgg-red);
}
.info-box .ib-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.info-box strong { display: block; margin-bottom: 4px; color: var(--bmgg-dark); }

/* =============================================
   FAQ ACCORDION
   ============================================= */
.faq-item {
    border: 1px solid var(--bmgg-border);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 22px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--bmgg-dark);
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--bmgg-red); }
.faq-icon {
    color: var(--bmgg-red);
    font-size: 22px;
    flex-shrink: 0;
    transition: transform 0.3s;
    font-weight: 300;
    line-height: 1;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s;
    font-size: 15px;
    color: #555;
    line-height: 1.75;
    padding: 0 22px;
}
.faq-item.open .faq-answer {
    max-height: 400px;
    padding: 0 22px 20px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* =============================================
   AUTHOR BOX (E-E-A-T)
   ============================================= */
.author-box {
    background: var(--bmgg-light);
    border: 1px solid var(--bmgg-border);
    border-radius: 14px;
    padding: 24px;
    margin: 40px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bmgg-red), var(--bmgg-red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    color: #fff;
    font-weight: 700;
    font-family: 'Bebas Neue', sans-serif;
}
.author-name {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: 22px;
    color: var(--bmgg-dark);
    letter-spacing: 0.3px;
    margin-bottom: 3px;
}
.author-cred {
    font-size: 13px;
    font-weight: 700;
    color: var(--bmgg-red);
    margin-bottom: 8px;
}
.author-bio {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   TABLE OF CONTENTS
   ============================================= */
.toc-box {
    background: var(--bmgg-cream);
    border: 1px solid var(--bmgg-border);
    border-radius: 12px;
    padding: 22px 24px;
    margin: 28px 0;
}
.toc-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--bmgg-dark);
    margin-bottom: 14px;
}
.toc-box ol {
    padding-left: 22px;
    margin: 0;
}
.toc-box li { margin-bottom: 8px; }
.toc-box a {
    color: var(--bmgg-red);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}
.toc-box a:hover { text-decoration: underline; }

/* =============================================
   RELATED POSTS GRID
   ============================================= */
.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 28px 0;
}
.related-card {
    border: 1px solid var(--bmgg-border);
    border-radius: 10px;
    padding: 16px;
    text-decoration: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
}
.related-card:hover {
    border-color: var(--bmgg-red);
    background: #FFF5F5;
    transform: translateY(-2px);
}
.related-card .rc-icon { font-size: 24px; flex-shrink: 0; }
.related-card .rc-title { font-size: 15px; font-weight: 700; color: var(--bmgg-dark); display: block; margin-bottom: 3px; }
.related-card .rc-sub { font-size: 13px; color: var(--bmgg-muted); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .qa-grid { grid-template-columns: 1fr; }
    .pr-cols { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .author-box { flex-direction: column; }
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
}
