/*
Theme Name: IPS Edu
Theme URI: https://ipsedu.pl/
Author: IPS Szkoła Językowa Online
Description: Motyw strony IPS Szkoła Językowa Online — Izabela Piskorek. Biało-złota, elegancka strona główna: matura z polskiego, hiszpański (L·U·N·O), angielski.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ips-edu
*/

/* ==========================================================================
   1. Tokeny
   ========================================================================== */
:root {
	--ips-white: #FFFFFF;
	--ips-cream: #FAF8F3;
	--ips-ink: #1A1A1A;
	--ips-text: #4A463F;
	--ips-muted: #5F5A52;
	--ips-line: #E6DCCB;
	--ips-line-soft: #EFEAE2;
	--ips-input: #D9CFBF;
	--ips-gold: #8C6A3A;      /* tekst i ikony (kontrast AA na białym) */
	--ips-gold-line: #B08A4F; /* linie, gwiazdki */
	--ips-gold-soft: #C9A46A; /* dekoracje */

	--ips-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--ips-sans: "Jost", "Helvetica Neue", Arial, sans-serif;

	--ips-wrap: 1200px;
	--ips-gutter: clamp(20px, 5vw, 120px);
	--ips-section: clamp(64px, 8vw, 100px);
}

/* ==========================================================================
   2. Baza
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--ips-white);
	color: var(--ips-ink);
	font-family: var(--ips-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ips-ink); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--ips-gold); }
:focus-visible { outline: 2px solid var(--ips-gold); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--ips-serif); font-weight: 500; line-height: 1.05; }
h1 em, h2 em { font-style: italic; }
p { margin: 0; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000;
	top: 8px; left: 8px; padding: 12px 18px; background: var(--ips-ink); color: #fff;
}

.ips-wrap { width: 100%; max-width: calc(var(--ips-wrap) + 2 * var(--ips-gutter)); margin: 0 auto; padding: 0 var(--ips-gutter); }
.ips-section { padding: var(--ips-section) 0; }
.ips-section--cream { background: var(--ips-cream); }

.ips-eyebrow {
	display: block;
	font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
	color: var(--ips-gold);
}
.ips-h2 { font-size: clamp(38px, 4.2vw, 58px); }
.ips-lead { font-size: 17px; line-height: 1.7; color: var(--ips-text); }
.ips-muted { color: var(--ips-muted); }

/* Przyciski */
.ips-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 52px; padding: 0 26px;
	font-family: var(--ips-sans); font-size: 14px; font-weight: 500;
	letter-spacing: .08em; text-transform: uppercase;
	border: 1px solid var(--ips-ink); cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.ips-btn--dark { background: var(--ips-ink); color: #fff; }
.ips-btn--dark:hover { background: #fff; color: var(--ips-ink); }
.ips-btn--ghost { background: transparent; color: var(--ips-ink); }
.ips-btn--ghost:hover { background: var(--ips-ink); color: #fff; }
.ips-btn--sm { min-height: 46px; padding: 0 20px; font-size: 13px; }
.ips-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.ips-link {
	font-size: 15px; font-weight: 500;
	border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.ips-arrow-link {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
.ips-arrow-link svg { width: 16px; height: 16px; }

.ips-stars { color: var(--ips-gold-line); letter-spacing: 3px; font-size: 14px; }

/* ==========================================================================
   3. Nagłówek
   ========================================================================== */
.ips-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--ips-line-soft);
}
.admin-bar .ips-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ips-header { top: 46px; } }

.ips-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 96px; }
.ips-header__logo img, .ips-header__logo .custom-logo { height: 72px; width: auto; }
.ips-header__logo .custom-logo-link { display: block; }

.ips-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 40px; }
.ips-nav a { font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.ips-nav .current-menu-item > a:not([href*="#"]) { color: var(--ips-gold); }

.ips-header__actions { display: flex; align-items: center; gap: 20px; }
@media (max-width: 1024px) { .ips-header__actions { gap: 10px; } }
.ips-header__login { font-size: 15px; font-weight: 500; color: var(--ips-muted); }
.ips-header__icon { position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ips-line); flex-shrink: 0; }
.ips-header__icon svg { width: 20px; height: 20px; }
.ips-header__icon:hover { border-color: var(--ips-gold-line); }
.ips-header__account { display: none; }
.ips-header__cart-count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ips-gold); color: #fff; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }

