/* PatternSouk product recommendations — template-matched horizontal rails */
.pssk-product-recommendations {
  clear: both;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-block: 3rem;
  border-top: 1px solid var(--pssk-border);
  color: var(--pssk-navy);
}
.pssk-product-recommendations__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.5rem;
}
.pssk-product-recommendations__title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--pssk-navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 2.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.pssk-product-recommendations__controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .5rem;
}
.pssk-product-recommendations__control {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--pssk-muted);
  border-radius: 2px;
  background: var(--pssk-white);
  color: var(--pssk-navy);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.pssk-product-recommendations__control:hover:not(:disabled) {
  border-color: var(--pssk-accent);
  background: var(--pssk-surface);
  color: var(--pssk-accent);
}
.pssk-product-recommendations__control:focus-visible {
  outline: 3px solid var(--pssk-accent);
  outline-offset: 2px;
}
.pssk-product-recommendations__control:disabled {
  border-style: dashed;
  border-color: var(--pssk-border);
  background: var(--pssk-surface);
  color: #8B94A3;
  cursor: not-allowed;
}
.pssk-product-recommendations__control svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pssk-product-recommendations__rail {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 0 .5rem;
  overflow-x: auto;
  overflow-y: hidden;
  list-style: none;
  scroll-snap-type: x proximity;
  scroll-behavior: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--pssk-muted) var(--pssk-surface);
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.pssk-product-recommendations__rail > li {
  display: flex;
  flex: 0 0 clamp(9.5rem, 42%, 15rem);
  min-width: 0;
  margin: 0;
  padding: 0;
  scroll-snap-align: start;
}
.pssk-product-recommendations__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 1rem;
  border: 1px solid var(--pssk-border);
  background: var(--pssk-white);
  color: var(--pssk-navy);
  text-decoration: none;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.pssk-product-recommendations__card:hover {
  border-color: var(--pssk-border);
  box-shadow: inset 0 2px 0 var(--pssk-accent);
  color: var(--pssk-navy);
}
.pssk-product-recommendations__card:focus-visible {
  outline: 3px solid var(--pssk-accent);
  outline-offset: 2px;
}
.pssk-product-recommendations__image {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  width: calc(100% + 2rem);
  margin: -1rem -1rem 1rem;
  overflow: hidden;
  background: var(--pssk-surface);
}
.pssk-product-recommendations__image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}
.pssk-product-recommendations__category {
  margin: 0 0 .5rem;
  color: var(--pssk-muted);
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.25rem;
}
.pssk-product-recommendations__name {
  margin: 0 0 .25rem;
  color: var(--pssk-navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5rem;
  text-wrap: balance;
}
.pssk-product-recommendations__card:hover .pssk-product-recommendations__name {
  text-decoration: underline;
  text-decoration-color: var(--pssk-accent);
  text-underline-offset: 4px;
}
.pssk-product-recommendations__price {
  margin: auto 0 0;
  padding-top: .75rem;
  color: var(--pssk-navy);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
  font-variant-numeric: tabular-nums;
}
.pssk-product-recommendations__price .woocommerce-Price-currencySymbol {
  margin-right: .08em;
}
.pssk-product-recommendations__price del {
  color: var(--pssk-muted);
  opacity: .75;
  font-weight: 400;
}
.pssk-product-recommendations__price ins {
  text-decoration: none;
}
@media (min-width: 640px) {
  .pssk-product-recommendations__rail {
    gap: 1.5rem;
  }
  .pssk-product-recommendations__card {
    padding: 1.5rem;
  }
  .pssk-product-recommendations__image {
    width: calc(100% + 3rem);
    margin: -1.5rem -1.5rem 1rem;
  }
}
@media (max-width: 479px) {
  .pssk-product-recommendations {
    padding-block: 2.5rem;
  }
  .pssk-product-recommendations__header {
    gap: .5rem;
    margin-bottom: 1rem;
  }
  .pssk-product-recommendations__control {
    width: 2.75rem;
    height: 2.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pssk-product-recommendations__control,
  .pssk-product-recommendations__card {
    transition: none;
  }
}