/* ── Brand Variables ───────────────────────────────────────────────────────── */
:root {
    --ff-forest:       #1a3220;
    --ff-forest-mid:   #25451f;
    --ff-forest-light: #3a6b30;
    --ff-sage:         #7aa86e;
    --ff-sage-light:   #eef7e7;
    --ff-cream:        #f7f3eb;
    --ff-cream-dark:   #ede8dc;
    --ff-gold:         #c8952a;
    --ff-gold-light:   #e8b84b;
    --ff-charcoal:     #1e1e1e;
    --ff-text-muted:   #6b6b5e;
    --ff-white:        #ffffff;
    --ff-border:       #e0dcd4;

    --ff-radius:       8px;
    --ff-radius-sm:    4px;
    --ff-shadow:       0 2px 12px rgba(0,0,0,.08);
    --ff-section-gap:  48px;
}

body { background-color: var(--ff-cream) !important; }

/* ── WooCommerce cart row ──────────────────────────────────────────────────── */
.woocommerce form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.ff-qty-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--ff-charcoal);
    margin-right: 4px;
}

.woocommerce .single_add_to_cart_button {
    width: auto !important;
    padding: 0 32px !important;
    background-color: var(--ff-forest-mid) !important;
    color: var(--ff-white) !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    border: none !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: background-color .15s ease !important;
}

.woocommerce .single_add_to_cart_button:hover {
    background-color: var(--ff-forest) !important;
}

/* ── Shared block styles ───────────────────────────────────────────────────── */
.ff-block {
    margin-top: var(--ff-section-gap);
}

.ff-block__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ff-forest);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ff-border);
}

/* ── Badge + hook line ─────────────────────────────────────────────────────── */
.ff-badge {
    display: inline-block;
    background: var(--ff-gold);
    color: var(--ff-white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 4px 10px;
    border-radius: var(--ff-radius-sm);
    margin-bottom: 10px;
}

.ff-hook-line {
    font-size: 17px;
    color: var(--ff-text-muted);
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* ── Review snippet ────────────────────────────────────────────────────────── */
.ff-review-snippet {
    background: var(--ff-sage-light);
    border-left: 4px solid var(--ff-sage);
    border-radius: var(--ff-radius);
    padding: 14px 18px;
    margin-bottom: 20px;
}

.ff-review-snippet__stars {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 6px;
}

.ff-star { font-size: 18px; }
.ff-star--full { color: var(--ff-gold); }
.ff-star--empty { color: var(--ff-border); }

.ff-review-snippet__score {
    font-weight: 700;
    font-size: 14px;
    margin-left: 6px;
    color: var(--ff-charcoal);
}

.ff-review-snippet__quote {
    font-size: 15px;
    color: var(--ff-charcoal);
    margin: 0;
    font-style: italic;
}

/* ── Product excerpt ───────────────────────────────────────────────────────── */
.ff-product-excerpt {
    font-size: 15px;
    color: var(--ff-charcoal);
    line-height: 1.65;
    margin-bottom: 20px;
}

.ff-product-excerpt p { margin-bottom: 8px; }
.ff-product-excerpt p:last-child { margin-bottom: 0; }

/* ── Trust badges ──────────────────────────────────────────────────────────── */
.ff-trust-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding: 16px;
    background: var(--ff-cream-dark);
    border-radius: var(--ff-radius);
}

.ff-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 160px;
}

.ff-trust-badge__icon {
    color: var(--ff-forest-light);
    font-size: 18px;
    flex-shrink: 0;
}

.ff-trust-badge__text {
    font-size: 13px;
    font-weight: 600;
    color: var(--ff-charcoal);
    line-height: 1.3;
}

/* ── Why it works ──────────────────────────────────────────────────────────── */
.ff-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.ff-why-card {
    background: var(--ff-white);
    border: 1px solid var(--ff-border);
    border-radius: var(--ff-radius);
    padding: 20px;
}

.ff-why-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ff-forest);
    margin-bottom: 8px;
}

