/*
 * Dog Perfect – elementy premium (ładowane po site.css):
 * nagłówki sekcji, hero strony głównej, pasek usług, galeria z podglądem, przed/po,
 * przebieg wizyty, FAQ, pasek Instagram, animacje przy przewijaniu.
 */

/* Jednolite nagłówki sekcji (ta sama wielkość na każdej stronie) */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.sec-head h2 { margin: 0; font-size: clamp(2.2rem, 3.6vw, 3.1rem); text-transform: uppercase; line-height: 1.02; }
.sec-head .sec-desc { margin: 14px 0 0; max-width: 34rem; color: var(--muted); }
.sec-head-center { justify-content: center; text-align: center; }
.sec-head-center .sec-desc { margin-inline: auto; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px;
    color: var(--caramel); font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section-tight { padding-top: 0; }

/* Nagłówek strony: zmniejsza się po przewinięciu */
.site-header { transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease); }
.header-bar { transition: min-height 0.3s var(--ease); }
.brand img { transition: height 0.3s var(--ease); }
.is-scrolled .site-header { box-shadow: 0 10px 30px rgba(43, 28, 20, 0.07); background: rgba(250, 246, 240, 0.96); }
@media (min-width: 861px) {
    .is-scrolled .header-bar { min-height: 74px; }
    .is-scrolled .brand img { height: 54px; }
}

/* Hero strony głównej */
.hero-home {
    position: relative; overflow: hidden; isolation: isolate;
    background:
        radial-gradient(70% 80% at 85% 20%, #fff 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(180deg, var(--bg) 0%, #f3ebe0 100%);
    padding: 72px 0 96px;
}
.hero-home-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero-home h1 {
    margin: 0; text-transform: uppercase; font-size: clamp(3rem, 5.8vw, 5.8rem); line-height: 0.95; letter-spacing: -0.01em;
}
.hero-home h1 em {
    display: block; margin-top: 0.08em; font-family: var(--script); font-style: normal; font-weight: 400;
    text-transform: none; letter-spacing: 0; color: var(--caramel); font-size: 1.02em; line-height: 1.05;
}
.hero-home .stage-lead { margin-top: 22px; }
.hero-places { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; }
.hero-places a {
    display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px;
    border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.7);
    font-size: 0.86rem; font-weight: 600; text-decoration: none; transition: border-color 0.2s, background 0.2s;
}
.hero-places a:hover { border-color: var(--caramel); background: #fff; color: var(--ink); }
.hero-places .pin { margin-top: 0; width: 12px; height: 12px; }
.hero-places svg { width: 16px; height: 16px; fill: none; stroke: var(--caramel); stroke-width: 1.6; }
.hero-home-media { position: relative; justify-self: end; width: min(100%, 440px); }
.hero-home-photo {
    width: 100%; height: clamp(380px, 56vh, 540px); object-fit: cover; object-position: center 30%;
    border-radius: 999px 999px 32px 32px; border: 8px solid #fff; box-shadow: 0 34px 80px rgba(43, 28, 20, 0.18);
}
.hero-badge {
    position: absolute; left: -44px; bottom: 44px; display: flex; align-items: center; gap: 14px;
    padding: 14px 20px 14px 14px; background: #fff; border-radius: 20px; box-shadow: var(--shadow);
    font-size: 0.82rem; color: var(--muted); line-height: 1.4; animation: dp-float 6s ease-in-out infinite;
}
.hero-badge strong { display: block; color: var(--ink); font-size: 0.95rem; }
.hero-badge-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; flex: none; }
.hero-badge-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--caramel); stroke-width: 1.6; }
.hero-orbs span { position: absolute; z-index: -1; border-radius: 50%; animation: dp-drift 18s ease-in-out infinite alternate; }
.hero-orbs span:nth-child(1) { width: 380px; height: 380px; right: 6%; top: -120px; background: radial-gradient(circle, rgba(239, 231, 220, 0.9), rgba(239, 231, 220, 0) 70%); }
.hero-orbs span:nth-child(2) { width: 260px; height: 260px; left: -80px; bottom: -60px; background: radial-gradient(circle, rgba(138, 93, 59, 0.12), rgba(138, 93, 59, 0) 70%); animation-duration: 22s; }
.hero-orbs span:nth-child(3) { width: 140px; height: 140px; right: 38%; bottom: 40px; border: 1px solid rgba(138, 93, 59, 0.18); animation-duration: 14s; }
@keyframes dp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes dp-drift { from { transform: translate(0, 0); } to { transform: translate(30px, 24px); } }

/* Przesuwający się pasek usług */
.ticker { overflow: hidden; background: var(--footer); color: var(--blush); padding: 18px 0; }
.ticker-track { display: flex; width: max-content; animation: dp-marquee 38s linear infinite; }
.ticker-group { display: flex; align-items: center; flex: none; }
.ticker span { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; white-space: nowrap; padding: 0 22px; letter-spacing: 0.02em; }
.ticker .ticker-dot { padding: 0; display: inline-grid; }
.ticker .ticker-dot svg { width: 18px; height: 18px; fill: var(--caramel); stroke: none; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes dp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Liczby */
.facts-wrap { position: relative; z-index: 2; padding-top: 56px; }

/* Usługi – „Cennik” po najechaniu */
.offer { position: relative; display: flex; flex-direction: column; }
.offer-body { flex: 1; }
.offer-more {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--caramel);
    font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
    opacity: 0.55; transition: opacity 0.3s var(--ease), gap 0.3s var(--ease);
}
.offer-more::after { content: "→"; letter-spacing: 0; font-size: 14px; }
.offer:hover .offer-more { opacity: 1; gap: 12px; }

/* Galeria prac */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work { position: relative; margin: 0; }
.work[hidden] { display: none; }
.work-link { position: relative; display: block; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.work img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.8s var(--ease); }
.work-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(36, 22, 16, 0.55), rgba(36, 22, 16, 0) 55%); opacity: 0; transition: opacity 0.4s var(--ease); }
.work-link:hover img { transform: scale(1.06); }
.work-link:hover::after { opacity: 1; }
.work-zoom {
    position: absolute; z-index: 1; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%;
    background: #fff; opacity: 0; transform: translateY(8px) scale(0.9); transition: opacity 0.3s, transform 0.3s var(--ease);
}
.work-zoom::before, .work-zoom::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--caramel); transform: translate(-50%, -50%); }
.work-zoom::before { width: 16px; height: 1.5px; }
.work-zoom::after { width: 1.5px; height: 16px; }
.work-link:hover .work-zoom, .work-link:focus-visible .work-zoom { opacity: 1; transform: none; }
.work figcaption { margin-top: 12px; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }

