/* White artwork sits on matching white frames; the full design stays visible. */
.flash-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 32px 0; }
.flash-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #ffffff25; background: #121212; }
.flash-card .flash-image { display: block; width: 100%; aspect-ratio: 4 / 5; background: #ffffff; }
.flash-image img, .flash-image picture { display: block; width: 100%; height: 100%; }
.flash-image img { object-fit: contain; object-position: center; background: #ffffff; padding: 12px; box-sizing: border-box; }
.flash-copy { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.flash-meta { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.flash-meta strong { font-size: 24px; }
.flash-reference { font: 700 14px/1.6 monospace; letter-spacing: .06em; }
.flash-copy h2 { margin: 14px 0 0; font-size: 24px; line-height: 1.2; overflow-wrap: anywhere; }
.flash-description { overflow-wrap: anywhere; }
.flash-enquiry { margin-top: auto; width: 100%; font-size: 14px; text-align: center; }
.flash-copy .flash-enquiry { margin-top: 22px; }
.admin .shop-nav #nav-links { flex-wrap: wrap; }
@media (max-width: 1100px) { .flash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) { .flash-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } .flash-copy { padding: 20px; } }
.flash-image:hover img { transform: none; }

.designs-custom { margin: 28px 0; padding: 24px; border: 1px solid #ffffff25; background: #141414; }
.designs-custom h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; }
.designs-custom p { max-width: 850px; }

.design-controls { margin: 30px 0; }
.design-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.design-filters button { border: 1px solid #ffffff55; background: transparent; color: inherit; border-radius: 4px; padding: 10px 16px; cursor: pointer; font: inherit; }
.design-filters button[aria-pressed="true"] { color: #111; background: #fff; border-color: #fff; }
.design-filters button:focus-visible { outline: 3px solid #aaa; outline-offset: 3px; }
.design-controls label { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.design-controls select { width: auto; max-width: 100%; }
.flash-card[hidden], #design-empty[hidden] { display: none !important; }
@media (scripting: none) { .design-controls { display: none; } }

/* Denser Designs catalogue; keep the three-card home-page preview unchanged. */
@media (min-width: 900px) {
  .design-controls + .flash-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1150px) {
  .design-controls + .flash-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .design-controls + .flash-grid .flash-copy { padding: 16px; }
  .design-controls + .flash-grid .flash-copy h2 { font-size: 20px; }
  .design-controls + .flash-grid .flash-meta strong { font-size: 20px; }
  .design-controls + .flash-grid .flash-enquiry { white-space: normal; overflow-wrap: anywhere; padding-inline: 12px; }
}
@media (min-width: 1400px) {
  .design-controls + .flash-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
