/* ============================================================
   BigFoto Mockup Creator — samouczek (tour) + strona poradnika
   ============================================================ */

/* ---------------- Interaktywny samouczek ---------------- */
.bfmc-tour-backdrop {
    position: fixed; inset: 0; z-index: 100000;
    background: transparent;
}
.bfmc-tour-ring {
    position: fixed; z-index: 100001; border-radius: 8px;
    pointer-events: none;
    box-shadow: 0 0 0 9999px rgba(15,15,26,.62), 0 0 0 3px #e94560, 0 0 24px rgba(233,69,96,.55);
    transition: top .2s ease, left .2s ease, width .2s ease, height .2s ease;
}
.bfmc-tour-tip {
    position: fixed; z-index: 100002; width: 340px; max-width: calc(100vw - 28px);
    background: #fff; border-radius: 14px; padding: 18px 18px 14px;
    box-shadow: 0 20px 55px rgba(0,0,0,.42);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a2e;
}
.bfmc-tour-tip--center { transform: translate(-50%, -50%); }
.bfmc-tour-x {
    position: absolute; top: 8px; right: 12px; background: none; border: none;
    font-size: 24px; line-height: 1; color: #9ca3af; cursor: pointer; padding: 0;
}
.bfmc-tour-x:hover { color: #e94560; }
.bfmc-tour-title { margin: 0 22px 8px 0; font-size: 17px; font-weight: 800; color: #11111d; }
.bfmc-tour-text { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: #374151; }
.bfmc-tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bfmc-tour-count { font-size: 12px; font-weight: 600; color: #9ca3af; white-space: nowrap; }
.bfmc-tour-btns { display: flex; gap: 8px; }
.bfmc-tour-prev, .bfmc-tour-next {
    border: none; border-radius: 50px; padding: 9px 18px; font-family: inherit;
    font-size: 13px; font-weight: 700; cursor: pointer;
}
.bfmc-tour-prev { background: #eef0f3; color: #374151; }
.bfmc-tour-prev:hover { background: #e2e5ea; }
.bfmc-tour-next { background: #e94560; color: #fff; }
.bfmc-tour-next:hover { background: #d63350; }

.bfmc-tour-launch {
    position: fixed; right: 18px; bottom: 18px; z-index: 99990;
    display: inline-flex; align-items: center; gap: 6px;
    background: #11111d; color: #fff; border: none; cursor: pointer;
    padding: 11px 18px; border-radius: 50px; font-family: inherit;
    font-size: 13px; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.bfmc-tour-launch:hover { background: #e94560; }
.bfmc-tour-launch .dashicons { width: 18px; height: 18px; font-size: 18px; }

/* ---------------- Strona poradnika ---------------- */
.bfmc-help { max-width: 1080px; }
.bfmc-help-hero {
    background: linear-gradient(135deg, #11111d 0%, #2a2350 100%);
    color: #fff; border-radius: 16px; padding: 32px 34px; margin: 16px 0 26px;
    position: relative; overflow: hidden;
}
.bfmc-help-hero h1 { color: #fff; margin: 0 0 10px; font-size: 28px; font-weight: 800; }
.bfmc-help-hero p { color: #cfd0e3; font-size: 15px; max-width: 640px; margin: 0 0 18px; line-height: 1.6; }
.bfmc-help-hero .button-hero,
.bfmc-help-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #e94560; color: #fff !important; text-decoration: none;
    padding: 13px 26px; border-radius: 50px; font-weight: 700; font-size: 15px;
    border: none; cursor: pointer; box-shadow: 0 8px 22px rgba(233,69,96,.35);
    transition: transform .15s, background .2s;
}
.bfmc-help-btn:hover { transform: translateY(-2px); background: #d63350; color: #fff !important; }
.bfmc-help-btn.secondary { background: rgba(255,255,255,.14); box-shadow: none; }
.bfmc-help-btn.secondary:hover { background: rgba(255,255,255,.24); }
.bfmc-help-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.bfmc-help-section { background: #fff; border: 1px solid #e2e4ea; border-radius: 14px; padding: 26px 28px; margin-bottom: 22px; }
.bfmc-help-section > h2 {
    margin: 0 0 6px; font-size: 21px; font-weight: 800; color: #11111d;
    display: flex; align-items: center; gap: 10px;
}
.bfmc-help-section > .lead { color: #6b7280; margin: 0 0 18px; font-size: 14px; }

.bfmc-steps { display: grid; gap: 16px; }
.bfmc-step {
    display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start;
    padding: 16px; border: 1px solid #eceef2; border-radius: 12px; background: #fafbfc;
}
.bfmc-step-num {
    width: 46px; height: 46px; border-radius: 12px; background: #11111d; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800;
}
.bfmc-step h3 { margin: 2px 0 6px; font-size: 16px; font-weight: 700; color: #1a1a2e; }
.bfmc-step p { margin: 0; font-size: 14px; line-height: 1.6; color: #4b5563; }
.bfmc-step p + p { margin-top: 8px; }
.bfmc-step code { background: #eef0f3; padding: 2px 7px; border-radius: 5px; font-size: 12.5px; }

.bfmc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bfmc-card { border: 1px solid #eceef2; border-radius: 12px; padding: 18px; background: #fff; }
.bfmc-card h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.bfmc-card p { margin: 0; font-size: 13.5px; color: #4b5563; line-height: 1.55; }
.bfmc-card .dashicons { color: #e94560; }

.bfmc-callout {
    border-left: 4px solid #e94560; background: #fff5f7; border-radius: 8px;
    padding: 14px 16px; margin: 16px 0; font-size: 13.5px; color: #7a2638; line-height: 1.55;
}
.bfmc-callout.info { border-left-color: #2563eb; background: #f0f6ff; color: #1e3a8a; }
.bfmc-callout strong { color: inherit; }

.bfmc-help-faq details {
    border: 1px solid #eceef2; border-radius: 10px; margin-bottom: 10px; background: #fff; overflow: hidden;
}
.bfmc-help-faq summary {
    cursor: pointer; padding: 14px 16px; font-weight: 700; font-size: 14px; color: #1a1a2e; list-style: none;
}
.bfmc-help-faq summary::-webkit-details-marker { display: none; }
.bfmc-help-faq summary::before { content: '+'; display: inline-block; width: 18px; color: #e94560; font-weight: 800; }
.bfmc-help-faq details[open] summary::before { content: '\2212'; }
.bfmc-help-faq details > p { margin: 0; padding: 0 16px 16px 34px; font-size: 13.5px; color: #4b5563; line-height: 1.6; }

.bfmc-pill { display: inline-block; background: #f3f4f7; border: 1px dashed #c3c4c7; border-radius: 6px; padding: 2px 10px; font-weight: 800; letter-spacing: 1px; }

@media (max-width: 782px) {
    .bfmc-grid2 { grid-template-columns: 1fr; }
    .bfmc-help-hero { padding: 24px; }
}
