/* ===== COLLECTIONS (occasion / industry / new) — theme 1.24.0 ===== */
.op-collection-page { padding: 1.5rem 0 4rem; }
.op-collection-crumbs { font-size: 0.82rem; color: var(--op-text-secondary); margin-bottom: 1rem; }
.op-collection-crumbs a { color: inherit; }

.op-collection-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--op-radius-lg, 16px);
  padding: 2.25rem 2rem;
  margin-bottom: 1.25rem;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(14, 172, 193, 0.35), transparent 42%),
    linear-gradient(135deg, #071A2B 0%, #0B3242 55%, #0E6F86 100%);
}
.op-collection-hero--industries { background: radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.3), transparent 42%), linear-gradient(135deg, #0F172A 0%, #1E293B 55%, #334155 100%); }
.op-collection-hero--new { background: radial-gradient(circle at 85% 15%, rgba(16, 185, 129, 0.35), transparent 42%), linear-gradient(135deg, #052E2B 0%, #064E3B 55%, #047857 100%); }
.op-collection-hero__eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #7DE3F2; margin-bottom: 0.6rem; }
.op-collection-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0 0 0.6rem; text-wrap: balance; }
.op-collection-hero p { max-width: 720px; color: rgba(255, 255, 255, 0.85); font-size: 1rem; line-height: 1.6; margin: 0 0 1.1rem; }
.op-collection-hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.op-collection-hero__actions .op-btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.op-collection-hero__actions .op-btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.op-collection-hero__count { display: block; margin-top: 1rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }

.op-collection-tip {
  margin: 0 0 1.5rem;
  padding: 0.7rem 1rem;
  border-left: 3px solid var(--op-primary);
  background: var(--op-primary-light, #ECFEFF);
  border-radius: 0 var(--op-radius, 10px) var(--op-radius, 10px) 0;
  font-size: 0.9rem;
  color: var(--op-text-secondary);
}
.op-collection-empty { padding: 2rem; text-align: center; color: var(--op-text-secondary); }

.op-collection-pagination { display: flex; justify-content: center; gap: 0.35rem; flex-wrap: wrap; margin: 1.5rem 0 0; }
.op-collection-pagination .page-numbers {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 0.85rem;
  border: 1px solid var(--op-border, #E2E8F0); border-radius: var(--op-radius-full, 999px);
  background: #fff; color: var(--op-text); text-decoration: none; font-size: 0.88rem; font-weight: 600;
}
.op-collection-pagination .page-numbers.current { background: var(--op-primary); color: #fff; border-color: var(--op-primary); }

.op-collection-more { margin-top: 3rem; }
.op-collection-more h2, .op-collection-group h2 { font-size: 1.3rem; margin: 0 0 0.9rem; }
.op-collection-group { margin-bottom: 2.25rem; }
.op-collection-clearance { margin: 1rem 0 0; font-size: 0.95rem; }

.op-collection-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.op-collection-tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 118px;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #0B3242 0%, #0E6F86 100%);
  box-shadow: 0 10px 24px rgba(7, 26, 43, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.op-collection-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(7, 26, 43, 0.22); color: #fff; }
.op-collection-tile--industries { background: linear-gradient(135deg, #1E293B 0%, #475569 100%); }
.op-collection-tile--new { background: linear-gradient(135deg, #064E3B 0%, #059669 100%); }
.op-collection-tile__eyebrow { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }
.op-collection-tile strong { font-size: 1rem; line-height: 1.25; font-weight: 800; }
.op-collection-tile__count { margin-top: auto; font-size: 0.76rem; opacity: 0.8; }

/* Homepage section */
.op-collections-section .op-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.op-collections-section .op-section-head p { margin: 0.25rem 0 0; color: var(--op-text-secondary); }

@media (max-width: 1024px) { .op-collection-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .op-collection-hero { padding: 1.6rem 1.25rem; }
  .op-collection-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op-collections-section .op-section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) { .op-collection-tiles { grid-template-columns: 1fr; } }

/* Tiles with a showroom photo behind them (assets/showroom/tile-{slug}.jpg) */
.op-collection-tile--photo {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 150px;
}
.op-collection-tile--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 43, 0.15) 0%, rgba(7, 26, 43, 0.82) 100%);
  transition: background 0.25s ease;
}
.op-collection-tile--photo:hover::before { background: linear-gradient(180deg, rgba(7, 26, 43, 0.25) 0%, rgba(7, 26, 43, 0.9) 100%); }
.op-collection-tile--photo > * { position: relative; z-index: 1; }
.op-collection-tile--photo strong { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }
