/*
 * WDS shop products — [wds_shop_products].
 * dev.307: legacy colours mapped to --wdsbm-* tokens.
*/

.wds-shop,
.wds-shop * {
  box-sizing: border-box;
}
.wds-shop {
  width: 100%;
  margin: 0;
  padding: clamp(58px,6vw,88px) clamp(22px,5vw,78px);
  background: #fff;
  color: var(--wdsbm-ink);
  font-family: inherit;
}
.wds-shop__inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}
.wds-shop__head {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(280px,.85fr);
  gap: clamp(35px,7vw,110px);
  align-items: end;
  margin-bottom: clamp(34px,4vw,50px);
}
.wds-shop__eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--wdsbm-text-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.wds-shop__head h2 {
  margin: 0 !important;
  max-width: 700px;
  color: var(--wdsbm-ink) !important;
  font-size: clamp(40px,4.5vw,64px) !important;
  font-weight: 500 !important;
  line-height: .96 !important;
  letter-spacing: -.05em;
}
.wds-shop__head p {
  max-width: 450px;
  margin: 0 0 4px !important;
  color: var(--wdsbm-text-muted) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}
.wds-shop__grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: clamp(12px,1.5vw,22px);
}
.wds-shop-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #fff;
}
.wds-shop-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--wdsbm-surface-sunken);
}
.wds-shop-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}
.wds-shop-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--wdsbm-surface-sunken);
}
.wds-shop-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 9px;
  background: var(--wdsbm-ink);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.wds-shop-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 1px 0;
}
.wds-shop-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  color: var(--wdsbm-text-subtle);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wds-shop-card__meta .is-out {
  color: var(--wdsbm-ink);
}
.wds-shop-card h3 {
  margin: 0 0 8px !important;
  color: var(--wdsbm-ink) !important;
  font-size: clamp(15px,1.25vw,19px) !important;
  font-weight: 500 !important;
  line-height: 1.18 !important;
  letter-spacing: -.025em;
}
.wds-shop-card h3 a {
  color: inherit !important;
  text-decoration: none !important;
}
.wds-shop-card__price {
  margin-bottom: 18px;
  color: var(--wdsbm-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.wds-shop-card__price del {
  margin-right: 6px;
  color: var(--wdsbm-text-subtle);
  font-weight: 400;
}
.wds-shop-card__price ins {
  color: var(--wdsbm-ink);
  text-decoration: none;
}
.wds-shop-card__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding: 13px 0;
  border-top: 1px solid var(--wdsbm-border-strong);
  border-bottom: 1px solid var(--wdsbm-border-strong);
  color: var(--wdsbm-ink) !important;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none !important;
}
.wds-shop-card__cta span,
.wds-shop__footer span {
  transition: transform .3s ease;
}
.wds-shop__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
}
.wds-shop__footer a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--wdsbm-ink);
  color: var(--wdsbm-ink) !important;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none !important;
}
.wds-shop__empty {
  padding: 28px 0;
  border-top: 1px solid var(--wdsbm-border);
  border-bottom: 1px solid var(--wdsbm-border);
}
.wds-shop__empty strong,
.wds-shop__empty span {
  display: block;
}
.wds-shop__empty strong {
  font-size: 18px;
}
.wds-shop__empty span {
  margin-top: 5px;
  color: var(--wdsbm-text-muted);
  font-size: 12px;
}
@media(hover:hover) {
  .wds-shop-card__media:hover img {
    transform: scale(1.025);
  }
  .wds-shop-card__cta:hover span,
  .wds-shop__footer a:hover span {
    transform: translateX(4px);
  }
}
.wds-shop a:focus-visible {
  outline: 2px solid var(--wdsbm-ink);
  outline-offset: 4px;
}
@media(max-width:900px) {
  .wds-shop__grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 30px 16px;
  }
  .wds-shop__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
@media(max-width:560px) {
  .wds-shop {
    padding: 45px 14px 48px;
  }
  .wds-shop__head {
    margin-bottom: 28px;
  }
  .wds-shop__head h2 {
    font-size: 39px !important;
    max-width: 350px;
  }
  .wds-shop__head p {
    max-width: 360px;
    font-size: 13px !important;
  }
  .wds-shop__grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 25px 10px;
  }
  .wds-shop-card__body {
    padding-top: 11px;
  }
  .wds-shop-card__meta {
    font-size: 7px;
    margin-bottom: 7px;
  }
  .wds-shop-card h3 {
    font-size: 14px !important;
  }
  .wds-shop-card__price {
    font-size: 11px;
    margin-bottom: 14px;
  }
  .wds-shop-card__cta {
    font-size: 8px;
    padding: 11px 0;
  }
  .wds-shop-card__badge {
    top: 8px;
    left: 8px;
    padding: 6px 7px;
    font-size: 7px;
  }
  .wds-shop__footer {
    margin-top: 23px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .wds-shop-card__media img,
  .wds-shop-card__cta span,
  .wds-shop__footer span {
    transition: none !important;
    transform: none !important;
  }
}
