/* Karta produktu (jdev-karta-tresc 1.1.1): certyfikat, motto, podpis Radka, filmy YouTube. Mail Tomka 29.10. */

/* etykieta certyfikatu na zdjeciu w galerii (tekst z <head>, tylko produkty z certyfikatem) */
.zw-ma-certyfikat .zw-galeria { position: relative; }
.zw-ma-certyfikat .zw-galeria::before { position: absolute; top: 16px; left: 16px; z-index: 5; padding: 7px 14px; border-radius: 999px; background: #fff; color: #610700; font-size: 13px; font-weight: 600; line-height: 1.3; box-shadow: 0 4px 14px -6px rgba(58, 23, 16, .45); pointer-events: none; max-width: calc(100% - 32px); }

/* biala sekcja certyfikatu nad Jakoscia; bez certyfikatu sekcja znika */
.zw-sekcja-certyfikat:not(:has(.jdev-cert)) { display: none !important; }
.zw-sekcja-certyfikat { background: #fff !important; }
.jdev-cert { display: flex; align-items: center; gap: 32px; max-width: 760px; margin: 0 auto; padding: 28px 32px; border: 1px solid #eadfd3; border-radius: 18px; background: #fff; }
.jdev-cert__logo { flex: none; width: 140px; height: auto; }
.jdev-cert__nad { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #610700; }
.jdev-cert__nazwa { margin: 0; font-family: "Cormorant", "Cormorant Garamond", serif; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; color: #3a1710; }
@media (max-width: 640px) { .jdev-cert { flex-direction: column; text-align: center; gap: 16px; padding: 24px 20px; } .jdev-cert__logo { width: 110px; } }

/* motto na koncu karty */
.zw-sekcja-motto { background: #f6eee3 !important; }
.jdev-motto { margin: 0; text-align: center; font-family: "Cormorant", "Cormorant Garamond", serif; font-style: italic; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.2; color: #610700; }
.jdev-motto__marka { font-style: normal; font-weight: 700; }

/* podpis Radka w Robimy to sami: "Ten produkt zrobił:" + sam podpis, powiekszony (spotkanie 29.10) */
.jdev-rs__kto + .jdev-rs__podpis { display: block; width: 340px; max-width: 90%; height: auto; margin: 0 0 18px; }

/* filmy YouTube wklejone w opis */
.jdev-yt { position: relative; width: 100%; max-width: 860px; aspect-ratio: 16 / 9; margin: 20px 0; border-radius: 14px; overflow: hidden; background: #000; }
.jdev-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
