/* ==========================================================================
   Shop Section — Shopify Products
   ========================================================================== */

/* ---------- Section Container ---------- */

.shop-section {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

.shop-section__header {
  text-align: center;
  margin-bottom: 2rem;
}

.shop-section__subtitle {
  color: #666;
  font-size: 1rem;
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* ---------- Filter Tabs ---------- */

.shop-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 1rem;
  margin: 0 auto 1.5rem;
  max-width: 1200px;
}

.shop-filters button {
  background: none;
  border: 1.5px solid #ccc;
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.85rem;
  color: #666;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-family: inherit;
}

.shop-filters button:hover {
  border-color: #333;
  color: #333;
}

.shop-filters button.--active {
  background: #333;
  border-color: #333;
  color: #fff;
}

/* ---------- Product Grid ---------- */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

/* ---------- Product Card ---------- */

.shop-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.shop-card__image-wrap {
  aspect-ratio: 1 / 1;
  background: #f0f0f0;
  overflow: hidden;
  position: relative;
}

.shop-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.35s ease;
  padding: 12px;
}

.shop-card:hover .shop-card__image {
  transform: scale(1.05);
}

.shop-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #FC0;
  color: #333;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.shop-card__body {
  padding: 14px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shop-card__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

.shop-card__price {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
}

.shop-card__price span {
  font-size: 0.75rem;
  font-weight: 400;
  color: #999;
}

.shop-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  margin-top: auto;
  padding-top: 6px;
  transition: color 0.2s;
}

.shop-card:hover .shop-card__cta {
  color: #333;
}

.shop-card__cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.shop-card:hover .shop-card__cta svg {
  transform: translateX(3px);
}

/* ---------- Visit Store CTA ---------- */

.shop-cta {
  text-align: center;
  margin: 0 auto;
}

.shop-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: #333;
  color: #fff;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.shop-cta__link:hover {
  background: #555;
  transform: translateY(-2px);
}

.shop-cta__link svg {
  width: 16px;
  height: 16px;
}

/* ---------- Responsive ---------- */

@media screen and (max-width: 1024px) {
  .shop-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media screen and (max-width: 768px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media screen and (max-width: 480px) {
  .shop-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 320px;
  }
}