.ips-burger {
	display: none; width: 48px; height: 48px; border: 1px solid var(--ips-line);
	background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.ips-burger span, .ips-burger span::before, .ips-burger span::after {
	display: block; width: 20px; height: 1.5px; background: var(--ips-ink); position: relative; content: "";
}
.ips-burger span::before { position: absolute; top: -6px; }
.ips-burger span::after { position: absolute; top: 6px; }

/* ==========================================================================
   4. Hero
   ========================================================================== */
.ips-hero { position: relative; background: var(--ips-cream); overflow: hidden; }
.ips-hero__media { position: absolute; inset: 0; }
.ips-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
@media (min-width: 1441px) {
	/* Na szerokich ekranach zdjęcie w naturalnym kadrze, prawa strona przechodzi w tło */
	.ips-hero__media img { width: auto; height: 100%; max-width: none; object-fit: fill; }
}
.ips-hero__inner { position: relative; min-height: 696px; display: flex; align-items: center; justify-content: flex-end; }
.ips-hero__content { width: 420px; margin-right: 0; display: flex; flex-direction: column; gap: 26px; padding: 64px 0; }
.ips-hero h1 { font-size: clamp(44px, 4.5vw, 64px); line-height: 1.02; letter-spacing: -.01em; }
.ips-hero h1 em { color: var(--ips-gold); }
.ips-hero__text { font-size: 18px; line-height: 1.6; color: var(--ips-text); }
.ips-hero__ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* ==========================================================================
   5. Pasek zaufania
   ========================================================================== */
.ips-trust { border-bottom: 1px solid var(--ips-line-soft); }
.ips-trust__grid { display: grid; grid-template-columns: repeat(var(--ips-trust-cols, 4), minmax(0,1fr)); min-height: 150px; align-items: center; }
.ips-trust__item { display: flex; flex-direction: column; gap: 4px; padding: 24px 32px; border-right: 1px solid var(--ips-line); }
.ips-trust__item:first-child { padding-left: 0; }
.ips-trust__item--rating { flex-direction: row; align-items: center; gap: 16px; }
.ips-trust__item:last-child { border-right: 0; }
.ips-trust__big { font-family: var(--ips-serif); font-size: 48px; line-height: 1; }
.ips-trust__title { font-family: var(--ips-serif); font-size: 30px; line-height: 1.1; }
.ips-trust__sub { font-size: 14px; color: var(--ips-muted); }
.ips-trust__rating { display: flex; flex-direction: column; gap: 4px; }

/* ==========================================================================
   6. Ścieżki
   ========================================================================== */
.ips-center-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; margin-bottom: 56px; }
.ips-rule { width: 48px; height: 1px; background: var(--ips-gold-line); }
.ips-paths { display: grid; grid-template-columns: repeat(var(--ips-paths-cols, 3), minmax(0,1fr)); gap: 28px; }
.ips-path {
	display: flex; flex-direction: column; gap: 18px; padding: 44px 40px; min-height: 400px;
	background: #fff; border: 1px solid var(--ips-line);
	transition: border-color .2s ease;
}
.ips-path:hover { border-color: var(--ips-gold-line); color: var(--ips-ink); }
.ips-path--cream { background: var(--ips-cream); }
.ips-path__num { font-family: var(--ips-serif); font-size: 22px; color: var(--ips-gold); }
.ips-path__lang { font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ips-muted); }
.ips-path__title { font-family: var(--ips-serif); font-size: 36px; line-height: 1.1; }
.ips-path__text { font-size: 16px; line-height: 1.65; color: var(--ips-text); }
.ips-path .ips-arrow-link { margin-top: auto; }

