.shop-hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .75fr);
}

.shop-hero-title {
  font-size: 44px;
}

.shop-hero-lead {
  max-width: 720px;
}

.shop-summary-card {
  height: 100%;
  min-height: 220px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e8eef8;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

.shop-summary-label {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
}

.shop-summary-value {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.25;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.shop-summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.shop-summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.shop-summary-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: #64748b;
}

.shop-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 12px;
  font-weight: 800;
}

.shop-chip-soft {
  background: #fff1f7;
  color: #db2777;
}

.shop-section-head-inline {
  margin-bottom: 14px;
}

.shop-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.shop-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.shop-filter-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  font-size: 11px;
  color: #64748b;
}

.shop-filter-chip.is-active {
  background: linear-gradient(135deg, #111827, #374151);
  border-color: #111827;
  color: #ffffff;
}

.shop-filter-chip.is-active span {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.shop-card {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.95);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.shop-thumb-link {
  display: block;
}

.shop-thumb-wrap {
  position: relative;
  background: #f8fafc;
}

.shop-thumb {
  width: 100%;
  aspect-ratio: 0.82 / 1;
  object-fit: cover;
}

.shop-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 14px;
}

.shop-badges {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.shop-badge-primary,
.shop-badge-light {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.shop-badge-primary {
  background: rgba(17, 24, 39, 0.78);
  color: #fff;
}

.shop-badge-light {
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
}

.shop-body {
  padding: 16px;
}

.shop-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.shop-brand,
.shop-season,
.shop-meta-pill,
.shop-color-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.shop-season {
  background: #fff7ed;
  color: #c2410c;
}

.shop-category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 11px;
  font-weight: 800;
}

.shop-title {
  margin: 12px 0 8px;
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: #111827;
  min-height: 50px;
}

.shop-title a {
  color: inherit;
}

.shop-reason {
  margin: 0;
  min-height: 42px;
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
}

.shop-score-summary,
.shop-score-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.shop-score-summary {
  margin-top: 10px;
}

.shop-score-detail {
  margin-top: 8px;
}

.shop-score-summary span,
.shop-score-detail span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
}

.shop-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.shop-meta-pill {
  background: #f8fafc;
  color: #64748b;
}

.shop-color-pill {
  background: #fdf2f8;
  color: #be185d;
}

.shop-option-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff1f7;
  color: #be185d;
  font-size: 12px;
  font-weight: 800;
}

.shop-option-pill em {
  font-style: normal;
  color: #9d174d;
  opacity: .92;
}

.shop-option-pill strong {
  color: #831843;
  font-weight: 900;
}

.shop-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  flex: 0 0 10px;
}

.shop-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.shop-price {
  font-size: 22px;
  line-height: 1.2;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.shop-actions {
  display: flex;
  gap: 8px;
}

.shop-actions .btn {
  flex: 1 1 0;
}

.shop-inline-form {
  margin: 0;
  flex: 1 1 0;
}

.shop-save-btn,
.shop-view-btn {
  width: 100%;
  justify-content: center;
}

.shop-save-btn.is-saved {
  background: #fff6f7;
  border-color: #f4c7cf;
  color: #d94b68;
  box-shadow: inset 0 0 0 1px rgba(244, 199, 207, 0.15);
}

.shop-save-btn.is-saved:hover {
  background: #fff2f4;
  border-color: #efb8c3;
  color: #cf3f5f;
}

.shop-view-btn {
  background: linear-gradient(135deg, #f472b6 0%, #818cf8 55%, #60a5fa 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(129, 140, 248, 0.18);
}

.shop-view-btn:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.shop-page-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.shop-page-btn.is-active {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

.shop-page-btn.is-disabled {
  opacity: .4;
  cursor: default;
}

@media (max-width: 1100px) {
  .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .shop-hero-grid {
    grid-template-columns: 1fr;
  }

  .shop-hero-title {
    font-size: 36px;
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .shop-hero-title {
    font-size: 28px;
    line-height: 1.14;
  }

  .shop-summary-card {
    min-height: auto;
    padding: 18px;
  }

  .shop-filter-bar {
    gap: 8px;
  }

  .shop-filter-chip {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .shop-title {
    min-height: auto;
  }

  .shop-reason {
    min-height: auto;
  }

  .shop-actions {
    flex-direction: column;
  }

  .shop-pagination {
    flex-wrap: wrap;
  }
}