/* Filtry galerii */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.filters button {
    min-height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
    font: 600 13px/1 var(--sans); color: var(--ink); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filters button:hover { border-color: var(--caramel); }
.filters button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Suwak przed/po */
.compare-section { background: var(--blush); }
.compare-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.compare-grid .works { grid-template-columns: 1fr; }
.compare { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); user-select: none; aspect-ratio: 1 / 1; background: #fff; }
.compare-grid .compare { aspect-ratio: 4 / 3; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; pointer-events: none; }
.compare .compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.compare-handle::after {
    content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: var(--shadow);
    display: grid; place-items: center; color: var(--caramel); font-size: 18px; font-weight: 700; letter-spacing: 2px;
}
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-tag {
    position: absolute; top: 18px; padding: 6px 14px; border-radius: 999px; background: rgba(36, 22, 16, 0.72); color: #fff;
    font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; pointer-events: none;
}
.compare-tag-before { left: 18px; }
.compare-tag-after { right: 18px; }

/* Podgląd zdjęcia (lightbox) */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 64px 72px; background: rgba(24, 14, 10, 0.94); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; animation: dp-zoom 0.35s var(--ease); }
.lightbox img { max-width: min(1100px, 100%); max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: 16px; margin: 0 auto; }
.lightbox figcaption { margin-top: 14px; color: var(--blush); font-family: var(--serif); font-size: 1.3rem; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, 0.1); color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 28px; line-height: 1; transition: background 0.2s; }
.lightbox button:hover { background: var(--caramel); }
.lb-close { top: 20px; right: 20px; }
.lb-prev, .lb-next { top: 50%; margin-top: -26px; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev::before, .lb-next::before { content: ""; display: block; width: 12px; height: 12px; margin: 0 auto; border-left: 2px solid #fff; border-bottom: 2px solid #fff; }
.lb-prev::before { transform: translateX(2px) rotate(45deg); }
.lb-next::before { transform: translateX(-2px) rotate(-135deg); }
body.lb-open { overflow: hidden; }
@keyframes dp-zoom { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }

/* Jak wygląda wizyta */
.process-section { background: var(--blush); }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.process::before { content: ""; position: absolute; left: 12%; right: 12%; top: 34px; height: 1px; background: repeating-linear-gradient(90deg, var(--caramel) 0 6px, transparent 6px 14px); opacity: 0.45; }
.process li { position: relative; text-align: center; padding: 0 10px; }
.process-no {
    position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%;
    background: #fff; color: var(--caramel); font-family: var(--serif); font-size: 1.7rem; font-weight: 600;
    box-shadow: 0 0 0 8px var(--blush), var(--shadow-sm); transition: background 0.3s, color 0.3s;
}
.process li:hover .process-no { background: var(--caramel); color: #fff; }
.process h3 { font-size: 1.55rem; margin-bottom: 8px; }
.process p { margin: 0; color: #4c3c33; font-size: 0.95rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header) + 24px); }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); transition: border-color 0.3s, box-shadow 0.3s; }
.faq details[open] { border-color: rgba(138, 93, 59, 0.35); box-shadow: var(--shadow); }
.faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 24px;
    cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blush); color: var(--caramel);
    display: grid; place-items: center; font-family: var(--sans); font-size: 20px; font-weight: 500; transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--caramel); color: #fff; }
.faq details p { margin: 0; padding: 0 24px 22px; color: #4c3c33; }

/* Pasek zdjęć Instagram */
.insta { padding: 24px 0 8px; overflow: hidden; }
.insta-label {
    display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 24px; text-decoration: none;
    font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--caramel);
}
.insta-label svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.insta-viewport { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.insta-track { display: flex; width: max-content; animation: dp-marquee 45s linear infinite; }
.insta-viewport:hover .insta-track { animation-play-state: paused; }
.insta-group { display: flex; gap: 16px; padding-right: 16px; flex: none; }
.insta-group a { display: block; width: 220px; border-radius: 20px; overflow: hidden; }
.insta-group img { width: 220px; height: 220px; object-fit: cover; transition: transform 0.6s var(--ease); }
.insta-group a:hover img { transform: scale(1.06); }

/* Przycisk „do góry” */
.to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 35; width: 48px; height: 48px; border-radius: 50%;
    background: var(--caramel); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s, background 0.2s;
}
.to-top::before { content: ""; position: absolute; left: 50%; top: 56%; width: 11px; height: 11px; border-left: 2px solid #fff; border-top: 2px solid #fff; transform: translate(-50%, -50%) rotate(45deg); }
.to-top:hover { background: var(--caramel-dark); }
.show-top .to-top { opacity: 1; visibility: visible; transform: none; }

/* Stopka */
.footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .social { margin-top: 18px; }
.footer-phone { font-family: var(--serif); font-size: 1.5rem !important; font-weight: 600; color: var(--ink) !important; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom nav a { color: var(--muted); text-decoration: none; font-size: 0.82rem; }
.footer-bottom nav a:hover { color: var(--caramel); }

/* Pojawianie się elementów przy przewijaniu (tylko gdy działa JS) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--delay, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Przyciski – „blask” przy najechaniu */
.btn { position: relative; overflow: hidden; }
.btn::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
    transform: skewX(-20deg); transition: left 0.7s var(--ease);
}
.btn:hover::before { left: 120%; }
.btn-light::before, .btn-ghost::before { display: none; }

/* Dlaczego Dog Perfect – ciemna sekcja */
.why-section { background: var(--footer); color: var(--blush); position: relative; overflow: hidden; }
.why-section::before { content: ""; position: absolute; right: -160px; top: -160px; width: 480px; height: 480px; border-radius: 50%; border: 1px solid rgba(239, 231, 220, 0.08); }
.why-section .sec-head h2 { color: #fff; }
.why-section .eyebrow { color: #c89b72; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(239, 231, 220, 0.1); border-radius: var(--radius); overflow: hidden; }
.why { background: var(--footer); padding: 36px 32px; transition: background 0.4s var(--ease); }
.why:hover { background: #2e1d15; }
.why-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid rgba(200, 155, 114, 0.4); transition: background 0.3s, border-color 0.3s; }
.why-icon svg { width: 24px; height: 24px; fill: none; stroke: #c89b72; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.why:hover .why-icon { background: var(--caramel); border-color: var(--caramel); }
.why:hover .why-icon svg { stroke: #fff; }
.why h3 { color: #fff; font-size: 1.55rem; margin-bottom: 10px; }
.why p { margin: 0; color: rgba(239, 231, 220, 0.72); font-size: 0.93rem; }

/* Ceny od */
.price-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-card {
    position: relative; display: flex; flex-direction: column; gap: 6px; padding: 30px 26px 28px; overflow: hidden;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
    text-decoration: none; color: inherit; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.price-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--caramel); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: inherit; }
.price-card:hover::after { transform: scaleX(1); }
.price-card-title { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.price-card-value { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; line-height: 1.1; color: var(--caramel); }
.price-card-text { color: var(--muted); font-size: 0.9rem; }

/* Pasek postępu przewijania */
.scroll-progress { position: fixed; left: 0; top: 0; z-index: 60; height: 3px; width: 100%; background: var(--caramel); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); pointer-events: none; }
.admin-bar .scroll-progress { top: 32px; }

/* Warstwa naprawcza: nic nie wystaje poza ekran */
.footer-links a, .site-footer a[href^="mailto:"], .contact-card a[href^="mailto:"] { overflow-wrap: anywhere; }
.btn-row { flex-wrap: wrap; }
.works > *, .price-row > *, .why-grid > *, .offer-row > *, .process > * { min-width: 0; }
input, select, textarea { font-size: max(16px, 1em); }

/* Responsywność */
@media (max-width: 1180px) {
    .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
    .process::before { display: none; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
    .sec-head h2 { font-size: clamp(2rem, 8vw, 2.6rem); }
    .hero-home { padding: 32px 0 64px; }
    .hero-home-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
    .hero-home-media { grid-row: 1; justify-self: center; width: min(100%, 300px); }
    .hero-home-photo { height: 320px; }
    .hero-badge { left: 50%; bottom: -24px; transform: translateX(-50%); animation: none; white-space: nowrap; text-align: left; }
    .hero-home .btn-row, .hero-places { justify-content: center; }
    .hero-home .pill { justify-content: center; }
    .hero-home .pill::before { display: none; }
    .ticker span { font-size: 1.2rem; padding: 0 16px; }
    .facts-wrap { padding-top: 40px; }
    .works { grid-template-columns: 1fr 1fr; gap: 12px; }
    .work figcaption { font-size: 1.05rem; }
    .compare-grid, .faq-grid { grid-template-columns: 1fr; gap: 32px; }
    .faq-aside { position: static; }
    .faq summary { font-size: 1.15rem; padding: 18px; }
    .faq details p { padding: 0 18px 18px; }
    .process { grid-template-columns: 1fr; gap: 0; }
    .process li { display: grid; grid-template-columns: 60px 1fr; column-gap: 18px; text-align: left; padding: 0 0 26px; }
    .process li::before { content: ""; position: absolute; left: 29px; top: 60px; bottom: 0; width: 1px; background: rgba(138, 93, 59, 0.3); }
    .process li:last-child::before { display: none; }
    .process-no { grid-row: span 2; width: 60px; height: 60px; margin: 0; font-size: 1.4rem; }
    .process h3 { font-size: 1.35rem; margin-top: 6px; }
    .insta-group a, .insta-group img { width: 150px; height: 150px; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .to-top { bottom: 84px; right: 14px; width: 44px; height: 44px; }
    .lightbox { padding: 56px 12px; }
    .lb-prev, .lb-next { top: auto; bottom: 16px; margin: 0; }
    .lb-prev { left: calc(50% - 64px); }
    .lb-next { right: calc(50% - 64px); }
}
@media (prefers-reduced-motion: reduce) {
    .ticker-track, .insta-track, .hero-badge, .hero-orbs span { animation: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
@media (max-width: 1180px) {
    .why-grid { grid-template-columns: 1fr 1fr; }
    .price-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .why-grid, .price-row { grid-template-columns: 1fr; }
    .why { padding: 28px 22px; }
}

/* Wszystkie nagłówki sekcji w tej samej wielkości (każda podstrona) */
:root { --h2: clamp(2.1rem, 3.4vw, 2.9rem); }
.sec-head h2, .section > h2, .section-head h2, .tariff-title, .split > div > h2, .section > .split > div > h2, .place-card h2 { font-size: var(--h2); }
@media (max-width: 860px) { :root { --h2: clamp(1.9rem, 7.5vw, 2.4rem); } }

/* Sekcje z tłem zawsze z pełnym odstępem (także ta po nich) */
.why-section, .process-section, .compare-section,
.why-section + .section, .process-section + .section, .compare-section + .section { padding-top: 88px; }
@media (max-width: 860px) {
    .why-section, .process-section, .compare-section,
    .why-section + .section, .process-section + .section, .compare-section + .section { padding-top: 60px; }
}
/* 4 zdjęcia = 4 kolumny (bez pustego miejsca) */
.works:has(> .work:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .works:has(> .work:nth-child(4):last-child) { grid-template-columns: 1fr 1fr; } }
/* Ozdobne kółko nie może wchodzić pod plakietkę */
.hero-orbs span:nth-child(3) { right: auto; left: 48%; bottom: 24px; }

/* Strony z treścią z edytora (np. Przed wizytą): spis treści + ładnie ułożony tekst */
.doc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.doc-toc { position: sticky; top: calc(var(--header) + 24px); padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.doc-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.doc-toc li { counter-increment: toc; }
.doc-toc a { display: flex; gap: 10px; padding: 8px 0; color: var(--muted); text-decoration: none; font-size: 0.9rem; line-height: 1.4; border-bottom: 1px solid var(--line); transition: color 0.2s; }
.doc-toc li:last-child a { border-bottom: 0; }
.doc-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--serif); font-weight: 600; color: var(--caramel); }
.doc-toc a:hover, .doc-toc a.is-active { color: var(--ink); }
.doc-toc a.is-active { font-weight: 600; }
.entry-rich { max-width: 780px; color: #4c3c33; font-size: 1.02rem; }
.entry-rich > :first-child { margin-top: 0; }
.entry-rich .lead-text { font-size: 1.2rem; color: var(--ink); line-height: 1.65; }
.entry-rich h2 {
    display: flex; align-items: center; gap: 20px; margin: 64px 0 22px; font-size: var(--h2); text-transform: uppercase; color: var(--ink);
    scroll-margin-top: calc(var(--header) + 24px);
}
.entry-rich h2::after { content: ""; flex: 1; height: 1px; background: #dccdbd; }
.entry-rich h3 { margin: 32px 0 10px; font-size: 1.6rem; color: var(--ink); }
.entry-rich ul { list-style: none; margin: 0 0 1em; padding: 0; }
.entry-rich ul li { position: relative; padding: 16px 0 16px 64px; min-height: 64px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.entry-rich ul li::before { content: ""; position: absolute; left: 0; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; background: var(--blush); }
.entry-rich ul li::after {
    content: ""; position: absolute; left: 12px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: var(--caramel);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='6.5' cy='8' r='2'/%3E%3Ccircle cx='12' cy='6' r='2'/%3E%3Ccircle cx='17.5' cy='8' r='2'/%3E%3Cpath d='M12 20.5c3.2 0 5.5-1.8 5.5-4 0-1.8-2-2.5-3.5-3-.7-.2-1.1-.9-2-.9s-1.3.7-2 .9c-1.5.5-3.5 1.2-3.5 3 0 2.2 2.3 4 5.5 4z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='6.5' cy='8' r='2'/%3E%3Ccircle cx='12' cy='6' r='2'/%3E%3Ccircle cx='17.5' cy='8' r='2'/%3E%3Cpath d='M12 20.5c3.2 0 5.5-1.8 5.5-4 0-1.8-2-2.5-3.5-3-.7-.2-1.1-.9-2-.9s-1.3.7-2 .9c-1.5.5-3.5 1.2-3.5 3 0 2.2 2.3 4 5.5 4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.entry-rich ol { padding-left: 22px; }
.entry-rich ol li::marker { color: var(--caramel); font-weight: 700; }
.entry-rich blockquote { margin: 18px 0; padding: 22px 26px; background: var(--blush); border-radius: 18px; border-left: 3px solid var(--caramel); color: var(--ink); }
.entry-rich blockquote p { margin: 0; }
.entry-rich a { color: var(--caramel); }
.entry-rich img { border-radius: var(--radius); margin: 24px 0; }
@media (max-width: 1024px) {
    .doc-layout { grid-template-columns: 1fr; gap: 28px; }
    .doc-toc { position: static; }
}
@media (max-width: 860px) {
    .entry-rich h2 { margin-top: 48px; }
    .entry-rich ul li { padding-left: 58px; }
}
.course-body .btn { margin-top: 18px; }
@media (max-width: 860px) {
    .offer, .offer:nth-child(4) { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; padding: 20px; }
    .offer-icon { width: 56px; height: 56px; margin: 0; }
    .offer-more { display: none; }
    .hero-orbs span:nth-child(3) { display: none; }
}

/* ===== 2.4: typografia, akcenty, faliste zakończenia sekcji, łapki, ścieżka ===== */

/* Cyfry w wysokości liter (Cormorant ma domyślnie „nierówne” cyfry) */
body, h1, h2, h3, .price-tag, .facts strong, .phone-xl, .price-card-value, .process-no, .footer-phone,
table.price, .tariff, .course, .ticker, .point-no, .steps li::before {
    font-variant-numeric: lining-nums proportional-nums;
    font-feature-settings: "lnum" 1, "pnum" 1;
}
table.price td { font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; }

/* Akcent w nagłówku: *słowo* z CMS */
h1 em, h2 em, .sec-head h2 em {
    font-family: var(--serif); font-style: italic; font-weight: 500; text-transform: none;
    color: var(--caramel); letter-spacing: 0;
}
.why-section .sec-head h2 em { color: #c89b72; }
.hero-home h1 em { font-family: var(--script); font-style: normal; font-weight: 400; }

/* Faliste zakończenia sekcji */
.has-wave, .has-wave-top { position: relative; }
.has-wave::after, .has-wave-top::before {
    content: ""; position: absolute; left: 0; right: 0; height: 46px; pointer-events: none; z-index: 1;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 46' preserveAspectRatio='none'%3E%3Cpath d='M0 46V22C160 4 320 0 480 10s320 34 480 32 320-26 480-30V46z' fill='%23faf6f0'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.has-wave::after { bottom: -1px; }
.has-wave-top::before { top: -1px; transform: scaleY(-1) scaleX(-1); }
.site-footer.has-wave-top { margin-top: 0; }
.stage.has-wave { padding-bottom: 110px; }
.why-section.has-wave-top { padding-top: 120px; }
.why-section.has-wave { padding-bottom: 120px; }
.process-section.has-wave-top, .compare-section.has-wave-top { padding-top: 120px; }
.process-section.has-wave, .compare-section.has-wave { padding-bottom: 120px; }
.site-footer.has-wave-top { padding-top: 110px; }

/* Pływające łapki */
.paws { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.paws i { position: absolute; display: block; width: 34px; height: 34px; opacity: 0.12; animation: dp-paw 9s ease-in-out infinite; }
.paws svg { width: 100%; height: 100%; fill: var(--caramel); stroke: none; }
.paws i:nth-child(1) { left: 6%; top: 18%; transform: rotate(-18deg); }
.paws i:nth-child(2) { left: 44%; top: 72%; width: 24px; height: 24px; animation-delay: -3s; }
.paws i:nth-child(3) { right: 7%; top: 12%; width: 28px; height: 28px; animation-delay: -6s; }
.paws i:nth-child(4) { right: 42%; top: 22%; width: 20px; height: 20px; animation-delay: -1.5s; }
.why-section .paws i { opacity: 0.08; }
.why-section .paws svg { fill: #c89b72; }
.why-section .wrap, .stage-copy, .stage-media, .hero-home .wrap { position: relative; z-index: 1; }
@keyframes dp-paw { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -14px; rotate: 12deg; } }

/* Ścieżka nawigacji */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; font-size: 0.8rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--caramel); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--caramel); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Podstrony: nagłówek (stage) w tym samym stylu co strona główna */
.stage { background: radial-gradient(70% 80% at 85% 20%, #fff 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, var(--bg) 0%, #f3ebe0 100%); }
.stage .hero-orbs span:nth-child(1) { width: 320px; height: 320px; right: 4%; top: -140px; }
.stage-page h1 { font-size: clamp(2.8rem, 5vw, 4.6rem); }

@media (max-width: 860px) {
    .has-wave::after, .has-wave-top::before { height: 26px; }
    .stage.has-wave { padding-bottom: 72px; }
    .why-section.has-wave-top, .process-section.has-wave-top, .compare-section.has-wave-top { padding-top: 80px; }
    .why-section.has-wave, .process-section.has-wave, .compare-section.has-wave { padding-bottom: 80px; }
    .site-footer.has-wave-top { padding-top: 72px; }
    .crumbs ol { justify-content: center; }
    .paws i { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) { .paws i { animation: none; } }

/* Kontakt i salony */
.salons { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.salon { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.salon:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.salon-map { display: block; width: 100%; height: 260px; border: 0; filter: grayscale(0.35) sepia(0.15); }
.salon-body { position: relative; padding: 30px 32px 32px; }
.salon-no { position: absolute; right: 28px; top: 20px; font-family: var(--serif); font-size: 3.4rem; font-weight: 600; line-height: 1; color: var(--blush); }
.salon h2, .salon-card h2 { margin: 0; font-size: clamp(2rem, 3vw, 2.6rem); }
.salon-city { margin: 4px 0 0; color: var(--muted); }
.salon .btn-row { margin-top: 24px; }
.tile-icon { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--blush); display: grid; place-items: center; }
.tile-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--caramel); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-tile {
    display: flex; align-items: center; gap: 16px; padding: 22px 24px; background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; min-width: 0;
    transition: border-color 0.3s, transform 0.3s var(--ease);
}
a.contact-tile:hover { border-color: var(--caramel); transform: translateY(-3px); color: inherit; }
.contact-tile small { display: block; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.contact-tile strong { display: block; font-size: 1rem; overflow-wrap: anywhere; }
.contact-tile .social { margin-left: -10px; }
.contact-cta {
    display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 40px 44px;
    background: var(--blush); border-radius: var(--radius-lg);
}
.contact-cta h2 { margin: 0; font-size: var(--h2); text-transform: uppercase; }
.salon-detail { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 28px; align-items: stretch; }
.salon-detail .map { min-height: 460px; height: 100%; filter: grayscale(0.35) sepia(0.15); }
.salon-card { padding: 34px 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.salon-list { list-style: none; margin: 22px 0 26px; padding: 0; }
.salon-list li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.salon-list a { text-decoration: none; overflow-wrap: anywhere; }
.salon-list .tile-icon { width: 40px; height: 40px; }
.salon-other { margin-top: 18px; color: var(--muted); font-size: 0.9rem; }
.salon-other a { color: var(--caramel); }
@media (max-width: 860px) {
    .salons, .contact-strip, .salon-detail { grid-template-columns: 1fr; }
    .contact-cta { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
    .salon-body { padding: 24px 22px; }
    .salon-detail .map { min-height: 320px; }
}

/* Cennik: wyszukiwarka rasy */
.price-search { position: relative; max-width: 520px; margin: 0 0 22px; }
.price-search label { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; }
.price-search label svg { width: 22px; height: 22px; fill: none; stroke: var(--caramel); stroke-width: 1.6; }
.price-search input {
    width: 100%; min-height: 56px; padding: 0 20px 0 54px; border-radius: 999px; border: 1px solid var(--line);
    background: #fff; font: 500 16px/1 var(--sans); color: var(--ink); box-shadow: var(--shadow-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.price-search input:focus { outline: none; border-color: var(--caramel); box-shadow: 0 0 0 4px rgba(138, 93, 59, 0.12); }
.price-search-empty { margin: 12px 0 0 20px; color: var(--caramel); font-weight: 600; }
table.price tr[hidden] { display: none; }
table.price tr.is-match td { background: #f6ecdf !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tariff-row .tariff { position: relative; overflow: hidden; }
.tariff::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--caramel); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.tariff:hover::before { transform: scaleX(1); }
.tariff-head { margin-top: 88px; } @media (max-width: 860px) { .tariff-head { margin-top: 56px; } }

/* Szkolenia */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; }
.chips li {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
    background: var(--paper); border: 1px solid var(--line); font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow-sm);
}
.chips svg { width: 16px; height: 16px; fill: var(--caramel); }
.course { padding: 14px 14px 22px; }
.course .price-tag { font-size: 2.6rem; }
.course:nth-child(2) { border-color: rgba(138, 93, 59, 0.45); box-shadow: var(--shadow); }
.course:nth-child(2)::before {
    content: "Więcej praktyki"; position: absolute; top: 28px; right: 28px; z-index: 1; padding: 6px 14px; border-radius: 999px;
    background: var(--caramel); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.course { position: relative; }
.dp-page-szkolenia .steps li::before { font-size: 2.6rem; }
.dp-page-szkolenia .section > p { max-width: 780px; font-size: 1.05rem; color: #4c3c33; }
.dp-page-szkolenia .section > p:first-child { font-family: var(--serif); font-size: 1.7rem; line-height: 1.3; color: var(--ink); }

/* ===== Sklep ===== */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.cat-tile {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 16px 22px; text-align: center;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
    text-decoration: none; color: var(--ink); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--ink); }
.cat-tile.is-active { border-color: var(--caramel); background: #fff; }
.cat-tile-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; transition: background 0.3s; }
.cat-tile-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--caramel); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.cat-tile:hover .cat-tile-icon, .cat-tile.is-active .cat-tile-icon { background: var(--caramel); }
.cat-tile:hover .cat-tile-icon svg, .cat-tile.is-active .cat-tile-icon svg { stroke: #fff; }
.cat-tile-img { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; }
.cat-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.15; }
.cat-tile-count { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.product-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { padding: 12px 12px 18px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-link { display: block; text-decoration: none; color: inherit; }
.product-img { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: var(--blush); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-noimg { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 50% 40%, #fff, var(--blush) 70%); }
.product-noimg img { width: 56% !important; height: auto !important; object-fit: contain !important; opacity: 0.55; }
.product-view {
    position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 10px); opacity: 0; padding: 8px 18px; border-radius: 999px;
    background: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
    transition: opacity 0.3s, transform 0.3s var(--ease); box-shadow: var(--shadow-sm);
}
.product-card:hover .product-view { opacity: 1; transform: translate(-50%, 0); }
.product-meta { display: block; padding: 14px 8px 0; }
.product-cat { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--caramel); }
.product-card h3 { margin: 6px 0 4px; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.product-card .price-tag { display: block; margin: 0; font-size: 1.5rem; }
.product-card .btn { margin: 14px 8px 0; width: calc(100% - 16px); min-height: 46px; }
.product-card .added_to_cart { display: block; margin: 10px 8px 0; font-size: 0.85rem; color: var(--caramel); }
.shop-empty { text-align: center; padding: 56px 24px; background: var(--paper); border: 1px dashed rgba(138, 93, 59, 0.35); border-radius: var(--radius-lg); }
.shop-empty .cat-tile-icon { margin: 0 auto 18px; }
.shop-empty h3 { font-size: 1.8rem; }
.shop-empty p { color: var(--muted); }
.shop-trust { list-style: none; margin: 0; padding: 26px 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; background: var(--blush); border-radius: var(--radius-lg); }
.shop-trust li { display: flex; align-items: center; gap: 14px; font-size: 0.9rem; color: var(--muted); }
.shop-trust .tile-icon { background: #fff; }
.shop-trust strong { display: block; color: var(--ink); font-size: 1rem; }
.shop-trust a { color: var(--caramel); font-weight: 600; text-decoration: none; }

/* Karta produktu */
.product-page .crumbs { margin-bottom: 8px; }
.product-layout { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
.product-shots { grid-template-columns: repeat(4, 1fr) !important; gap: 12px; }
.product-shots .product-main { grid-column: 1 / -1; }
.product-gallery .shot { height: auto; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); }
.product-panel { position: sticky; top: calc(var(--header) + 20px); padding: 36px; }
.product-panel h1 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); text-transform: uppercase; }
.product-panel .price-tag { font-size: 2.4rem; margin: 6px 0 18px; }
.product-short { color: #4c3c33; margin-bottom: 18px; }
.product-perks { list-style: none; margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.product-perks li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 0.92rem; color: var(--muted); }
.product-perks svg { width: 18px; height: 18px; fill: none; stroke: var(--caramel); stroke-width: 1.6; }
.product-perks a { color: var(--caramel); font-weight: 600; text-decoration: none; }
.product-desc { margin-top: 24px; }
.product-desc .entry-rich { padding: 0 24px 22px; font-size: 0.95rem; }

@media (max-width: 1180px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
    .cat-tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product-card h3 { font-size: 1.1rem; }
    .product-card .price-tag { font-size: 1.2rem; }
    .product-card .btn { font-size: 0.7rem; padding: 0 12px; }
    .shop-trust { grid-template-columns: 1fr; padding: 22px; }
    .product-layout { grid-template-columns: 1fr; gap: 28px; }
    .product-panel { position: static; padding: 26px 22px; }
}

/* Pasek informacyjny nad menu */
.topbar { background: var(--footer); color: var(--blush); font-size: 0.8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; fill: #c89b72; }
.topbar-links { gap: 22px !important; }
.topbar a { color: var(--blush); text-decoration: none; transition: color 0.2s; }
.topbar a:hover { color: #fff; }
.topbar-links a + a::before { content: "·"; margin-right: 22px; color: #c89b72; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--caramel); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }
@media (max-width: 860px) {
    .topbar-inner { justify-content: center; min-height: 34px; }
    .topbar-inner > p:first-child { display: none; }
    .topbar-links { gap: 12px !important; font-size: 0.75rem; }
    .topbar-links a + a::before { margin-right: 12px; }
}

/* Ikona Instagrama rysowana konturem (wcześniej wypełniony kwadrat) */
.social a[aria-label="Instagram"] svg, .insta-label svg { fill: none !important; stroke: currentColor !important; stroke-width: 1.6; }
.social a[aria-label="Instagram"] svg circle[fill] { fill: currentColor; stroke: none; }
/* Karta produktu: wyższa jakość pustego zdjęcia i przyklejenie panelu */
.product-page { padding-top: 48px; }
.product-gallery .product-noimg { border-radius: var(--radius-lg); aspect-ratio: 1 / 1; }

/* ===== 2.5: cennik, galeria ras, kontakt, menu mobilne ===== */

/* Przyklejony pasek skrótów (cennik) i pasek ras (galeria) */
.page-nav, .breed-nav { position: sticky; top: var(--header); z-index: 20; background: rgba(250, 246, 240, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.breed-nav { margin: 0 0 40px; border: 1px solid var(--line); border-radius: 999px; top: calc(var(--header) + 12px); box-shadow: var(--shadow-sm); }
.page-nav-track, .breed-nav-track { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.breed-nav-track { padding: 8px; }
.page-nav-track::-webkit-scrollbar, .breed-nav-track::-webkit-scrollbar { display: none; }
.page-nav a, .breed-nav a {
    flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 999px;
    font-size: 0.86rem; font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap; transition: background 0.2s, color 0.2s;
}
.page-nav a:hover, .breed-nav a:hover { background: var(--blush); color: var(--ink); }
.page-nav a.is-active, .breed-nav a.is-active { background: var(--ink); color: #fff; }
.breed-nav a span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--blush); color: var(--caramel); font-size: 0.72rem; }
.breed-nav a.is-active span { background: var(--caramel); color: #fff; }
.is-scrolled .page-nav { top: 74px; }
.is-scrolled .breed-nav { top: 86px; }
[id] { scroll-margin-top: calc(var(--header) + 80px); }

/* Galeria: sekcje ras */
.breed-section + .breed-section { margin-top: 72px; }
.breed-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.breed-head h2 { margin: 0; font-size: var(--h2); text-transform: uppercase; }
.breed-count { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--caramel); }
.breed-head p { flex-basis: 100%; margin: 0; color: var(--muted); }

/* Cennik: jak liczymy cenę */
.price-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-how-item { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.price-how-item strong { display: block; font-family: var(--serif); font-size: 1.35rem; }
.price-how-item p { margin: 4px 0 0; color: var(--muted); font-size: 0.92rem; }
table.price td b, .price-breed dd b { font-weight: 700; color: var(--caramel-dark); }
.price-foot { margin: 16px 4px 0; color: var(--muted); font-size: 0.88rem; }

/* Cennik na telefonie: karty ras zamiast przewijanej tabeli */
.price-cards { display: none; list-style: none; margin: 0; padding: 0; }
.price-breed { padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.price-breed[hidden] { display: none; }
.price-breed.is-match { border-color: var(--caramel); }
.price-breed h3 { margin: 0 0 10px; font-size: 1.35rem; }
.price-breed h3 small { font-family: var(--sans); font-size: 0.75rem; color: var(--muted); }
.price-breed dl { margin: 0; display: grid; gap: 6px; }
.price-breed dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); }
.price-breed dt { font-size: 0.82rem; color: var(--muted); }
.price-breed dd { margin: 0; text-align: right; font-weight: 700; color: var(--caramel-dark); white-space: nowrap; }
.price-breed .is-none dd { color: #c9bcae; font-weight: 400; }
.price-breed-note { margin: 0; color: var(--caramel-dark); font-weight: 600; }

/* Kąpiel i wyczesywanie */
.price-bath { background: var(--blush); }
.bath-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bath-card { padding: 32px; background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.bath-card h3 { margin: 18px 0 8px; font-size: 1.8rem; }
.bath-card p { color: #4c3c33; margin-bottom: 6px; }
.breed-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.breed-chips li { padding: 7px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 0.85rem; }
.bath-after { margin-top: 14px !important; color: var(--muted) !important; font-size: 0.9rem; }
.tariff .tile-icon { margin: 0 auto 14px; }

/* Dopłaty – lista jak w menu restauracji */
.fee-list { list-style: none; margin: 0; padding: 0; max-width: 860px; }
.fee-list li { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fee-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.fee-name small { display: block; font-family: var(--sans); font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.fee-dots { flex: 1; border-bottom: 2px dotted rgba(138, 93, 59, 0.35); transform: translateY(-6px); min-width: 20px; }
.fee-price { font-family: var(--serif); font-size: 1.6rem; color: var(--caramel); white-space: nowrap; }

@media (max-width: 860px) {
    .price-table-desktop { display: none; }
    .price-cards { display: grid; gap: 10px; }
    .price-how { grid-template-columns: 1fr; gap: 10px; }
    .price-how-item { padding: 18px; }
    .bath-grid { grid-template-columns: 1fr; }
    .bath-card { padding: 24px 20px; }
    .fee-list li { flex-wrap: wrap; }
    .fee-dots { display: none; }
    .fee-price { margin-left: auto; font-size: 1.35rem; }
    .fee-name { font-size: 1.2rem; }
    .page-nav, .is-scrolled .page-nav { top: var(--header); }
    .breed-nav, .is-scrolled .breed-nav { top: calc(var(--header) + 8px); border-radius: 18px; }
    .breed-section + .breed-section { margin-top: 48px; }
}

/* Kontakt: przełącznik salonów */
.salon-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.salon-tabs button {
    display: flex; align-items: center; gap: 16px; padding: 18px 22px; text-align: left; cursor: pointer;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink);
    font: 600 1.6rem/1.1 var(--serif); transition: background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.salon-tabs button small { display: block; margin-bottom: 4px; font: 700 11px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--caramel); }
.salon-tab-no { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--blush); color: var(--caramel); font-size: 1.3rem; transition: background 0.3s, color 0.3s; }
.salon-tabs button[aria-selected="true"] { background: var(--footer); border-color: var(--footer); color: #fff; box-shadow: var(--shadow); }
.salon-tabs button[aria-selected="true"] small { color: #c89b72; }
.salon-tabs button[aria-selected="true"] .salon-tab-no { background: var(--caramel); color: #fff; }
.salon-panel { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); animation: dp-zoom 0.4s var(--ease); }
.salon-switch:not(.is-ready) .salon-panel + .salon-panel { margin-top: 18px; }
.salon-panel[hidden] { display: none; }
.salon-panel-map { width: 100%; height: 100%; min-height: 440px; border: 0; filter: grayscale(0.35) sepia(0.15); }
.salon-panel-card { padding: 36px 34px; }
.salon-panel-card h2 { margin: 0; font-size: clamp(2rem, 3vw, 2.6rem); }
@media (max-width: 860px) {
    .salon-tabs button { padding: 14px; font-size: 1.25rem; gap: 10px; }
    .salon-tab-no { width: 40px; height: 40px; font-size: 1rem; }
    .salon-panel { grid-template-columns: 1fr; }
    .salon-panel-map { min-height: 280px; height: 280px; }
    .salon-panel-card { padding: 26px 22px; }
}
.price-bath.has-wave-top { padding-top: 120px; }
.price-bath.has-wave { padding-bottom: 120px; }
@media (max-width: 860px) { .price-bath.has-wave-top { padding-top: 80px; } .price-bath.has-wave { padding-bottom: 80px; } }

/* Menu mobilne: pełny ekran, duże linki, szybki kontakt */
.mobile-extra { display: none; }
@media (max-width: 1024px) {
    .header-panel {
        position: fixed; top: var(--header); left: 0; right: 0; bottom: 0; height: auto; max-height: none;
        padding: 18px 24px calc(28px + env(safe-area-inset-bottom)); gap: 22px; justify-content: flex-start;
        background: var(--bg); overflow-y: auto; transform: translateY(12px);
    }
    .admin-bar .header-panel { top: calc(var(--header) + 46px); }
    .is-scrolled .header-panel { top: var(--header); }
    body.nav-open { overflow: hidden; }
    body.nav-open .dock { display: none; }
    .nav-list { counter-reset: nav; }
    .nav-list > li:not(.nav-booking) { counter-increment: nav; }
    .nav-list > li:not(.nav-booking) > a {
        min-height: 60px; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; gap: 16px;
        opacity: 0; transform: translateX(-12px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.2s;
    }
    .nav-list > li:not(.nav-booking) > a::before { content: counter(nav, decimal-leading-zero); font-family: var(--sans); font-size: 0.75rem; font-weight: 700; color: var(--caramel); letter-spacing: 0.1em; }
    body.nav-open .nav-list > li > a { opacity: 1; transform: none; }
    body.nav-open .nav-list > li:nth-child(2) > a { transition-delay: 0.04s; }
    body.nav-open .nav-list > li:nth-child(3) > a { transition-delay: 0.08s; }
    body.nav-open .nav-list > li:nth-child(4) > a { transition-delay: 0.12s; }
    body.nav-open .nav-list > li:nth-child(5) > a { transition-delay: 0.16s; }
    body.nav-open .nav-list > li:nth-child(6) > a { transition-delay: 0.2s; }
    body.nav-open .nav-list > li:nth-child(7) > a { transition-delay: 0.24s; }
    .nav-booking > a { opacity: 1 !important; transform: none !important; }
    .mobile-extra { display: grid; gap: 12px; }
    .mobile-extra .btn { width: 100%; }
    .mobile-salons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .mobile-salons a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
    .mobile-salons .pin { margin-top: 0; width: 12px; height: 12px; }
    .nav-toggle { position: relative; }
    body.nav-open .nav-toggle::before {
        background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
        transform: rotate(45deg); width: 14px; height: 14px;
    }
    .nav-toggle::before { transition: transform 0.3s var(--ease); }
}
@media (max-width: 860px) {
    .price-breed .is-none { display: none !important; }
    .price-breed dl > div:first-child { border-top: 0; }
    .price-breed { padding: 14px 18px; }
    .price-breed h3 { margin-bottom: 4px; }
}
.salon-panel-card .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.salon-panel-card .btn-row .btn { width: 100%; padding: 0 14px; }
.works:has(> .work:only-child), .works:has(> .work:nth-child(2):last-child) { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .works:has(> .work:only-child), .works:has(> .work:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; } }
/* Rozmycie tła nagłówka tworzy kontener dla position:fixed – przy otwartym menu je wyłączamy */
@media (max-width: 1024px) {
    body.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
}

/* Regulamin sklepu */
.legal-doc h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.legal-doc ol { padding-left: 24px; }
.legal-doc ol li { margin-bottom: 10px; padding-left: 4px; }
.legal-doc strong { color: var(--ink); }
.legal-links { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.shop-legal { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: 0.88rem; }
.shop-legal a { color: var(--caramel); }
/* Punkty z łapką: tekst z pogrubieniem płynie normalnie (nie w kolumnach) */
.entry-rich ul li { display: block; padding-top: 20px; padding-bottom: 20px; }

/* ===== 2.7: sklep na stronie głównej (bento + konfigurator + karuzela), koszyk, szuflada menu ===== */

/* Bento */
.shop-home { position: relative; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(170px, auto); gap: 18px; }
.bento-tile {
    position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 28px;
    background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.bento-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento-config { grid-column: span 3; grid-row: span 2; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 24px; padding: 0; background: linear-gradient(135deg, #fff 0%, var(--blush) 100%); }
.bento-config:hover { transform: none; }
.config-stage { position: relative; display: grid; place-items: center; min-height: 380px; padding: 30px; }
.config-stage::before {
    content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, var(--set) 0%, transparent 68%); opacity: 0.28; transition: background 0.6s var(--ease);
}
.config-art { position: relative; width: min(100%, 440px); height: auto; filter: drop-shadow(0 22px 30px rgba(43, 28, 20, 0.18)); animation: dp-float 6s ease-in-out infinite; }
.config-art.has-photos { display: none; }
.config-art .set-fill { transition: fill 0.6s var(--ease), stroke 0.6s var(--ease); }
.config-photo { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); object-fit: contain; opacity: 0; transform: scale(0.96); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.config-photo.is-active { opacity: 1; transform: none; }
.config-name {
    position: absolute; left: 28px; bottom: 24px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
}
.config-name.is-changing { animation: dp-pop 0.45s var(--ease); }
@keyframes dp-pop { 0% { transform: scale(0.85); opacity: 0; } 100% { transform: none; opacity: 1; } }
.config-panel { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 32px 32px 32px 0; }
.config-text { margin: 0; color: #4c3c33; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatches button {
    width: 46px; height: 46px; border-radius: 50%; cursor: pointer; background: var(--swatch);
    border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.swatches button:hover { transform: scale(1.1); }
.swatches button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--ink), var(--shadow-sm); transform: scale(1.08); }
.config-panel .btn { align-self: flex-start; }
.bento-sizes { display: flex; flex-direction: column; gap: 14px; }
.size-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.size-chips button {
    min-height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer;
    font: 700 0.95rem/1 var(--sans); color: var(--ink); transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.size-chips button:hover { border-color: var(--caramel); }
.size-chips button[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.bento-note { margin: 0; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.bento-quote { grid-column: span 2; display: grid; place-items: center; text-align: center; background: var(--footer); border-color: var(--footer); }
.bento-quote p { position: relative; z-index: 1; margin: 0; font-family: var(--script); font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.15; color: var(--blush); }
.bento-quote .paws svg { fill: #c89b72; }
.bento-price { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; gap: 6px; text-decoration: none; color: var(--ink); background: var(--blush); border-color: transparent; }
.bento-price strong { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 600; line-height: 1; color: var(--caramel); }
.bento-go { position: absolute; right: 24px; bottom: 24px; width: 52px; height: 52px; border-radius: 50%; background: var(--caramel); transition: transform 0.3s var(--ease); }
.bento-go::before { content: ""; position: absolute; left: 17px; top: 25px; width: 17px; height: 1.5px; background: #fff; }
.bento-go::after { content: ""; position: absolute; right: 16px; top: 21px; width: 8px; height: 8px; border-right: 1.5px solid #fff; border-top: 1.5px solid #fff; transform: rotate(45deg); }
.bento-price:hover .bento-go { transform: translateX(4px) rotate(-8deg); }

/* Karuzela produktów */
.carousel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 64px 0 22px; }
.carousel-head h3 { margin: 0; font-size: clamp(1.8rem, 2.6vw, 2.3rem); text-transform: uppercase; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button { position: relative; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: background 0.2s, border-color 0.2s, opacity 0.2s; }
.carousel-nav button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translate(-30%, -50%) rotate(45deg); }
.carousel-nav [data-carousel-next]::before { transform: translate(-70%, -50%) rotate(-135deg); }
.carousel-nav button:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); }
.carousel-nav button:hover:not(:disabled)::before { border-color: #fff; }
.carousel-nav button:disabled { opacity: 0.35; cursor: default; }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 22px; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel::-webkit-scrollbar { display: none; }
.carousel-item { scroll-snap-align: start; }
.carousel-item:hover { transform: translateY(-6px) scale(1.02); }
.carousel-more {
    scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; position: relative;
    border: 1px dashed rgba(138, 93, 59, 0.4); border-radius: var(--radius); text-decoration: none; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink);
}
.carousel-more .bento-go { position: relative; right: auto; bottom: auto; }
.stock-low {
    position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
    background: #fff; color: #9c3d2e; font-size: 0.75rem; font-weight: 700; box-shadow: var(--shadow-sm);
}
.stock-low i { width: 8px; height: 8px; border-radius: 50%; background: #c8513d; animation: dp-pulse 1.6s ease-out infinite; }
@keyframes dp-pulse { 0% { box-shadow: 0 0 0 0 rgba(200, 81, 61, 0.55); } 100% { box-shadow: 0 0 0 10px rgba(200, 81, 61, 0); } }

/* Koszyk: podskok po dodaniu produktu */
.cart-link.is-bouncing { animation: dp-bounce 0.8s var(--ease); }
.cart-link.is-bouncing .cart-count { animation: dp-pop 0.45s var(--ease) 0.2s both; }
@keyframes dp-bounce { 0%, 100% { transform: none; } 20% { transform: translateY(-8px) scale(1.1); } 40% { transform: translateY(0) scale(0.95); } 60% { transform: translateY(-4px); } 80% { transform: translateY(0); } }

/* Nagłówek: wyraźniejszy efekt szkła */
.site-header { background: rgba(250, 246, 240, 0.72); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); }

/* Social media: delikatny podskok przy najechaniu */
.social a { transition: transform 0.3s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease); }
.social a:hover { transform: translateY(-3px) rotate(-6deg); }

/* Menu mobilne jako wysuwany boczny panel (szuflada) */
.nav-backdrop { display: none; }
@media (max-width: 1024px) {
    .header-panel {
        left: auto; right: 0; width: min(88vw, 400px); border-left: 1px solid var(--line);
        box-shadow: -30px 0 60px rgba(43, 28, 20, 0.18); opacity: 1 !important;
        transform: translateX(105%); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0.45s;
    }
    body.nav-open .header-panel { transform: none; visibility: visible; }
    .nav-backdrop {
        display: block; position: fixed; inset: 0; z-index: 25; background: rgba(36, 22, 16, 0.4);
        -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
    }
    body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
    .nav-list > li:not(.nav-booking) > a { font-size: 1.5rem; min-height: 56px; }
}

/* Responsywność sklepu na stronie głównej */
@media (max-width: 1180px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento-config { grid-column: 1 / -1; grid-row: auto; }
    .bento-quote, .bento-price { grid-column: span 1; }
    .carousel { grid-auto-columns: calc((100% - 40px) / 3); }
}
@media (max-width: 860px) {
    .bento { grid-template-columns: 1fr 1fr; gap: 12px; }
    .bento-config { grid-template-columns: 1fr; gap: 0; }
    .config-stage { min-height: 280px; padding: 20px; }
    .config-panel { padding: 0 22px 26px; }
    .config-name { left: 18px; bottom: 14px; font-size: 1.1rem; }
    .bento-sizes, .bento-quote, .bento-price { grid-column: 1 / -1; }
    .bento-tile { padding: 22px; }
    .bento-quote { min-height: 150px; }
    .bento-price { min-height: 140px; }
    .size-chips { grid-template-columns: repeat(4, 1fr); }
    .carousel { grid-auto-columns: 72%; gap: 14px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-padding-left: 16px; }
    .carousel-head { margin-top: 44px; }
    .carousel-nav { display: none; }
    .carousel-item:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .config-art, .stock-low i { animation: none; } }

.carousel-head h3 em { font-family: var(--serif); font-style: italic; font-weight: 500; text-transform: none; color: var(--caramel); }

/* Logo: większe i czytelne w nagłówku, stopce i menu mobilnym */
:root { --header: 108px; }
.brand img { height: 86px; }
.header-bar { min-height: var(--header); }
@media (min-width: 861px) {
    .is-scrolled .header-bar { min-height: 80px; }
    .is-scrolled .brand img { height: 64px; }
    .is-scrolled .page-nav { top: 80px; }
    .is-scrolled .breed-nav { top: 92px; }
}
@media (max-width: 1180px) { .brand img { height: 78px; } }
@media (max-width: 860px) {
    :root { --header: 84px; }
    .brand img { height: 64px; }
}
.brand-footer img { height: 130px; }
.brand { transition: transform 0.3s var(--ease); }
.brand:hover { transform: scale(1.03); }

/* ===== 2.8: karta produktu ===== */
.product-hero { padding: 36px 0 88px; background: linear-gradient(180deg, var(--bg) 0%, #f5eee4 100%); }
.product-hero .crumbs ol { margin-bottom: 26px; }
.pp-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }

/* Galeria */
.pp-gallery { position: sticky; top: calc(var(--header) + 20px); display: grid; gap: 14px; }
.pp-main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.pp-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s; }
.pp-slide.is-active { opacity: 1; visibility: visible; }
.pp-slide .work-link { height: 100%; border-radius: 0; box-shadow: none; }
.pp-slide img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.pp-slide .work-link:hover img { transform: scale(1.08); }
.pp-noimg { display: grid; place-items: center; align-content: center; gap: 18px; width: 100%; height: 100%; background: radial-gradient(circle at 50% 40%, #fff, var(--blush) 75%); }
.pp-noimg img { width: 46%; opacity: 0.5; }
.pp-noimg span { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.pp-badges { position: absolute; left: 18px; top: 18px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.pp-badge { padding: 7px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.pp-badge-sale { background: var(--caramel); }
.pp-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pp-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 16px; overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 1 / 1; opacity: 0.7; transition: border-color 0.2s, opacity 0.2s, transform 0.2s; }
.pp-thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.pp-thumbs button.is-active { border-color: var(--caramel); opacity: 1; }
.pp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pp-help { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 1px dashed rgba(138, 93, 59, 0.35); }
.pp-help strong { display: block; font-family: var(--serif); font-size: 1.25rem; }
.pp-help p { margin: 4px 0 0; color: var(--muted); font-size: 0.9rem; }
.pp-help a { color: var(--caramel); font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Informacje i zakup */
.pp-info .eyebrow a { color: inherit; text-decoration: none; }
.pp-info h1 { margin: 0; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; text-transform: uppercase; }
.pp-subtitle { margin: 12px 0 0; color: var(--muted); font-size: 1.05rem; }
.pp-rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; text-decoration: none; color: var(--muted); font-size: 0.9rem; }
.pp-price-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 26px 0 22px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pp-price { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--caramel); }
.pp-price del { font-size: 0.55em; color: var(--muted); margin-right: 8px; }
.pp-price ins { text-decoration: none; }
.pp-price small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pp-stock { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; }
.pp-stock i { width: 8px; height: 8px; border-radius: 50%; }
.pp-stock.is-in { background: #eef3ea; color: #3f6b3a; }
.pp-stock.is-in i { background: #4f8a48; animation: dp-pulse-green 1.8s ease-out infinite; }
.pp-stock.is-out { background: #f6e9e6; color: #9c3d2e; }
.pp-stock.is-out i { background: #c8513d; }
@keyframes dp-pulse-green { 0% { box-shadow: 0 0 0 0 rgba(79, 138, 72, 0.5); } 100% { box-shadow: 0 0 0 9px rgba(79, 138, 72, 0); } }
.pp-short { color: #4c3c33; font-size: 1.02rem; }
.pp-features { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.pp-features li { position: relative; padding-left: 34px; color: #4c3c33; }
.pp-features li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--blush); }
.pp-features li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 8px; height: 5px; border-left: 1.8px solid var(--caramel); border-bottom: 1.8px solid var(--caramel); transform: rotate(-45deg); }

.pp-cart { margin-top: 26px; }
.pp-cart form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 0; }
.pp-cart form.variations_form { display: block; }
.pp-cart .single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.pp-cart .quantity { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.pp-cart .quantity .qty { width: 54px; min-height: 58px; border: 0; background: transparent; text-align: center; font: 700 1.05rem/1 var(--sans); -moz-appearance: textfield; }
.pp-cart .quantity .qty::-webkit-outer-spin-button, .pp-cart .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 46px; height: 58px; border: 0; background: transparent; cursor: pointer; font-size: 1.3rem; color: var(--ink); transition: background 0.2s; }
.qty-btn:hover { background: var(--blush); }
.pp-cart .single_add_to_cart_button { flex: 1; min-height: 58px !important; font-size: 0.85rem !important; letter-spacing: 0.12em !important; box-shadow: 0 12px 26px rgba(138, 93, 59, 0.28); transition: transform 0.25s var(--ease), background 0.25s; }
.pp-cart .single_add_to_cart_button:hover { transform: translateY(-2px); background: var(--caramel-dark) !important; }
.pp-cart table.variations { width: 100%; border: 0; margin: 0 0 6px; }
.pp-cart table.variations th, .pp-cart table.variations td { display: block; padding: 0; border: 0; text-align: left; }
.pp-cart table.variations th label { display: block; margin: 16px 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.pp-cart select.is-enhanced { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.pp-cart .reset_variations { display: inline-block; margin-top: 10px; font-size: 0.82rem; color: var(--muted); }
.var-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.var-chips button { min-height: 46px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: 700 0.9rem/1 var(--sans); color: var(--ink); transition: border-color 0.2s, background 0.2s, color 0.2s; }
.var-chips button:hover { border-color: var(--caramel); }
.var-chips button[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.var-chips button.is-swatch { width: 46px; padding: 0; border-radius: 50%; background: var(--swatch); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.var-chips button.is-swatch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.var-chips button.is-swatch[aria-checked="true"] { box-shadow: 0 0 0 2px var(--ink); background: var(--swatch); }
.pp-cart .woocommerce-variation-price { margin-top: 14px; font-family: var(--serif); font-size: 1.8rem; color: var(--caramel); }
.pp-cart .stock { font-size: 0.85rem; color: var(--muted); }

.pp-perks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.pp-perks li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.pp-perks .tile-icon { width: 42px; height: 42px; }
.pp-perks strong { display: block; font-size: 0.95rem; }
.pp-perks small { display: block; color: var(--muted); font-size: 0.82rem; }
.pp-sku { margin-top: 18px; font-size: 0.8rem; color: var(--muted); }

/* Dlaczego Dog Perfect (karta produktu) */
.pp-why { background: var(--blush); }
.pp-why.has-wave-top { padding-top: 120px; }
.pp-why.has-wave { padding-bottom: 120px; }
.pp-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.why-card { padding: 30px 26px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card h3 { margin: 18px 0 8px; font-size: 1.5rem; }
.why-card p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* Zakładki */
.pp-tablist { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px; margin-bottom: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.pp-tablist::-webkit-scrollbar { display: none; }
.pp-tablist button { flex: none; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font: 600 0.92rem/1 var(--sans); color: var(--ink); white-space: nowrap; transition: background 0.2s, color 0.2s; }
.pp-tablist button:hover { background: var(--blush); }
.pp-tablist button[aria-selected="true"] { background: var(--ink); color: #fff; }
.pp-panel { animation: dp-zoom 0.35s var(--ease); }
.pp-panel[hidden] { display: none; }
.pp-panel-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: start; }
.pp-features-full { padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
.pp-spec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin: 0; max-width: 900px; }
.pp-spec > div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pp-spec dt { color: var(--muted); }
.pp-spec dd { margin: 0; font-weight: 600; text-align: right; }
.pp-size-table { min-width: 560px; }
.pp-size-table td:not(:first-child) { color: var(--ink) !important; font-weight: 500 !important; }
.pp-measure { display: flex; gap: 16px; margin-top: 22px; padding: 22px; background: var(--blush); border-radius: var(--radius); }
.pp-measure strong { display: block; font-family: var(--serif); font-size: 1.3rem; }
.pp-measure p { margin: 6px 0 0; color: #4c3c33; }
.pp-reviews .woocommerce-Reviews-title { font-size: 1.8rem; }

/* Przyklejony pasek zakupu (telefon) */
.pp-sticky { display: none; }
@media (max-width: 860px) {
    .product-hero { padding: 20px 0 56px; }
    .pp-grid { grid-template-columns: 1fr; gap: 28px; }
    .pp-gallery { position: static; }
    .pp-thumbs { grid-template-columns: repeat(5, 1fr); gap: 8px; }
    .pp-price { font-size: 2.2rem; }
    .pp-panel-grid, .pp-spec { grid-template-columns: 1fr; gap: 20px; }
    .pp-why.has-wave-top { padding-top: 80px; }
    .pp-why.has-wave { padding-bottom: 80px; }
    .pp-sticky {
        display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 41;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 246, 240, 0.97); border-top: 1px solid var(--line);
        box-shadow: 0 -12px 30px rgba(43, 28, 20, 0.12); transform: translateY(110%); transition: transform 0.35s var(--ease);
    }
    .pp-sticky.is-visible { transform: none; }
    .pp-sticky-info { flex: 1; min-width: 0; }
    .pp-sticky-info strong { display: block; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .pp-sticky-info span { font-family: var(--serif); font-size: 1.2rem; color: var(--caramel); }
    .pp-sticky .btn { min-height: 48px; padding: 0 20px; }
    body.pp-sticky-on .dock { transform: translateY(110%); }
    .dock { transition: transform 0.35s var(--ease); }
}

/* ===== 2.9: poprawki z uwag (telefon, fale, kreski, cennik, szkolenia, menu, stopka) ===== */

/* Nagłówek: rozmycie tła przeniesione na warstwę pod spodem. Dzięki temu schowane menu mobilne
   nie poszerza strony (wcześniej na iPhonie strona „uciekała” w prawo). */
.site-header { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: transparent !important; isolation: isolate; }
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(250, 246, 240, 0.82);
    -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
    border-bottom: 1px solid rgba(232, 222, 210, 0.7);
}
.is-scrolled .site-header::before { background: rgba(250, 246, 240, 0.95); }
body.nav-open .site-header::before { background: var(--bg); }

/* Bez fal i kółek dekoracyjnych */
.has-wave::after, .has-wave-top::before, .hero-orbs, .stage-veil { display: none !important; }
.why-section, .process-section, .compare-section, .price-bath, .pp-why { padding-top: 96px !important; padding-bottom: 96px !important; }
.stage { padding-bottom: 72px; }
.site-footer { padding-top: 72px !important; }

/* Bez długich kresek przed małymi napisami */
.eyebrow::before, .pill::before, .kicker::after { display: none !important; }
.eyebrow, .pill { gap: 0; }

/* Zdjęcia w nagłówkach podstron: prostokąt z zaokrągleniem zamiast łuku */
.stage-media {
    border-radius: 28px !important; aspect-ratio: 4 / 5; height: auto !important; max-width: 400px !important;
    object-position: center 35% !important;
}
.stage-page .stage-media { aspect-ratio: 1 / 1; max-width: 380px !important; }

/* Usługi na stronie głównej: cena „od” */
.offer-price { display: block; margin-top: 16px; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--caramel); line-height: 1; }

/* Cennik: usługi dodatkowe – równe karty (nagłówek, cena i linia zawsze na tej samej wysokości) */
.tariff-row { align-items: stretch; }
.tariff { display: flex; flex-direction: column; align-items: center; }
.tariff h3 { min-height: 2.4em; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; line-height: 1.2; }
.tariff .price-tag { width: 100%; }
.tariff p:not(.price-tag) { margin-bottom: 4px; }

/* Cennik: dopłaty jako spokojne karty (bez kropek i kresek) */
.fee-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: none; }
.fee-list li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-sm); }
.fee-dots { display: none !important; }
.fee-name { font-size: 1.35rem; }
.fee-name small { margin-top: 6px; }
.fee-price { order: -1; font-size: 1.9rem; margin: 0 !important; }
table.price .na, .price-breed .na { color: #cdbfb1; font-size: 1.6rem; line-height: 0.5; }

/* Paski skrótów (cennik, szkolenia): na telefonie widać, że można przesunąć w prawo */
.page-nav { position: sticky; }
.page-nav .wrap { position: relative; }
.page-nav::after {
    content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 64px; pointer-events: none;
    background: linear-gradient(90deg, rgba(250, 246, 240, 0), rgba(250, 246, 240, 0.98) 70%); opacity: 0; transition: opacity 0.3s;
}
.page-nav::before {
    content: ""; position: absolute; right: 14px; top: 50%; z-index: 1; width: 9px; height: 9px; margin-top: -5px; pointer-events: none;
    border-right: 2px solid var(--caramel); border-top: 2px solid var(--caramel); transform: rotate(45deg); opacity: 0;
    animation: dp-nudge 1.4s ease-in-out infinite;
}
.page-nav.can-scroll::after, .page-nav.can-scroll::before { opacity: 1; }
@keyframes dp-nudge { 0%, 100% { translate: 0 0; } 50% { translate: 4px 0; } }

/* Szkolenia: „Czego się nauczysz?” – równe karty */
.learn { gap: 18px; align-items: stretch; }
.learn article {
    display: flex; flex-direction: column; padding: 30px 24px !important; text-align: left;
    background: var(--paper) !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important; box-shadow: var(--shadow-sm) !important;
}
.learn article + article { border-left: 1px solid var(--line) !important; }
.learn .icon { margin: 0 0 18px !important; width: 64px !important; height: 64px !important; }
.learn h3 { min-height: 3.6em; display: flex; align-items: flex-end; margin: 0 0 14px !important; text-align: left; line-height: 1.2; font-size: 1.25rem !important; }
.learn p { font-size: 0.92rem; }
@media (max-width: 1180px) { .learn { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .learn { grid-template-columns: 1fr; } .learn h3 { min-height: 0; } }

/* Przycisk „do góry” nad dolnym paskiem Zadzwoń / Umów wizytę */
@media (max-width: 860px) {
    .to-top { bottom: calc(86px + env(safe-area-inset-bottom)) !important; right: 14px; width: 42px; height: 42px; }
    body.pp-sticky-on .to-top { bottom: calc(92px + env(safe-area-inset-bottom)) !important; }
}

/* Menu mobilne (szuflada): lżejsze, czytelniejsze */
@media (max-width: 1024px) {
    .header-panel { padding: 8px 22px calc(24px + env(safe-area-inset-bottom)) !important; gap: 18px !important; display: flex; flex-direction: column; }
    .site-nav { order: 1; }
    .mobile-extra { order: 2; }
    .header-tools { order: 3; justify-content: flex-start !important; }
    .nav-list { display: flex; flex-direction: column; }
    .nav-list > .nav-booking { order: 20; margin-top: 18px; }
    .nav-booking .sub-menu { display: none !important; }
    .nav-booking > a { min-height: 54px !important; justify-content: center; border-radius: 999px; font-size: 13px !important; }
    .nav-list > li:not(.nav-booking) > a {
        min-height: 58px !important; font-size: 1.35rem !important; font-weight: 600; justify-content: space-between; gap: 14px;
        border-bottom: 1px solid var(--line) !important;
    }
    .nav-list > li:not(.nav-booking) > a::before { order: -1; min-width: 22px; }
    .nav-list > li:not(.nav-booking) > a::after {
        content: "" !important; display: block !important; position: static !important; width: 8px; height: 8px; margin-left: auto;
        border-right: 1.5px solid var(--caramel); border-top: 1.5px solid var(--caramel); background: none !important; transform: rotate(45deg) !important;
    }
    .nav-list > .current-menu-item > a { color: var(--caramel); }
    .mobile-extra .btn { background: transparent; color: var(--ink); border-color: rgba(43, 28, 20, 0.25); box-shadow: none; }
    .mobile-extra .btn::before { display: none; }
}

/* Stopka na telefonie: zwarta, wyśrodkowana, bez pustych pól */
.footer-heart { display: inline-grid; vertical-align: middle; }
.footer-heart svg { width: 22px; height: 22px; fill: var(--caramel); stroke: none; }
@media (max-width: 860px) {
    .site-footer { padding: 48px 0 calc(90px + env(safe-area-inset-bottom)) !important; text-align: center; }
    .footer-top { grid-template-columns: 1fr 1fr !important; gap: 30px 16px !important; padding-bottom: 28px !important; }
    .footer-brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; }
    .brand-footer img { height: 104px; }
    .footer-script { font-size: 1.6rem !important; text-align: center !important; margin-top: 12px !important; }
    .footer-brand .social { margin: 12px 0 0 !important; justify-content: center; }
    .footer-col:nth-child(2) { grid-column: 1 / -1; }
    .footer-places { flex-direction: row !important; justify-content: center; gap: 12px !important; }
    .footer-places > a { flex: 1; max-width: 180px; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; background: var(--paper); border-radius: 18px; text-align: center; }
    .footer-places .pin { margin: 0; }
    .footer-title { margin-bottom: 14px; }
    .footer-links { align-items: center; gap: 8px; }
    .footer-links a { font-size: 0.92rem; }
    .footer-phone { font-size: 1.3rem !important; }
    .footer-bottom { flex-direction: column; align-items: center; gap: 10px; }
    .footer-bottom nav { flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
}

/* Cennik na telefonie: wszystko mieści się w ekranie */
@media (max-width: 860px) {
    .price-breed { padding: 14px 16px; }
    .price-breed dt { font-size: 0.78rem; }
    .price-breed dl > div { gap: 8px; }
    .fee-list { grid-template-columns: 1fr; gap: 10px; }
    .fee-list li { padding: 20px; }
    .stage-media { max-width: 100% !important; width: 100% !important; aspect-ratio: 4 / 3 !important; }
    .stage-page .stage-media { aspect-ratio: 16 / 10 !important; }
}
/* Karty ras na telefonie: długie opisy (np. szpic) łamią się zamiast rozpychać kartę */
.price-cards { grid-template-columns: minmax(0, 1fr); }
.price-breed { min-width: 0; }
.price-breed dd { white-space: normal; min-width: 0; overflow-wrap: anywhere; }
.price-breed dt { min-width: 0; }
@media (max-width: 860px) {
    /* Karty usług: cena pod opisem, w kolumnie tekstu */
    .offer .offer-price { grid-column: 2; margin-top: 6px; font-size: 1.35rem; white-space: nowrap; }
    /* „Dlaczego Dog Perfect?”: zwarte wiersze z ikoną obok nagłówka */
    .why { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 20px 18px !important; }
    .why-icon { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
    .why-icon svg { width: 20px; height: 20px; }
    .why h3 { margin: 2px 0 4px; font-size: 1.25rem; }
    .why p { font-size: 0.88rem; }
}

/* 2.9.3: nagłówki jednolicie czarne (bez brązowej kursywy), sekcja „Dlaczego” cała biała, bez koła */
h1 em, h2 em, h3 em, .sec-head h2 em, .carousel-head h3 em, .contact-cta h2 em {
    font-family: inherit !important; font-style: normal !important; font-weight: inherit !important;
    text-transform: inherit !important; color: inherit !important; letter-spacing: inherit !important;
}
.hero-home h1 em { font-family: var(--script) !important; color: var(--caramel) !important; text-transform: none !important; font-weight: 400 !important; }
.why-section::before { display: none !important; }
.why-section .sec-head h2, .why-section .sec-head h2 em { color: #fff !important; }

/* Zdjęcia galerii: kadr trzyma głowę psa (zdjęcia pionowe przycinane bliżej góry) */
.work img { object-position: center 28%; }

/* Regulamin: zdanie końcowe */
.rules-end { margin: 48px 0 0; padding: 28px 32px; background: var(--blush); border-radius: var(--radius); font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; color: var(--ink); }
@media (max-width: 860px) { .rules-end { font-size: 1.2rem; padding: 22px; } }

/* Szkolenia: zdjęcia przy egzaminie i wsparciu */
.split-media { align-items: center; }
.split-media .photo { aspect-ratio: 4 / 3; height: auto; }
.media-pair { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; align-items: stretch; }
.media-pair .photo { height: 100%; aspect-ratio: auto; min-height: 280px; object-fit: cover; }
.media-pair .photo-cert { object-position: center; }
.stack strong { color: var(--ink); }
@media (max-width: 860px) { .media-pair .photo { min-height: 200px; } }

/* Egzamin: sam certyfikat, wyśrodkowany */
.media-single { grid-template-columns: 1fr; justify-items: center; }
.media-single .photo-cert { width: min(100%, 340px); aspect-ratio: 3 / 4; height: auto; min-height: 0; }

/* ===== Strona główna: baner – zaokrąglony prostokąt + animacja wejścia ===== */
.hero-home-photo {
    border-radius: 32px !important; border: 0 !important; aspect-ratio: 4 / 5; height: auto !important;
    object-position: 60% 30%; box-shadow: 0 40px 90px rgba(43, 28, 20, 0.22);
}
.hero-home-media { width: min(100%, 460px); }
.hero-home-media::before {
    content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; border-radius: 32px;
    border: 1.5px solid rgba(138, 93, 59, 0.35); animation: dp-frame 1.2s var(--ease) 0.5s both;
}
.hero-home-media::after {
    content: ""; position: absolute; left: -26px; top: 36px; z-index: -1; width: 120px; height: 120px; border-radius: 24px;
    background: var(--blush); animation: dp-frame 1.2s var(--ease) 0.7s both;
}
.hero-home-media { position: relative; }
.hero-home-media .hero-home-photo { animation: dp-reveal 1.3s cubic-bezier(0.7, 0, 0.2, 1) 0.1s both; }
.hero-badge { animation: dp-badge 0.8s var(--ease) 1.1s both, dp-float 6s ease-in-out 2s infinite; }
.hero-home-copy > * { animation: dp-up 0.9s var(--ease) both; }
.hero-home-copy > :nth-child(1) { animation-delay: 0.15s; }
.hero-home-copy > :nth-child(2) { animation-delay: 0.3s; }
.hero-home-copy > :nth-child(3) { animation-delay: 0.45s; }
.hero-home-copy > :nth-child(4) { animation-delay: 0.6s; }
.hero-home-copy > :nth-child(5) { animation-delay: 0.75s; }
.hero-home .reveal { opacity: 1 !important; transform: none !important; }
.hero-home h1 em { animation: dp-ink 1.4s var(--ease) 0.6s both; }
@keyframes dp-reveal { 0% { clip-path: inset(100% 0 0 0 round 32px); transform: scale(1.08); } 100% { clip-path: inset(0 0 0 0 round 32px); transform: none; } }
@keyframes dp-frame { from { opacity: 0; transform: translate(-14px, -14px); } to { opacity: 1; transform: none; } }
@keyframes dp-badge { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: none; } }
@keyframes dp-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes dp-ink { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (max-width: 860px) {
    .hero-home-media { width: min(100%, 320px); }
    .hero-home-photo { aspect-ratio: 1 / 1; }
    .hero-home-media::before { inset: 14px -14px -14px 14px; }
    .hero-home-media::after { width: 80px; height: 80px; left: -14px; }
    .hero-badge { animation: dp-badge 0.8s var(--ease) 1.1s both; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-home-media .hero-home-photo, .hero-home-copy > *, .hero-badge, .hero-home h1 em, .hero-home-media::before, .hero-home-media::after { animation: none !important; }
}

/* Baner główny: bez beżowego kwadratu po lewej; ramka za zdjęciem z delikatnym tłem */
.hero-home-media::after { display: none !important; }
.hero-home-media::before {
    background: linear-gradient(160deg, #efe3d4 0%, #e6d3bd 100%);
    border: 0;
    box-shadow: inset 0 0 0 1.5px rgba(138, 93, 59, 0.22);
}

/* Kontakt: przyciski w karcie salonu – tekst w jednej linii, wyśrodkowany */
.salon-panel-card .btn-row .btn { justify-content: center; text-align: center; white-space: nowrap; padding: 0 12px; gap: 8px; font-size: 0.72rem; letter-spacing: 0.1em; }
.btn { text-align: center; }

/* Telefon: plakietka „2 salony…” mieści się w ekranie */
@media (max-width: 860px) {
    .hero-home-media { width: min(100%, 300px); margin-bottom: 18px; }
    .hero-home-media::before { inset: 12px -10px -10px 12px; }
    .hero-badge {
        left: 50% !important; right: auto !important; bottom: -26px !important; transform: translateX(-50%) !important;
        width: max-content; max-width: calc(100vw - 48px); white-space: normal !important;
        padding: 10px 16px 10px 10px; gap: 10px; animation: none !important;
    }
    .hero-badge-icon { width: 36px; height: 36px; }
    .hero-badge strong { font-size: 0.85rem; }
    .hero-badge span { font-size: 0.75rem; }
}

/* ===== 2.9.9 ===== */
/* Przewijanie bez skakania: nagłówek ma stałą wysokość (wcześniej zmniejszał się i przesuwał całą stronę) */
@media (min-width: 861px) {
    .is-scrolled .header-bar { min-height: var(--header) !important; }
    .is-scrolled .brand img { height: 86px !important; }
    .is-scrolled .page-nav { top: var(--header) !important; }
    .is-scrolled .breed-nav { top: calc(var(--header) + 12px) !important; }
}
@media (min-width: 861px) and (max-width: 1180px) { .is-scrolled .brand img { height: 78px !important; } }
html { overflow-anchor: none; }

/* Polityka prywatności: spokojny dokument bez kresek */
.page-doc.legal { max-width: 860px; margin-inline: auto; padding: 56px 64px; }
.page-doc.legal h1 { font-size: clamp(2.2rem, 3.6vw, 3rem); margin-bottom: 18px; }
.page-doc.legal > p:first-of-type { font-size: 1.08rem; color: var(--ink); padding-bottom: 28px; margin-bottom: 8px; }
.page-doc.legal h2 {
    display: block; font-size: clamp(1.4rem, 2vw, 1.75rem); margin: 36px 0 12px; padding: 0; border: 0 !important; text-transform: uppercase;
}
.page-doc.legal h2::after, .page-doc.legal h2::before { display: none !important; content: none !important; }
.page-doc.legal p, .page-doc.legal li { color: #4c3c33; }
.page-doc.legal ul { padding-left: 20px; }
.page-doc.legal li { margin-bottom: 10px; }
@media (max-width: 860px) { .page-doc.legal { padding: 30px 22px; } }

/* Szkolenia: zdjęcie zaczyna się na wysokości nagłówka sekcji */
.dp-page-szkolenia .split { align-items: start; }
.dp-page-szkolenia .split > div > h2:first-child { margin-top: 0; }
.dp-page-szkolenia .split > .photo, .dp-page-szkolenia .split > img { margin-top: 6px; }
/* Egzamin / wsparcie: tekst startuje równo z górą zdjęcia */
.dp-page-szkolenia .split-media { align-items: start !important; }
.dp-page-szkolenia .split-media .stack { gap: 0; margin-top: 0 !important; }
.dp-page-szkolenia .split-media .stack > p { margin: 0 0 14px; }
.dp-page-szkolenia .split-media .stack > p:first-child { margin-top: 0; }

/* ===== 3.1: wybierany poziom nagłówka (H1–H4) nie zmienia wyglądu, tylko znaczenie dla Google ===== */
.sec-head .sec-title { margin: 0; font-size: var(--h2); text-transform: uppercase; line-height: 1.02; }
.stage .stage-title { color: var(--ink); text-transform: uppercase; line-height: 0.96; letter-spacing: -0.01em; margin: 0 0 0.4em; }
.stage-page .stage-title { font-size: clamp(2.8rem, 5vw, 4.6rem); }
.hero-home .hero-title { margin: 0; text-transform: uppercase; font-size: clamp(3rem, 5.8vw, 5.8rem); line-height: 0.95; letter-spacing: -0.01em; }
.hero-home .hero-title em { display: block; margin-top: 0.08em; font-family: var(--script) !important; font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--caramel) !important; font-size: 1.02em; line-height: 1.05; animation: dp-ink 1.4s var(--ease) 0.6s both; }
.split > div > .sec-title { font-size: var(--h2); text-transform: uppercase; margin-bottom: 20px; }
.card-title { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 8px; }
.offer .card-title { font-size: 1.5rem; margin-bottom: 10px; }
.why .card-title { font-size: 1.55rem; color: #fff; margin-bottom: 10px; }
.process .card-title { font-size: 1.55rem; }
.course .card-title { font-size: 2rem; text-transform: uppercase; margin-bottom: 6px; }
.rt p, .faq-a p, .stage-lead p, .sec-desc p { margin: 0 0 0.6em; }
.rt p:last-child, .faq-a p:last-child, .stage-lead p:last-child, .sec-desc p:last-child { margin-bottom: 0; }
.why .rt p { color: rgba(239, 231, 220, 0.72); font-size: 0.93rem; }
.process .rt p { color: #4c3c33; font-size: 0.95rem; }
.course-body .rt { color: var(--muted); font-size: 0.95rem; }
.faq .faq-a { padding: 0 24px 22px; color: #4c3c33; }
.rt a, .faq-a a, .stage-lead a, .sec-desc a, .stack a, .rules-end a { color: var(--caramel); text-decoration: underline; }
.rt h2, .rt h3, .rt h4, .faq-a h2, .faq-a h3, .faq-a h4, .stack h2, .stack h3, .stack h4 { font-family: var(--serif); margin: 0.6em 0 0.3em; line-height: 1.2; }
.rules-end p { margin: 0; }
@media (max-width: 860px) {
    .faq .faq-a { padding: 0 18px 18px; }
    .stage .stage-title { font-size: clamp(2.3rem, 9vw, 3rem); }
    .hero-home .hero-title { font-size: clamp(2.6rem, 11vw, 3.6rem); }
    .offer .card-title { font-size: 1.35rem; margin-bottom: 6px; }
    .why .card-title { font-size: 1.25rem; margin: 2px 0 4px; }
    .process .card-title { font-size: 1.35rem; margin-top: 6px; }
}

/* ===== 3.2: po usunięciu elementów – spójne odstępy (komputer i telefon) ===== */
/* Przed wizytą: tekst bez spisu treści, wyśrodkowany, czytelna szerokość */
.doc-single { display: block; }
.doc-single .doc-body { max-width: 820px; margin: 0 auto; }

/* Kontakt: dwa salony + kafle kontaktowe */
.contact-salons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.contact-salon {
    position: relative; padding: 36px 34px 30px; background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-salon:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-salon-no { position: absolute; right: 30px; top: 24px; font-family: var(--serif); font-size: 3.4rem; font-weight: 600; line-height: 1; color: var(--blush); }
.contact-salon-name { margin: 0; font-size: clamp(2rem, 3vw, 2.6rem); }
.contact-salon-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 16px; }
.contact-salon-links .btn { flex: 1 1 160px; justify-content: center; }

/* Strona główna: po usunięciu usług i liczb pasek przechodzi prosto w galerię */
.ticker + .section, .ticker + .compare-section { padding-top: 88px; }

/* Szkolenia: wstęp po nagłówku, bez etykiet */
.dp-page-szkolenia .stage + .section { padding-bottom: 24px; }

/* Ostatnia sekcja przed stopką (bez ciemnego paska „Dwa salony”) */
main > section:last-of-type { padding-bottom: 96px; }

@media (max-width: 860px) {
    .contact-salons { grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
    .contact-salon { padding: 26px 22px 22px; }
    .contact-salon-no { right: 20px; top: 18px; font-size: 2.6rem; }
    .ticker + .section, .ticker + .compare-section { padding-top: 56px; }
    main > section:last-of-type { padding-bottom: 64px; }
}
@media (max-width: 860px) {
    .contact-salon-links .btn { flex: 1 1 100%; white-space: nowrap; }
}
.dp-page-szkolenia #warianty { padding-top: 24px; }

/* ===== 3.3: nagłówek jak na projekcie, baner na cały ekran, usługi w rzędzie ===== */

/* Nagłówek: logo | Umów wizytę | linki | social + koszyk */
@media (min-width: 1025px) {
    .header-bar { gap: 32px; }
    .header-panel { justify-content: flex-start !important; gap: 28px; }
    .site-nav { flex: 1; }
    .nav-list { gap: 4px 26px; }
    .nav-list > .nav-booking { order: -1 !important; margin: 0 16px 0 0 !important; }
    .nav-booking .sub-menu { left: 0 !important; right: auto !important; }
    .nav-booking > a { border-radius: 12px !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; font-weight: 600 !important; padding: 0 18px !important; min-height: 44px !important; }
    .header-panel .header-tools { display: flex !important; margin-left: auto; gap: 6px; }
    .social-header a, .social-header .social-static { width: 42px; height: 42px; color: var(--ink); }
    .social-header svg { width: 22px; height: 22px; }
    .cart-link { margin-left: 4px; }
}
@media (max-width: 1024px) {
    .header-panel .header-tools { display: flex; justify-content: flex-start; }
}

/* Baner na cały ekran: zdjęcie w tle, tekst po lewej, bez animacji */
.hero-full { position: relative; overflow: hidden; min-height: min(86vh, 820px); display: flex; align-items: center; background: var(--bg); }
.hero-full-media, .hero-full-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-full-media img { object-fit: cover; object-position: 62% 55%; }
.hero-full::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(250, 246, 240, 0.97) 0%, rgba(250, 246, 240, 0.9) 30%, rgba(250, 246, 240, 0.45) 50%, rgba(250, 246, 240, 0) 66%);
}
.hero-full-copy { position: relative; z-index: 2; padding: 72px 0; }
.hero-full-copy > * { max-width: 600px; }
.hero-full-kicker { margin: 0 0 18px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; }
.hero-full-title {
    margin: 0 0 22px; font-family: var(--serif); font-weight: 600; font-style: normal; text-transform: uppercase;
    font-size: clamp(2.8rem, 5.2vw, 5.2rem); line-height: 1; letter-spacing: -0.005em; color: var(--ink); max-width: 11ch;
}
.hero-full-lead { max-width: 460px; color: #3f312a; font-size: 1.12rem; line-height: 1.6; }
.hero-full-lead p { margin: 0; }
.hero-full .btn-row { margin-top: 30px; }
.hero-full .btn-light { background: rgba(255, 255, 255, 0.6); }

/* Nagłówek z linią (Nasze usługi) */
.line-head { display: flex; align-items: center; gap: 22px; margin-bottom: 40px; }
.line-head .line-head-title { margin: 0; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; white-space: nowrap; }
.line-head span { flex: 1; height: 1px; background: #dccdbd; }

/* Usługi w jednym rzędzie, bez linków i cen */
.services-row-section { padding-top: 72px; padding-bottom: 72px; }
.services-row { display: grid; grid-template-columns: repeat(5, 1fr); }
.service-item { padding: 0 22px; text-align: center; }
.service-item + .service-item { border-left: 1px solid var(--line); }
.service-icon { width: 104px; height: 104px; margin: 0 auto 22px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; }
.service-icon svg { width: 46px; height: 46px; fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.service-item .service-name { margin: 0 0 10px; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.25; }
.service-text { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

/* Stopka: hasło zwykłą, czytelną czcionką */
.footer-script { font-family: var(--serif) !important; font-size: 1.35rem !important; font-style: italic; font-weight: 500; line-height: 1.35 !important; }

@media (max-width: 1180px) {
    .services-row { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
    .service-item:nth-child(4) { border-left: 0; }
}
@media (max-width: 860px) {
    .hero-full { min-height: 0; flex-direction: column; align-items: stretch; }
    .hero-full-media { position: relative; height: 62vh; min-height: 360px; max-height: 560px; }
    .hero-full-media img { object-position: 50% 40%; }
    .hero-full::before { top: auto; height: 90px; bottom: auto; top: calc(min(max(62vh, 360px), 560px) - 90px); background: linear-gradient(180deg, rgba(250, 246, 240, 0), var(--bg)); }
    .hero-full-copy { padding: 8px 0 48px; text-align: center; }
    .hero-full-copy > * { margin-left: auto; margin-right: auto; }
    .hero-full-title { font-size: clamp(2.2rem, 10vw, 3rem); max-width: none; }
    .hero-full-lead { font-size: 1rem; }
    .hero-full .btn-row { justify-content: center; }
    .services-row-section { padding-top: 52px; padding-bottom: 52px; }
    .services-row { grid-template-columns: 1fr 1fr; row-gap: 30px; }
    .service-item { padding: 0 12px; }
    .service-item + .service-item { border-left: 0; }
    .service-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .service-icon { width: 84px; height: 84px; margin-bottom: 16px; }
    .service-icon svg { width: 38px; height: 38px; }
    .service-item .service-name { font-size: 1.02rem; }
    .service-text { font-size: 0.85rem; }
    .footer-script { font-size: 1.2rem !important; }
}
/* Baner (komputer): zdjęcie po prawej na całą wysokość, płynnie przechodzi w tło – pies cały */
@media (min-width: 861px) {
    .hero-full { min-height: 0; height: clamp(560px, 72vh, 760px); }
    .hero-full-media { left: auto; right: 0; width: min(64%, 1100px); }
    .hero-full-media img { object-fit: cover; object-position: 55% 60%; }
    .hero-full::before { background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 36%, rgba(250, 246, 240, 0.85) 42%, rgba(250, 246, 240, 0) 58%); }
}
@media (min-width: 1600px) { .hero-full-media { width: 60%; } }

.hero-full-title { max-width: 13ch; }
@media (min-width: 861px) { .hero-full-title { font-size: clamp(2.8rem, 4.6vw, 4.8rem); } }

/* 3.3.2: baner – zdjęcie zawsze w całości (bez ucinania głowy), miękkie przejście w tło */
@media (min-width: 861px) {
    .hero-full-media { left: auto !important; right: 0; top: 0; bottom: 0; height: 100% !important; width: auto !important; aspect-ratio: 2200 / 1845; max-width: 70%;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
    .hero-full-media img { object-fit: cover; object-position: 55% 40%; }
    .hero-full::before { display: none; }
}
/* Galeria „Nasze prace”: bez podpisów pod zdjęciami */
.work figcaption { display: none !important; }

/* Tytuł banera: więcej powietrza między liniami i literami */
.hero-full-title { line-height: 1.12 !important; letter-spacing: 0.02em !important; font-weight: 500 !important; margin-bottom: 28px !important; max-width: 14ch !important; }
@media (min-width: 861px) { .hero-full-title { font-size: clamp(2.6rem, 4.2vw, 4.4rem) !important; } }

/* Nagłówek symetryczny: logo | menu na środku | ikony po prawej */
@media (min-width: 1025px) {
    .header-bar { display: grid !important; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
    .header-panel { display: flex !important; align-items: center; justify-content: space-between !important; gap: 24px; min-width: 0; }
    .site-nav { flex: 1; display: flex; justify-content: center; }
    .nav-list { gap: 4px 28px; }
    .nav-list > .nav-booking { margin-right: 10px !important; }
    .header-panel .header-tools { margin-left: 0; gap: 2px; }
    .cart-link { margin-left: -14px; }
    .nav-toggle { display: none !important; }
}
@media (min-width: 1025px) and (max-width: 1240px) { .nav-list { gap: 4px 18px; } .nav-list > li > a { font-size: 14px; } }

/* Baner: zdjęcie szersze (do ok. połowy ekranu), tytuł w dwóch liniach jak na projekcie */
@media (min-width: 861px) {
    .hero-full-media { aspect-ratio: auto !important; width: 60% !important; max-width: none !important;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%) !important; mask-image: linear-gradient(90deg, transparent 0%, #000 16%) !important; }
    .hero-full-media img { object-position: 50% 22% !important; }
    .hero-full-title { max-width: none !important; white-space: nowrap; font-size: clamp(2.4rem, 4vw, 4.2rem) !important; line-height: 1.08 !important; }
    .hero-full-copy > * { max-width: 640px; }
}
@media (max-width: 860px) { .hero-full-title { white-space: normal; } }
/* Baner: cieplejsze, beżowe tło po lewej; pies lekko w prawo */
.hero-full { background: linear-gradient(100deg, #eee2d3 0%, #f3e9dd 45%, #f7f0e7 100%) !important; }
@media (min-width: 861px) {
    .hero-full-media img { object-position: 32% 22% !important; }
    .hero-full-media { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 10%, #000 24%) !important; mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 10%, #000 24%) !important; }
}

@media (min-width: 861px) { .hero-full-media { right: -7% !important; width: 66% !important; } }

@media (min-width: 861px) { .hero-full-media { right: -4% !important; width: 58% !important; } .hero-full-media img { object-position: 50% 30% !important; } }

/* ===== 3.4: Cennik jako lista (jak na projekcie) ===== */
.price-list-section { padding-top: 64px; }
.price-sheet { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 32px 32px; box-shadow: var(--shadow-sm); }
.price-list { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.price-list th { padding: 0 14px 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.45; text-align: center; vertical-align: bottom; border-bottom: 1.5px solid var(--ink); color: var(--ink); }
.price-list th.col-breed { text-align: left; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: 0.02em; }
.price-list td { padding: 9px 14px; text-align: center; border-bottom: 1px solid var(--line); color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.price-list td.col-breed { text-align: left; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.price-list tbody tr:nth-child(odd) td { background: rgba(239, 231, 220, 0.45); }
.price-list tbody tr:hover td { background: #f3e8db; }
.price-list .na { color: #b9ab9c; font-size: 1.1rem; }

.price-special { margin-top: 22px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.price-special-row { display: grid; grid-template-columns: 1.1fr 2fr 2fr; align-items: center; background: rgba(239, 231, 220, 0.45); }
.price-special-row + .price-special-row { border-top: 1px solid var(--line); }
.price-special-name { padding: 14px 18px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.price-special-name small { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.price-special-cell { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-left: 1px solid var(--line); font-size: 0.88rem; color: #4c3c33; }
.price-special-cell strong { white-space: nowrap; color: var(--ink); }
.price-special-row .price-special-cell:only-of-type { grid-column: span 2; }

.price-duo { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; align-items: stretch; }
.price-bath-box, .price-extra-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 32px; box-shadow: var(--shadow-sm); }
.price-bath-box .line-head { margin-bottom: 22px; }
.price-box-title { font-family: var(--serif) !important; font-size: clamp(1.6rem, 2.4vw, 2.1rem) !important; font-weight: 600 !important; letter-spacing: 0.02em !important; }
.bath-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.bath-col h3 { margin: 0 0 2px; font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--caramel); }
.bath-note { margin: 0 0 12px; color: var(--muted); font-size: 0.85rem; }
.bath-list { list-style: none; margin: 0; padding: 0; }
.bath-list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.bath-list b { white-space: nowrap; font-weight: 600; text-transform: none; letter-spacing: 0; }
.bath-after { margin: 14px 0 0; color: var(--muted); font-size: 0.85rem; }

.price-box-heading { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 600; text-transform: uppercase; }
.extra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.extra-card { padding: 18px 16px; text-align: center; background: rgba(239, 231, 220, 0.5); border-radius: 16px; }
.extra-card h3 { margin: 0 0 6px; font-family: var(--sans); font-size: 0.95rem; font-weight: 700; line-height: 1.3; }
.extra-price { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--ink); }
.extra-card p { margin: 4px 0 0; color: var(--muted); font-size: 0.82rem; }
.extra-card-wide { grid-column: 1 / -1; }
.extra-split { display: grid; grid-template-columns: 1fr 1fr; margin-top: 6px; }
.extra-split > div + div { border-left: 1px solid var(--line); }
.extra-split small { display: block; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.extra-split strong { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }

.price-banner { position: relative; display: flex; align-items: center; gap: 22px; padding: 22px 30px; background: linear-gradient(90deg, var(--paper) 55%, #f3e3d9 100%); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.price-banner-icon svg { width: 46px; height: 46px; fill: none; stroke: var(--ink); stroke-width: 1.3; }
.price-banner-copy { flex: 1; }
.price-banner-copy h3 { margin: 0; font-family: var(--sans); font-size: 1.3rem; font-weight: 700; }
.price-banner-copy p { margin: 2px 0 0; color: var(--muted); }
.price-banner-price { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; white-space: nowrap; }
.price-banner-go { position: relative; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--caramel); }
.price-banner-go::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-right: 2px solid #fff; border-top: 2px solid #fff; transform: translate(-65%, -50%) rotate(45deg); }

@media (max-width: 1024px) { .price-duo { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
    .price-sheet { padding: 16px; }
    .price-special-row { grid-template-columns: 1fr; }
    .price-special-cell { border-left: 0; border-top: 1px solid var(--line); }
    .price-special-row .price-special-cell:only-of-type { grid-column: auto; }
    .bath-cols { grid-template-columns: 1fr; gap: 22px; }
    .price-bath-box, .price-extra-box { padding: 22px 18px; }
    .price-banner { flex-wrap: wrap; padding: 18px; gap: 12px 16px; }
    .price-banner-copy { flex: 1 1 60%; }
}

/* ===== 3.3.8: Usługi dodatkowe + dopłaty jako lista ===== */
.price-duo { grid-template-columns: 1fr; }
.price-more { display: grid; gap: 34px; }
.plist-title { margin: 0 0 6px; padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.plist { list-style: none; margin: 0; padding: 0; }
.plist li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr) 120px; gap: 18px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.plist li:nth-child(odd) { background: rgba(239, 231, 220, 0.45); }
.plist-name { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.plist-desc { color: var(--muted); font-size: 0.88rem; }
.plist-price { font-weight: 600; white-space: nowrap; text-align: right; font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 860px) {
    .plist-title { font-size: 1.35rem; }
    .plist li { grid-template-columns: 1fr auto; gap: 2px 14px; padding: 11px 8px; }
    .plist-name { grid-column: 1; }
    .plist-desc { grid-column: 1; grid-row: 2; font-size: 0.82rem; }
    .plist-price { grid-column: 2; grid-row: 1 / span 2; }
}

/* ===== 3.4.0: Cennik – baner jak na głównej, układ z projektu, małe dopłaty ===== */
.price-duo { grid-template-columns: 1.55fr 1fr !important; }
@media (max-width: 1024px) { .price-duo { grid-template-columns: 1fr !important; } }
.hero-page { min-height: 0 !important; }
.hero-page .hero-page-title { margin: 0 !important; white-space: nowrap; font-size: clamp(3rem, 7vw, 6.4rem) !important; letter-spacing: 0.03em !important; }
@media (min-width: 861px) {
    .hero-page { height: clamp(340px, 42vh, 460px) !important; }
    .hero-page .hero-full-media { width: 62% !important; right: 0 !important; }
    .hero-page .hero-full-media img { object-position: 55% 35% !important; }
}
@media (max-width: 860px) {
    .hero-page .hero-full-media { height: 46vh; min-height: 260px; max-height: 380px; }
    .hero-page .hero-full-media img { object-position: 50% 30% !important; }
    .hero-page .hero-full-copy { padding: 18px 0 22px; }
    .hero-page .hero-page-title { font-size: clamp(2.6rem, 13vw, 3.4rem) !important; }
}
.fee-mini { padding-bottom: 56px; font-size: 0.85rem; color: var(--muted); }
.fee-mini-title { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.fee-mini ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.fee-mini li strong { color: var(--ink); font-weight: 600; white-space: nowrap; }
.fee-mini li small { font-size: 0.8rem; }
@media (max-width: 860px) { .hero-page::before { display: none !important; } }

/* 3.4.2: baner cennika – płynne przejście zdjęcia w tło, dopłaty jedna pod drugą */
@media (min-width: 861px) {
    .hero-page .hero-full-media { width: 64% !important; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, rgba(0,0,0,.8) 32%, #000 45%) !important; mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, rgba(0,0,0,.8) 32%, #000 45%) !important; }
    .hero-page .hero-full-media img { object-position: 70% 38% !important; }
}
@media (max-width: 860px) { .hero-page .hero-full-media img { object-position: 62% 40% !important; } }
.fee-mini ul { flex-direction: column; gap: 4px; }
/* 3.4.3: zdjęcie groomerki – krótsze przejście, pies i osoba widoczni */
@media (min-width: 861px) {
    .hero-page .hero-full-media { width: 66% !important; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 12%, #000 26%) !important; mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 12%, #000 26%) !important; }
    .hero-page .hero-full-media img { object-position: 60% 85% !important; }
}
@media (max-width: 860px) { .hero-page .hero-full-media img { object-position: 60% 50% !important; } }
/* 3.4.5: nagłówki tabeli wyrównane, mniejsze odstępy pod kąpielą i higieną */
.price-list th { vertical-align: middle !important; }
.price-duo { padding-bottom: 22px !important; }
.price-banner-section { padding-top: 0 !important; padding-bottom: 26px !important; }
.fee-mini { padding-top: 0 !important; }
/* 3.4.6: zdjęcie szpica w banerze cennika */
@media (min-width: 861px) { .hero-page .hero-full-media img { object-position: 50% 55% !important; } }
@media (max-width: 860px) { .hero-page .hero-full-media img { object-position: 50% 55% !important; } }
.price-list-section { padding-bottom: 22px !important; }
/* 3.4.8: zdjęcie groomerki Dog Perfect w banerze cennika */
.hero-page .hero-full-media img { object-position: 50% 40% !important; }
/* 3.5.7: cennik – ostrzejsze zdjęcie, logo Dog Perfect na środku koszulki */
.hero-page.hero-cennik .hero-full-media img { object-position: 62% 40% !important; }
@media (min-width: 861px) {
    .hero-page.hero-cennik .hero-full-media { width: 70% !important; }
}
@media (max-width: 860px) {
    .hero-page.hero-cennik .hero-full-media img { object-position: 88% 44% !important; }
}
/* 3.5.1: baner „Nasze prace” – groomerka Dog Perfect */
@media (min-width: 861px) {
    .hero-np .hero-full-media { width: 40% !important; right: 4% !important; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 14%, #000 30%) !important; mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 14%, #000 30%) !important; }
    .hero-np .hero-full-media img { object-position: 40% 62% !important; }
}
@media (max-width: 860px) { .hero-np .hero-full-media img { object-position: 40% 55% !important; } }
@media (min-width: 861px) {
    .hero-np { height: clamp(480px, 62vh, 600px) !important; }
    .hero-np .hero-full-media { width: 36% !important; right: 0 !important; }
    .hero-np .hero-full-media img { object-position: 40% 70% !important; }
}
/* 3.5.3: „Nasze prace” – duży baner jak na głównej */
@media (min-width: 861px) {
    .hero-np { height: clamp(560px, 72vh, 760px) !important; }
    .hero-np .hero-full-media { width: 46% !important; right: 0 !important; }
    .hero-np .hero-full-media img { object-position: 45% 55% !important; }
}
@media (max-width: 860px) { .hero-np .hero-full-media { height: 62vh !important; max-height: 560px !important; } .hero-np .hero-full-media img { object-position: 45% 45% !important; } }
/* 3.5.4: nowe zdjęcie na głównej – leżący pudel z sesji */
@media (min-width: 861px) { .hero-full:not(.hero-page) .hero-full-media img { object-position: 50% 45% !important; } }
@media (max-width: 860px) { .hero-full:not(.hero-page) .hero-full-media img { object-position: 50% 40% !important; } }
/* 3.5.5: Przed wizytą – baner jak na innych stronach, podkreślony nagłówek */
@media (min-width: 861px) {
    .hero-pw { height: clamp(560px, 72vh, 760px) !important; }
    .hero-pw .hero-full-media { width: 56% !important; right: 0 !important; }
    .hero-pw .hero-full-media img { object-position: 60% 45% !important; }
}
@media (max-width: 860px) { .hero-pw .hero-full-media { height: 58vh !important; max-height: 520px !important; } .hero-pw .hero-full-media img { object-position: 62% 45% !important; } }
h3.is-underlined { text-decoration: underline; text-decoration-color: var(--caramel); text-decoration-thickness: 2px; text-underline-offset: 7px; }
@media (min-width: 861px) {
    .hero-pw .hero-full-media { width: 42% !important; }
    .hero-pw .hero-full-media img { object-position: 78% 50% !important; }
}
/* 3.5.10: Nasze prace – mniejszy baner, york po stylizacji */
@media (min-width: 861px) {
    .hero-np { height: clamp(300px, 36vh, 400px) !important; }
    .hero-np .hero-full-media { width: 44% !important; right: 0 !important; }
    .hero-np .hero-full-media img { object-position: 52% 18% !important; }
}
@media (max-width: 860px) {
    .hero-np .hero-full-media { height: 36vh !important; min-height: 210px; max-height: 300px !important; }
    .hero-np .hero-full-media img { object-position: 50% 16% !important; }
}

/* ===== 3.6.0: wszystkie banery ze zdjęciem wyglądają jak na głównej ===== */
@media (min-width: 861px) {
    .hero-full.hero-page, .hero-full.hero-stage { height: clamp(560px, 72vh, 760px) !important; }
    .hero-page .hero-full-media, .hero-stage .hero-full-media { right: -4% !important; width: 58% !important;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 10%, #000 24%) !important; mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 10%, #000 24%) !important; }
    .hero-page .hero-page-title { font-size: clamp(2.8rem, 5vw, 5rem) !important; }
    .hero-stage .hero-full-title { white-space: normal !important; max-width: 13ch !important; }
    .hero-stage .hero-full-copy > * { max-width: 560px; }
    /* kadry zdjęć na podstronach */
    .hero-full.hero-page:not(.hero-np):not(.hero-pw) .hero-full-media img { object-position: 92% 45% !important; }
    .hero-np .hero-full-media img { object-position: 52% 22% !important; }
    .hero-pw .hero-full-media img { object-position: 70% 50% !important; }
}
.hero-stage .crumbs { margin-bottom: 18px; }
@media (max-width: 860px) {
    .hero-stage .hero-full-title { white-space: normal !important; }
    .hero-stage .hero-full-copy .crumbs { justify-content: center; }
}
.hero-stage::before, .hero-stage::after { display: none !important; }
@media (max-width: 860px) { .hero-np .hero-full-media { height: 62vh !important; max-height: 560px !important; } }
.hero-full.hero-stage { padding: 0 !important; }
/* 3.7.0: „Nasze prace” – mniejszy, prostokątny baner; breadcrumbs i opisy na podstronach */
@media (min-width: 861px) {
    .hero-full.hero-page.hero-np { height: clamp(380px, 46vh, 460px) !important; }
    .hero-np .hero-full-media { width: 36% !important; right: 0 !important; }
    .hero-np .hero-full-media img { object-position: 50% 22% !important; }
    .hero-pw .hero-full-media img { object-position: 72% 50% !important; }
}
@media (max-width: 860px) { .hero-np .hero-full-media { height: 42vh !important; max-height: 360px !important; } }
.hero-page .crumbs { margin-bottom: 18px; }
@media (max-width: 860px) { .hero-page .hero-full-copy .crumbs { justify-content: center; } .hero-page .hero-full-copy { padding: 22px 0 36px; } }
/* 3.7.2: „Nasze prace” – zdjęcie szersze, bez pustego miejsca po prawej od tekstu */
@media (min-width: 861px) {
    .hero-np .hero-full-media { width: 59% !important; right: 0 !important; }
    .hero-np .hero-full-media img { object-position: 50% 28% !important; }
}
/* 3.7.3: Nasze prace – york w pełnej jakości; Przed wizytą – szersze zdjęcie, ręka w kadrze */
@media (min-width: 861px) {
    .hero-np .hero-full-media img { object-position: 62% 40% !important; }
    .hero-pw .hero-full-media { width: 67% !important; right: 0 !important;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.7) 6%, #000 12%) !important; mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.7) 6%, #000 12%) !important; }
    .hero-pw .hero-full-media img { object-position: 0% 40% !important; }
}
@media (max-width: 860px) { .hero-np .hero-full-media img { object-position: 55% 30% !important; } }
/* 3.7.4: Nasze prace – cały piesek, tło z rozmytego zdjęcia zamiast pustego miejsca */
.hero-np .hero-full-media { overflow: hidden; }
.hero-np .hero-full-media::before { content: ""; position: absolute; inset: -30px; background: var(--np-bg) center / cover no-repeat; filter: blur(22px) saturate(.9); opacity: .85; z-index: 0; }
.hero-np .hero-full-media img { z-index: 1; object-fit: contain !important; }
@media (min-width: 861px) {
    .hero-full.hero-page.hero-np { height: clamp(440px, 54vh, 520px) !important; }
    .hero-np .hero-full-media { width: 59% !important; right: 0 !important; }
    .hero-np .hero-full-media img { object-position: 78% 50% !important; }
}
@media (max-width: 860px) {
    .hero-np .hero-full-media { height: 56vh !important; max-height: 440px !important; }
    .hero-np .hero-full-media img { object-position: 50% 50% !important; }
}
/* 3.7.5: cennik – złote logo DOG PERFECT całe w kadrze */
@media (min-width: 861px) {
    .hero-page.hero-cennik .hero-full-media { right: 0 !important; width: 56% !important; }
    .hero-full.hero-page.hero-cennik:not(.hero-np):not(.hero-pw) .hero-full-media img { object-position: 80% 42% !important; }
}
@media (max-width: 860px) {
    .hero-page.hero-cennik .hero-full-media img { object-position: 78% 40% !important; }
}
/* 3.7.6: Przed wizytą – zdjęcie węższe, mniej nachodzi na napis */
@media (min-width: 861px) {
    .hero-pw .hero-full-media { width: 52% !important; right: 0 !important; }
    .hero-full.hero-page.hero-pw .hero-full-media img { object-position: 70% 40% !important; }
}
@media (max-width: 860px) {
    .hero-pw .hero-full-media img { object-position: 55% 40% !important; }
}
/* 3.7.7: Przed wizytą – bardziej w prawo, miękkie przejście jak na stronie głównej */
@media (min-width: 861px) {
    .hero-pw .hero-full-media {
        width: 50% !important;
        right: -3% !important;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 10%, #000 24%) !important;
        mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 10%, #000 24%) !important;
    }
    .hero-full.hero-page.hero-pw .hero-full-media img { object-position: 72% 40% !important; }
}
/* 3.7.9: Nasze prace na telefonie – pies na środku kadru */
@media (max-width: 860px) {
    .hero-np .hero-full-media img { object-fit: cover !important; object-position: 50% 42% !important; }
}
/* 3.8.0: Poradniki – baner jak na innych podstronach */
@media (min-width: 861px) { .hero-poradniki .hero-full-media img { object-position: 42% 40% !important; } }
@media (max-width: 860px) { .hero-poradniki .hero-full-media img { object-position: 50% 40% !important; } }
/* 3.8.1: szkolenia – prawdziwe zdjęcia z kursów */
.media-single .photo-cert[src*="szk-certyfikat"] { width: min(100%, 420px); }
/* 3.8.2: egzamin – zdjęcie z egzaminu obok certyfikatu */
.media-pair .photo[src*="szk-egzamin"] { object-position: 55% 45%; }
.lightbox figcaption { display: none !important; }
/* 3.8.9: nowe hasło na głównej – zdanie w zwykłej pisowni, bez łamania w środku */
.hero-full-title.hero-full-title--quote { text-transform: none !important; white-space: normal !important; max-width: 16ch !important; font-size: clamp(2.4rem, 3.9vw, 4rem) !important; line-height: 1.08 !important; letter-spacing: 0 !important; text-wrap: balance; }
.hero-full-lead { text-wrap: pretty; }
@media (max-width: 860px) { .hero-full-title.hero-full-title--quote { font-size: clamp(2rem, 8.6vw, 2.6rem) !important; max-width: 14ch !important; } }
@media (min-width: 861px) { .hero-full-title.hero-full-title--quote { max-width: none !important; font-size: clamp(2.2rem, 3.1vw, 3.4rem) !important; } .hero-full-copy > .hero-full-title--quote { max-width: 680px; } }
@media (max-width: 860px) { .hero-full-title.hero-full-title--quote { max-width: none !important; } }
/* 3.9.0: stopka – „O nas” zamiast hasła, pod tekstem kafelki salonów */
.site-footer .footer-top { grid-template-columns: 0.8fr 2fr 1fr 1fr !important; }
.footer-about-text p { margin: 0 0 12px; color: var(--muted); font-size: 0.92rem; line-height: 1.65; }
.site-footer .footer-about .footer-places { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px !important; margin-top: 18px; }
.site-footer .footer-about .footer-places > a { padding: 14px 16px; background: var(--paper); border-radius: 16px; }
@media (max-width: 1024px) { .site-footer .footer-top { grid-template-columns: 1fr 1fr !important; } .site-footer .footer-about { grid-column: 1 / -1; } }
@media (max-width: 860px) {
    .site-footer .footer-about { text-align: center; }
    .footer-about-text { max-width: 520px; margin: 0 auto; }
    .site-footer .footer-about .footer-places > a { padding: 16px 10px; flex-direction: column; align-items: center; gap: 6px; }
}
/* 3.9.2: cennik – border collie w banerze */
@media (min-width: 861px) { .hero-page.hero-cennik .hero-full-media, .hero-page .hero-full-media img[src*="cennik-border"] { } .hero-full-media img[src*="cennik-border"] { object-position: 55% 38% !important; } }
@media (max-width: 860px) { .hero-full-media img[src*="cennik-border"] { object-position: 55% 35% !important; } }
/* 3.9.3: Przed wizytą – zdjęcia szczeniaków; cennik – kąpiel krótkowłose cena stała */
.pw-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 30px; }
.pw-photos img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-sm); }
@media (max-width: 520px) { .pw-photos { gap: 10px; } }
@media (max-width: 860px) { .hero-page .hero-page-title { font-size: clamp(1.9rem, 10vw, 2.8rem) !important; white-space: nowrap !important; max-width: none !important; } }
/* 3.9.8: kafelki salonów w stopce ze zdjęciem */
.site-footer .footer-places > a { position: relative; flex-wrap: wrap; overflow: hidden; }
.site-footer .footer-places .place-photo { flex: 0 0 calc(100% + 32px); width: calc(100% + 32px); max-width: none; margin: -14px -16px 12px; aspect-ratio: 5 / 3; height: auto; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.site-footer .footer-places > a:hover .place-photo { transform: scale(1.04); }
.site-footer .footer-places > a { padding: 14px 16px 16px !important; }
@media (max-width: 860px) { .site-footer .footer-places .place-photo { flex-basis: calc(100% + 20px); width: calc(100% + 20px); margin: -16px -10px 10px; } .site-footer .footer-places > a { padding: 16px 10px !important; } }
@media (max-width: 860px) { .site-footer .footer-places .place-photo { flex: none !important; height: auto !important; aspect-ratio: 5 / 3; align-self: stretch; } }
/* 3.10.0: poprawki z przeglądu – cennik na telefonie, długie tytuły */
.price-duo { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) !important; }
@media (max-width: 1024px) { .price-duo { grid-template-columns: minmax(0, 1fr) !important; } }
.price-duo > * { min-width: 0; }
.extra-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .price-bath-box .price-box-title { white-space: normal !important; font-size: 1.5rem !important; } }
@media (min-width: 861px) { .hero-stage .hero-full-title { max-width: 17ch !important; } }
@media (max-width: 860px) { .hero-stage .hero-full-title { font-size: clamp(1.8rem, 8.4vw, 2.8rem) !important; max-width: none !important; overflow-wrap: break-word; } }
.extra-card h3, .hero-full-title, .price-box-heading { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 360px) { .extra-card { padding: 16px 10px; } .extra-card h3 { font-size: 0.85rem; } .hero-stage .hero-full-title, .hero-page .hero-page-title { font-size: 1.75rem !important; } }
@media (max-width: 400px) { .page-doc h1 { font-size: 1.75rem; overflow-wrap: break-word; } }
@media (max-width: 860px) { .hero-stage .hero-full-media img[src*="salon-"] { object-position: 50% 50% !important; } }
/* 3.11.0: okienko „Wybierz salon” (osobne Booksy dla ul. Wesołej i ul. Krętej) */
.booking-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.booking-modal:target, .booking-modal.is-open { display: flex; }
.booking-modal-backdrop { position: absolute; inset: 0; background: rgba(36, 22, 15, 0.55); backdrop-filter: blur(3px); }
.booking-modal-box { position: relative; width: min(560px, 100%); padding: 30px 28px 28px; background: var(--paper); border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.25); text-align: center; animation: dp-zoom .3s var(--ease); }
.booking-modal-close { position: absolute; top: 10px; right: 14px; font-size: 30px; line-height: 1; color: var(--muted); text-decoration: none; }
.booking-modal-close:hover { color: var(--caramel); }
.booking-modal-kicker { margin: 0 0 6px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.booking-modal-title { margin: 0 0 22px; font-family: var(--serif); font-size: 2rem; font-weight: 600; text-transform: uppercase; }
.booking-modal-salons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.booking-salon { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--bg); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
.booking-salon:hover { transform: translateY(-3px); }
.booking-salon img { width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; }
.booking-salon strong { padding: 12px 10px 2px; font-size: 1.05rem; }
.booking-salon span { padding: 0 10px 14px; color: var(--muted); font-size: .85rem; }
@media (max-width: 480px) { .booking-modal-box { padding: 26px 16px 18px; } .booking-modal-title { font-size: 1.6rem; } .booking-modal-salons { gap: 10px; } }
/* 3.12.0: krótkie filmy bez dźwięku (Przed wizytą, galeria na głównej) */
.pw-video { margin: 22px 0 30px; max-width: 420px; }
.pw-video video { display: block; width: 100%; height: auto; aspect-ratio: 640 / 1030; object-fit: cover; border-radius: 20px; background: var(--blush); box-shadow: var(--shadow-sm); }
@media (max-width: 520px) { .pw-video { max-width: none; } }
.work-video { overflow: hidden; border-radius: inherit; }
.work-video video { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 40%; border-radius: 22px; background: var(--blush); }
/* 3.12.1: Przed wizytą – prawdziwe zdjęcie groomerki z pudlem */
@media (min-width: 861px) { .hero-pw .hero-full-media img { object-position: 55% 45% !important; } }
@media (max-width: 860px) { .hero-pw .hero-full-media img { object-position: 50% 45% !important; } }
/* 3.12.5: Przed wizytą – tekst obok filmu zamiast pustego miejsca */
.pw-split { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 32px; align-items: center; margin: 14px 0 30px; }
.pw-split .pw-video { margin: 0; max-width: none; }
.pw-split-text p:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
    .pw-split { grid-template-columns: 1fr; gap: 20px; }
    .pw-split .pw-video { max-width: 340px; width: 100%; margin: 0 auto; }
}
/* 3.12.9: przycisk odtwarzania filmu, gdy telefon blokuje autoodtwarzanie */
.pw-video { position: relative; }
.dp-video-play { position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: 0 8px 30px rgba(0,0,0,.25); cursor: pointer; }
.dp-video-play::after { content: ""; position: absolute; left: 30px; top: 23px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--caramel); }
/* 3.14.0: Poradnik (blog) – lista wpisów i treść wpisu */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--paper); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease); }
.post-card:hover { transform: translateY(-4px); }
.post-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-card-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.post-card-date { margin: 0; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.post-card-title { margin: 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.2; color: var(--ink); }
.post-card-excerpt { margin: 0; color: #4c3c33; font-size: .95rem; line-height: 1.6; }
.post-card-more { margin-top: auto; padding-top: 6px; color: var(--caramel); font-weight: 600; font-size: .9rem; }
.blog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.blog-pagination .page-numbers { padding: 8px 14px; border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; }
.blog-pagination .current { background: var(--caramel); color: #fff; }
.hero-post .hero-post-title { white-space: normal !important; font-size: clamp(2rem, 3.6vw, 3.4rem) !important; max-width: 16ch !important; }
@media (max-width: 860px) { .hero-post .hero-post-title { font-size: clamp(1.7rem, 7.6vw, 2.4rem) !important; } }
.post-content { margin: 0 auto; max-width: 780px; }
.post-content h2 { margin-top: 2.2em; }
.post-content h3 { margin: 1.8em 0 .5em; font-family: var(--serif); font-size: 1.5rem; }
.post-content img, .post-content video, .post-content iframe { max-width: 100%; height: auto; border-radius: 18px; }
.post-content figure { margin: 1.6em 0; }
.post-content figcaption, .post-content .wp-element-caption { margin-top: 8px; color: var(--muted); font-size: .85rem; text-align: center; }
.post-content ul, .post-content ol { padding-left: 1.3em; }
.post-content li { margin: .35em 0; }
.post-content blockquote { margin: 1.6em 0; padding: 14px 22px; border-left: 3px solid var(--caramel); background: var(--paper); border-radius: 0 14px 14px 0; font-family: var(--serif); font-size: 1.2rem; }
.post-content .wp-block-gallery { gap: 10px; }
.post-content .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; }
.post-back { max-width: 780px; margin: 34px auto 0; }
/* Treść stron z edytora: filmy i zdjęcia dodane w CMS */
.entry-rich .wp-block-video video, .entry-rich .wp-block-image img { border-radius: 18px; max-width: 100%; height: auto; }
.post-content h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem) !important; }
.hero-post .hero-post-title { margin-bottom: 16px !important; }