/* ==========================================================================
   7. Matura
   ========================================================================== */
.ips-split-head { display: flex; gap: 96px; align-items: flex-end; margin-bottom: 60px; }
.ips-split-head__main { flex: 1 1 0; display: flex; flex-direction: column; gap: 20px; }
.ips-split-head__side { width: 420px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

.ips-stats { display: grid; grid-template-columns: repeat(var(--ips-stats-cols, 4), minmax(0,1fr)); background: #fff; border: 1px solid var(--ips-line); margin-bottom: 60px; }
.ips-stat { padding: 36px 32px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--ips-line-soft); }
.ips-stat:last-child { border-right: 0; }
.ips-stat__value { font-family: var(--ips-serif); font-size: clamp(38px, 3.6vw, 52px); line-height: 1; }
.ips-stat__value--gold { color: var(--ips-gold); }
.ips-stat__label { font-size: 15px; color: var(--ips-muted); }

.ips-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--ips-steps-cols, 4), minmax(0,1fr)); gap: 32px; }
.ips-step { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--ips-gold-line); }
.ips-step__num { font-family: var(--ips-serif); font-size: 20px; color: var(--ips-gold); }
.ips-step__title { font-size: 18px; font-weight: 500; }
.ips-step__text { font-size: 15px; line-height: 1.6; color: var(--ips-text); }

/* ==========================================================================
   8. Hiszpański / L·U·N·O
   ========================================================================== */
.ips-spanish { display: flex; gap: 88px; align-items: center; }
.ips-spanish__media { position: relative; width: 560px; flex-shrink: 0; padding: 0 40px 40px 0; }
.ips-spanish__media img { width: 100%; aspect-ratio: 520 / 560; object-fit: cover; }
.ips-badge {
	position: absolute; right: 0; bottom: 0; width: 240px; padding: 24px 26px;
	background: #fff; border: 1px solid var(--ips-line);
	display: flex; flex-direction: column; gap: 6px;
}
.ips-badge__label { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ips-gold); }
.ips-badge__title { font-family: var(--ips-serif); font-size: 34px; letter-spacing: .06em; line-height: 1.1; }
.ips-badge__sub { font-size: 14px; color: var(--ips-muted); }

.ips-spanish__content { flex: 1 1 0; display: flex; flex-direction: column; gap: 24px; }
.ips-offers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ips-line); }
.ips-offer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--ips-line); }
.ips-offer__info { display: flex; flex-direction: column; gap: 4px; }
.ips-offer__kind { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ips-gold); }
.ips-offer__name { font-size: 18px; font-weight: 500; }
.ips-offer__meta { max-width: 460px; line-height: 1.5; }
.ips-offer__meta { font-size: 14px; color: var(--ips-muted); }
.ips-offer__buy { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.ips-offer__price { font-family: var(--ips-serif); font-size: 26px; }
.ips-offer__price--gold { color: var(--ips-gold); }

/* ==========================================================================
   9. Jak uczę
   ========================================================================== */
.ips-row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 52px; }
.ips-row-head__main { display: flex; flex-direction: column; gap: 16px; }
.ips-row-head__side { max-width: 360px; font-size: 16px; line-height: 1.7; color: var(--ips-text); }
.ips-pillars { display: grid; grid-template-columns: repeat(var(--ips-pillars-cols, 4), minmax(0,1fr)); gap: 28px; }
.ips-pillar { display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; background: #fff; border: 1px solid var(--ips-line-soft); }
.ips-pillar svg { width: 28px; height: 28px; stroke: var(--ips-gold); }
.ips-pillar__title { font-family: var(--ips-sans); font-size: 18px; font-weight: 500; }
.ips-pillar__text { font-size: 15px; line-height: 1.6; color: var(--ips-text); }

/* ==========================================================================
   10. O mnie
   ========================================================================== */
.ips-about { display: flex; gap: 72px; align-items: center; }
.ips-about__content { flex: 1 1 0; display: flex; flex-direction: column; gap: 24px; }
.ips-about__content .ips-lead { line-height: 1.75; }
.ips-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ips-tags li { padding: 10px 16px; border: 1px solid var(--ips-line); font-size: 14px; }
.ips-signature { font-family: var(--ips-serif); font-style: italic; font-size: 30px; color: var(--ips-gold); }
.ips-about__media { width: 700px; flex-shrink: 0; }
.ips-about__media img { width: 100%; aspect-ratio: 917 / 633; object-fit: cover; }

/* ==========================================================================
   11. Opinie
   ========================================================================== */
.ips-rating { display: flex; align-items: center; gap: 18px; }
.ips-rating__value { font-family: var(--ips-serif); font-size: 44px; line-height: 1; }
.ips-rating__meta { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ips-muted); }
.ips-rating .ips-link { margin-left: 12px; }

