/* Restored product listing layout from the old Gallery page, now used for Shop. */

.shop-page {
  padding: 72px 0 100px;
  text-align: center;
  background:
    radial-gradient(circle at 80% 12%, rgba(199, 131, 125, 0.12), transparent 30%),
    linear-gradient(180deg, #281b17, #34251f);
}

.shop-page .container {
  width: min(var(--max), calc(100% - 96px));
}

.shop-page h1,
.shop-page h2 {
  margin: 0 0 12px;
  color: #fff6ea;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.shop-page p {
  max-width: 680px;
  margin: 0 auto;
  color: #d3bdab;
  font-size: 1.08rem;
  line-height: 1.75;
}

.shop-section {
  padding: clamp(70px, 9vw, 118px) 0;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1160px;
  margin: 50px auto 0;
}

.option-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 246, 234, 0.14);
  border-radius: 8px;
  background: rgba(62, 45, 37, 0.78);
  text-align: left;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.option-card:hover {
  transform: translateY(-4px);
  background: rgba(62, 45, 37, 0.96);
  box-shadow: 0 30px 74px rgba(0, 0, 0, 0.32);
}

.card-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #241815;
}

.card-image--empty {
  display: grid;
  place-items: center;
  padding: 24px;
  color: #d3bdab;
  font-weight: 800;
  text-align: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.option-card:hover .card-image img {
  transform: scale(1.04);
}

.option-card h3 {
  margin: 26px 28px 14px;
  color: #fff6ea;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  font-weight: 700;
}

.option-card p {
  margin: 0 28px 18px;
  color: #d3bdab;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
}

.shop-card-meta {
  display: block;
  margin: 0 28px 20px;
  color: #e6c896;
  font-size: 0.95rem;
  font-weight: 800;
}

.shop-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 28px 28px;
}

.shop-card-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgba(230, 200, 150, 0.28);
  border-radius: 999px;
  color: #fff6ea;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.shop-card-actions a:first-child {
  background: rgba(217, 154, 95, 0.18);
  border-color: rgba(217, 154, 95, 0.54);
}

.shop-card-actions a:hover,
.shop-card-actions a:focus-visible {
  border-color: #d99a5f;
  background: rgba(217, 154, 95, 0.24);
}

.coming-soon {
  display: inline-block;
  margin: 0 28px 28px;
  color: #d3bdab;
  font-size: 0.82rem;
}

.shop-empty {
  grid-column: 1 / -1;
  max-width: 680px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid rgba(255, 246, 234, 0.14);
  border-radius: 8px;
  background: rgba(62, 45, 37, 0.78);
  color: #d3bdab;
  text-align: center;
}

.shop-empty h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.shop-empty p {
  margin-bottom: 22px;
}

.shop-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.shop-empty__actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(230, 200, 150, 0.34);
  border-radius: 999px;
  color: #fff6ea;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1050px) {
  .options-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .shop-page {
    padding: 64px 0 80px;
  }

  .shop-page .container {
    width: min(100%, calc(100% - 36px));
  }
}

@media (max-width: 700px) {
  .options-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .shop-page {
    padding: 48px 0 70px;
  }

  .shop-page h1,
  .shop-page h2 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .shop-page p {
    font-size: 1rem;
  }

  .options-grid {
    margin-top: 36px;
    gap: 22px;
  }

  .option-card h3 {
    margin: 22px 22px 12px;
    font-size: 24px;
  }

  .option-card p,
  .shop-card-meta,
  .shop-card-actions,
  .coming-soon {
    margin-right: 22px;
    margin-left: 22px;
  }

  .option-card p {
    font-size: 16px;
  }
}
