/* DODATKOWE POPRAWKI V4 — FotoNaMagnesie */
/* Produkty: pięć kafelków rzeczywiście wyśrodkowanych na komputerze. */
@media (min-width:981px){
  .products-row{display:grid!important;grid-template-columns:repeat(5,minmax(170px,1fr))!important;gap:18px!important;max-width:1040px;margin-left:auto!important;margin-right:auto!important;align-items:stretch}
  .product{height:100%;padding:12px 12px 19px!important}
}
@media (min-width:701px) and (max-width:980px){
  .products-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;max-width:780px;margin-left:auto!important;margin-right:auto!important}
}
@media (max-width:700px){
  .products-row{display:flex!important;overflow-x:auto!important;justify-content:flex-start!important;gap:14px!important;max-width:none!important;margin:0!important;padding:2px 4px 12px!important;scroll-snap-type:x mandatory}
  .product{flex:0 0 min(82%,330px)!important;min-width:min(82%,330px)!important;scroll-snap-align:center}
}

/* Zaufali nam: tekst zastępczy nie przebija spod prawidłowo wczytanego logo. */
.shared-trust-logo{height:100px!important;padding:10px!important;overflow:hidden!important}
.shared-trust-logo img{max-width:118px!important;max-height:78px!important}
.shared-trust-fallback{display:none;place-items:center;width:100%;height:100%;padding:6px!important;line-height:1.12!important}
.shared-trust-card{overflow:hidden!important;min-height:235px!important;padding:26px 20px!important}
.shared-trust-card h3{margin-top:2px!important;line-height:1.35!important;padding-top:1px!important;overflow:visible!important}

