/* Shop Knup — magazine + product catalog */

.shop-page {
  background: #fff;
  color: #111;
  font-size: 14px;
  line-height: 1.5;
}

.shop-page .eyebrow {
  display: inline-block;
  font-family: Montserrat, Arial, sans-serif;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.shop-hero {
  background: #050505;
  color: #fff;
  padding: 42px 24px 48px;
  position: relative;
  overflow: hidden;
}

.shop-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.28;
  pointer-events: none;
}

.shop-hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.shop-hero h1 {
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.08;
  margin: 10px 0 12px;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: #fff;
}

.shop-hero p {
  margin: 0;
  max-width: 560px;
  color: #d8d8d8;
  font-size: 14px;
}

.shop-hero-disclosure,
.shop-page .kn-shop-amazon-disclosure {
  margin: 16px 0 0;
  font-size: 12px;
  color: #bdbdbd;
}

.shop-toolbar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 20px 8px;
}

.shop-filter-form {
  display: grid;
  gap: 14px;
}

.shop-search-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.shop-search {
  flex: 1 1 240px;
}

.shop-search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 0 18px;
  font: inherit;
  background: #fafafa;
}

.shop-search input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  background: #fff;
}

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

.shop-filter-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #222;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.shop-filter-pill:hover,
.shop-filter-pill.is-active {
  border-color: #111;
  background: #111;
  color: #fff;
}

.shop-filter-pill-soft.is-active,
.shop-filter-pill-soft:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.shop-result-meta {
  margin: 16px 0 8px;
  color: #666;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}

.shop-result-meta strong {
  color: #111;
  font-size: 1.1rem;
}

.shop-result-sep {
  opacity: 0.5;
}

.shop-grid-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 20px 48px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.shop-card {
  border: 1px solid #ececec;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.shop-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.shop-card-media {
  display: block;
  aspect-ratio: 1.15 / 1;
  background: #0f0f0f;
  text-decoration: none;
  position: relative;
}

.shop-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-card-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 3.4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.04em;
  background:
    radial-gradient(circle at 30% 20%, rgba(230, 9, 16, 0.35), transparent 45%),
    linear-gradient(160deg, #1a1a1a, #050505);
}

.shop-card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.shop-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.shop-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f3f3;
  color: #333;
  font-size: 11px;
  font-weight: 700;
}

.shop-pill-endorsed {
  background: #111;
  color: #fff;
}

.shop-pill-soft {
  background: #fff;
  border: 1px solid #e5e5e5;
}

.shop-card-title {
  margin: 2px 0 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.shop-card-title a {
  color: inherit;
  text-decoration: none;
}

.shop-card-title a:hover {
  color: var(--accent);
}

.shop-card-brand {
  margin: 0;
  font-size: 12px;
  color: #666;
}

.shop-card-summary {
  margin: 0;
  color: #444;
  font-size: 13px;
  flex: 1;
}

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

.shop-card-actions .btn,
.shop-pdp-buy,
.shop-search-row .btn {
  min-height: 40px;
  padding: 0 14px;
  font-size: 11px;
}

.shop-empty {
  text-align: center;
  padding: 48px 16px;
  border: 1px dashed #ddd;
  border-radius: 16px;
}

.shop-footer-note {
  max-width: 720px;
  margin: 0 auto 56px;
  padding: 0 20px;
  color: #666;
  font-size: 13px;
}

/* Product detail */

.shop-detail {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

.shop-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #777;
  margin-bottom: 22px;
}

.shop-breadcrumb a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.shop-breadcrumb a:hover {
  color: var(--accent);
}

.shop-pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.shop-pdp-media {
  border-radius: 18px;
  overflow: hidden;
  background: #0f0f0f;
  aspect-ratio: 1 / 1;
}

.shop-pdp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-pdp-fallback {
  height: 100%;
  min-height: 320px;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 70% 30%, rgba(230, 9, 16, 0.4), transparent 40%),
    linear-gradient(160deg, #222, #050505);
}

.shop-pdp-fallback span {
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.shop-pdp-fallback em {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.shop-pdp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.shop-pdp-brand {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #777;
}

.shop-pdp h1 {
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 6px 0 12px;
}

.shop-pdp-summary {
  margin: 0 0 12px;
  font-size: 15px;
  color: #333;
}

.shop-pdp-price {
  margin: 0 0 12px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.shop-pdp-note {
  margin: 0 0 8px;
  padding: 10px 12px;
  background: #f7f7f7;
  border-radius: 10px;
  font-size: 13px;
}

.shop-pdp-buy-panel {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #ececec;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fafafa);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.shop-pdp-buy {
  width: 100%;
  justify-content: center;
  min-height: 48px !important;
  font-size: 12px !important;
}

.shop-pdp-buy-hint,
.shop-pdp-disclosure {
  margin: 10px 0 0;
  font-size: 12px;
  color: #666;
}

.shop-tag-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-tag-list a {
  text-decoration: none;
  color: #444;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

.shop-tag-list a:hover {
  border-color: #111;
  color: #111;
}

.shop-pdp-extra {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.shop-pdp-block {
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 16px;
}

.shop-pdp-block h2 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-family: Montserrat, Arial, sans-serif;
}

.shop-pdp-block ul {
  margin: 0;
  padding-left: 18px;
}

.shop-related {
  margin-top: 42px;
}

.shop-related-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.shop-related-head h2 {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.15rem;
}

.shop-related-head a {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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