.ips-reviews { display: grid; grid-template-columns: repeat(var(--ips-reviews-cols, 3), minmax(0,1fr)); gap: 28px; }
.ips-review { margin: 0; padding: 40px 36px; min-height: 270px; background: #fff; border: 1px solid var(--ips-line-soft); display: flex; flex-direction: column; gap: 20px; }
.ips-review__mark { font-family: var(--ips-serif); font-size: 64px; line-height: .5; color: var(--ips-gold-soft); }
.ips-review blockquote { margin: 0; font-family: var(--ips-serif); font-size: 25px; line-height: 1.35; }
.ips-review figcaption { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.ips-review cite { font-style: normal; font-weight: 500; }

/* ==========================================================================
   12. Kontakt
   ========================================================================== */
.ips-contact { display: flex; gap: 96px; align-items: center; }
.ips-contact__content { flex: 1 1 0; display: flex; flex-direction: column; gap: 24px; }
.ips-contact__content .ips-lead { max-width: 480px; }
.ips-contact__links { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; font-size: 17px; }
.ips-contact__links a { display: inline-flex; align-items: center; gap: 14px; }
.ips-contact__links svg { width: 20px; height: 20px; stroke: var(--ips-gold); }

.ips-form { width: 520px; flex-shrink: 0; padding: 44px; background: var(--ips-cream); border: 1px solid var(--ips-line); display: flex; flex-direction: column; gap: 18px; }
.ips-field { display: flex; flex-direction: column; gap: 8px; }
.ips-field label { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ips-text); }
.ips-field input, .ips-field select, .ips-form .wpcf7 input:not([type=submit]):not([type=checkbox]), .ips-form .wpcf7 select, .ips-form .wpcf7 textarea {
	width: 100%; height: 52px; padding: 0 16px;
	border: 1px solid var(--ips-input); border-radius: 0; background: #fff;
	font-family: var(--ips-sans); font-size: 15px; color: var(--ips-ink);
}
.ips-field input:focus, .ips-field select:focus { outline: none; border-color: var(--ips-gold); box-shadow: 0 0 0 3px rgba(140,106,58,.15); }
.ips-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--ips-muted); }
.ips-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ips-ink); flex-shrink: 0; }
.ips-consent a { text-decoration: underline; color: var(--ips-muted); }
.ips-form .ips-btn { width: 100%; min-height: 58px; letter-spacing: .1em; }
.ips-hp { position: absolute; left: -9999px; }
.ips-notice { padding: 14px 16px; font-size: 15px; border: 1px solid; }
.ips-notice--ok { border-color: #9DBFA7; background: #EEF6F0; color: #1F5A33; }
.ips-notice--err { border-color: #E0A9A0; background: #FBEFED; color: #8A2A1E; }

/* ==========================================================================
   13. Stopka
   ========================================================================== */
.ips-footer { background: var(--ips-cream); border-top: 1px solid var(--ips-line); padding: 64px 0 40px; }
.ips-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 48px; }
.ips-footer__logo img, .ips-footer__logo .custom-logo { height: 120px; width: auto; }
.ips-footer__cols { display: flex; gap: 88px; font-size: 15px; }
.ips-footer__col { display: flex; flex-direction: column; gap: 12px; }
.ips-footer__col h2 { font-family: var(--ips-sans); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ips-gold); margin-bottom: 4px; }
.ips-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ips-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--ips-line); font-size: 13px; color: var(--ips-muted); }
.ips-footer__bottom a { color: var(--ips-muted); }

