/* Stworek.pl v6.5.8 VISUAL ONLY. All operational selectors and data contracts are preserved.
   Premium DETRIPOLIS adaptation of user-approved homepage composition. */
:root{--v658-dark:#071a12;--v658-forest:#0c2519;--v658-moss:#24412b;--v658-gold:#d4a65d;--v658-paper:#f3ebda;--v658-ivory:#fbf7ed;--v658-ink:#30291f;--v658-line:rgba(180,144,85,.36)}
html{scroll-padding-top:76px}
body{background:var(--v658-paper);color:var(--v658-ink);font-family:Georgia,'Times New Roman',serif}
button,input,select,.v653-group-btn,.lang-btn,.v65-view-switch{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif}
.shell{width:min(1372px,calc(100% - 48px))}
/* 01 Navigation: slim woodland topbar, real in-page anchors. */
.site-header{background:rgba(5,19,13,.97)!important;border-bottom:1px solid rgba(204,161,78,.48)!important;box-shadow:0 7px 30px rgba(0,0,0,.18)!important}
.topbar{min-height:59px;gap:28px}
.site-header .brand{flex:0 0 auto}
.detripolis-header-logo{width:clamp(155px,20vw,238px)!important;height:auto!important;max-height:50px!important;object-fit:contain}
.v658-main-nav{display:flex;gap:clamp(13px,2vw,34px);align-items:center;justify-content:center;flex:1;min-width:0}
.v658-main-nav a{font:600 .82rem/1.2 Georgia,serif;white-space:nowrap;letter-spacing:.02em;padding:9px 5px;border-bottom:1px solid transparent;text-decoration:none;color:#f0e5ce;transition:color .15s,border-color .15s}
.v658-main-nav a:hover,.v658-main-nav a:focus-visible{color:#e8bd70;border-color:#cda15a}
.site-header .language-switch{background:#0b241a!important;border:1px solid rgba(214,178,110,.35)!important}
.site-header .lang-btn{color:#e4d5b3!important;width:37px;height:31px}
.site-header .lang-btn.active{background:#27442b!important;color:#fff6dc!important;outline:1px solid #d0a762}
/* 02 Hero: user supplied artwork, never a recreation of the mark. */
.v658-banner{position:relative;isolation:isolate;overflow:hidden;background:#071911;height:clamp(240px,24vw,360px);border-bottom:2px solid #a17c43}
.v658-banner>img:first-child{display:block;width:100%;height:100%;object-fit:cover;object-position:center 40%}
.v658-banner-mobile-logo{display:none}
/* 03 Cream editorial intro; large exact emblem and gold stats. */
.hero.v658-intro{position:relative;background:radial-gradient(ellipse at 60% 5%,#fffaf0 0,#f6eddb 55%,#e9dcc1 100%)!important;color:#302a1f!important;box-shadow:inset 0 2px 0 #fff8df;border-bottom:1px solid #b69a65}
.v658-intro:after{content:'❦';position:absolute;right:2.3%;bottom:3px;font:130px/1 Georgia,serif;color:rgba(123,104,54,.08);pointer-events:none}
.v658-intro .hero-inner{max-width:1260px;min-height:245px!important;padding-block:20px 21px!important;display:grid;grid-template-columns:minmax(165px,278px) minmax(0,1fr);gap:clamp(20px,3vw,46px)!important;align-items:center}
.v658-intro .hero-brand-visual{width:100%;max-width:278px!important;flex:none!important;min-width:0}
.v658-intro .hero-brand-visual img{display:block;width:100%!important;max-width:100%!important;height:auto!important;max-height:300px!important;object-fit:contain}
.v658-intro .hero-copy{text-align:center;max-width:850px}
.v658-intro .eyebrow{font:700 .82rem/1.1 Georgia,serif;letter-spacing:.24em;color:#a66f38!important;margin:0 0 5px!important}
.v658-intro h1{font:500 clamp(2.3rem,3.9vw,4.05rem)/1.05 Georgia,serif;letter-spacing:-.035em;color:#2c2a20!important;margin:0}
.v658-intro .lead{margin:7px auto 0!important;max-width:765px;font:400 clamp(.98rem,1.26vw,1.16rem)/1.48 Georgia,serif;color:#5b5243!important}
.v658-intro .meta-row.v658-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:720px;margin:15px auto 0!important;padding:7px 6px;border:1px solid #d4c2a4;border-radius:9px;background:rgba(255,254,247,.48);gap:0!important}
.v658-intro .meta-separator{display:none}
.v658-stat{display:flex!important;align-items:center;justify-content:center;gap:12px;min-width:0;padding:5px 12px;color:#523922!important}
.v658-stat+.v658-stat{border-left:1px solid #d9c3a0}
.v658-stat-icon{font:1.85rem/1 Georgia,serif;color:#aa6e2c}
.v658-stat>span:last-child{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.v658-stat strong{color:#8d4b2b!important;font:700 clamp(1.27rem,1.8vw,2rem)/1.1 Georgia,serif!important}
.v658-stat small{font:500 .75rem/1.3 Georgia,serif;color:#61513c}
.v658-stat .v658-stat-date{font-size:clamp(.9rem,1.5vw,1.33rem)!important;white-space:nowrap}
/* 04 Category panels: individually cropped animal graphics with same composition, any custom group remains readable. */
.v658-groups-band{position:relative;padding:23px 0 17px;color:#f5e7c8;background:linear-gradient(180deg,rgba(5,24,13,.93),rgba(5,22,13,.94)),url('assets/v658/group-all.webp') center/cover;border-top:2px solid #b58c4c;border-bottom:1px solid #c09a5b}
.v658-groups-band .v653-groups{padding:0!important}
.v658-groups-band .v653-group-title{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px 17px;margin:0 0 17px!important;text-align:center}
.v658-groups-band .v653-group-title strong{font:500 clamp(1.45rem,2.2vw,2.1rem)/1.1 Georgia,serif!important;color:#ffefd0!important}
.v658-groups-band .v653-group-title strong:before,.v658-groups-band .v653-group-title strong:after{content:' — ';color:#c88f49}
.v658-groups-band .v653-group-title span{font:.82rem Georgia,serif;color:#e0cbaa!important}
.v658-groups-band .v653-group-nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:14px!important}
.v658-group-tile.v653-group-btn{position:relative;isolation:isolate;overflow:hidden;display:flex!important;align-items:flex-end;justify-content:space-between;text-align:left;min-height:109px;padding:14px!important;border:1px solid #aa854c!important;border-radius:10px!important;background:linear-gradient(0deg,#091810 0%,transparent 80%),#2a3b21;color:#fff7e7!important;box-shadow:0 4px 16px rgba(0,0,0,.16);transition:transform .2s,border-color .2s,box-shadow .2s}
.v658-group-tile:before{content:'';position:absolute;z-index:-1;inset:0;background:center/cover no-repeat;opacity:.78;transition:transform .32s,opacity .2s}
.v658-group-tile.v658-group-all:before{background-image:url('assets/v658/group-all.webp')}
.v658-group-tile.v658-group-isopods:before{background-image:url('assets/v658/group-isopods.webp')}
.v658-group-tile.v658-group-millipedes:before{background-image:url('assets/v658/group-millipedes.webp')}
.v658-group-tile.v658-group-springtails:before{background-image:url('assets/v658/group-springtails.webp')}
.v658-group-tile.v658-group-custom:before{background-image:linear-gradient(125deg,#1d4131,#64703f 65%,#263a2c)}
.v658-group-tile:after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,rgba(1,15,9,.92),rgba(1,15,9,.30) 62%,rgba(1,15,9,.08))}
.v658-group-tile:hover:before{transform:scale(1.06);opacity:.94}
.v658-group-tile.active{outline:2px solid #d9b16b;outline-offset:-4px;box-shadow:0 0 0 1px #b88b45,0 9px 24px #0006}
.v658-group-tile .v658-tile-overlay{display:flex!important;flex-direction:column;gap:3px;align-items:flex-start;min-width:0;background:none!important;padding:0!important;border:0!important;max-width:calc(100% - 36px)}
.v658-group-tile .v658-tile-overlay b{font:600 clamp(.98rem,1.3vw,1.2rem)/1.12 Georgia,serif;overflow-wrap:anywhere}
.v658-group-tile .v658-tile-overlay small{font:.74rem/1.2 Georgia,serif;opacity:.91}
.v658-tile-arrow{flex:0 0 29px;display:grid;place-items:center;align-self:flex-end;width:29px;height:29px;border:1px solid #d9b16b;border-radius:50%;background:#082213a8;color:#fff1c7;font-size:1rem}
/* 05 Filters look like the reference but existing search, genus, species, status and reset remain functional. */
.catalog-section{position:relative;padding-block:23px 65px!important}
.catalog-section:before{content:'';position:absolute;left:50%;transform:translateX(-50%);top:-1px;width:100vw;height:125px;background:#091f15;z-index:-1}
.catalog-section .filter-panel{border:1px solid #8c7545;border-radius:9px;padding:13px;background:linear-gradient(180deg,#102c1e,#081e14)!important;box-shadow:0 10px 28px #07180b2f;gap:9px}
.catalog-section .field label,.catalog-section .search-field label{color:#dfc693;font-size:.63rem}
.catalog-section .input-wrap input,.catalog-section select{background:#10291e!important;color:#f3eddd!important;border:1px solid #53644d!important;min-height:44px;border-radius:7px!important}
.catalog-section .input-wrap input::placeholder{color:#c6c5b4}
.catalog-section .search-icon{color:#d8ac64}
.catalog-section .reset-btn{background:linear-gradient(140deg,#b17b36,#7f5225)!important;color:#fff5d6;border:1px solid #d9a65a!important;border-radius:7px!important;min-height:44px}
.catalog-section .reset-btn:hover{background:#bb8f49!important}
.catalog-toolbar{padding:18px 1px 13px}
.catalog-toolbar>p{font:600 .92rem Georgia,serif;color:#354229}
.catalog-toolbar .v653-page-size{border-color:#d0ba91;background:#fff8ea}
.catalog-toolbar .v65-view-switch{border-color:#af955e;background:#f6ead0}
.catalog-toolbar .v65-view-switch .is-active{background:#0b3020;color:#ffedca}
.catalog-toolbar .status-legend summary{font:600 .82rem Georgia,serif;background:#fffaf1;border-color:#dac7a4;color:#473b24}
.catalog-toolbar .status-legend-panel{background:#fff9e9}
/* 06 Featured carousel: no sample or fake species, only actual public species with existing images. */
.v658-featured{padding-top:24px;padding-bottom:26px}
.v658-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 12px}
.v658-section-heading>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.v658-kicker{font-size:1.35rem;color:#b67e37}
.v658-section-heading h2{display:inline;margin:0;font:500 clamp(1.6rem,2.1vw,2.2rem)/1 Georgia,serif;color:#382c1f}
.v658-section-heading p{width:100%;flex:0 0 100%;margin:-2px 0 0 25px;color:#857660;font:.81rem Georgia,serif}
.v658-section-heading>a{text-decoration:none;color:#855923;font:700 .85rem Georgia,serif;white-space:nowrap}
.v658-section-heading>a:hover{text-decoration:underline}
.v658-featured-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.v658-featured-card.card{display:flex!important;flex-direction:column!important;overflow:hidden;min-width:0;border:1px solid #c8ad78;border-radius:10px!important;background:#fffaf0!important;box-shadow:0 6px 18px #3625101c;cursor:pointer}
.v658-featured-card .card-media{aspect-ratio:1.52!important;min-height:0!important;max-height:none!important;overflow:hidden;border-radius:0!important}
.v658-featured-card .card-image{width:100%;height:100%;object-fit:cover}
.v658-featured-card .card-body{display:flex!important;flex-direction:column!important;gap:8px!important;padding:10px 12px 12px!important;min-height:107px}
.v658-featured-card .card-body h2{font:600 clamp(.93rem,1.13vw,1.13rem)/1.16 Georgia,serif!important;margin:0!important;min-height:42px;overflow-wrap:anywhere}
.v658-featured-badge{position:absolute;top:9px;left:9px;z-index:2;padding:5px 8px;border-radius:7px;border:1px solid #d6ac62;background:#123321ef;color:#fff1d3;font:700 .72rem system-ui,sans-serif;max-width:calc(100% - 50px)}
.v658-featured-card .v658-featured-select{position:absolute;z-index:4;top:6px;right:7px;left:auto;transform:none!important;width:33px!important;height:33px!important;border-radius:50%;font-size:1.35rem!important;background:#0a2219a6;color:#fff2db;border:1px solid #cfb174!important}
.v658-featured-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;color:#4d5b3e;font:600 .7rem/1.2 system-ui,sans-serif;margin-top:auto}
.v658-featured-footer span:last-child{color:#386234}
/* 07 Main collection cards: classic ivory with gold borders, same actual data and interactions. */
.catalog-section .catalog-grid{gap:15px!important}
.catalog-section .card{background:#fffaf3!important;border:1px solid #d6c09d!important;border-radius:11px!important;box-shadow:0 6px 18px rgba(43,35,22,.085)!important}
.catalog-section .card:hover{box-shadow:0 14px 28px rgba(43,35,22,.17)!important}
.catalog-section .card .card-media{background:#d5ccba}
.catalog-section .card h2{font-family:Georgia,serif;color:#31271f}
.catalog-section .card .price{border-color:#e7ddcc;background:#f7f1e5}
.catalog-section .card .former-inline{border-color:#d2b98b;background:#f8f2e6}
.catalog-section .v653-pagination button[aria-current="page"]{background:#18402a;border-color:#b59554}
/* 08 Contact after collection, not interrupting brand and browsing above fold. */
.contact-bar{margin-block:20px 39px!important;background:linear-gradient(125deg,#fff9ec,#eee1c8)!important;border:1px solid #d5ba83!important;box-shadow:0 9px 22px #65472b18!important}
.contact-bar-copy strong{color:#443524!important;font:600 1.3rem Georgia,serif}
.contact-bar-copy span{color:#6e5a40}
.contact-links a,.contact-links button{border-color:#c8a66e!important;background:#fdf8ec!important;color:#433525!important}
/* 09 Functional legal/footer links, no repeated logo. */
.v658-footer{background:linear-gradient(180deg,#071e13,#06170e)!important;border-top:1px solid #bc995b;color:#e6d8b7}
.v658-footer .v658-footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:35px;align-items:center;padding:25px 0 32px}
.v658-footer .v658-footer-title{font:700 1.17rem Georgia,serif;color:#d8ac62;margin:0 0 6px}
.v658-footer .v658-footer-title small{font:600 .52rem system-ui,sans-serif;letter-spacing:.15em;color:#c5a674}
.v658-footer p{font:.76rem/1.5 Georgia,serif;color:#d0bfa2!important;max-width:500px}
.v658-footer .v658-footer-links{display:flex;gap:17px;flex-wrap:wrap;justify-content:center}
.v658-footer .v658-footer-links a{font:.8rem Georgia,serif;color:#f2e4c6;text-decoration:none;border-bottom:1px solid #c99a53;padding-bottom:3px}
.v658-footer .v658-footer-links a:hover{color:#ffe5a9}
.v658-footer-grid>div:last-child{display:flex;flex-direction:column;gap:5px;align-items:flex-end;color:#c0a377;font:.74rem Georgia,serif}
/* Keep all existing item/lightbox dialogs legible and scrollable. */
.item-dialog,.inquiry-dialog{font-family:Inter,system-ui,sans-serif}
:focus-visible{outline:3px solid #d2a357;outline-offset:3px}
@media(max-width:1180px){
 .v658-main-nav{gap:10px}.v658-main-nav a{font-size:.77rem}
 .v658-featured-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
 .v658-featured-card .card-body{padding:9px}
}
@media(max-width:860px){
 .topbar{gap:10px}.v658-main-nav a{font-size:.72rem}
 .v658-groups-band .v653-group-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v658-intro .hero-inner{grid-template-columns:170px 1fr;gap:14px!important}
 .v658-intro h1{font-size:2.2rem}
 .v658-featured-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}
 .v658-featured-card{flex:0 0 clamp(190px,32vw,245px);scroll-snap-align:start}
 .v658-footer .v658-footer-grid{grid-template-columns:1fr 1fr}.v658-footer-grid>div:last-child{align-items:flex-start}
}
@media(max-width:700px){
 .shell{width:min(100% - 28px,1372px)}
 .site-header{position:sticky}
 .topbar{min-height:57px;flex-wrap:nowrap}
 .detripolis-header-logo{width:clamp(138px,37vw,186px)!important;max-height:50px!important}
 .v658-main-nav{display:none}
 .site-header .language-switch{padding:2px!important}
 .site-header .lang-btn{width:30px!important;height:32px!important;font-size:.74rem!important}
 .v658-banner{height:230px;background:url('assets/v658/hero-banner.webp') center/cover no-repeat}
 .v658-banner>img:first-child{visibility:hidden}
 .v658-banner-mobile-logo{display:block;position:absolute;top:50%;left:50%;width:min(84%,440px);max-height:165px;object-fit:contain;transform:translate(-50%,-50%);filter:drop-shadow(0 8px 12px #000c)}
 .hero.v658-intro .hero-inner{display:flex!important;flex-direction:column;align-items:center;gap:0!important;padding:16px 0 20px!important;min-height:0!important}
 .v658-intro .hero-brand-visual{width:min(205px,44vw)!important;max-width:205px!important;margin:0 auto 8px!important}
 .v658-intro .hero-brand-visual img{width:100%!important;max-height:210px!important}
 .v658-intro .hero-copy{max-width:100%;width:100%;text-align:center}
 .v658-intro .eyebrow{font-size:.7rem!important}
 .v658-intro h1{font-size:clamp(1.8rem,6.3vw,2.85rem)!important;line-height:1.04}
 .v658-intro .lead{font-size:.91rem!important;line-height:1.45;margin-top:8px!important}
 .v658-intro .meta-row.v658-stats{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin-top:12px!important}
 .v658-stat{gap:4px;padding:5px 3px;flex-direction:column;text-align:center}
 .v658-stat-icon{font-size:1.15rem}
 .v658-stat>span:last-child{align-items:center}
 .v658-stat strong{font-size:1.2rem!important}
 .v658-stat .v658-stat-date{font-size:.83rem!important}
 .v658-stat small{font-size:.64rem}
 .v658-groups-band{padding:20px 0 17px}
 .v658-groups-band .v653-group-title{gap:7px;margin-bottom:13px!important}
 .v658-groups-band .v653-group-title strong{font-size:1.38rem!important}
 .v658-groups-band .v653-group-title span{font-size:.79rem}
 .v658-group-tile.v653-group-btn{min-height:117px;padding:12px!important}
 .v658-group-tile .v658-tile-overlay b{font-size:1.05rem}
 .v658-group-tile .v658-tile-overlay small{font-size:.69rem}
 .v658-featured{padding-top:21px;padding-bottom:16px}
 .v658-featured-card{flex-basis:210px}
 .catalog-section{padding-block:18px 48px!important}
 .catalog-section:before{height:190px}
 .catalog-section .filter-panel{padding:12px!important;gap:10px!important;border-radius:8px!important}
 .catalog-toolbar{padding-top:18px}
 .contact-bar{margin-block:10px 28px!important}
 .v658-footer .v658-footer-grid{grid-template-columns:1fr;gap:16px;text-align:center;padding:24px 0}
 .v658-footer .v658-footer-links{justify-content:center}
 .v658-footer-grid>div:last-child{align-items:center}
}
@media(max-width:390px){
 .shell{width:min(100% - 22px,1372px)}
 .topbar{gap:6px}
 .detripolis-header-logo{width:133px!important}
 .site-header .lang-btn{width:27px!important}
 .v658-banner{height:189px}
 .v658-intro .hero-brand-visual{width:min(160px,39vw)!important}
 .v658-intro h1{font-size:1.75rem!important}
 .v658-intro .meta-row.v658-stats{padding:4px 1px}
 .v658-stat strong{font-size:1.1rem!important}
 .v658-stat small{font-size:.58rem}
 .v658-group-tile.v653-group-btn{min-height:108px;padding:10px!important}
 .v658-section-heading h2{font-size:1.42rem}
 .v658-featured-card{flex-basis:195px}
}

/* Hero brand mark is now a separate, unchanged original user asset; no cropped lettering. */
.v658-banner{height:clamp(270px,23vw,345px);display:grid;place-items:center}
.v658-banner:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#03130a19,transparent 38%,transparent 66%,#03130a17)}
.v658-banner>img.v658-banner-landscape{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center bottom;filter:saturate(1.08)}
.v658-banner .v658-banner-mobile-logo{position:relative;z-index:3;display:block;top:auto;left:auto;transform:none;width:clamp(450px,53vw,920px);max-height:240px;filter:drop-shadow(0 7px 15px #000b)}
@media(max-width:700px){.v658-banner{height:205px;background:#0d1d13!important}.v658-banner .v658-banner-mobile-logo{position:relative;top:auto;left:auto;width:min(90%,410px);max-height:143px;transform:none}.v658-banner>img.v658-banner-landscape{visibility:visible;object-position:50% 50%}}
@media(max-width:390px){.v658-banner{height:175px}.v658-banner .v658-banner-mobile-logo{width:91%;max-height:128px}}

/* v6.5.8 art-direction: the bright, ORIGINAL wordmark must remain legible on every screen. */
.v658-banner>img.v658-banner-landscape{object-position:center center}
.v658-banner .v658-banner-mobile-logo{display:none}
.v658-banner{height:clamp(260px,23vw,341px)}
.site-header .detripolis-header-logo{filter:drop-shadow(0 1px 2px #0005)}
@media(max-width:700px){
 .v658-banner{height:200px;background:linear-gradient(#02110744,#02110755),url('assets/v658/hero-environment.webp') center/cover!important}
 .v658-banner>img.v658-banner-landscape{visibility:hidden}
 .v658-banner .v658-banner-mobile-logo{display:block;position:relative;z-index:2;top:auto;left:auto;transform:none;width:96%;max-height:175px;filter:drop-shadow(0 4px 12px #0005)}
}
@media(max-width:390px){.v658-banner{height:172px}.v658-banner .v658-banner-mobile-logo{width:99%;max-height:150px}}

.v658-art-note{position:absolute;left:9px;bottom:8px;z-index:3;border-radius:5px;background:#06160cc9;border:1px solid #d1bd91;color:#fff0ce;font:600 .62rem system-ui,sans-serif;padding:3px 6px;text-transform:uppercase;letter-spacing:.04em}

/* Existing v6.5.7 group span styles must not recolor the new photographic tiles. */
.v658-group-tile.v653-group-btn>.v658-tile-overlay{height:auto!important;display:flex!important;min-width:0!important;max-width:calc(100% - 36px)!important;place-items:unset!important;align-items:flex-start!important;justify-content:flex-end!important;color:#fff5dc!important;font-size:inherit!important;font-weight:normal!important;line-height:1.2!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;white-space:normal!important}
.v658-group-tile.v653-group-btn>.v658-tile-overlay b,.v658-group-tile.v653-group-btn>.v658-tile-overlay small{color:#fff5dc!important;text-shadow:0 1px 5px #000}
.v658-group-tile.v653-group-btn>.v658-tile-arrow{display:grid!important;min-width:29px!important;width:29px!important;height:29px!important;padding:0!important;place-items:center!important;background:#082213b8!important;border:1px solid #d9b16b!important;border-radius:50%!important;color:#fff1c7!important}
