/* Waldrand: Kacheln und Einzelseiten für Angebote aus der Warenwirtschaft (Plugin „GbF Warenwirtschaft“).
   Benutzt die Variablen aus theme.json/Entwurf E (--paper, --ink, --muted, --eiche, --sky1, --f-display).
   .stock/.gun kommen aus dem Startseiten-CSS des Themes; hier nur, was zusätzlich gebraucht wird. */

/* Seite „Gebrauchte Waffen“ / „Auf Lager“: Kacheln wie im Entwurf leistung-gebraucht.html */
.gsec{scroll-margin-top:1rem}
.ggrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4rem}
.gcard{display:flex;flex-direction:column;background:#fff;color:#3A393B;border-radius:4px;overflow:hidden;box-shadow:0 0 0 1px color-mix(in srgb,var(--ink) 10%,transparent),0 14px 30px -20px rgb(0 0 0/.5)}
.gcard img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block}
.gcard .gb{display:flex;flex-direction:column;gap:.6rem;padding:1rem 1.1rem 1.2rem;flex:1}
.gcard h3{font-size:1.2rem;margin:0}
.gcard h3 a,.gun h3 a{color:inherit;text-decoration:none}
.gcard h3 a:hover,.gun h3 a:hover{text-decoration:underline;text-underline-offset:.15em}
.gcard ul{margin:0;padding-left:1.1rem;font-size:.92rem;color:#58595B}
.gcard .gp{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-top:auto;padding-top:.6rem}
.gcard .st{font-size:.82rem;font-weight:600;color:#58595B}
.price{font:600 1.5rem/1 var(--f-display);font-variant-numeric:tabular-nums}
.gnote{margin:clamp(2rem,5vw,3rem) 0 0;padding:.8rem 1rem;border-radius:4px;background:var(--sky1);font-size:.92rem;border-left:4px solid #C99A2E;max-width:72ch}
@media (max-width:1000px){.ggrid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.ggrid{grid-template-columns:1fr}}

/* Bild fehlt: ruhige Fläche statt kaputtem Bild */
.gbf-bildlink{display:block}
.gbf-ohne-bild{display:block;aspect-ratio:4/3;background:linear-gradient(135deg,var(--sky2,#D2D5C9),var(--sky1,#E6E7E8))}

/* Bestand und Status */
.gbf-bestand{margin:0;font-size:.9rem;font-weight:600;color:var(--l2,#6F773C)}
.gbf-vergriffen .gbf-bestand,.gun.gbf-vergriffen .st{color:#9a5b2e}
.gbf-status-verkauft{opacity:.65}
.gbf-status-verkauft .price{text-decoration:line-through}
.gbf-leer{font-style:italic;color:inherit;opacity:.85}

/* Startseite: „Auf Lager“ direkt unter „Von mir geprüft“, im selben Band */
.lager-start{margin-top:clamp(2.5rem,6vw,4rem)}
.gbf-stock{margin-top:1rem}

/* Empfehlungsseiten: Abschnitt „Bei mir auf Lager“ */
.gbf-lager-emp{margin:clamp(2rem,5vw,3rem) 0}
.gbf-lager-emp h3{margin:.2rem 0 1rem}
.gbf-lager-link{margin-top:1rem}
.gbf-lager-link a{font-weight:600}

/* Einzelseite eines Angebots */
.gbf-angebot{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,3rem);align-items:start}
.gbf-galerie{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem}
.gbf-galerie a:first-child{grid-column:1/-1}
.gbf-galerie img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block;border-radius:3px}
.gbf-merkmale{margin:0 0 1rem;padding-left:1.1rem}
.gbf-preiszeile{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem 1rem;margin:1rem 0}
.gbf-preiszeile .price{font-size:2rem}
.gbf-preiszeile small{color:var(--muted)}
.gbf-packungen{list-style:none;margin:0 0 1rem;padding:0}
.gbf-packungen li{display:flex;justify-content:space-between;gap:1rem;padding:.35rem 0;border-bottom:1px solid color-mix(in srgb,var(--ink) 12%,transparent)}
.gbf-artnr{font-size:.85rem;color:var(--muted)}
@media (max-width:860px){.gbf-angebot{grid-template-columns:1fr}}
