:root{--prm-bg:#fbf7ec;--prm-white:#fff;--prm-blue:#67b7dc;--prm-blue-dark:#2498c8;--prm-blue-soft:#eaf6fb;--prm-black:#151515;--prm-text:#66625d;--prm-muted:#918c84;--prm-border:#e7ddca}.prm-page,.prm-shortcode-section{font-family:Inter,Arial,sans-serif;color:var(--prm-black);-webkit-font-smoothing:antialiased}.prm-page *,.prm-shortcode-section *{box-sizing:border-box}.prm-page a,.prm-shortcode-section a{text-decoration:none}.prm-wrap{width:min(calc(100% - 40px),1180px);margin:0 auto}.prm-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--prm-blue-dark);font-size:10px;font-weight:800;letter-spacing:.17em;text-transform:uppercase;margin-bottom:12px}.prm-kicker:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--prm-blue)}.prm-breadcrumb{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:34px;color:#a09a91;font-size:10px}.prm-breadcrumb a{color:#7e7870}.prm-hero{padding:54px 0 86px;background:var(--prm-bg)}.prm-hero-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:70px;align-items:center}.prm-hero-copy h1{margin:0;font-size:clamp(43px,5vw,64px);line-height:1.01;letter-spacing:-.055em;color:var(--prm-black)}.prm-hero-copy h1 span{display:block;color:var(--prm-blue-dark);margin-top:6px;font-size:.67em;line-height:1.1;letter-spacing:-.04em}.prm-hero-copy p{font-size:15px;line-height:1.75;color:var(--prm-text);margin:20px 0 0;max-width:540px}.prm-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:23px}.prm-tags span{padding:8px 12px;border-radius:999px;background:#fff;border:1px solid var(--prm-border);font-size:10px;color:#5e5a54}.prm-inline-booksy{display:inline-flex;align-items:center;gap:12px;margin-top:22px;min-height:48px;padding:0 19px;border-radius:999px;background:var(--prm-blue);color:#fff!important;font-size:11px;font-weight:800;box-shadow:0 10px 24px rgba(50,158,207,.18);transition:.25s ease}.prm-inline-booksy:hover{transform:translateY(-2px);background:#55afd7}.prm-inline-booksy span{font-size:16px}.prm-slider,.prm-single-image{position:relative;min-height:570px;border-radius:32px;overflow:hidden;background:#eee;border:1px solid var(--prm-border);box-shadow:0 20px 50px rgba(31,28,23,.09)}.prm-slider img,.prm-single-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.prm-slider-after-wrap{position:absolute;inset:0;width:var(--pos);overflow:hidden}.prm-slider-after{width:100%;height:100%;max-width:none;object-fit:cover;object-position:left center}.prm-slider-line{position:absolute;top:0;bottom:0;left:var(--pos);width:2px;background:#fff;transform:translateX(-1px);box-shadow:0 0 0 1px rgba(0,0,0,.08)}.prm-slider-line span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:var(--prm-blue-dark);font-weight:800;box-shadow:0 8px 25px rgba(0,0,0,.18)}.prm-slider-label{position:absolute;top:18px;padding:8px 11px;border-radius:999px;background:rgba(21,21,21,.72);color:#fff;font-size:9px;font-weight:800;letter-spacing:.12em}.prm-before-label{left:18px}.prm-after-label{right:18px;background:var(--prm-blue-dark)}.prm-slider-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:ew-resize}.prm-breed-section{background:#fff;padding:88px 0}.prm-breed-grid{display:grid;grid-template-columns:.86fr 1.14fr;gap:70px;align-items:start}.prm-breed-section h2{font-size:clamp(32px,4vw,46px);letter-spacing:-.045em;line-height:1.08;margin:0;color:var(--prm-black)}.prm-breed-copy>p{color:var(--prm-text);line-height:1.75;font-size:14px;margin:0 0 24px}.prm-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.prm-facts>div{padding:17px 15px;border-radius:17px;background:var(--prm-bg);border:1px solid var(--prm-border)}.prm-facts small{display:block;color:var(--prm-muted);font-size:8px;text-transform:uppercase;letter-spacing:.1em;margin-bottom:5px}.prm-facts strong{display:block;color:#2b2926;font-size:11px;line-height:1.45}.prm-related{padding:76px 0 84px;background:var(--prm-bg)}.prm-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.prm-section-head h2{font-size:clamp(29px,3vw,40px);margin:0;letter-spacing:-.04em;line-height:1.1}.prm-section-head>a{font-size:11px;font-weight:800;color:var(--prm-blue-dark)}.prm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.prm-card{overflow:hidden;background:#fff;border:1px solid var(--prm-border);border-radius:24px;transition:transform .25s ease,box-shadow .25s ease}.prm-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px rgba(31,28,23,.07)}.prm-card-image{position:relative;display:block;height:315px;background:#eee;overflow:hidden}.prm-card-split{display:grid;grid-template-columns:1fr 1fr;width:100%;height:100%}.prm-card-split img,.prm-card-single{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}.prm-card:hover .prm-card-split img,.prm-card:hover .prm-card-single{transform:scale(1.025)}.prm-card-label{position:absolute;top:13px;padding:7px 9px;border-radius:999px;background:rgba(21,21,21,.7);color:#fff;font-size:8px;font-weight:800;letter-spacing:.09em}.prm-card-label.left{left:13px}.prm-card-label.right{right:13px;background:rgba(36,152,200,.90)}.prm-card-copy{padding:20px}.prm-card-service{font-size:9px;color:var(--prm-blue-dark);font-weight:800;text-transform:uppercase;letter-spacing:.11em}.prm-card h3{font-size:24px;margin:6px 0 8px;letter-spacing:-.035em}.prm-card h3 a{color:var(--prm-black)}.prm-card p{font-size:12px;color:var(--prm-text);line-height:1.65;margin:0 0 15px}.prm-card-link{font-size:11px;font-weight:800;color:var(--prm-blue-dark)}.prm-card-link span{font-size:15px;margin-left:4px}.prm-cta{padding:72px 0 88px;background:var(--prm-bg)}.prm-cta-box{position:relative;overflow:hidden;padding:39px 42px;border-radius:29px;background:#151515;display:flex;align-items:center;justify-content:space-between;gap:30px}.prm-cta-box:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;right:-100px;top:-170px;background:rgba(103,183,220,.09)}.prm-cta-box>div,.prm-cta-box>a{position:relative;z-index:1}.prm-cta-box .prm-kicker{color:var(--prm-blue)}.prm-cta-box h2{color:#fff;margin:0;font-size:clamp(28px,3vw,40px);letter-spacing:-.04em;line-height:1.08}.prm-cta-box p{color:rgba(255,255,255,.62);margin:9px 0 0;font-size:13px}.prm-booksy{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 22px;border-radius:999px;background:var(--prm-blue);color:#fff!important;font-size:12px;font-weight:800;white-space:nowrap;transition:.25s ease}.prm-booksy:hover{transform:translateY(-2px);background:#55afd7}.prm-shortcode-section{width:100%;padding:72px 0 82px;background:var(--prm-bg)}.prm-shortcode-head{max-width:690px;margin:0 auto 31px;text-align:center}.prm-shortcode-head h2{font-size:clamp(32px,4vw,46px);letter-spacing:-.045em;line-height:1.08;margin:0}.prm-shortcode-head p{color:var(--prm-text);font-size:13px;line-height:1.7;margin:13px auto 0}.prm-shortcode-section>.prm-grid{width:min(calc(100% - 40px),1180px);margin:0 auto}.prm-empty{text-align:center;padding:45px;color:var(--prm-text);background:#fff;border:1px solid var(--prm-border);border-radius:20px}@media(max-width:900px){.prm-hero-grid,.prm-breed-grid{grid-template-columns:1fr;gap:40px}.prm-slider,.prm-single-image{min-height:520px}.prm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.prm-cta-box{align-items:flex-start;flex-direction:column}.prm-facts{grid-template-columns:1fr}.prm-section-head{align-items:flex-start;flex-direction:column}}@media(max-width:620px){.prm-wrap{width:calc(100% - 30px)}.prm-hero{padding:36px 0 60px}.prm-breadcrumb{margin-bottom:25px}.prm-hero-copy h1{font-size:35px}.prm-hero-copy p{font-size:14px}.prm-slider,.prm-single-image{min-height:420px;border-radius:23px}.prm-breed-section{padding:60px 0}.prm-breed-section h2{font-size:30px}.prm-related{padding:58px 0 64px}.prm-cta{padding:52px 0 65px}.prm-cta-box{padding:30px 22px;border-radius:23px}.prm-booksy{width:100%}.prm-grid{grid-template-columns:1fr}.prm-card-image{height:365px}.prm-shortcode-section{padding:58px 0 65px}.prm-shortcode-section>.prm-grid{width:calc(100% - 30px)}.prm-shortcode-head{width:calc(100% - 30px)}.prm-shortcode-head h2{font-size:31px}}


/* =========================================================
   GALERIA METAMORFOZ + MODAL v2.1
========================================================= */
.prm-card-image{border:0;padding:0;text-align:left;width:100%;font:inherit;cursor:pointer}.prm-card-view{position:absolute;left:50%;bottom:14px;transform:translateX(-50%) translateY(6px);min-height:34px;padding:0 13px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.94);color:#2e2b28;font-size:9px;font-weight:800;letter-spacing:.05em;box-shadow:0 8px 24px rgba(0,0,0,.12);opacity:0;transition:.25s ease;white-space:nowrap}.prm-card:hover .prm-card-view,.prm-card-image:focus-visible .prm-card-view{opacity:1;transform:translateX(-50%) translateY(0)}.prm-card-link{border:0;padding:0;background:none;cursor:pointer;font:inherit}.prm-card-image:focus-visible,.prm-card-link:focus-visible,.prm-modal-close:focus-visible,.prm-modal-booksy:focus-visible,.prm-modal-more:focus-visible{outline:3px solid rgba(103,183,220,.38);outline-offset:3px}

html.prm-modal-open{overflow:hidden}.prm-modal{position:fixed;inset:0;z-index:9999999;display:none;padding:28px;align-items:center;justify-content:center}.prm-modal.is-open{display:flex}.prm-modal-backdrop{position:absolute;inset:0;background:rgba(19,18,16,.68);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}.prm-modal-dialog{position:relative;z-index:2;width:min(1040px,100%);max-height:calc(100vh - 56px);overflow:auto;border:1px solid rgba(255,255,255,.75);border-radius:30px;background:#fff;box-shadow:0 28px 80px rgba(0,0,0,.24)}.prm-modal-close{position:absolute;right:16px;top:16px;z-index:9;width:42px;height:42px;border:1px solid rgba(21,21,21,.08);border-radius:50%;background:rgba(255,255,255,.94);color:#20201f;font-size:25px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.08)}.prm-modal-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);min-height:590px}.prm-modal-media{min-width:0;background:#eee}.prm-modal-slider{height:100%;min-height:590px;border-radius:29px 0 0 29px;border:0;box-shadow:none}.prm-modal-single{position:relative;height:100%;min-height:590px;overflow:hidden;border-radius:29px 0 0 29px}.prm-modal-single img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.prm-modal-copy{padding:58px 42px 42px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.prm-modal-copy h3{margin:0;color:var(--prm-black);font-size:clamp(34px,4vw,48px);line-height:1.02;letter-spacing:-.05em}.prm-modal-service{margin-top:9px;color:var(--prm-blue-dark);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.prm-modal-copy>p{margin:20px 0 0;color:var(--prm-text);font-size:13px;line-height:1.75}.prm-modal-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:21px}.prm-modal-tags span{padding:8px 11px;border:1px solid var(--prm-border);border-radius:999px;background:var(--prm-bg);color:#5d5954;font-size:9px}.prm-modal-actions{width:100%;margin-top:27px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.prm-modal-booksy{min-height:48px;padding:0 18px;border-radius:999px;background:var(--prm-blue);color:#fff!important;font-size:11px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:.25s ease}.prm-modal-booksy:hover{background:#55afd7;transform:translateY(-2px)}.prm-modal-more{min-height:48px;padding:0 17px;border:1px solid var(--prm-border);border-radius:999px;background:#fff;color:#3b3834!important;font-size:10px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;transition:.25s ease}.prm-modal-more:hover{border-color:rgba(103,183,220,.5);color:var(--prm-blue-dark)!important}.prm-shortcode-section{border-radius:0}.prm-shortcode-section .prm-grid{align-items:stretch}

@media(max-width:820px){.prm-modal{padding:16px}.prm-modal-dialog{max-height:calc(100vh - 32px);border-radius:24px}.prm-modal-grid{grid-template-columns:1fr;min-height:0}.prm-modal-slider,.prm-modal-single{height:460px;min-height:460px;border-radius:23px 23px 0 0}.prm-modal-copy{padding:31px 23px 27px}.prm-modal-close{right:12px;top:12px}.prm-modal-copy h3{font-size:34px}}
@media(max-width:520px){.prm-modal{padding:8px}.prm-modal-dialog{max-height:calc(100vh - 16px);border-radius:20px}.prm-modal-slider,.prm-modal-single{height:350px;min-height:350px;border-radius:19px 19px 0 0}.prm-modal-copy{padding:27px 18px 20px}.prm-modal-copy h3{font-size:30px}.prm-modal-copy>p{font-size:12px;margin-top:15px}.prm-modal-actions{display:grid;grid-template-columns:1fr}.prm-modal-booksy,.prm-modal-more{width:100%}.prm-card-view{opacity:1;transform:translateX(-50%) translateY(0)}}

/* Psie Rewolucje v2.3: pełna zgodność kolorystyczna z witryną */
.prm-page,
.prm-shortcode-section,
.prm-modal{
    --prm-blue:#67b7dc;
    --prm-blue-dark:#2498c8;
    --prm-blue-soft:#eaf6fb;
}
.prm-page button,
.prm-shortcode-section button,
.prm-modal button{accent-color:var(--prm-blue-dark);}
.prm-page a:focus-visible,
.prm-shortcode-section a:focus-visible,
.prm-modal a:focus-visible,
.prm-modal button:focus-visible{
    outline-color:rgba(36,152,200,.38)!important;
}


/* =========================================================
   WYSZUKIWARKA RAS v2.4
========================================================= */
.prm-breed-finder{width:min(calc(100% - 40px),980px);margin:0 auto 34px;padding:22px;border:1px solid var(--prm-border);border-radius:26px;background:#fff;box-shadow:0 12px 34px rgba(31,28,23,.045)}
.prm-finder-copy{display:flex;align-items:center;gap:13px;margin-bottom:16px}.prm-finder-icon{width:44px;height:44px;flex:0 0 44px;display:flex;align-items:center;justify-content:center;border-radius:15px;background:var(--prm-blue-soft);color:var(--prm-blue-dark)}.prm-finder-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.prm-finder-copy strong{display:block;color:var(--prm-black);font-size:14px;letter-spacing:-.015em}.prm-finder-copy span{display:block;margin-top:3px;color:var(--prm-text);font-size:11px;line-height:1.5}
.prm-breed-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.prm-search-field{position:relative;min-width:0}.prm-search-field>svg{position:absolute;left:16px;top:50%;width:18px;height:18px;transform:translateY(-50%);fill:none;stroke:var(--prm-blue-dark);stroke-width:1.8;stroke-linecap:round;pointer-events:none}.prm-breed-search-input{width:100%;min-height:50px;padding:0 48px 0 45px!important;border:1px solid #ddd4c5!important;border-radius:999px!important;background:var(--prm-bg)!important;color:var(--prm-black)!important;font:inherit!important;font-size:13px!important;box-shadow:none!important;outline:none!important;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}.prm-breed-search-input:focus{background:#fff!important;border-color:var(--prm-blue)!important;box-shadow:0 0 0 4px rgba(103,183,220,.13)!important}.prm-breed-search-input::placeholder{color:#989188}.prm-search-clear{position:absolute;right:9px;top:50%;width:34px;height:34px;transform:translateY(-50%);border:0;border-radius:50%;background:#fff;color:#77716a;font-size:20px;line-height:1;cursor:pointer}.prm-search-clear:hover{color:var(--prm-blue-dark);background:var(--prm-blue-soft)}.prm-search-submit{min-height:50px;padding:0 19px;border:0;border-radius:999px;background:var(--prm-blue);color:#fff;font:inherit;font-size:11px;font-weight:800;cursor:pointer;box-shadow:0 9px 22px rgba(50,158,207,.18);transition:.25s ease;white-space:nowrap}.prm-search-submit:hover{transform:translateY(-1px);background:#55afd7}.prm-search-submit span{margin-left:6px;font-size:15px}
.prm-breed-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:13px}.prm-breed-chip{min-height:34px;padding:0 11px;border:1px solid var(--prm-border);border-radius:999px;background:#fff;color:#625d57;font:inherit;font-size:9px;font-weight:700;cursor:pointer;transition:.2s ease}.prm-breed-chip:hover,.prm-breed-chip.is-active{border-color:rgba(103,183,220,.52);background:var(--prm-blue-soft);color:var(--prm-blue-dark)}.prm-filter-status{min-height:17px;margin-top:10px;color:var(--prm-muted);font-size:10px}.prm-card[hidden]{display:none!important}.prm-results-wrap{width:min(calc(100% - 40px),1180px);margin:0 auto}.prm-results-wrap>.prm-grid{width:100%}.prm-filter-empty{padding:43px 24px;text-align:center;border:1px solid var(--prm-border);border-radius:24px;background:#fff}.prm-filter-empty-icon{width:48px;height:48px;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--prm-blue-soft);color:var(--prm-blue-dark);font-size:24px}.prm-filter-empty strong{display:block;color:var(--prm-black);font-size:17px}.prm-filter-empty span{display:block;margin:7px auto 16px;max-width:430px;color:var(--prm-text);font-size:11px;line-height:1.6}.prm-filter-reset{min-height:42px;padding:0 15px;border:1px solid rgba(103,183,220,.45);border-radius:999px;background:#fff;color:var(--prm-blue-dark);font:inherit;font-size:10px;font-weight:800;cursor:pointer}.prm-filter-reset:hover{background:var(--prm-blue-soft)}
.prm-card.is-filter-match{animation:prmCardIn .28s ease both}@keyframes prmCardIn{from{opacity:.55;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:620px){.prm-breed-finder{width:calc(100% - 30px);padding:17px;border-radius:21px;margin-bottom:25px}.prm-finder-copy{align-items:flex-start}.prm-breed-search{grid-template-columns:1fr}.prm-search-submit{width:100%}.prm-breed-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.prm-breed-chip{flex:0 0 auto}.prm-results-wrap{width:calc(100% - 30px)}}
@media(prefers-reduced-motion:reduce){.prm-card.is-filter-match{animation:none}.prm-search-submit{transition:none}}


/* =========================================================
   ZDJĘCIA Z PRZEBIEGU WIZYTY v2.5
========================================================= */
.prm-process-section{padding:78px 0 84px;background:var(--prm-bg)}.prm-process-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.72fr);align-items:end;gap:48px;margin-bottom:25px}.prm-process-head h2{margin:0;color:var(--prm-black);font-size:clamp(31px,4vw,44px);line-height:1.08;letter-spacing:-.045em}.prm-process-head>p{margin:0;color:var(--prm-text);font-size:12px;line-height:1.7}.prm-process-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.prm-process-photo{position:relative;min-height:285px;padding:0;overflow:hidden;border:1px solid var(--prm-border);border-radius:22px;background:#eee;cursor:zoom-in}.prm-process-photo img{display:block;width:100%;height:100%;min-height:285px;object-fit:cover;transition:transform .35s ease}.prm-process-photo:hover img{transform:scale(1.025)}.prm-process-zoom{position:absolute;right:13px;bottom:13px;width:39px;height:39px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.94);color:var(--prm-blue-dark);font-size:21px;font-weight:800;box-shadow:0 7px 20px rgba(0,0,0,.11)}.prm-process-photo:focus-visible{outline:3px solid rgba(36,152,200,.35);outline-offset:3px}
html.prm-photo-lightbox-open{overflow:hidden}.prm-photo-lightbox{position:fixed;inset:0;z-index:10000000;display:none;padding:24px;align-items:center;justify-content:center}.prm-photo-lightbox.is-open{display:flex}.prm-photo-lightbox-backdrop{position:absolute;inset:0;background:rgba(18,18,17,.78);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.prm-photo-lightbox-dialog{position:relative;z-index:2;width:min(980px,100%);max-height:calc(100vh - 48px);display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:28px;background:#111;box-shadow:0 30px 90px rgba(0,0,0,.32)}.prm-photo-lightbox-dialog img{display:block;width:100%;height:auto;max-height:calc(100vh - 48px);object-fit:contain}.prm-photo-lightbox-close{position:absolute;right:14px;top:14px;z-index:3;width:42px;height:42px;border:1px solid rgba(255,255,255,.2);border-radius:50%;background:rgba(255,255,255,.94);color:#222;font-size:25px;line-height:1;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.15)}.prm-photo-lightbox-close:focus-visible{outline:3px solid rgba(103,183,220,.45);outline-offset:3px}
@media(max-width:900px){.prm-process-head{grid-template-columns:1fr;gap:12px}.prm-process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.prm-process-section{padding:58px 0 64px}.prm-process-grid{grid-template-columns:1fr}.prm-process-photo,.prm-process-photo img{min-height:330px}.prm-photo-lightbox{padding:10px}.prm-photo-lightbox-dialog{border-radius:20px;max-height:calc(100vh - 20px)}.prm-photo-lightbox-dialog img{max-height:calc(100vh - 20px)}}

/* =========================================================
   PSIE REWOLUCJE v2.6 | BLUE-ONLY UI + LIVE BREED SEARCH
   Celowo nadpisuje style motywu/Elementora, aby żaden różowy
   kolor przycisków lub obramowań nie przenikał do metamorfoz.
========================================================= */
.prm-page,
.prm-shortcode-section{
    --prm-bg:#fbf7ec;
    --prm-white:#ffffff;
    --prm-blue:#67b7dc;
    --prm-blue-dark:#2498c8;
    --prm-blue-soft:#eaf6fb;
    --prm-black:#151515;
    --prm-text:#66625d;
    --prm-muted:#918c84;
    --prm-border:#e7ddca;
    accent-color:var(--prm-blue-dark);
}

.prm-page button,
.prm-shortcode-section button{
    -webkit-appearance:none!important;
    appearance:none!important;
    font-family:inherit!important;
}

/* Karty: pełny reset obcych kolorów motywu */
.prm-shortcode-section .prm-card,
.prm-page .prm-card{
    border-color:var(--prm-border)!important;
    outline-color:var(--prm-blue)!important;
}

.prm-shortcode-section .prm-card-image,
.prm-page .prm-card-image{
    width:100%!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    background:#eeeeee!important;
    color:inherit!important;
    box-shadow:none!important;
}

.prm-shortcode-section .prm-card-image:hover,
.prm-shortcode-section .prm-card-image:focus,
.prm-page .prm-card-image:hover,
.prm-page .prm-card-image:focus{
    border:0!important;
    background:#eeeeee!important;
    color:inherit!important;
    box-shadow:none!important;
}

.prm-shortcode-section .prm-card-link,
.prm-page .prm-card-link{
    display:inline-flex!important;
    align-items:center!important;
    gap:4px!important;
    width:auto!important;
    min-height:0!important;
    padding:0!important;
    border:0!important;
    outline:0!important;
    background:transparent!important;
    color:var(--prm-blue-dark)!important;
    box-shadow:none!important;
    text-decoration:none!important;
}

.prm-shortcode-section .prm-card-link:hover,
.prm-shortcode-section .prm-card-link:focus,
.prm-page .prm-card-link:hover,
.prm-page .prm-card-link:focus{
    border:0!important;
    background:transparent!important;
    color:#187eaa!important;
    box-shadow:none!important;
}

.prm-shortcode-section .prm-card h3 a,
.prm-page .prm-card h3 a{
    color:var(--prm-black)!important;
}

.prm-shortcode-section .prm-card h3 a:hover,
.prm-page .prm-card h3 a:hover{
    color:var(--prm-blue-dark)!important;
}

/* Wyszukiwarka: jedno pole, bez listy ras i bez przycisku submit */
.prm-breed-finder{
    width:min(calc(100% - 40px),760px)!important;
    margin:0 auto 36px!important;
    padding:20px!important;
    border:1px solid var(--prm-border)!important;
    border-radius:25px!important;
    background:#ffffff!important;
    box-shadow:0 12px 34px rgba(31,28,23,.045)!important;
}

.prm-finder-copy{
    margin-bottom:14px!important;
}

.prm-finder-icon{
    background:var(--prm-blue-soft)!important;
    color:var(--prm-blue-dark)!important;
    border:0!important;
}

.prm-breed-search{
    display:block!important;
    width:100%!important;
}

.prm-search-field{
    position:relative!important;
    width:100%!important;
}

.prm-breed-search-input{
    width:100%!important;
    min-height:56px!important;
    padding:0 54px 0 49px!important;
    border:1px solid var(--prm-border)!important;
    border-radius:999px!important;
    background:var(--prm-bg)!important;
    color:var(--prm-black)!important;
    box-shadow:none!important;
    outline:0!important;
    font-size:13px!important;
}

.prm-breed-search-input:hover{
    border-color:rgba(103,183,220,.60)!important;
}

.prm-breed-search-input:focus{
    border-color:var(--prm-blue)!important;
    background:#ffffff!important;
    box-shadow:0 0 0 4px rgba(103,183,220,.14)!important;
}

.prm-search-field>svg{
    left:18px!important;
    width:19px!important;
    height:19px!important;
    stroke:var(--prm-blue-dark)!important;
}

.prm-search-clear{
    position:absolute!important;
    right:8px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    background:var(--prm-blue-soft)!important;
    color:var(--prm-blue-dark)!important;
    box-shadow:none!important;
    font-size:20px!important;
    font-weight:500!important;
    line-height:1!important;
    cursor:pointer!important;
}

.prm-search-clear:hover,
.prm-search-clear:focus{
    border:0!important;
    background:#d9eff9!important;
    color:#187eaa!important;
    box-shadow:0 0 0 3px rgba(103,183,220,.14)!important;
}

.prm-breed-chips,
.prm-breed-chip,
.prm-search-submit{
    display:none!important;
}

.prm-filter-status{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
}

.prm-filter-empty{
    border-color:var(--prm-border)!important;
}

.prm-filter-empty-icon{
    background:var(--prm-blue-soft)!important;
    color:var(--prm-blue-dark)!important;
}

.prm-filter-reset{
    border:1px solid rgba(103,183,220,.55)!important;
    background:#ffffff!important;
    color:var(--prm-blue-dark)!important;
    box-shadow:none!important;
}

.prm-filter-reset:hover,
.prm-filter-reset:focus{
    border-color:var(--prm-blue)!important;
    background:var(--prm-blue-soft)!important;
    color:#187eaa!important;
    box-shadow:none!important;
}

/* Modal i CTA: tylko paleta Psich Rewolucji */
.prm-modal-booksy,
.prm-inline-booksy{
    border-color:var(--prm-blue)!important;
    background:var(--prm-blue)!important;
    color:#ffffff!important;
}

.prm-modal-booksy:hover,
.prm-inline-booksy:hover{
    border-color:#55afd7!important;
    background:#55afd7!important;
    color:#ffffff!important;
}

.prm-modal-more{
    border-color:rgba(103,183,220,.55)!important;
    color:var(--prm-blue-dark)!important;
    background:#ffffff!important;
}

.prm-modal-more:hover{
    border-color:var(--prm-blue)!important;
    color:#187eaa!important;
    background:var(--prm-blue-soft)!important;
}

.prm-modal-close,
.prm-photo-lightbox-close{
    border-color:rgba(103,183,220,.28)!important;
    color:var(--prm-blue-dark)!important;
}

.prm-card:focus-within{
    border-color:rgba(103,183,220,.70)!important;
    box-shadow:0 0 0 3px rgba(103,183,220,.10)!important;
}

@media(max-width:620px){
    .prm-breed-finder{
        width:calc(100% - 30px)!important;
        padding:16px!important;
        border-radius:21px!important;
        margin-bottom:26px!important;
    }
    .prm-breed-search-input{
        min-height:54px!important;
        font-size:16px!important;
    }
}


/* =========================================================
   v2.7 - pełne usunięcie różowych stylów z galerii przebiegu
   Motyw WordPress może stylować elementy <button>. Te reguły
   wymuszają wyłącznie paletę Psich Rewolucji.
========================================================= */
.prm-process-photo,
button.prm-process-photo {
    -webkit-appearance:none!important;
    appearance:none!important;
    border:1px solid var(--prm-border)!important;
    outline:0!important;
    background:#ffffff!important;
    color:inherit!important;
    box-shadow:none!important;
    padding:0!important;
}

.prm-process-photo:hover,
button.prm-process-photo:hover {
    border-color:rgba(103,183,220,.62)!important;
    background:#ffffff!important;
    color:inherit!important;
    box-shadow:0 12px 30px rgba(36,152,200,.10)!important;
}

.prm-process-photo:focus,
.prm-process-photo:focus-visible,
button.prm-process-photo:focus,
button.prm-process-photo:focus-visible {
    border-color:var(--prm-blue)!important;
    outline:3px solid rgba(103,183,220,.24)!important;
    outline-offset:3px!important;
    background:#ffffff!important;
    box-shadow:none!important;
}

.prm-process-photo:active,
button.prm-process-photo:active {
    border-color:var(--prm-blue-dark)!important;
    background:#ffffff!important;
    color:inherit!important;
}

.prm-process-photo::before,
.prm-process-photo::after {
    border-color:transparent!important;
    background:transparent!important;
    box-shadow:none!important;
}

.prm-process-zoom {
    border:1px solid rgba(103,183,220,.24)!important;
    background:#ffffff!important;
    color:var(--prm-blue-dark)!important;
    box-shadow:0 7px 20px rgba(36,152,200,.12)!important;
}

.prm-process-photo:hover .prm-process-zoom,
.prm-process-photo:focus-visible .prm-process-zoom {
    border-color:var(--prm-blue)!important;
    background:var(--prm-blue-soft)!important;
    color:#187eaa!important;
}

/* Zabezpieczenie przed kolorami przycisków dziedziczonymi z motywu */
.prm-page button:not(.prm-booksy):not(.prm-inline-booksy):not(.prm-modal-booksy),
.prm-shortcode-section button:not(.prm-booksy):not(.prm-inline-booksy):not(.prm-modal-booksy) {
    --wp--preset--color--vivid-red:#2498c8;
    --wp--preset--color--luminous-vivid-orange:#67b7dc;
}


/* =========================================================
   v2.8 - sekcja Metamorfozy na pełną szerokość ekranu
   Tło jest pełnoekranowe, a treść pozostaje czytelna i ograniczona.
========================================================= */
.prm-shortcode-section {
    width:100vw!important;
    max-width:100vw!important;
    position:relative!important;
    left:50%!important;
    margin-left:-50vw!important;
    margin-right:-50vw!important;
    padding-left:0!important;
    padding-right:0!important;
    background:#fbf7ec!important;
    overflow-x:clip!important;
}

.prm-shortcode-section .prm-shortcode-head,
.prm-shortcode-section .prm-breed-finder,
.prm-shortcode-section .prm-results-wrap {
    position:relative!important;
    z-index:1!important;
}

/* pełne kremowe tło również wtedy, gdy motyw WordPress ogranicza szerokość treści */
.prm-shortcode-section::before {
    content:"";
    position:absolute;
    inset:0;
    background:#fbf7ec;
    pointer-events:none;
    z-index:0;
}

/* ochrona przed poziomym przewijaniem powodowanym przez pełny bleed */
body:has(.prm-shortcode-section) {
    overflow-x:hidden!important;
}

@supports not selector(body:has(*)) {
    .prm-shortcode-section {
        overflow-x:hidden!important;
    }
}

@media(max-width:620px) {
    .prm-shortcode-section {
        padding-top:54px!important;
        padding-bottom:62px!important;
    }
}


/* =========================================================
   v2.9 - PRAWDZIWE FULL BLEED DLA /METAMORFOZY/
   Usuwa białe pasy po bokach także wtedy, gdy shortcode jest
   wewnątrz ograniczonego kontenera motywu / Elementora.
========================================================= */

html:has(.prm-shortcode-section),
body:has(.prm-shortcode-section){
    overflow-x:hidden!important;
    max-width:100%!important;
}

/* Rodzice sekcji nie mogą jej przycinać */
body:has(.prm-shortcode-section) .prm-fullbleed-parent,
body:has(.prm-shortcode-section) .entry-content:has(.prm-shortcode-section),
body:has(.prm-shortcode-section) .wp-block-post-content:has(.prm-shortcode-section),
body:has(.prm-shortcode-section) .elementor:has(.prm-shortcode-section),
body:has(.prm-shortcode-section) .elementor-section:has(.prm-shortcode-section),
body:has(.prm-shortcode-section) .elementor-container:has(.prm-shortcode-section),
body:has(.prm-shortcode-section) .elementor-column:has(.prm-shortcode-section),
body:has(.prm-shortcode-section) .elementor-widget-wrap:has(.prm-shortcode-section),
body:has(.prm-shortcode-section) .elementor-widget:has(.prm-shortcode-section),
body:has(.prm-shortcode-section) .elementor-widget-container:has(.prm-shortcode-section),
body:has(.prm-shortcode-section) .e-con:has(.prm-shortcode-section),
body:has(.prm-shortcode-section) .e-con-inner:has(.prm-shortcode-section){
    overflow:visible!important;
    overflow-x:visible!important;
    clip-path:none!important;
    contain:none!important;
}

.prm-shortcode-section{
    position:relative!important;
    left:50%!important;
    right:auto!important;
    width:100vw!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    transform:translateX(-50%)!important;
    background:#fbf7ec!important;
    overflow:visible!important;
    isolation:isolate;
}

/* Pełne tło niezależne od szerokości rodzica */
.prm-shortcode-section::before{
    content:""!important;
    position:absolute!important;
    top:0!important;
    bottom:0!important;
    left:50%!important;
    width:100vw!important;
    transform:translateX(-50%)!important;
    background:#fbf7ec!important;
    pointer-events:none!important;
    z-index:-1!important;
}

/* Treść nadal ma elegancką szerokość */
.prm-shortcode-section .prm-shortcode-head{
    width:min(calc(100% - 40px),1180px)!important;
    max-width:690px!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

.prm-shortcode-section .prm-breed-finder{
    width:min(calc(100% - 40px),760px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

.prm-shortcode-section .prm-results-wrap{
    width:min(calc(100% - 40px),1180px)!important;
    max-width:1180px!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

@media(max-width:620px){
    .prm-shortcode-section .prm-shortcode-head,
    .prm-shortcode-section .prm-breed-finder,
    .prm-shortcode-section .prm-results-wrap{
        width:calc(100% - 30px)!important;
    }
}


/* =========================================================
   v3.0 - MODAL MOBILE + ZERO RÓŻOWEGO
   Zamknięcie ma własny styl marki, a na telefonie cały modal
   jest przewijalny. Dzięki temu link "Zobacz pełną realizację"
   zawsze jest dostępny.
========================================================= */

html.prm-modal-open,
body.prm-modal-open{
    overflow:hidden!important;
}

/* Zamknięcie modala: całkowicie odcinamy style przycisków motywu */
.prm-modal .prm-modal-close,
.prm-modal button.prm-modal-close,
.prm-modal .prm-modal-close:hover,
.prm-modal .prm-modal-close:focus,
.prm-modal .prm-modal-close:focus-visible,
.prm-modal .prm-modal-close:active{
    -webkit-appearance:none!important;
    appearance:none!important;
    position:absolute!important;
    top:14px!important;
    right:14px!important;
    z-index:50!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid rgba(103,183,220,.35)!important;
    border-radius:50%!important;
    background:#eaf6fb!important;
    background-image:none!important;
    color:#2498c8!important;
    font-family:Inter,Arial,sans-serif!important;
    font-size:26px!important;
    font-weight:500!important;
    line-height:1!important;
    text-indent:0!important;
    box-shadow:0 8px 24px rgba(36,152,200,.12)!important;
    outline:none!important;
    cursor:pointer!important;
    transform:none!important;
    opacity:1!important;
}

.prm-modal .prm-modal-close:hover,
.prm-modal .prm-modal-close:focus-visible{
    border-color:#2498c8!important;
    background:#2498c8!important;
    background-image:none!important;
    color:#ffffff!important;
    box-shadow:0 0 0 4px rgba(103,183,220,.16),0 10px 26px rgba(36,152,200,.18)!important;
}

.prm-modal .prm-modal-close::before,
.prm-modal .prm-modal-close::after{
    content:none!important;
    display:none!important;
}

/* Link do pełnej realizacji również nie może przejąć różowego koloru motywu */
.prm-modal .prm-modal-more,
.prm-modal .prm-modal-more:visited{
    border:1px solid rgba(103,183,220,.55)!important;
    background:#ffffff!important;
    background-image:none!important;
    color:#2498c8!important;
    box-shadow:none!important;
}

.prm-modal .prm-modal-more:hover,
.prm-modal .prm-modal-more:focus-visible{
    border-color:#2498c8!important;
    background:#eaf6fb!important;
    color:#187eaa!important;
}

@media(max-width:820px){
    html.prm-modal-open,
    body.prm-modal-open{
        height:100%!important;
        overflow:hidden!important;
    }

    .prm-modal{
        inset:0!important;
        padding:0!important;
        align-items:flex-start!important;
        justify-content:flex-start!important;
        overflow-x:hidden!important;
        overflow-y:auto!important;
        -webkit-overflow-scrolling:touch!important;
        overscroll-behavior-y:contain!important;
        touch-action:pan-y!important;
    }

    .prm-modal.is-open{
        display:block!important;
    }

    .prm-modal-backdrop{
        position:fixed!important;
        inset:0!important;
    }

    .prm-modal-dialog{
        position:relative!important;
        width:calc(100% - 16px)!important;
        max-width:none!important;
        max-height:none!important;
        height:auto!important;
        min-height:0!important;
        margin:8px auto 28px!important;
        overflow:visible!important;
        border-radius:22px!important;
    }

    .prm-modal-grid{
        display:block!important;
        min-height:0!important;
        height:auto!important;
    }

    .prm-modal-media{
        min-height:0!important;
    }

    .prm-modal-slider,
    .prm-modal-single{
        width:100%!important;
        height:clamp(300px,88vw,440px)!important;
        min-height:0!important;
        border-radius:21px 21px 0 0!important;
    }

    .prm-modal-copy{
        min-height:0!important;
        padding:30px 20px 24px!important;
        justify-content:flex-start!important;
    }

    .prm-modal-copy h3{
        padding-right:46px!important;
        font-size:clamp(29px,9vw,36px)!important;
    }

    .prm-modal-actions{
        width:100%!important;
        display:grid!important;
        grid-template-columns:1fr!important;
        gap:9px!important;
        margin-top:24px!important;
        padding-bottom:max(4px,env(safe-area-inset-bottom))!important;
    }

    .prm-modal-booksy,
    .prm-modal-more{
        width:100%!important;
        min-height:52px!important;
    }

    .prm-modal .prm-modal-close,
    .prm-modal button.prm-modal-close{
        position:fixed!important;
        top:max(12px,env(safe-area-inset-top))!important;
        right:12px!important;
        width:42px!important;
        height:42px!important;
        min-width:42px!important;
        min-height:42px!important;
    }
}

@media(max-width:520px){
    .prm-modal-dialog{
        width:calc(100% - 10px)!important;
        margin:5px auto 22px!important;
        border-radius:19px!important;
    }

    .prm-modal-slider,
    .prm-modal-single{
        height:clamp(285px,92vw,380px)!important;
        border-radius:18px 18px 0 0!important;
    }

    .prm-modal-copy{
        padding:26px 17px 22px!important;
    }

    .prm-modal-copy h3{
        font-size:29px!important;
    }
}


/* =========================================================
   v3.1 - MOBILE / TABLET UX
   Modal przenoszony do BODY przez JS, pełny viewport,
   krótsze zdjęcie oraz stały pasek dwóch działań na dole.
========================================================= */

.prm-modal-mobile-actions{
    display:none;
}

@media (max-width: 820px){
    .prm-modal{
        position:fixed!important;
        inset:0!important;
        width:100%!important;
        height:100dvh!important;
        min-height:100svh!important;
        padding:0!important;
        margin:0!important;
        overflow:hidden!important;
        align-items:stretch!important;
        justify-content:stretch!important;
        background:rgba(19,18,16,.70)!important;
        z-index:2147483000!important;
        touch-action:pan-y!important;
    }

    .prm-modal.is-open{
        display:block!important;
    }

    .prm-modal-backdrop{
        position:absolute!important;
        inset:0!important;
        background:rgba(19,18,16,.70)!important;
        backdrop-filter:blur(7px)!important;
        -webkit-backdrop-filter:blur(7px)!important;
    }

    .prm-modal-dialog{
        position:absolute!important;
        inset:0!important;
        z-index:2!important;
        width:100%!important;
        max-width:none!important;
        height:100dvh!important;
        min-height:100svh!important;
        max-height:100dvh!important;
        margin:0!important;
        padding:0!important;
        display:flex!important;
        flex-direction:column!important;
        overflow:hidden!important;
        border:0!important;
        border-radius:0!important;
        background:#fff!important;
        box-shadow:none!important;
    }

    .prm-modal-grid{
        flex:1 1 auto!important;
        min-height:0!important;
        height:auto!important;
        display:flex!important;
        flex-direction:column!important;
        overflow:hidden!important;
    }

    .prm-modal-media{
        flex:0 0 clamp(255px,42svh,365px)!important;
        width:100%!important;
        min-height:0!important;
        height:clamp(255px,42svh,365px)!important;
        overflow:hidden!important;
        background:#eee!important;
    }

    .prm-modal-slider,
    .prm-modal-single{
        width:100%!important;
        height:100%!important;
        min-height:0!important;
        border-radius:0!important;
    }

    .prm-modal-slider img,
    .prm-modal-single img{
        object-fit:cover!important;
        object-position:center center!important;
    }

    .prm-modal-copy{
        flex:1 1 auto!important;
        min-height:0!important;
        width:100%!important;
        padding:27px 20px 24px!important;
        overflow-x:hidden!important;
        overflow-y:auto!important;
        -webkit-overflow-scrolling:touch!important;
        overscroll-behavior:contain!important;
        justify-content:flex-start!important;
        background:#fff!important;
    }

    .prm-modal-copy h3{
        padding-right:0!important;
        font-size:clamp(29px,8.2vw,36px)!important;
        line-height:1.05!important;
    }

    .prm-modal-copy>p{
        font-size:13px!important;
        line-height:1.7!important;
        margin-top:17px!important;
    }

    .prm-modal-tags{
        margin-top:18px!important;
        padding-bottom:6px!important;
    }

    /* Stare działania są na mobile zbędne, bo mamy stały pasek */
    .prm-modal-copy .prm-modal-actions{
        display:none!important;
    }

    .prm-modal-mobile-actions{
        position:relative!important;
        z-index:30!important;
        flex:0 0 auto!important;
        width:100%!important;
        display:grid!important;
        grid-template-columns:1fr 1fr!important;
        gap:9px!important;
        padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;
        border-top:1px solid #e7ddca!important;
        background:rgba(255,255,255,.98)!important;
        backdrop-filter:blur(16px)!important;
        -webkit-backdrop-filter:blur(16px)!important;
        box-shadow:0 -12px 30px rgba(28,25,21,.08)!important;
    }

    .prm-modal-mobile-more,
    .prm-modal-mobile-booksy{
        min-width:0!important;
        min-height:54px!important;
        padding:0 14px!important;
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        gap:8px!important;
        border-radius:999px!important;
        font-family:Inter,Arial,sans-serif!important;
        font-size:12px!important;
        font-weight:800!important;
        line-height:1.15!important;
        text-align:center!important;
        text-decoration:none!important;
        white-space:normal!important;
        box-shadow:none!important;
        -webkit-tap-highlight-color:transparent!important;
    }

    .prm-modal-mobile-more,
    .prm-modal-mobile-more:visited{
        border:1px solid rgba(36,152,200,.42)!important;
        background:#fff!important;
        color:#2498c8!important;
    }

    .prm-modal-mobile-booksy,
    .prm-modal-mobile-booksy:visited{
        border:1px solid #67b7dc!important;
        background:#67b7dc!important;
        color:#fff!important;
    }

    .prm-modal-mobile-more:active{
        background:#eaf6fb!important;
    }

    .prm-modal-mobile-booksy:active{
        background:#2498c8!important;
        border-color:#2498c8!important;
    }

    .prm-modal .prm-modal-close,
    .prm-modal button.prm-modal-close{
        position:absolute!important;
        top:calc(12px + env(safe-area-inset-top))!important;
        right:12px!important;
        z-index:80!important;
        width:46px!important;
        height:46px!important;
        min-width:46px!important;
        min-height:46px!important;
        border:1px solid rgba(255,255,255,.55)!important;
        border-radius:50%!important;
        background:#2498c8!important;
        color:#fff!important;
        box-shadow:0 9px 28px rgba(17,88,118,.26)!important;
        font-size:27px!important;
    }
}

@media (max-width: 430px){
    .prm-modal-media{
        flex-basis:clamp(240px,40svh,330px)!important;
        height:clamp(240px,40svh,330px)!important;
    }

    .prm-modal-copy{
        padding:23px 17px 20px!important;
    }

    .prm-modal-mobile-actions{
        gap:7px!important;
        padding-left:8px!important;
        padding-right:8px!important;
    }

    .prm-modal-mobile-more,
    .prm-modal-mobile-booksy{
        min-height:52px!important;
        padding:0 10px!important;
        font-size:11px!important;
    }
}

@media (max-width: 350px){
    .prm-modal-mobile-actions{
        grid-template-columns:1fr!important;
    }

    .prm-modal-media{
        flex-basis:235px!important;
        height:235px!important;
    }
}

/* Tablet poziomo: zachowujemy dwa panele i stałe akcje na dole */
@media (min-width:821px) and (max-width:1100px){
    .prm-modal-dialog{
        width:min(960px,calc(100% - 30px))!important;
        max-height:calc(100dvh - 30px)!important;
    }

    .prm-modal-grid{
        grid-template-columns:minmax(0,1.05fr) minmax(310px,.95fr)!important;
        min-height:min(620px,calc(100dvh - 30px))!important;
    }

    .prm-modal-slider,
    .prm-modal-single{
        min-height:min(620px,calc(100dvh - 30px))!important;
    }

    .prm-modal-copy{
        padding:48px 30px 34px!important;
    }
}


/* =========================================================
   v3.2 | MOBILE / TABLET: OD RAZU PEŁNA REALIZACJA
========================================================= */

/* Na dużych ekranach modal działa jak wcześniej. */
.prm-mobile-back-to-gallery{
    display:none;
}

/* Linki kart są linkami także wtedy, gdy desktop otwiera modal. */
.prm-card-image.prm-open-modal,
.prm-card-link.prm-open-modal{
    text-decoration:none!important;
}

@media (max-width:1024px), (hover:none) and (pointer:coarse){
    /* Modal nie jest częścią mobilnego doświadczenia. Kliknięcie prowadzi
       bezpośrednio do strony pełnej realizacji. */
    .prm-shortcode-section .prm-modal{
        display:none!important;
    }

    .prm-shortcode-section .prm-card-image.prm-open-modal,
    .prm-shortcode-section .prm-card-link.prm-open-modal{
        cursor:pointer!important;
        -webkit-tap-highlight-color:transparent;
    }

    .prm-shortcode-section .prm-card-view{
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        min-height:38px!important;
        padding:0 14px!important;
        border-radius:999px!important;
        background:rgba(255,255,255,.94)!important;
        color:var(--prm-blue-dark)!important;
        font-size:11px!important;
        font-weight:700!important;
        letter-spacing:.02em!important;
        box-shadow:0 8px 22px rgba(20,20,20,.10)!important;
    }

    /* Stały, łatwo dostępny powrót z pełnej realizacji. */
    .prm-page .prm-mobile-back-to-gallery{
        position:fixed!important;
        left:12px!important;
        top:calc(50% + env(safe-area-inset-top, 0px) * .15)!important;
        z-index:99999!important;
        display:flex!important;
        align-items:center!important;
        gap:8px!important;
        min-height:48px!important;
        padding:0 14px 0 11px!important;
        border:1px solid rgba(103,183,220,.30)!important;
        border-radius:0 999px 999px 0!important;
        background:rgba(255,255,255,.96)!important;
        color:var(--prm-blue-dark)!important;
        font-size:12px!important;
        font-weight:700!important;
        line-height:1!important;
        text-decoration:none!important;
        box-shadow:0 10px 28px rgba(20,20,20,.12)!important;
        backdrop-filter:blur(12px)!important;
        -webkit-backdrop-filter:blur(12px)!important;
        transform:translateY(-50%)!important;
        max-width:190px!important;
        -webkit-tap-highlight-color:transparent;
    }

    .prm-page .prm-mobile-back-to-gallery > span:first-child{
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        width:26px!important;
        height:26px!important;
        flex:0 0 26px!important;
        border-radius:50%!important;
        background:var(--prm-blue-soft)!important;
        color:var(--prm-blue-dark)!important;
        font-size:18px!important;
        font-weight:500!important;
    }

    .prm-page .prm-mobile-back-to-gallery:active{
        transform:translateY(-50%) scale(.97)!important;
    }
}

@media (max-width:520px){
    .prm-page .prm-mobile-back-to-gallery{
        left:0!important;
        min-height:46px!important;
        padding:0 12px 0 9px!important;
        font-size:11px!important;
        max-width:170px!important;
    }
}
