/* ==========================================================================
   Explore designs gallery — explore.css
   Prefix: exp-
   ========================================================================== */

.exp-plan-section {
  scroll-margin-top: 88px;
}

.exp-plan-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* ---- Grid ---- */

.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ---- Card link wrapper ---- */

.exp-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ---- Card ---- */

.exp-card {
  background: #fff;
  border: 1.5px solid #ede8e2;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.exp-card:hover {
  box-shadow: 0 6px 24px rgba(44, 32, 24, 0.10);
  transform: translateY(-2px);
}

.exp-card__preview {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f0ebe4;
  flex-shrink: 0;
  overflow: hidden;
}

.exp-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.exp-card-link:hover .exp-card__preview img {
  transform: scale(1.04);
}

.exp-card__cta {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(29, 27, 26, 0.42);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.exp-card-link:hover .exp-card__cta,
.exp-card-link:focus-visible .exp-card__cta {
  opacity: 1;
}

.exp-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.exp-card__title {
  font-family: 'Noto Serif', serif;
  font-size: 1.1rem;
  color: #1d1b1a;
  margin: 0;
}

.exp-card__desc {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  color: #4b463d;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.exp-card__swatches {
  display: flex;
  gap: 8px;
}

.exp-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: inline-block;
}