.ff-why-card__desc {
    font-size: 14px;
    color: var(--ff-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ── Best conditions tags ──────────────────────────────────────────────────── */
.ff-condition-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ff-condition-tag {
    display: inline-block;
    background: var(--ff-forest);
    color: var(--ff-white);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}

/* ── Rigging guide ─────────────────────────────────────────────────────────── */
.ff-rigging-guide__intro {
    color: var(--ff-text-muted);
    margin-bottom: 20px;
}

.ff-rig-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ff-rig-card {
    display: flex;
    gap: 16px;
    background: var(--ff-white);
    border: 1px solid var(--ff-border);
    border-radius: var(--ff-radius);
    padding: 18px;
    align-items: flex-start;
}

.ff-rig-card__num {
    width: 32px;
    height: 32px;
    background: var(--ff-forest-mid);
    color: var(--ff-white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ff-rig-card__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--ff-forest);
    margin-bottom: 4px;
}

.ff-rig-card__desc {
    font-size: 14px;
    color: var(--ff-charcoal);
    margin-bottom: 6px;
}

.ff-rig-card__best {
    font-size: 13px;
    color: var(--ff-text-muted);
    margin: 0;
}

/* ── Color guide ───────────────────────────────────────────────────────────── */
.ff-color-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ff-color-row {
    display: grid;
    grid-template-columns: 160px 24px 1fr;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--ff-white);
    border: 1px solid var(--ff-border);
    border-radius: var(--ff-radius);
}

.ff-color-condition {
    font-weight: 600;
    font-size: 14px;
    color: var(--ff-forest);
}

.ff-color-arrow {
    color: var(--ff-sage);
    font-weight: 700;
}

.ff-color-rec {
    font-size: 14px;
    color: var(--ff-charcoal);
}

/* ── Rigging card banner ───────────────────────────────────────────────────── */
.ff-rigging-banner {
    background: var(--ff-forest);
    color: var(--ff-white);
    border-radius: var(--ff-radius);
    padding: 20px 24px;
    margin-top: var(--ff-section-gap);
}

.ff-rigging-banner__inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ff-rigging-banner__icon {
    font-size: 28px;
    flex-shrink: 0;
}

.ff-rigging-banner strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.ff-rigging-banner span {
    font-size: 14px;
    opacity: .85;
}

/* ── Specs table ───────────────────────────────────────────────────────────── */
.ff-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ff-table th,
.ff-table td {
    padding: 10px 14px;
    border: 1px solid var(--ff-border);
    text-align: left;
}

.ff-table th {
    background: var(--ff-cream-dark);
    font-weight: 600;
    color: var(--ff-charcoal);
    width: 35%;
}

.ff-table td {
    background: var(--ff-white);
    color: var(--ff-charcoal);
}

.ff-table tbody tr:nth-child(even) td {
    background: var(--ff-cream);
}

/* ── Kit contents ──────────────────────────────────────────────────────────── */
.ff-kit-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.ff-kit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--ff-white);
    border: 1px solid var(--ff-border);
    border-radius: var(--ff-radius);
    padding: 12px 16px;
}

.ff-kit-item__icon {
    color: var(--ff-forest-light);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.ff-kit-item__text {
    font-size: 14px;
    color: var(--ff-charcoal);
}

/* ── Value banner ──────────────────────────────────────────────────────────── */
.ff-value-banner {
    background: var(--ff-sage-light);
    border: 1px solid var(--ff-sage);
    border-radius: var(--ff-radius);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.ff-value-banner__label {
    font-size: 14px;
    color: var(--ff-text-muted);
}

.ff-value-banner__amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--ff-forest);
}

/* ── FAQ ───────────────────────────────────────────────────────────────────── */
.ff-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ff-faq__item {
    background: var(--ff-white);
    border: 1px solid var(--ff-border);
    border-radius: var(--ff-radius);
    padding: 16px 20px;
}

.ff-faq__q {
    font-weight: 700;
    color: var(--ff-forest);
    margin-bottom: 6px;
}

.ff-faq__a {
    color: var(--ff-charcoal);
    font-size: 14px;
    margin: 0;
}

/* ── Pairing guide ─────────────────────────────────────────────────────────── */
.ff-pairing-guide__text {
    font-size: 15px;
    color: var(--ff-charcoal);
    line-height: 1.6;
    background: var(--ff-white);
    border: 1px solid var(--ff-border);
    border-radius: var(--ff-radius);
    padding: 18px;
}

/* ── Fly details ───────────────────────────────────────────────────────────── */
.ff-fly-section {
    margin-bottom: 28px;
}

.ff-fly-section:last-child {
    margin-bottom: 0;
}

/* ── Hatch ref ─────────────────────────────────────────────────────────────── */
.ff-hatch-ref {
    background: var(--ff-sage-light);
    border-radius: var(--ff-radius);
    padding: 20px 24px;
}

.ff-link {
    color: var(--ff-forest-mid);
    font-weight: 600;
    text-decoration: underline;
}

/* ── Educational preview image ─────────────────────────────────────────────── */
.ff-edu-preview__img {
    max-width: 100%;
    border-radius: var(--ff-radius);
    border: 1px solid var(--ff-border);
    display: block;
    margin: 0 auto;
}

