:root {
  --shop-bg: linear-gradient(180deg, #fcf8f2 0%, #f6efe5 100%);
  --shop-hero-grad: linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 243, 0.8));
  --shop-border: rgba(47, 36, 29, 0.1);
  --shop-text-soft: rgba(47, 36, 29, 0.65);
}

.shop-page {
  background: var(--shop-bg);
}

.shop-hero {
  padding-top: clamp(42px, 5vw, 72px);
  padding-bottom: clamp(40px, 5vw, 66px);
}

.shop-hero-shell {
  border: 1px solid var(--shop-border);
  border-radius: 30px;
  padding: clamp(22px, 4vw, 44px);
  background: var(--shop-hero-grad);
  box-shadow: 0 28px 70px rgba(47, 36, 29, 0.08);
}

.shop-hero .kicker {
  color: #527ca2;
  background: rgba(183, 216, 240, 0.22);
  border-color: rgba(122, 156, 188, 0.32);
}

.shop-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.shop-search {
  flex: 1;
  min-width: min(100%, 280px);
}

.shop-search input {
  width: 100%;
  border: 1px solid rgba(47, 36, 29, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  padding: 12px 16px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shop-search input:focus {
  border-color: rgba(122, 79, 46, 0.52);
  box-shadow: 0 0 0 4px rgba(216, 176, 130, 0.25);
}

.shop-meta,
.inline-meta {
  color: var(--shop-text-soft);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.chip {
  border: 1px solid rgba(47, 36, 29, 0.16);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover {
  color: var(--ink);
  border-color: rgba(47, 36, 29, 0.28);
}

.chip.is-active {
  background: linear-gradient(120deg, var(--brand-strong), var(--brand));
  color: #fff;
  border-color: transparent;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
}

.inline-link {
  color: var(--brand-strong);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.featured-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 280px);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.featured-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--shop-border);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 36px rgba(47, 36, 29, 0.08);
  scroll-snap-align: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(47, 36, 29, 0.14);
}

.featured-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.featured-card:hover .featured-media img {
  transform: scale(1.06);
}

.featured-body {
  padding: 12px;
}

.featured-body span {
  color: var(--shop-text-soft);
  font-size: 0.8rem;
}

.featured-body h3 {
  margin-top: 6px;
  font-size: 1.02rem;
}

.shop-grid {
  padding-top: clamp(32px, 5vw, 64px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}

.product-card {
  display: grid;
  border-radius: 18px;
  border: 1px solid var(--shop-border);
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(47, 36, 29, 0.1);
}

.product-media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-copy {
  padding: 12px;
}

.product-category {
  color: var(--shop-text-soft);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.product-copy h3 {
  margin-top: 6px;
  font-size: 1rem;
}

.product-desc {
  margin-top: 8px;
  color: var(--shop-text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-actions {
  padding: 0 12px 14px;
}

.product-actions .btn {
  width: 100%;
  font-size: 0.78rem;
}

.empty-note {
  color: var(--shop-text-soft);
  font-size: 0.95rem;
}

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

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

@media (max-width: 560px) {
  .shop-hero-shell {
    border-radius: 22px;
  }

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

  .product-copy h3 {
    font-size: 0.95rem;
  }

  .featured-rail {
    grid-auto-columns: minmax(200px, 76vw);
  }
}
