/* Shop Knup — compact catalog */

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

.shop-hero {
  background: #050505;
  color: #fff;
  padding: 14px 20px;
}

.shop-hero-compact {
  padding: 12px 20px;
}

.shop-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.shop-hero h1 {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  font-weight: 800;
}

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

.shop-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.shop-search {
  flex: 1 1 180px;
  min-width: 140px;
}

.shop-search input,
.shop-select select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0 12px;
  font: inherit;
  background: #fafafa;
  color: #111;
}

.shop-select {
  flex: 0 1 170px;
  min-width: 140px;
}

.shop-select-tag {
  flex: 0 1 140px;
}

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

.shop-filter-go {
  min-height: 40px !important;
  padding: 0 16px !important;
  font-size: 11px !important;
}

.shop-result-meta {
  margin: 10px 0 0;
  color: #666;
  font-size: 12px;
}

.shop-result-meta strong {
  color: #111;
}

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

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

.shop-card {
  border: 1px solid #ececec;
  border-radius: 14px;
  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 10px 24px rgba(0, 0, 0, 0.07);
  transform: translateY(-1px);
}

.shop-card-media {
  display: block;
  aspect-ratio: 1.2 / 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: 2.8rem;
  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: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.shop-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  font-size: 11px;
  color: #777;
  font-weight: 700;
}

.shop-card-dot {
  opacity: 0.45;
}

.shop-card-title {
  margin: 2px 0 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.95rem;
  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: 8px;
}

.shop-card-actions .btn,
.shop-pdp-buy {
  min-height: 38px;
  padding: 0 12px;
  font-size: 11px;
}

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

.shop-associates-disclaimer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 20px 28px;
  color: #777;
  font-size: 12px;
  border-top: 1px solid #eee;
}

.shop-associates-disclaimer .kn-shop-amazon-disclosure {
  margin: 12px 0 0;
}

/* Product detail */

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

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

.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: 24px;
  align-items: start;
}

.shop-pdp-media {
  border-radius: 16px;
  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: 280px;
  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(3.5rem, 10vw, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

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

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

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

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

.shop-pdp-price {
  margin: 0 0 10px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.25rem;
  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: 14px;
}

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

.shop-tag-list {
  list-style: none;
  margin: 14px 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: 14px;
  margin-top: 22px;
}

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

.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: 32px;
}

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

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

.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;
  }

  .shop-filter-go {
    width: 100%;
  }
}