/* ── Free download button ──────────────────────────────────────────────────── */
.ff-free-download {
    margin-top: 24px;
    margin-bottom: 32px;
    text-align: center;
}

.ff-free-download__btn {
    background: var(--ff-forest-mid);
    color: var(--ff-white);
    border: none;
    border-radius: 6px;
    padding: 14px 36px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .15s ease;
}

.ff-free-download__btn:hover {
    background: var(--ff-forest);
}

.ff-free-download__sub {
    margin-top: 10px;
    font-size: 14px;
    color: var(--ff-text-muted);
}

/* ── Modal ─────────────────────────────────────────────────────────────────── */
.ff-modal[hidden] { display: none; }

.ff-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ff-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}

.ff-modal__box {
    position: relative;
    background: var(--ff-white);
    border-radius: var(--ff-radius);
    padding: 36px 32px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 8px 40px rgba(0,0,0,.18);
    z-index: 1;
}

.ff-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--ff-text-muted);
    line-height: 1;
}

.ff-modal__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ff-forest);
    margin-bottom: 6px;
}

.ff-modal__sub {
    font-size: 14px;
    color: var(--ff-text-muted);
    margin-bottom: 24px;
}

/* ── Download form ─────────────────────────────────────────────────────────── */
.ff-form-field {
    margin-bottom: 16px;
}

.ff-form-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ff-charcoal);
    margin-bottom: 6px;
}

.ff-optional-label { font-weight: 400; color: var(--ff-text-muted); }
.ff-required-label { color: var(--ff-gold); }

.ff-form-field input[type="text"],
.ff-form-field input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--ff-border);
    border-radius: var(--ff-radius-sm);
    font-size: 15px;
    color: var(--ff-charcoal);
    background: var(--ff-cream);
    box-sizing: border-box;
    transition: border-color .15s;
}

.ff-form-field input:focus {
    border-color: var(--ff-forest-light);
    outline: none;
    background: var(--ff-white);
}

.ff-form-error {
    background: #fef2f2;
    border: 1px solid #f87171;
    color: #b91c1c;
    border-radius: var(--ff-radius-sm);
    padding: 10px 12px;
    font-size: 14px;
    margin-bottom: 14px;
}

.ff-download-form__submit {
    width: 100%;
    background: var(--ff-forest-mid);
    color: var(--ff-white);
    border: none;
    border-radius: 6px;
    padding: 13px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .15s;
}

.ff-download-form__submit:hover { background: var(--ff-forest); }
.ff-download-form__submit:disabled { opacity: .7; cursor: not-allowed; }

.ff-download-form__privacy {
    font-size: 12px;
    color: var(--ff-text-muted);
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
}

/* ── Download success ──────────────────────────────────────────────────────── */
.ff-download-success {
    text-align: center;
    padding: 16px 0;
}

.ff-download-success[hidden] { display: none; }

.ff-download-success__icon {
    font-size: 48px;
    color: var(--ff-forest-light);
    margin-bottom: 12px;
}

.ff-download-success__msg {
    font-size: 17px;
    font-weight: 600;
    color: var(--ff-forest);
    line-height: 1.5;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .ff-trust-badges { flex-direction: column; }
    .ff-color-row { grid-template-columns: 1fr; gap: 4px; }
    .ff-rig-card { flex-direction: column; }
    .ff-modal__box { padding: 24px 20px; }
}

/* ── Sticky Gallery ────────────────────────────────────────────────────────── */
@media (min-width: 1024px) {
    .woocommerce-product-gallery {
        position: sticky !important;
        top: 20px !important;
        align-self: start !important;
    }
}
/* ── Product Description ───────────────────────────────────────────────────── */
.ff-product-description h2,
.ff-product-description h3,
.ff-product-description h4 {
    font-weight: 700;
    color: var(--ff-forest);
    margin-top: 24px;
    margin-bottom: 10px;
}
.ff-product-description h2 { font-size: 20px; }
.ff-product-description h3 { font-size: 17px; }
.ff-product-description p {
    margin-bottom: 14px;
    line-height: 1.7;
}
.ff-product-description ul,
.ff-product-description ol {
    margin: 0 0 14px 20px;
    padding: 0;
}
.ff-product-description ul { list-style: disc; }
.ff-product-description ol { list-style: decimal; }
.ff-product-description li {
    margin-bottom: 6px;
    line-height: 1.6;
}
.ff-product-description strong { font-weight: 700; }
.ff-product-description em { font-style: italic; }