/* samples.html — নমুনা-গ্যালারি (ফিল্টার-চিপ, কার্ড, বড় করে দেখা)। টোকেন css/site.css থেকে; ডার্ক: html.dark। ১০০% লোকাল। */
.smp-gal { max-width: var(--w-max, 1200px); margin: 0 auto; }
.smp-gal h2 { text-align: center; }
.smp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 4px 0 26px; padding: 0; }
.smp-chips button {
  font: 600 .95rem/1.2 var(--f-body); color: var(--c-text-2); background: var(--c-surface);
  border: 1px solid var(--c-line-2); border-radius: 999px; padding: 9px 16px; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.smp-chips button:hover { border-color: var(--c-brand); color: var(--c-brand); }
.smp-chips button[aria-pressed="true"] { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-brand-ink); }
.smp-chips button:focus-visible, .smp-card .smp-zoom:focus-visible, .smp-card a:focus-visible, .smp-lb button:focus-visible { outline: 3px solid var(--c-ring); outline-offset: 2px; }

.smp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; align-items: start; }
.smp-card {
  margin: 0; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg, 18px);
  box-shadow: var(--sh-1); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
.smp-card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.smp-card[hidden] { display: none; }
.smp-zoom {
  display: block; width: 100%; padding: 14px 14px 0; border: 0; margin: 0; cursor: zoom-in;
  background: var(--c-soft);
}
.smp-zoom img {
  display: block; width: 100%; height: 300px; object-fit: cover; object-position: top center;
  background: #fff; border-radius: 6px 6px 0 0; box-shadow: 0 1px 4px rgba(16, 32, 24, .18);
}
.smp-zoom img.smp-land { object-fit: contain; object-position: center; padding: 6px; }
.smp-card figcaption { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.smp-card .smp-t { font: 700 1.02rem/1.35 var(--f-head); color: var(--c-text); }
.smp-card .smp-d { font-size: .9rem; line-height: 1.5; color: var(--c-text-3); }
.smp-card .smp-go { margin-top: 8px; align-self: flex-start; font-weight: 700; font-size: .92rem; color: var(--c-brand); text-decoration: none; }
.smp-card .smp-go:hover { text-decoration: underline; }
.smp-tag { align-self: flex-start; font-size: .75rem; font-weight: 700; color: var(--c-brand); background: var(--c-soft); border-radius: 6px; padding: 2px 8px; }

/* বড় করে দেখা */
.smp-lb { position: fixed; inset: 0; z-index: 10000; /* pwa.js-এর ব্যানার 9999-এর ওপরে */ background: rgba(8, 14, 11, .86); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 12px 16px; }
.smp-lb[hidden] { display: none; }
.smp-lb img { max-width: min(100%, 1000px); max-height: calc(100vh - 130px); width: auto; height: auto; background: #fff; border-radius: 4px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.smp-lb p { color: #eef3f0; margin: 12px 0 0; text-align: center; font-weight: 600; max-width: 90vw; }
.smp-lb button { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 0; border-radius: 999px; width: 44px; height: 44px; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.smp-lb button:hover { background: rgba(255, 255, 255, .28); }
.smp-lb .smp-x { top: 10px; right: 12px; }
.smp-lb .smp-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.smp-lb .smp-next { right: 10px; top: 50%; transform: translateY(-50%); }
body.smp-lock { overflow: hidden; }

html.dark .smp-zoom { background: var(--c-soft); }
html.dark .smp-zoom img { box-shadow: 0 1px 6px rgba(0, 0, 0, .6); }

@media (max-width: 560px) {
  .smp-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .smp-zoom { padding: 8px 8px 0; }
  .smp-zoom img { height: 210px; }
  .smp-card figcaption { padding: 10px 10px 12px; }
  .smp-card .smp-t { font-size: .9rem; }
  .smp-card .smp-d { font-size: .8rem; }
  .smp-chips button { padding: 8px 12px; font-size: .88rem; }
  .smp-lb .smp-prev, .smp-lb .smp-next { top: auto; bottom: 12px; transform: none; }
  .smp-lb { padding-bottom: 66px; }
}
