/* Guppy list cards (/guppies/). The cards are drawn from live data by the patched
   list component; these styles keep them compact on every screen size. */

.ngf-grid{display:grid;gap:1rem;margin-top:1rem;padding:0;list-style:none;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:48rem){.ngf-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}}
@media(min-width:72rem){.ngf-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.ngf-grid>li{min-width:0}

.ngf-card{container-type:inline-size;display:flex;flex-direction:column;height:100%;overflow:hidden;background:#fff;border:1px solid #e7e1d6;border-radius:1rem;box-shadow:0 1px 2px rgba(15,29,36,.05);transition:box-shadow .2s,transform .2s}
.ngf-card:hover{box-shadow:0 10px 28px rgba(15,29,36,.12);transform:translateY(-2px)}

.ngf-card__media{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:var(--color-sand,#f3ece1)}
.ngf-card__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.ngf-card:hover .ngf-card__media img{transform:scale(1.04)}
.ngf-card__ph{position:absolute;inset:0;display:flex;align-items:flex-end;padding:.6rem}
.ngf-card__ph span{border-radius:.5rem;background:rgba(255,255,255,.88);padding:.25rem .55rem;font-size:.7rem;font-weight:600;color:var(--color-ink,#0f1d24)}
.ngf-card__tags{position:absolute;left:.5rem;top:.5rem;display:flex;flex-wrap:wrap;gap:.3rem}
.ngf-tag{border-radius:9999px;padding:.15rem .5rem;font-size:.65rem;font-weight:700;line-height:1.5;color:#fff;background:#047857}
.ngf-tag--few{background:#fcd34d;color:#0f1d24}
.ngf-tag--soon{background:#075985}
.ngf-tag--soldout{background:#44403c}
.ngf-tag--special{background:var(--color-coral,#cf4512)}
.ngf-card__sample{position:absolute;right:.5rem;bottom:.5rem;border-radius:9999px;background:rgba(15,29,36,.8);padding:.15rem .5rem;font-size:.62rem;font-weight:600;color:#fff}

.ngf-card__body{display:flex;flex:1;flex-direction:column;gap:.3rem;padding:.75rem}
.ngf-card__title{margin:0;font-family:var(--font-display);font-size:1rem;font-weight:700;line-height:1.25;color:var(--color-ink,#0f1d24);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ngf-card__title a{color:inherit;text-decoration:none}
.ngf-card__title a:hover{text-decoration:underline}
.ngf-card__note{margin:0;font-size:.75rem;font-weight:600;color:var(--color-coral,#cf4512);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ngf-card__desc{margin:0;font-size:.8rem;line-height:1.45;color:#57534e;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ngf-card__price{display:flex;align-items:baseline;gap:.25rem;margin-top:.15rem;color:#57534e;font-size:.75rem}
.ngf-card__price strong{font-family:var(--font-display);font-size:1.3rem;font-weight:800;color:var(--color-ink,#0f1d24)}

/* The buy box inside the card (shared component, restyled smaller here) */
.ngf-card__buy{margin-top:auto;padding-top:.4rem}
.ngf-card__buy fieldset{margin:0 0 .5rem!important}
.ngf-card__buy legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.ngf-card__buy .grid{gap:.35rem!important}
.ngf-card__buy label{min-height:0!important;padding:.3rem .5rem!important;border-width:1.5px!important;border-radius:.55rem!important;font-size:.72rem!important;line-height:1.3}
.ngf-card__buy .flex.gap-2{gap:.4rem!important}
.ngf-card__buy button,.ngf-card__buy a{min-height:2.4rem!important;border-radius:.6rem!important;font-size:.85rem!important}
.ngf-card__buy a.w-12{width:2.4rem!important;flex:none}
.ngf-card__buy a.w-12 svg{width:1.15rem;height:1.15rem}
.ngf-card__buy a.w-full{padding:0 .5rem;text-align:center;line-height:1.2}

@container (max-width:13.5rem){
  .ngf-card__buy .grid{grid-template-columns:1fr!important}
}
@media(max-width:30rem){
  .ngf-grid{gap:.6rem}
  .ngf-card{border-radius:.85rem}
  .ngf-card__body{padding:.6rem}
  .ngf-card__title{font-size:.92rem}
  .ngf-card__desc{display:none}
  .ngf-card__price strong{font-size:1.15rem}
}

/* Site header: at 1260-1439px the seven menu links plus "Order on WhatsApp" are
   wider than the screen; tighten the links and show only the WhatsApp icon. */
@media(min-width:1260px) and (max-width:1439.98px){
  header nav[aria-label="Main"] a{padding-left:.55rem;padding-right:.55rem;font-size:.86rem}
  header a.bg-whatsapp>span.max-sm\:sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}

/* Same compact design for the built-in cards, which show when the live data
   has not loaded (slow connection, database offline). */
section[aria-labelledby="all-strains"] ul.grid{display:grid;gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:48rem){section[aria-labelledby="all-strains"] ul.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}}
@media(min-width:72rem){section[aria-labelledby="all-strains"] ul.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
section[aria-labelledby="all-strains"] ul.grid>li{min-width:0}
section[aria-labelledby="all-strains"] article.lift{container-type:inline-size;border-color:#e7e1d6;border-radius:1rem;box-shadow:0 1px 2px rgba(15,29,36,.05);transition:box-shadow .2s,transform .2s}
section[aria-labelledby="all-strains"] article.lift:hover{box-shadow:0 10px 28px rgba(15,29,36,.12);transform:translateY(-2px)}
section[aria-labelledby="all-strains"] article.lift>div:first-child{aspect-ratio:4/3}
section[aria-labelledby="all-strains"] article.lift>div:first-child>div.absolute{align-items:flex-end;justify-content:flex-start;padding:.6rem}
section[aria-labelledby="all-strains"] article.lift>div:first-child>div.absolute>div{padding:.25rem .55rem;border-radius:.5rem;box-shadow:none;background:rgba(255,255,255,.88)}
section[aria-labelledby="all-strains"] article.lift>div:first-child>div.absolute>div>p:first-child{font-family:inherit;font-size:.7rem;font-weight:600}
section[aria-labelledby="all-strains"] article.lift>div:first-child>div.absolute>div>p+p{display:none}
section[aria-labelledby="all-strains"] article.lift>div:first-child>span.absolute{gap:.3rem}
section[aria-labelledby="all-strains"] article.lift>div:first-child>span.absolute:not(.flex){right:.5rem;bottom:.5rem;padding:.15rem .5rem;font-size:.62rem}
section[aria-labelledby="all-strains"] article.lift>div:first-child>span.flex{left:.5rem;top:.5rem}
section[aria-labelledby="all-strains"] article.lift>div:first-child>span.flex>span{padding:.15rem .5rem;font-size:.65rem;line-height:1.5}
section[aria-labelledby="all-strains"] article.lift>div:last-child{gap:.3rem;padding:.75rem}
section[aria-labelledby="all-strains"] article.lift h3{font-size:1rem;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
section[aria-labelledby="all-strains"] article.lift h3+p{flex:none;margin:0;font-size:.8rem;line-height:1.45;color:#57534e;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
section[aria-labelledby="all-strains"] article.lift>div:last-child>div:nth-last-child(2){margin-top:.15rem}
section[aria-labelledby="all-strains"] article.lift>div:last-child>div:nth-last-child(2)>a{display:none}
section[aria-labelledby="all-strains"] article.lift>div:last-child>div:nth-last-child(2) p{gap:.25rem}
section[aria-labelledby="all-strains"] article.lift>div:last-child>div:nth-last-child(2) p>span{font-size:.75rem}
section[aria-labelledby="all-strains"] article.lift>div:last-child>div:nth-last-child(2) p>span.font-display{font-size:1.3rem}
section[aria-labelledby="all-strains"] article.lift>div:last-child>div:last-child{margin-top:auto;padding-top:.4rem}
section[aria-labelledby="all-strains"] article.lift>div:last-child>div:last-child fieldset{margin:0 0 .5rem}
section[aria-labelledby="all-strains"] article.lift>div:last-child>div:last-child legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
section[aria-labelledby="all-strains"] article.lift>div:last-child>div:last-child .grid{gap:.35rem}
section[aria-labelledby="all-strains"] article.lift>div:last-child>div:last-child label{min-height:0;padding:.3rem .5rem;border-width:1.5px;border-radius:.55rem;font-size:.72rem;line-height:1.3}
section[aria-labelledby="all-strains"] article.lift>div:last-child>div:last-child .flex.gap-2{gap:.4rem}
section[aria-labelledby="all-strains"] article.lift>div:last-child>div:last-child button,
section[aria-labelledby="all-strains"] article.lift>div:last-child>div:last-child a{min-height:2.4rem;border-radius:.6rem;font-size:.85rem}
section[aria-labelledby="all-strains"] article.lift>div:last-child>div:last-child a.w-12{width:2.4rem;flex:none}
@container (max-width:13.5rem){section[aria-labelledby="all-strains"] article.lift .grid{grid-template-columns:1fr}}
@media(max-width:30rem){
  section[aria-labelledby="all-strains"] ul.grid{gap:.6rem}
  section[aria-labelledby="all-strains"] article.lift>div:last-child{padding:.6rem}
  section[aria-labelledby="all-strains"] article.lift h3{font-size:.92rem}
  section[aria-labelledby="all-strains"] article.lift h3+p{display:none}
}

/* Real-fish logo. The built pages draw a cartoon fish as inline SVG (header,
   footer, admin bar); swap its picture for a photo of our own Santa Koi. */
svg[viewBox="0 0 64 64"]:has(> path[fill="#4ff0d4"]),
.ngf-a-logo{background:#000 url(/logo-fish.webp?v=1) center/cover no-repeat!important;border-radius:9999px!important}
svg[viewBox="0 0 64 64"]:has(> path[fill="#4ff0d4"]) > *,
.ngf-a-logo > *{display:none}

/* Category page: the individual guppies in this category */
.ngf-cat-items{max-width:80rem;margin:0 auto;padding:2.5rem 1rem 1rem}
@media(min-width:40rem){.ngf-cat-items{padding:3rem 1.5rem 1rem}}
@media(min-width:64rem){.ngf-cat-items{padding:3.5rem 2rem 1rem}}
.ngf-cat-items>h2{margin:0;font-family:var(--font-display);font-size:clamp(1.5rem,3vw,2rem);font-weight:800;color:var(--color-ink,#0f1d24)}
.ngf-cat-items>p{margin:.4rem 0 0;color:#57534e;max-width:40rem}
.ngf-item-link{margin-top:auto;padding-top:.5rem;font-size:.85rem;font-weight:700;color:var(--color-coral,#cf4512);text-decoration:none}
.ngf-item-link:hover{text-decoration:underline}

/* Phones: keep wide tables and long words inside the screen */
@media(max-width:40rem){
  #price-table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
  main h1{overflow-wrap:anywhere}
}

/* Shop page: sections moved from the home page (ngf-shop-extra.js) */
#ngfx-more{color:var(--color-ink,#0f1d24)}
#ngfx-more+footer{margin-top:0}
.ngfx-wrap{max-width:80rem;margin:0 auto;padding:0 1rem}
@media(min-width:40rem){.ngfx-wrap{padding:0 1.5rem}}
@media(min-width:64rem){.ngfx-wrap{padding:0 2rem}}
.ngfx-sec{padding:4rem 0}
@media(max-width:40rem){.ngfx-sec{padding:3rem 0}}
.ngfx-sec--sand{background:var(--color-sand,#f3ece1)}
.ngfx-sec--deep{background:var(--color-deep,#04202b);color:#fff}
.ngfx-sec h2{margin:.5rem 0 .6rem;font-family:var(--font-display);font-size:clamp(1.6rem,3.2vw,2.4rem);font-weight:800;line-height:1.15}
.ngfx-eyebrow{display:inline-flex;align-items:center;gap:.5rem;margin:0;font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--color-sea,#0b6577)}
.ngfx-eyebrow::before{content:"";width:1.5rem;height:2px;background:currentColor}
.ngfx-eyebrow--sun{color:var(--color-sun,#ffc65c)}
.ngfx-lead{margin:0 0 2rem;max-width:42rem;font-size:1.05rem;color:#57534e}
.ngfx-sec--deep .ngfx-lead{color:rgba(255,255,255,.8)}
.ngfx-cats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:0;padding:0;list-style:none}
@media(min-width:48rem){.ngfx-cats{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}}
@media(min-width:72rem){.ngfx-cats{grid-template-columns:repeat(5,minmax(0,1fr))}}
.ngfx-cat{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:12rem;height:100%;padding:1rem;border-radius:1.1rem;overflow:hidden;color:#fff;text-decoration:none;isolation:isolate;background:var(--color-deep,#04202b)}
.ngfx-cat img,.ngfx-cat__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .4s}
.ngfx-cat::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(4,32,43,0) 30%,rgba(4,32,43,.88))}
.ngfx-cat:hover img,.ngfx-cat:hover .ngfx-cat__bg{transform:scale(1.05)}
.ngfx-cat strong{font-family:var(--font-display);font-size:1.08rem;line-height:1.2}
.ngfx-cat span{margin-top:.25rem;font-size:.84rem;color:rgba(255,255,255,.88)}
.ngfx-cat em{font-style:normal;font-weight:700;color:var(--color-sun,#ffc65c)}
@media(max-width:30rem){.ngfx-cat{min-height:9.5rem;padding:.8rem}.ngfx-cat strong{font-size:.95rem}}
.ngfx-why{display:grid;gap:1.5rem}
@media(min-width:40rem){.ngfx-why{grid-template-columns:repeat(2,1fr)}}
@media(min-width:64rem){.ngfx-why{grid-template-columns:repeat(4,1fr)}}
.ngfx-why>div>span{display:flex;align-items:center;justify-content:center;width:3rem;height:3rem;border-radius:1rem;background:rgba(255,198,92,.15);color:var(--color-sun,#ffc65c)}
.ngfx-why svg{width:1.5rem;height:1.5rem}
.ngfx-why h3{margin:.9rem 0 .3rem;font-family:var(--font-display);font-size:1.1rem;font-weight:700}
.ngfx-why p{margin:0;font-size:.95rem;color:rgba(255,255,255,.78)}
.ngfx-care{display:grid;gap:2rem;align-items:center}
@media(min-width:64rem){.ngfx-care{grid-template-columns:1.2fr 1fr;gap:4rem}}
.ngfx-check{display:grid;gap:.75rem;margin:0;padding:1.5rem;list-style:none;background:#fff;border:1px solid #e7e1d6;border-radius:1.25rem}
.ngfx-check li{display:flex;gap:.6rem;align-items:flex-start;font-weight:500}
.ngfx-check svg{width:1.25rem;height:1.25rem;flex:none;margin-top:.15rem;color:var(--color-sea,#0b6577)}
.ngfx-actions{display:flex;flex-wrap:wrap;gap:.75rem}
.ngfx-btn{display:inline-flex;align-items:center;justify-content:center;min-height:3rem;padding:0 1.5rem;border-radius:9999px;font-weight:700;text-decoration:none;white-space:nowrap}
.ngfx-btn--coral{background:var(--color-coral,#cf4512);color:#fff}.ngfx-btn--coral:hover{background:var(--color-coral-dark,#a8360c)}
.ngfx-btn--outline{background:#fff;color:var(--color-ink,#0f1d24);border:1.5px solid var(--color-ink,#0f1d24)}.ngfx-btn--outline:hover{background:var(--color-sand,#f3ece1)}
.ngfx-btn--wa{background:var(--color-whatsapp,#11823f);color:#fff}.ngfx-btn--wa:hover{filter:brightness(1.1)}
.ngfx-btn--ghost{color:#fff;border:1.5px solid rgba(255,255,255,.5)}.ngfx-btn--ghost:hover{background:rgba(255,255,255,.12)}
.ngfx-cta{display:grid;gap:1.25rem;align-items:center;padding:2rem;border-radius:1.5rem;background:linear-gradient(135deg,var(--color-sea,#0b6577),var(--color-deep,#04202b));color:#fff}
@media(min-width:48rem){.ngfx-cta{grid-template-columns:1fr auto;padding:2.5rem 3rem}}
.ngfx-cta h2{margin:0;color:#fff}
.ngfx-cta p{margin:.5rem 0 0;color:rgba(255,255,255,.85)}
@media(max-width:30rem){.ngfx-cta{padding:1.5rem}.ngfx-cta .ngfx-btn{flex:1 1 100%}}
.ngfx-contact{display:grid;gap:1rem;margin-top:1.25rem}
@media(min-width:40rem){.ngfx-contact{grid-template-columns:repeat(2,1fr)}}
@media(min-width:64rem){.ngfx-contact{grid-template-columns:repeat(4,1fr)}}
.ngfx-contact a{display:block;padding:1.25rem;background:#fff;border:1px solid #e7e1d6;border-radius:1rem;color:var(--color-ink,#0f1d24);text-decoration:none}
.ngfx-contact a:hover{border-color:var(--color-sea,#0b6577)}
.ngfx-contact small{display:block;margin-bottom:.3rem;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#57534e}
.ngfx-contact strong{font-size:1.02rem;overflow-wrap:anywhere}
.ngfx-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
