/* Public layouts: bounded cards and one consistent category sidebar. */
.tgcp-browse-layout{display:grid!important;grid-template-columns:180px minmax(0,1fr)!important;gap:24px!important;max-width:1180px!important;margin:24px auto!important;padding:0 16px!important;box-sizing:border-box;font-size:15px;line-height:1.5}.tgcp-browse-content{min-width:0}.tgcp-browse-content h1{font-size:26px!important;margin:0 0 16px!important;line-height:1.25}.tgcp-browse-content h2{font-size:18px!important;margin:0 0 8px!important}.tgcp-browse-sidebar{min-width:0}.tgcp-browse-sidebar nav{display:flex;flex-direction:column;gap:3px;position:sticky;top:55px}.tgcp-browse-sidebar nav a{font-size:14px!important;padding:9px 10px!important;line-height:1.3!important;border-radius:4px;overflow-wrap:anywhere}.tgcp-browse-sidebar a[aria-current]{background:#edf5f1;border-left:3px solid #31745b;font-weight:600}.tgcp-browse-mobile{display:none}.tgcp-compact-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;align-items:start}.tgcp-compact-card{margin:0!important;min-width:0!important;width:auto!important;max-width:240px!important;overflow:hidden;border:1px solid #dce3df;border-radius:7px;background:#fff;box-shadow:none!important}.tgcp-compact-card>div{padding:10px!important}.tgcp-compact-card h2{font-size:16px!important;line-height:1.3!important}.tgcp-compact-card p{margin:5px 0!important;font-size:13px!important}.tgcp-card-photo{display:block!important;aspect-ratio:4/3!important;overflow:hidden;background:#f3f5f3}.tgcp-card-photo>.tgcp-watermarked-image{height:100%!important;width:100%!important;display:block}.tgcp-card-photo img:not(.tgcp-watermark-logo){width:100%!important;height:100%!important;max-height:170px!important;object-fit:contain!important}.tgcp-category-intro{display:flex;align-items:flex-start;gap:18px;margin:12px 0 22px}.tgcp-category-intro>img{width:160px!important;height:120px!important;object-fit:contain}.tgcp-category-intro p{margin:0 0 10px!important}.tgcp-fish-toolbar{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin:10px 0 20px}.tgcp-fish-toolbar input[type=search]{height:36px!important;max-width:230px}.tgcp-browse-content .tgcp-pet-profile,.tgcp-browse-content .tgcp-fish-profile{width:100%!important;max-width:850px!important;padding:0!important;margin:0!important}.tgcp-browse-content .tgcp-profile-main-photo{height:300px!important;min-height:0!important;max-width:520px!important;margin:12px 0!important}.tgcp-browse-content .tgcp-profile-main-photo>div{height:100%!important}.tgcp-browse-content .tgcp-profile-main-photo img:not(.tgcp-watermark-logo){width:100%!important;height:100%!important;max-height:300px!important;object-fit:contain!important}.tgcp-browse-content .tgcp-pet-facts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:12px 0!important}.tgcp-browse-content .tgcp-pet-facts>div{padding:10px!important;margin:0!important;min-height:0!important}.tgcp-browse-content .tgcp-pet-facts dt{font-size:12px!important;margin:0 0 4px!important}.tgcp-browse-content .tgcp-pet-facts dd{font-size:15px!important;margin:0!important}.tgcp-browse-content .tgcp-fish-profile-hero{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:20px!important}.tgcp-browse-content .tgcp-fish-profile-hero>img,.tgcp-browse-content .tgcp-fish-profile-hero>.tgcp-watermarked-image{height:280px!important;max-height:280px!important}.tgcp-browse-content .tgcp-fish-profile-hero img:not(.tgcp-watermark-logo){object-fit:contain!important;height:280px!important;max-height:280px!important;width:100%!important}.tgcp-browse-content .tgcp-pet-gallery{gap:8px!important;margin:10px 0!important}.tgcp-browse-content .tgcp-pet-gallery button{width:72px!important;height:62px!important}.tgcp-browse-content .tgcp-profile-heading{margin:0 0 12px!important}.tgcp-info-dialog{position:fixed!important;inset:0!important;margin:auto!important;width:min(420px,calc(100vw - 32px))!important;max-height:75dvh!important;overflow:auto!important;padding:22px!important;border:1px solid #bbc8c1;border-radius:8px;z-index:2147483647;box-sizing:border-box;font-size:15px;line-height:1.5}.tgcp-info-dialog::backdrop{background:#0006}.tgcp-public-fact-popover{display:none!important}.tgcp-browse-content [hidden],.tgcp-compact-card[hidden]{display:none!important}
@media(min-width:1200px){.tgcp-browse-content .tgcp-pet-profile{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:14px!important}.tgcp-pet-profile>.tgcp-profile-back,.tgcp-pet-profile>.tgcp-profile-heading,.tgcp-pet-profile>.tgcp-pet-description,.tgcp-pet-profile>.tgcp-species-overview,.tgcp-pet-profile>.tgcp-public-footer-message{grid-column:1/-1}.tgcp-pet-profile>.tgcp-profile-main-photo{grid-column:1}.tgcp-pet-profile>.tgcp-pet-facts{grid-column:2;grid-row:3;align-self:start}}
@media(max-width:1100px){.tgcp-compact-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.tgcp-browse-layout{grid-template-columns:155px minmax(0,1fr)!important;gap:16px!important}}
@media(max-width:700px){.tgcp-browse-layout{display:block!important;margin:14px auto!important;padding:0 12px!important}.tgcp-browse-sidebar nav{display:none!important}.tgcp-browse-mobile{display:block;margin-bottom:15px}.tgcp-browse-mobile select{width:100%;height:40px}.tgcp-compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.tgcp-compact-card h2{font-size:15px!important}.tgcp-browse-content h1{font-size:23px!important}.tgcp-category-intro>img{width:105px!important;height:100px!important}.tgcp-browse-content .tgcp-fish-profile-hero{grid-template-columns:1fr!important}.tgcp-browse-content .tgcp-profile-main-photo{height:250px!important}.tgcp-browse-content .tgcp-pet-facts{grid-template-columns:1fr!important}.tgcp-fish-toolbar{align-items:flex-start;flex-direction:column;gap:8px}.tgcp-compact-card>div>a{display:inline-block;padding:7px 0;min-height:34px}}
@media(max-width:340px){.tgcp-compact-grid{grid-template-columns:1fr!important}}

[data-fish-browser][data-stock-view='1'] [data-fish-card][data-in-stock='0']{display:none!important}
.tgcp-public-pets .tgcp-public-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}.tgcp-public-pets .tgcp-public-card{max-width:245px!important;min-width:0!important;margin:0!important}.tgcp-public-pets .tgcp-public-card .tgcp-public-photo{height:170px!important;object-fit:contain!important}.tgcp-public-pets .tgcp-public-card-body{padding:12px!important}.tgcp-public-pets .tgcp-public-card h3{font-size:17px!important}.tgcp-public-pets .tgcp-public-card .tgcp-public-button{padding:8px 10px!important;font-size:14px!important}
@media(max-width:1100px){.tgcp-public-pets .tgcp-public-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){.tgcp-public-pets .tgcp-public-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(min-width:1200px){.tgcp-browse-content article.tgcp-pet-profile>:not(.tgcp-profile-main-photo):not(.tgcp-pet-facts){grid-column:1/-1}}

/* 1.56.3: clear stock visibility and hierarchical fish navigation */
.tgcp-fish-availability{display:inline-flex;align-items:center;gap:.35em;padding:.35em .7em;border-radius:6px;font-weight:700;font-size:.88rem;line-height:1.3;max-width:100%}
.tgcp-fish-availability.is-available{color:#17683b;background:#e3f4e9;border:1px solid #9cd7b2}
.tgcp-fish-availability.is-unavailable{color:#a82323;background:#fde8e8;border:1px solid #edaaaa}
.tgcp-fish-hierarchy .tgcp-fish-category-link{font-weight:700;display:block;margin-top:.35rem}
.tgcp-fish-hierarchy .tgcp-fish-nav-children{margin:0 0 .4rem .75rem;padding-left:.6rem;border-left:2px solid #d6e2e8;display:flex;flex-direction:column}
.tgcp-fish-hierarchy .tgcp-fish-nav-children a{font-size:.95em;padding:.45rem .55rem}

/* 1.56.4 — equal-height public listing cards, including aquatic stock results.
   Keep the full animal visible (contain) while using one image frame per card. */
.tgcp-browse-content .tgcp-compact-grid{align-items:stretch!important;grid-auto-rows:1fr}
.tgcp-browse-content .tgcp-compact-grid>.tgcp-compact-card{display:flex!important;flex-direction:column!important;height:100%!important;max-width:none!important;box-sizing:border-box!important;align-self:stretch!important}
.tgcp-browse-content .tgcp-compact-card>.tgcp-card-photo{position:relative;flex:0 0 auto!important;width:100%!important;aspect-ratio:4/3!important;height:auto!important;max-height:none!important;box-sizing:border-box!important;overflow:hidden!important;background:#f4f6f5}
.tgcp-browse-content .tgcp-compact-card>.tgcp-card-photo>.tgcp-watermarked-image,
.tgcp-browse-content .tgcp-compact-card>.tgcp-card-photo>img,
.tgcp-browse-content .tgcp-compact-card>.tgcp-card-photo>.tgcp-watermark-placeholder{display:block!important;width:100%!important;height:100%!important;max-height:none!important;box-sizing:border-box!important}
.tgcp-browse-content .tgcp-compact-card>.tgcp-card-photo img:not(.tgcp-watermark-logo){display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important}
.tgcp-browse-content .tgcp-compact-card>div{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;align-items:flex-start!important;min-width:0!important;box-sizing:border-box!important}
.tgcp-browse-content .tgcp-compact-card>div>h2{width:100%;min-height:2.6em;margin:0 0 8px!important;overflow-wrap:anywhere}
.tgcp-browse-content .tgcp-compact-card>div>p{margin:5px 0 8px!important}
.tgcp-browse-content .tgcp-compact-card>div>a:last-child{margin-top:auto!important;align-self:flex-start!important}

/* 1.56.6: compact stock freshness, category counts, and sort toolbar */
.tgcp-fish-nav-count{float:right;font-size:.78rem;font-weight:700;min-width:1.6em;text-align:center;background:#e4f2e9;color:#276340;border-radius:12px;padding:0 .4em}
.tgcp-fish-toolbar label{font-size:13px;font-weight:600;display:flex;gap:6px;flex-direction:column;align-items:flex-start}
.tgcp-fish-toolbar label:has([data-stock-only]){flex-direction:row;align-items:center}
.tgcp-fish-toolbar select{min-height:36px;max-width:235px}
.tgcp-browse-content .tgcp-compact-card .tgcp-stock-checked{margin-top:8px;border-top:1px solid #e3e9e6;padding-top:7px;display:block;width:100%;color:#57655f;font-size:11px;line-height:1.4}
.tgcp-browse-content .tgcp-compact-card .tgcp-new-stock-label{color:#206d49;background:#e3f4ea;border-radius:4px;padding:2px 6px;font-size:11px;margin-bottom:5px}
.tgcp-browse-content .tgcp-compact-card>div>a:last-of-type{margin-top:auto!important}

/* 1.57.0 — responsive fish catalogue: shared mobile/tablet/desktop improvements */
[data-fish-browser] .tgcp-browse-content h1{margin-bottom:12px!important}
[data-fish-browser] .tgcp-fish-toolbar{display:grid!important;grid-template-columns:minmax(220px,1fr) auto!important;gap:10px 18px!important;align-items:end!important;margin:12px 0 6px!important;padding:12px!important;background:#f5f8f6;border:1px solid #dce6df;border-radius:10px}
[data-fish-browser] .tgcp-fish-toolbar label{min-width:0;font-size:13px;line-height:1.3;gap:5px}
[data-fish-browser] .tgcp-fish-search-label{width:100%!important}
[data-fish-browser] .tgcp-fish-toolbar input[type=search]{max-width:none!important;width:100%!important;min-width:0;height:42px!important;padding:8px 12px!important;border:1px solid #bac9c0;border-radius:7px;box-sizing:border-box}
[data-fish-browser] .tgcp-fish-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
[data-fish-browser] .tgcp-fish-stock-label{display:flex!important;align-items:center!important;gap:7px!important;flex-direction:row!important;white-space:nowrap;cursor:pointer}
[data-fish-browser] .tgcp-fish-stock-label input{width:18px;height:18px;flex:none}
[data-fish-browser] .tgcp-fish-sort-label{display:flex;flex-direction:column;white-space:nowrap}
[data-fish-browser] .tgcp-fish-sort-label select{width:175px!important;min-width:0!important;max-width:100%!important;height:42px!important;padding:6px 8px;border-radius:7px}
[data-fish-browser] .tgcp-fish-results-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:30px;margin:0 0 10px}
[data-fish-browser] [data-fish-count]{font-size:13px;color:#526158;margin:0}
[data-fish-browser] [data-clear-fish-filters]{background:none;border:0;color:#1268a2;text-decoration:underline;cursor:pointer;font-size:13px;padding:5px}
[data-fish-browser] .tgcp-compact-grid{gap:12px!important;grid-auto-rows:auto!important}
[data-fish-browser] .tgcp-compact-card{border-radius:10px!important;max-width:none!important}
[data-fish-browser] .tgcp-compact-card>div{padding:10px!important;gap:5px!important;justify-content:flex-start!important}
[data-fish-browser] .tgcp-compact-card h2{font-size:15px!important;line-height:1.32!important;margin:0!important;min-height:0!important}
[data-fish-browser] .tgcp-compact-card>div>p{margin:3px 0!important}
[data-fish-browser] .tgcp-fish-availability{font-size:12px!important;padding:4px 8px!important;white-space:normal!important}
[data-fish-browser] .tgcp-compact-card>div>a:last-of-type{font-size:13px!important;margin-top:auto!important;min-height:0!important;padding:2px 0!important}
[data-fish-browser] .tgcp-compact-card .tgcp-stock-checked{margin-top:3px!important;padding-top:6px!important;font-size:11px!important}
[data-fish-browser] .tgcp-card-photo{aspect-ratio:4/3!important}
@media (min-width:701px) and (max-width:1100px){[data-fish-browser] .tgcp-compact-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:850px){[data-fish-browser] .tgcp-fish-toolbar{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}[data-fish-browser] .tgcp-fish-controls{justify-content:space-between}}
@media (max-width:700px){[data-fish-browser].tgcp-browse-layout{margin-top:10px!important}[data-fish-browser] .tgcp-browse-mobile{margin-bottom:9px!important}[data-fish-browser] .tgcp-fish-toolbar{padding:10px!important;margin:10px 0 4px!important}[data-fish-browser] .tgcp-compact-grid{gap:9px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}[data-fish-browser] .tgcp-compact-card>div{padding:8px!important}[data-fish-browser] .tgcp-compact-card h2{font-size:14px!important}[data-fish-browser] .tgcp-fish-sort-label select{width:155px!important}[data-fish-browser] .tgcp-compact-card>div>a:last-of-type{min-height:0!important;padding:2px 0!important}}
@media (max-width:370px){[data-fish-browser] .tgcp-fish-controls{gap:8px}[data-fish-browser] .tgcp-fish-sort-label select{width:140px!important}}

/* 1.57.2: one discreet full-catalogue stock-check date next to the results count. */
[data-fish-browser] .tgcp-fish-results-row{justify-content:flex-start;flex-wrap:wrap;gap:4px 14px}
[data-fish-browser] .tgcp-fish-results-row [data-fish-count]{margin-right:auto}
[data-fish-browser] .tgcp-catalogue-check{display:inline-flex;align-items:center;gap:5px;font-size:12px;line-height:1.35;color:#57655f;white-space:normal}
[data-fish-browser] .tgcp-catalogue-check-icon{font-size:13px;color:#237546;font-weight:700}
[data-fish-browser] .tgcp-fish-results-row [data-clear-fish-filters]{flex:0 0 auto}
@media(max-width:500px){[data-fish-browser] .tgcp-catalogue-check{font-size:11px}}

/* Keep category counts aligned with their labels, including zero counts. */
.tgcp-fish-hierarchy .tgcp-fish-category-link{display:flex!important;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.tgcp-fish-hierarchy .tgcp-fish-nav-count{float:none!important;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;line-height:1.45;margin-left:auto;white-space:nowrap}

.tgcp-admin-profile-edit a{display:inline-flex;align-items:center;padding:8px 13px;border:1px solid #244d76;border-radius:6px;color:#244d76;font-weight:700;text-decoration:none}.tgcp-admin-profile-edit a:hover{background:#edf3f9}
