:root {
  --shop-collection-bg: #070707;
  --shop-collection-accent: #ff7a1a;
  --shop-collection-muted: rgba(255, 255, 255, 0.72);
}

.shop-collection {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: var(--shop-collection-bg);
  padding: 96px 24px 100px;
  overflow: hidden;
}

.shop-collection::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 122, 26, 0.08), transparent 72%);
  pointer-events: none;
}

.shop-collection-shell {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  z-index: 1;
}

.shop-collection-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 54px;
}

.shop-collection-label {
  margin: 0 0 14px;
  color: var(--shop-collection-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
}

.shop-collection h2 {
  margin: 0 0 18px;
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-transform: uppercase;
}

.shop-collection-subtitle {
  margin: 0;
  max-width: 650px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--shop-collection-muted);
}

.shop-collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.shop-collection-card {
  position: relative;
  display: block;
  height: 650px;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.shop-collection-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.shop-collection-card:hover,
.shop-collection-card:focus-visible {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.shop-collection-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.6s ease-in-out;
}

.shop-collection-card:hover img,
.shop-collection-card:focus-visible img {
  transform: scale(1.08);
}

.shop-collection-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.35s ease;
}

.shop-collection-card:hover .shop-collection-overlay,
.shop-collection-card:focus-visible .shop-collection-overlay {
  background: rgba(0, 0, 0, 0.18);
}

.shop-collection-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  z-index: 1;
}

.shop-collection-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  transform: translateY(0);
  transition: transform 0.35s ease-in-out;
}

.shop-collection-link {
  display: inline-block;
  position: relative;
  color: var(--shop-collection-accent);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateY(0);
  transition: transform 0.35s ease-in-out, color 0.35s ease;
}

.shop-collection-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: var(--shop-collection-accent);
  transition: width 0.35s ease;
}

.shop-collection-card:hover h3,
.shop-collection-card:focus-visible h3 {
  transform: translateY(-8px);
}

.shop-collection-card:hover .shop-collection-link,
.shop-collection-card:focus-visible .shop-collection-link {
  transform: translateY(-6px);
}

.shop-collection-card:hover .shop-collection-link::after,
.shop-collection-card:focus-visible .shop-collection-link::after {
  width: 100%;
}

@media (max-width: 1024px) {
  .shop-collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .shop-collection-card {
    height: 540px;
  }
}

@media (max-width: 640px) {
  .shop-collection {
    padding: 84px 18px 90px;
  }

  .shop-collection-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .shop-collection-card {
    height: 420px;
  }

  .shop-collection-card-content {
    padding: 28px;
  }
}