/* ==========================================================================
   14. Podstrony (page.php / index.php)
   ========================================================================== */
.ips-page { padding: var(--ips-section) 0; }
.ips-page__title { font-size: clamp(40px, 5vw, 64px); margin-bottom: 32px; }
.ips-content { max-width: 100%; }
.ips-content > * + * { margin-top: 1.1em; }
.ips-content h2 { font-size: 36px; margin-top: 1.6em; }
.ips-content h3 { font-size: 28px; margin-top: 1.4em; }
.ips-content a { color: var(--ips-gold); text-decoration: underline; }
.ips-post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 32px; }

/* ==========================================================================
   15. Responsywność
   ========================================================================== */
@media (max-width: 1200px) {
	.ips-nav ul { gap: 26px; }
	.ips-header__login { display: none; }
	.ips-header__account { display: inline-flex; }
	.ips-spanish, .ips-about, .ips-contact { gap: 56px; }
	.ips-spanish__media { width: 46%; }
	.ips-about__media { width: 52%; }
	.ips-form { width: 460px; }
	.ips-split-head { gap: 56px; }
}

@media (max-width: 1024px) {
	.ips-burger { display: inline-flex; }
	.ips-header__cta { display: none; }
	.ips-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		background: #fff; border-bottom: 1px solid var(--ips-line);
		display: none;
	}
	.ips-nav.is-open { display: block; }
	.ips-nav ul { flex-direction: column; gap: 0; padding: 8px var(--ips-gutter) 20px; }
	.ips-nav li { border-bottom: 1px solid var(--ips-line-soft); }
	.ips-nav a { display: block; padding: 16px 0; font-size: 17px; }

	/* Hero: zdjęcie nad tekstem */
	.ips-hero { background: #fff; }
	.ips-hero__media { position: relative; height: 56vw; max-height: 520px; }
	.ips-hero__media img { object-position: 20% center; }
	.ips-hero__inner { min-height: 0; justify-content: flex-start; }
	.ips-hero__content { width: 100%; max-width: 620px; padding: 40px 0 56px; }

	.ips-trust__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.ips-trust__item, .ips-trust__item:first-child { padding: 24px 20px 24px 0; border-right: 0; border-bottom: 1px solid var(--ips-line-soft); }
	.ips-trust__item:nth-child(n+3) { border-bottom: 0; }

	.ips-paths, .ips-reviews { grid-template-columns: 1fr; }
	.ips-path { min-height: 0; }
	.ips-stats, .ips-pillars, .ips-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.ips-stat:nth-child(2) { border-right: 0; }
	.ips-stat:nth-child(-n+2) { border-bottom: 1px solid var(--ips-line-soft); }

	.ips-split-head, .ips-row-head { flex-direction: column; align-items: flex-start; gap: 24px; }
	.ips-split-head__side { width: 100%; }

	.ips-spanish, .ips-about, .ips-contact { flex-direction: column; align-items: stretch; }
	.ips-spanish__media, .ips-about__media { width: 100%; max-width: 620px; }
	.ips-about__media { order: -1; }
	.ips-form { width: 100%; }
	.ips-footer__top { flex-direction: column; }
	.ips-footer__cols { gap: 48px; flex-wrap: wrap; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.ips-header__inner { height: 80px; }
	.ips-header__logo img, .ips-header__logo .custom-logo { height: 58px; }
	html { scroll-padding-top: 80px; }
	.ips-hero__media { height: 72vw; }
	.ips-hero__media img { object-position: 22% center; }
	.ips-hero__ctas .ips-btn { width: 100%; }
	.ips-trust__grid { grid-template-columns: 1fr; }
	.ips-trust__item, .ips-trust__item:nth-child(n+3) { border-bottom: 1px solid var(--ips-line-soft); }
	.ips-trust__item:last-child { border-bottom: 0; }
	.ips-stats, .ips-pillars, .ips-steps { grid-template-columns: 1fr; }
	.ips-stat { border-right: 0; border-bottom: 1px solid var(--ips-line-soft); }
	.ips-stat:last-child { border-bottom: 0; }
	.ips-path { padding: 32px 26px; }
	.ips-offer { flex-direction: column; align-items: flex-start; }
	.ips-spanish__media { padding: 0 0 72px; }
	.ips-badge { right: 16px; }
	.ips-rating { flex-wrap: wrap; }
	.ips-form { padding: 28px 22px; }
	.ips-footer__bottom { flex-direction: column; }
}

/* ==========================================================================
   Koszyk: przycisk „Dodaj do koszyka”
   ========================================================================== */
.ips-cart-btn form { margin: 0; }
.ips-cart-btn .ips-btn svg { width: 18px; height: 18px; }
.ips-cart-btn--card { margin-top: -6px; }
.ips-cart-btn--card .ips-btn { width: 100%; min-height: 52px; }
.ips-cart-btn__in { border-color: #1F5A33; color: #1F5A33; }
.ips-cart-btn__in:hover { background: #1F5A33; color: #fff; border-color: #1F5A33; }
.ips-cart-btn__note { margin: 10px 0 0; padding: 10px 12px; font-size: 14px; line-height: 1.5; background: #EEF6F0; color: #1F5A33; }
.ips-cart-btn__note a { color: inherit; text-decoration: underline; }
.ips-cart-btn--row .ips-btn { min-height: 46px; padding: 0 18px; font-size: 13px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.ips-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 72px; align-items: start; }
.ips-faq__head { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 120px; }
.ips-faq__list { border-top: 1px solid var(--ips-line); }
.ips-faq__item { border-bottom: 1px solid var(--ips-line); }
.ips-faq__item summary {
	display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none;
	font-family: var(--ips-serif); font-size: 24px; line-height: 1.3; color: var(--ips-ink);
}
.ips-faq__item summary::-webkit-details-marker { display: none; }
.ips-faq__item summary:hover { color: var(--ips-gold); }
.ips-faq__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.ips-faq__icon::before, .ips-faq__icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 1.5px; background: var(--ips-gold); transition: transform .2s ease; }
.ips-faq__icon::after { transform: rotate(90deg); }
.ips-faq__item[open] .ips-faq__icon::after { transform: rotate(0deg); }
.ips-faq__answer { padding: 0 0 26px; font-size: 17px; line-height: 1.7; color: var(--ips-text); max-width: 720px; }
.ips-faq__answer p { margin: 0 0 .8em; }
@media (max-width: 1024px) {
	.ips-faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.ips-faq__head { position: static; }
}
@media (max-width: 640px) { .ips-faq__item summary { font-size: 20px; } }

/* reCAPTCHA: plakietkę v3 zastępuje informacja pod formularzem (zgodnie z zasadami Google). */
.grecaptcha-badge { visibility: hidden !important; }
.ips-recaptcha-note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ips-muted, #6b645b); }
.ips-recaptcha-note a { color: inherit; text-decoration: underline; }
.ips-recaptcha { min-height: 78px; }
.ips-recaptcha[hidden] { display: none; }
.ips-recaptcha__msg { margin: 8px 0 0; font-size: 14px; color: #8A2A1E; }
@media (max-width: 360px) { .ips-recaptcha > div:first-child { transform: scale(.88); transform-origin: 0 0; } }
