:root {
  --pd-ink: #15151a;
  --pd-muted: #606562;
  --pd-line: #e6e9e8;
  --pd-bg: #eef1f0;
  --pd-wash: #faf9fa;
  --pd-max: 1280px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  color: var(--pd-ink);
  background: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
.pd-wrap { width: min(var(--pd-max), calc(100% - 40px)); margin: 0 auto; }

/* Header */
.pd-announce {
  background: var(--pd-ink);
  color: #fff;
  text-align: center;
  font-size: 13px;
  letter-spacing: .04em;
  padding: 8px 16px;
}
.pd-announce a { color: #fff; text-decoration: underline; }
.pd-header {
  background: #fff;
  border-bottom: 1px solid var(--pd-line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.pd-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 64px;
  padding: 0 24px;
  list-style: none;
  margin: 0;
}
.pd-nav__logo svg { display: block; color: var(--pd-ink); }
.pd-nav__item { position: relative; height: 100%; display: flex; align-items: center; }
.pd-nav__link {
  color: var(--pd-ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.pd-nav__sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  padding: 12px 0;
  margin: 0;
  list-style: none;
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
  z-index: 60;
}
.pd-nav__item.has-sub:hover .pd-nav__sub { display: block; }
.pd-nav__sub a { display: block; padding: 8px 18px; font-size: 14px; }
.pd-nav__sub a:hover { background: var(--pd-wash); }
.pd-nav__spacer { flex: 1; }
.pd-nav__burger { display: none; }
.pd-nav__burger button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
}
.pd-mobile[hidden] { display: none !important; }
.pd-mobile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-bottom: 1px solid var(--pd-line);
  background: #fff;
}
.pd-mobile a { padding: 10px 0; font-size: 16px; }

/* Buttons */
.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  background: var(--pd-ink);
  color: #fff;
  border: 1px solid var(--pd-ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}
.pd-btn--light { background: #fff; color: var(--pd-ink); }
.pd-btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.pd-btn--block { display: flex; width: 100%; }

/* Home */
.pd-hero { position: relative; min-height: 78vh; background: #111; color: #fff; }
.pd-hero__media { position: absolute; inset: 0; }
.pd-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.pd-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 14vh 48px 56px;
  text-shadow: 0 1px 16px rgba(0,0,0,.35);
}
.pd-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05; margin: 8px 0 16px; font-weight: 500; }
.pd-kicker { letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin: 0; }
.pd-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

.pd-section { padding: 64px 0; }
.pd-h { font-size: 1.65rem; font-weight: 500; margin: 0 0 28px; }
.pd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 16px; }
.pd-explore { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pd-explore__card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--pd-bg);
  aspect-ratio: 1;
}
.pd-explore--wide .pd-explore__card { aspect-ratio: 3/2; }
.pd-explore__card img { width: 100%; height: 100%; object-fit: cover; }
.pd-explore__card span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(0,0,0,.45);
}

.pd-band { background: var(--pd-bg); padding: 72px 0; }
.pd-band__inner { max-width: 560px; }
.pd-band h2 { font-size: 2rem; font-weight: 500; margin: 8px 0 12px; }

.pd-split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  min-height: 420px;
  background: var(--pd-ink);
  color: #fff;
}
.pd-split img { width: 100%; height: 100%; object-fit: cover; }
.pd-split__copy { padding: 56px 40px; display: flex; flex-direction: column; justify-content: center; }
.pd-split__copy h2 { font-size: 2rem; font-weight: 500; margin: 0 0 12px; }

/* Product cards */
.pd-card { background: #fff; }
.pd-card__media {
  background: var(--pd-bg);
  aspect-ratio: 1;
  overflow: hidden;
}
.pd-card__media img { width: 100%; height: 100%; object-fit: cover; }
.pd-card__name { display: block; margin: 12px 0 2px; font-size: 14px; font-weight: 500; }
.pd-card__meta { margin: 0; color: var(--pd-muted); font-size: 13px; }
.pd-card__price { margin: 6px 0 0; font-size: 14px; }
.pd-card__price del { opacity: .45; margin-right: 6px; }

/* Listing */
.pd-plp { padding: 48px 0 80px; }
.pd-plp__head { margin-bottom: 32px; max-width: 720px; }
.pd-plp__head h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; margin: 0 0 8px; }
.pd-plp__count { color: var(--pd-muted); margin: 8px 0 0; }
.woocommerce-pagination { margin-top: 40px; }
.woocommerce-pagination ul { display: flex; gap: 8px; list-style: none; padding: 0; }

