/* =========================================================================
   Stopka sklepu FabrykaCmyka — 1:1 z projektem „Stopka" (Stopka.html).
   Renderowana na wp_footer POZA .fc-root → reguły zescope'owane pod `.fc-footer`.
   Tło sterowane panelem przez zmienną --fc-foot-bg (domyślnie #2B2B2B).
   Breakpoint mobilny: max-width 620px (kolumny → akordeony, także newsletter).
   ========================================================================= */

/* Ukryj natywną stopkę motywu w kontekście sklepu — zastępujemy własną. */
.fc-shop-foot .elementor-location-footer,
.fc-shop-foot .site-footer,
.fc-shop-foot footer[role="contentinfo"],
.fc-shop-foot .ast-small-footer { display: none !important; }

.fc-footer{background:var(--fc-foot-bg,#2B2B2B);color:#b9bcbe;font-family:'Lato',sans-serif;line-height:1.5;width:100%}
.fc-footer *{box-sizing:border-box}
/* SVG w kontenerach flex (przycisk newslettera, ikony) nie może się kurczyć do 0 szerokości. */
.fc-footer svg{flex:none}
.fc-footer h4{font-family:'Poppins',sans-serif;color:#fff;font-size:13px;letter-spacing:.6px;text-transform:uppercase;margin:0 0 15px;font-weight:600;line-height:1.18}
.fc-footer a{color:#b9bcbe;text-decoration:none;transition:color .13s}
.fc-footer a:hover{color:#FFDE2C}

/* top grid — wyśrodkowany, samodzielny (bez zależności od globalnego .fc-wrap).
   Liczba kolumn-rodziców zmienna (panel) → --fc-fcols; proporcje 1:1 z handoffem stopki scalonej. */
.fc-footer__top{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:1.7fr repeat(var(--fc-fcols,2),1fr) 1.25fr;gap:32px;padding:52px 24px 36px}

/* logo — znak 2×2 + napis */
.fc-footer .fc-logo{display:inline-flex;align-items:center;gap:11px}
.fc-footer .fc-logo__img{height:44px;width:auto;max-width:220px;object-fit:contain;display:block}
.fc-footer .fc-logo__mark{display:grid;grid-template-columns:1fr 1fr;gap:2.5px;width:26px;height:26px;flex:none}
.fc-footer .fc-logo__mark i{border-radius:3px;display:block}
.fc-footer .fc-logo__mark i:nth-child(1){background:#6EC1E4}
.fc-footer .fc-logo__mark i:nth-child(2){background:var(--fc-magenta,#C800A7)}
.fc-footer .fc-logo__mark i:nth-child(3){background:#FFDE2C}
.fc-footer .fc-logo__mark i:nth-child(4){background:#54595F}
.fc-footer .fc-logo__txt{font-family:'Poppins',sans-serif;font-weight:700;font-size:19px;letter-spacing:-.2px;color:#fff}
.fc-footer .fc-logo__txt b{color:var(--fc-magenta,#C800A7);font-weight:700}

.fc-footer__desc{font-size:13.5px;color:#9a9d9f;margin:16px 0 0;max-width:300px;line-height:1.6}
.fc-footer__contact{display:flex;flex-direction:column;gap:10px;margin-top:16px}
.fc-footer__contact a,.fc-footer__contact span{display:inline-flex;align-items:flex-start;gap:10px;font-size:13.5px;color:#c7cacc;line-height:1.45}
.fc-footer__contact svg{color:#FFDE2C;flex:none;margin-top:1px}

/* przycisk „Podziel się opinią w Google" — 1:1 z handoffem; jawne stany (Astra przemalowuje linki/przyciski) */
.fc-footer .fc-greview{display:inline-flex;align-items:center;gap:9px;margin-top:22px;padding:12px 20px;border:1.5px solid #FFDE2C;border-radius:11px;color:#fff !important;background:transparent !important;font-family:'Poppins',sans-serif;font-weight:600;font-size:13px;align-self:flex-start;transition:.16s}
.fc-footer .fc-greview:focus,.fc-footer .fc-greview:focus-visible,.fc-footer .fc-greview:active{background:transparent !important;color:#fff !important}
.fc-footer .fc-greview:hover{background:#FFDE2C !important;color:#141414 !important}
.fc-footer .fc-greview svg{flex:none}

/* sekcja podrzędna kolumny („Do pobrania") — doklejona wewnątrz .fc-fcol__b rodzica */
.fc-footer .fc-fcol__sep{margin-top:26px}

/* kolumny linków */
.fc-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.fc-footer li a{font-size:13.5px}
.fc-soonchip{display:inline-block;font-size:10px;font-weight:700;color:#86898b;margin-left:6px}

/* newsletter */
.fc-footer__news p{font-size:13px;color:#9a9d9f;line-height:1.55;margin:0 0 14px}
.fc-news__form{display:flex;gap:9px}
.fc-news__form input{flex:1;min-width:0;height:46px;border-radius:11px;border:1px solid #4a4a4a;background:#232323;color:#fff;padding:0 15px;font-size:14px;font-family:inherit;outline:none;transition:border-color .15s}
.fc-news__form input::placeholder{color:#8a8d8f}
.fc-news__form input:focus{border-color:var(--fc-magenta,#C800A7)}
.fc-news__form button{flex:none;width:46px;height:46px;border:none;border-radius:11px;background:var(--fc-magenta,#C800A7);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:filter .15s}
.fc-news__form button:hover{filter:brightness(.92)}
.fc-news__soc{display:flex;gap:10px;margin-top:16px}
.fc-news__soc a{width:38px;height:38px;border-radius:10px;background:#232323;display:flex;align-items:center;justify-content:center;color:#c7cacc;transition:.15s}
.fc-news__soc a:hover{background:#333;color:#fff}

/* nagłówek akordeonu (chevron widoczny tylko na mobile) */
.fc-fcol__h{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px}
/* Astra koloruje button:hover/:focus/:active na niebiesko — wymuszamy brak tła we wszystkich stanach. */
.fc-footer .fc-fcol__h,
.fc-footer .fc-fcol__h:hover,
.fc-footer .fc-fcol__h:focus,
.fc-footer .fc-fcol__h:focus-visible,
.fc-footer .fc-fcol__h:active{background:transparent!important;box-shadow:none!important;outline:none;color:inherit}
.fc-fcol__chev{display:none;flex:none;color:#86898b;transition:transform .2s}
.fc-fcol__b{overflow:hidden}

/* pasek dolny */
.fc-footer__bot{max-width:1280px;margin:0 auto;border-top:1px solid #3c3c3c;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;font-size:12.5px;color:#86898b}
.fc-footer__botl{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.fc-footer__credit{padding-left:14px;border-left:1px solid #3c3c3c;color:#6a6d6f;font-size:11.5px}
.fc-footer__botr{display:flex;align-items:center;gap:18px}
.fc-footer__legal{display:flex;gap:18px;flex-wrap:wrap}
.fc-footer__legal a{color:#86898b}
.fc-footer .fc-pay{flex:none;height:24px;padding:0 9px;border-radius:5px;background:#f2f2f2;color:#2B2B2B;font-family:'Poppins',sans-serif;font-weight:800;font-size:11px;letter-spacing:.3px;display:inline-flex;align-items:center}
.fc-footer .fc-pay--img{background:#fff;padding:3px 7px}
.fc-footer .fc-pay__img{height:18px;width:auto;display:block;object-fit:contain}

/* Sitewide: na zwykłych stronach motyw/Elementor przemalowuje kolory linków (kit/Astra) —
   telefon/e-mail (a) różniły się od adresu (span). Wymuszamy kolory stopki po regułach bazowych.
   Kolejność w bloku ma znaczenie: ogólne → szczegółowe (równe specyficzności rozstrzyga położenie). */
footer.fc-footer a{color:#b9bcbe !important}
footer.fc-footer a:hover{color:#FFDE2C !important}
footer.fc-footer .fc-footer__contact a{color:#c7cacc !important}
footer.fc-footer .fc-footer__contact a:hover{color:#FFDE2C !important}
footer.fc-footer .fc-news__soc a{color:#c7cacc !important}
footer.fc-footer .fc-news__soc a:hover{color:#fff !important}
footer.fc-footer .fc-footer__bot a{color:#86898b !important}
footer.fc-footer .fc-footer__bot a:hover{color:#FFDE2C !important}
footer.fc-footer a.fc-footer__credit{color:#6a6d6f !important}
footer.fc-footer a.fc-footer__credit:hover{color:#FFDE2C !important}

/* ---- tablet ---- */
@media (max-width:900px){
  .fc-footer__top{grid-template-columns:1fr 1fr;gap:28px}
}

/* ---- mobile: kolumny → akordeony ---- */
@media (max-width:620px){
  .fc-footer__top{grid-template-columns:1fr;gap:0;padding:20px 16px 4px}
  .fc-footer__desc{max-width:none;margin:14px 0 0}
  .fc-footer__brand{padding-bottom:22px}
  .fc-footer .fc-greview{width:100%;justify-content:center}
  .fc-footer .fc-fcol__sep{margin-top:16px}
  .fc-fcol{border-top:1px solid #3c3c3c}
  .fc-fcol__h{cursor:pointer;padding:15px 0}
  .fc-fcol h4{margin-bottom:0}
  .fc-fcol__chev{display:block}
  .fc-fcol.is-open .fc-fcol__chev{transform:rotate(180deg)}
  .fc-fcol__b{max-height:0;transition:max-height .26s ease,padding .26s ease}
  .fc-fcol.is-open .fc-fcol__b{max-height:560px;padding-bottom:16px}
  .fc-footer__news.is-open .fc-fcol__b{padding-bottom:28px}

  .fc-footer__bot{flex-direction:column;align-items:stretch;gap:14px;padding:20px 16px}
  .fc-footer__botl{width:100%;justify-content:center}
  .fc-footer__botl span{text-align:center}
  .fc-footer__credit{display:none}
  .fc-footer .fc-pay{display:none}
  .fc-footer__botr{width:100%;justify-content:flex-start}
}
