/*
Theme Name:   Astra Child
Theme URI:    https://gearforguitars.com
Description:  Astra Child Theme — Gear for Guitars
Author:       Gear for Guitars
Author URI:   https://gearforguitars.com
Template:     astra
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:  astra-child
*/

/* ============================================================
   MASQUER AUTEUR & META ARTICLES
   ============================================================ */

img.avatar,
a[href*="/author/"] {
    display: none !important;
}

/* ============================================================
   BOUTONS AFFILIÉS
   ============================================================ */

.gfg-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.gfg-btn:hover {
    opacity: 0.85;
    text-decoration: none !important;
}

/* Bouton Thomann (orange) */
a.gfg-btn.gfg-btn-thomann,
.gfg-btn-thomann {
    background-color: #e85d04 !important;
    color: #ffffff !important;
    border: none !important;
}

/* Bouton Gear4music (bleu) */
a.gfg-btn.gfg-btn-g4m,
.gfg-btn-g4m {
    background-color: #1a56db !important;
    color: #ffffff !important;
    border: none !important;
}

/* Bouton Amazon (orange Amazon) */
a.gfg-btn.gfg-btn-amazon,
.gfg-btn-amazon {
    background-color: #FF9900!important;
    color: #111827 !important;
    border: none !important;
}

/* Bouton secondaire (gris) */
.gfg-btn-secondary {
    background-color: #f3f4f6;
    color: #111827 !important;
    border: 1px solid #d1d5db;
}

/* ============================================================
   TABLEAU COMPARATIF
   ============================================================ */

.gfg-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 14px;
}

.gfg-comparison-table th {
    background-color: #1a1a2e;
    color: #ffffff;
    padding: 12px 16px;
    text-align: left;
}

.gfg-comparison-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.gfg-comparison-table tr:nth-child(even) td {
    background-color: #f9fafb;
}

.gfg-comparison-table tr:hover td {
    background-color: #eff6ff;
}

.gfg-comparison-table .col-btn {
    text-align: center;
    white-space: nowrap;
}

/* ============================================================
   BOÎTE PRODUIT (Product Box)
   ============================================================ */

.gfg-product-box {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fff;
}

.gfg-product-box img {
    width: 180px !important;
    max-width: 180px !important;
    height: auto !important;
    flex-shrink: 0;
    border-radius: 4px;
    object-fit: contain;
}

.gfg-product-box-content {
    flex: 1;
}

.gfg-product-box-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
}

.gfg-product-box-price {
    font-size: 22px;
    font-weight: 700;
    color: #e85d04;
    margin-bottom: 10px;
}

.gfg-product-box-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.gfg-badge {
    background: #dbeafe;
    color: #1e40af;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

.gfg-badge-best {
    background: #fef3c7;
    color: #92400e;
}

.gfg-product-box-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ============================================================
   ENCADRÉ VERDICT (Pros/Cons)
   ============================================================ */

.gfg-verdict {
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 6px 6px 0;
}

.gfg-verdict h4 {
    margin: 0 0 10px;
    color: #15803d;
}

.gfg-verdict ul {
    margin: 0;
    padding-left: 18px;
}

/* ============================================================
   FAQ
   ============================================================ */

.gfg-faq {
    margin: 40px 0;
}

.gfg-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}

.gfg-faq-question {
    background: #f9fafb;
    padding: 14px 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gfg-faq-answer {
    padding: 14px 18px;
    border-top: 1px solid #e5e7eb;
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================================
   ENCADRÉ APPEL À L'ACTION (bannière)
   ============================================================ */

.gfg-cta-box {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin: 40px 0;
}

.gfg-cta-box h3 {
    color: #fff;
    margin-bottom: 10px;
}

.gfg-cta-box p {
    color: #cbd5e1;
    margin-bottom: 20px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 600px) {
    .gfg-product-box {
        flex-direction: column;
    }

    .gfg-product-box img {
        width: 100%;
        max-width: 200px;
    }

    .gfg-comparison-table {
        font-size: 12px;
    }

    .gfg-comparison-table th,
    .gfg-comparison-table td {
        padding: 8px 10px;
    }
}