/* Social media — wygląd jak na dotychczasowej stronie: bez białych kółek, kolor po najechaniu. */
.social{display:flex;align-items:center;gap:17px!important;margin-top:18px!important}
.social a{width:30px!important;height:30px!important;padding:2px!important;border-radius:7px!important;background:transparent!important;color:#a8b3c6!important;box-shadow:none!important;transition:color .18s ease,transform .18s ease,filter .18s ease!important}
.social a svg{display:block;width:100%;height:100%;fill:currentColor}
.social a:hover,.social a:focus-visible{transform:translateY(-2px) scale(1.06);outline:none}
.social a.social-facebook:hover,.social a.social-facebook:focus-visible{color:#5ee2ec!important}
.social a.social-instagram:hover,.social a.social-instagram:focus-visible{color:#ff5d9d!important}
.social a.social-tiktok:hover,.social a.social-tiktok:focus-visible{color:#fff!important;filter:drop-shadow(2px 0 0 #ff3b78) drop-shadow(-2px 0 0 #31d9e4)}

/* Formularz i ochrona antyspamowa. */
.spam-info{display:flex;align-items:flex-start;gap:10px;margin-top:16px;padding:13px 15px;border:1px solid #d8edf0;border-radius:15px;background:#f2fbfc;color:#395b68;font-size:.82rem;line-height:1.5}
.spam-info strong{color:#087e86}
.spam-info-icon{flex:none;width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#d9f5f5;color:#087e86;font-size:.88rem}

/* Czytelniejsze dokumenty prawne i większe odstępy pomiędzy ramkami. */
.legal-page{font-weight:400}
.legal-page .layout{grid-template-columns:320px minmax(0,1fr);gap:38px}
.legal-page .content{gap:28px}
.legal-page .toc{padding:25px 23px}
.legal-page .toc strong{font-weight:760}
.legal-page .toc-links{gap:10px}
.legal-page .toc a{padding:10px 12px;font-size:.9rem;font-weight:620;line-height:1.35}
.legal-page .contact-mini{margin-top:24px;padding:18px 16px}
.legal-page .contact-mini span{font-weight:500}
.legal-page .contact-mini a{display:block;font-size:.76rem;font-weight:680;line-height:1.45;letter-spacing:-.012em;word-break:normal;overflow-wrap:break-word;hyphens:none}
.legal-page .policy-card,.legal-page .rule-card{padding:32px 34px;box-shadow:0 12px 34px rgba(8,29,55,.075)}
.legal-page .policy-card h2,.legal-page .rule-card h2{font-weight:790;letter-spacing:-.018em}
.legal-page .policy-card p,.legal-page .rule-card p,.legal-page .policy-card li,.legal-page .rule-card li{font-weight:400;line-height:1.72}
.legal-page .policy-card strong,.legal-page .rule-card strong{font-weight:720}
.legal-page .data-grid{gap:22px;margin-top:22px}
.legal-page .data-box{padding:20px 19px;border-radius:18px;box-shadow:0 5px 16px rgba(8,29,55,.045)}
.legal-page .rights{gap:14px;margin-top:18px}
.legal-page .right{padding:15px 17px;font-weight:620}
@media(max-width:900px){.legal-page .layout{grid-template-columns:1fr;gap:26px}}
@media(max-width:620px){
  .legal-page .policy-card,.legal-page .rule-card{padding:24px 19px}
  .legal-page .content{gap:22px}
  .legal-page .toc{padding:22px 18px}
  .legal-page .contact-mini a{font-size:.82rem}
}

/* POPRAWKI V5 — wyraźne rozdzielenie bloków. */
.about-page .team{
  margin-bottom:38px!important;
  border-radius:0 0 46px 46px;
  box-shadow:0 24px 46px rgba(7,27,56,.13);
}
.about-page .team + .products{
  padding-top:70px!important;
  border-top:1px solid #edf2f6;
  background-color:#fff;
}
.about-page .products-row{
  margin-top:12px!important;
}

/* V60 — większy oddech pod siatką danych w dokumentach prawnych. */
.legal-page .data-grid{
  margin-bottom:0!important;
}
.legal-page .data-grid + .note,
.legal-page .data-grid + p.note{
  display:block;
  margin-top:32px!important;
  margin-bottom:0!important;
  padding:18px 20px!important;
  border-radius:18px!important;
}

@media(max-width:700px){
  .about-page .team{margin-bottom:24px!important;border-radius:0 0 30px 30px}
  .about-page .team + .products{padding-top:52px!important}
  .legal-page .data-grid + .note,.legal-page .data-grid + p.note{margin-top:22px!important}
}

/* V6 — klikalne podstrony produktów */
a.product.product-link,a.extra-card.product-link{color:inherit;text-decoration:none;cursor:pointer;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
a.product.product-link:hover,a.extra-card.product-link:hover{transform:translateY(-6px);border-color:#20bcc3;box-shadow:0 20px 42px rgba(15,53,80,.14)}


/* V61 — lżejsza typografia i pełny e-mail w boxie TOC na stronach prawnych */
.legal-page .contact-mini{
  padding:18px 20px!important;
}
.legal-page .contact-mini span{
  display:block!important;
  font-size:.94rem!important;
  font-weight:620!important;
  line-height:1.35!important;
  color:#eef6ff!important;
}
.legal-page .contact-mini a{
  display:block!important;
  margin-top:10px!important;
  font-size:.88rem!important;
  font-weight:620!important;
  line-height:1.25!important;
  letter-spacing:-.01em!important;
  color:#72eef0!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
@media(max-width:700px){
  .legal-page .contact-mini{
    padding:18px 16px!important;
  }
  .legal-page .contact-mini span{
    font-size:.92rem!important;
  }
  .legal-page .contact-mini a{
    font-size:.86rem!important;
  }
}


/* V63 — tylko strony prawne: CTA w menu nie traci białego napisu po hoverze. */
.legal-page .site-header .nav-links > a.nav-cta,
.legal-page .site-header .nav-links > a.nav-cta:link,
.legal-page .site-header .nav-links > a.nav-cta:visited,
.legal-page .site-header .nav-links > a.nav-cta:hover,
.legal-page .site-header .nav-links > a.nav-cta:focus-visible,
.legal-page .site-header .nav-links > a.nav-cta:active{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