/* PDP */
.pd-crumbs { width: min(1400px, calc(100% - 48px)); margin: 20px auto 0; font-size: 13px; color: var(--pd-muted); }
.pd-crumbs a { color: var(--pd-muted); }
.pd-pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 420px);
  gap: 48px;
  width: min(1400px, calc(100% - 48px));
  margin: 16px auto 72px;
}
.pd-gallery { position: relative; background: var(--pd-bg); }
.pd-gallery__slide { display: none; }
.pd-gallery__slide.is-active { display: block; }
.pd-gallery__slide img { width: 100%; height: auto; }
.pd-gallery__prev, .pd-gallery__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
}
.pd-gallery__prev { left: 8px; }
.pd-gallery__next { right: 8px; }
.pd-pdp__title { font-size: 2rem; font-weight: 500; margin: 0 0 12px; }
.pd-pdp__price { font-size: 1.15rem; margin-bottom: 20px; }
.pd-pdp__price del { opacity: .45; margin-right: 8px; }
.pd-label { font-size: 13px; margin: 16px 0 8px; color: var(--pd-muted); }
.pd-opts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.pd-opts a, .pd-swatch {
  border: 1px solid var(--pd-line);
  padding: 8px 12px;
  font-size: 13px;
}
.pd-opts a.is-on, .pd-swatch.is-on { border-color: var(--pd-ink); }
.pd-swatch { display: inline-flex; align-items: center; gap: 8px; }
.pd-swatch img { width: 28px; height: 28px; object-fit: cover; }
.pd-qty { display: inline-flex; border: 1px solid var(--pd-line); margin: 16px 0; }
.pd-qty input { width: 52px; border: 0; text-align: center; height: 40px; }
.pd-qty button { width: 36px; border: 0; background: var(--pd-wash); cursor: pointer; }
.pd-atc, .pd-buy {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border: 1px solid var(--pd-ink);
  cursor: pointer;
  font-size: 15px;
}
.pd-atc { background: var(--pd-ink); color: #fff; }
.pd-buy { background: #fff; color: var(--pd-ink); }
.pd-below { width: min(900px, calc(100% - 48px)); margin: 0 auto 80px; }
.pd-below h2 { font-size: 1.4rem; font-weight: 500; }
.pd-related { width: min(var(--pd-max), calc(100% - 40px)); margin: 0 auto 80px; }

/* CMS pages */
.pd-page { padding: 48px 0 88px; }
.pd-cms { max-width: 760px; margin: 0 auto; }
.pd-cms h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; margin: 0 0 16px; }
.pd-cms h2 { font-size: 1.45rem; font-weight: 500; margin: 36px 0 12px; }
.pd-cms h3, .pd-cms h4 { font-size: 1.1rem; margin: 24px 0 8px; }
.pd-cms p, .pd-cms li { font-size: 16px; }
.pd-cms img { width: 100%; margin: 16px 0; }
.pd-cms ul, .pd-cms ol { padding-left: 1.2em; }
.pd-cms a { text-decoration: underline; }
.pd-lead { font-size: 1.6rem; font-weight: 500; }
.pd-form { display: grid; gap: 14px; margin-top: 28px; }
.pd-form label { display: grid; gap: 6px; font-size: 14px; }
.pd-form input, .pd-form select, .pd-form textarea {
  border: 1px solid var(--pd-line);
  padding: 10px 12px;
  width: 100%;
}

/* Cart / checkout */
.pd-cart { width: min(900px, calc(100% - 32px)); margin: 32px auto 80px; }
.pd-cart h1 { font-size: 2rem; font-weight: 500; }
.pd-cart table { width: 100%; border-collapse: collapse; }
.pd-cart td { padding: 16px 8px; border-bottom: 1px solid var(--pd-line); vertical-align: middle; }
.pd-cart img { width: 72px; height: 72px; object-fit: cover; background: var(--pd-bg); }
.checkout-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  width: min(1100px, calc(100% - 32px));
  margin: 24px auto 64px;
}
.page-header { width: min(1100px, calc(100% - 32px)); margin: 32px auto 0; }
.page-header__title { font-size: 2rem; font-weight: 500; }

/* Footer — source is light */
.pd-footer {
  background: var(--pd-wash);
  color: var(--pd-ink);
  padding: 48px 0 28px;
  margin-top: 48px;
  border-top: 1px solid var(--pd-line);
}
.pd-footer a { color: var(--pd-ink); }
.pd-footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.pd-stores { display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 8px 0 0; }
.pd-news form { display: flex; gap: 8px; margin-top: 12px; }
.pd-news input {
  flex: 1;
  border: 1px solid var(--pd-line);
  padding: 10px 12px;
  background: #fff;
}
.pd-footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pd-footer h3 { font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.pd-footer ul { list-style: none; padding: 0; margin: 0; }
.pd-footer li { margin: 8px 0; font-size: 14px; }
.pd-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--pd-line);
  font-size: 13px;
}
.pd-certs { display: flex; gap: 16px; align-items: center; }
.pd-certs img { height: 44px; width: auto; }
.pd-policies { display: flex; gap: 16px; }

@media (max-width: 980px) {
  .pd-grid, .pd-explore, .pd-pdp, .pd-footer__grid, .checkout-layout, .pd-split, .pd-footer__top {
    grid-template-columns: 1fr;
  }
  .pd-nav__item { display: none; }
  .pd-nav__logo, .pd-nav__burger, li.pd-nav__logo, li.pd-nav__burger { display: flex; }
  .pd-nav__spacer { display: none; }
  .pd-hero__copy { padding: 48px 20px; }
  .pd-hero { min-height: 70vh; }
}
