:root {
  --ink: #101818;
  --muted: #5d6662;
  --cream: #fbf8f0;
  --line: rgba(15, 24, 24, 0.14);
  --orange: #f04c2f;
  --green: #657448;
}

body.product-page {
  background: var(--cream);
}

.product-page main {
  padding-top: 0;
}

.breadcrumbs,
.product-shell,
.product-hero {
  width: calc(100% - 96px);
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.breadcrumbs {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #66706b;
  font-size: 13px;
  font-weight: 650;
}

.breadcrumbs a {
  color: #66706b;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 770px) minmax(420px, 1fr);
  gap: 64px;
  align-items: start;
}

.gallery {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
}

.thumbs {
  display: grid;
  gap: 18px;
  align-content: start;
}

.thumbs button {
  position: relative;
  width: 112px;
  height: 112px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.thumbs button.active {
  border: 3px solid #18211f;
}

.thumbs img {
  height: 100%;
  object-fit: cover;
}

.thumbs .more::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.thumbs .more span {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
}

.main-media {
  position: relative;
  height: 800px;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: #efe8dc;
}

.main-media img {
  height: 100%;
  object-fit: cover;
}

.main-media button {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 45px;
  height: 45px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  display: grid;
  place-items: center;
}

.main-media svg {
  width: 22px;
  height: 22px;
}

.product-summary {
  padding-top: 16px;
  min-width: 0;
}

.product-badge {
  display: inline-flex;
  height: 31px;
  align-items: center;
  padding: 0 12px;
  border-radius: 4px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.product-summary h1 {
  margin: 18px 0 4px;
  color: var(--ink);
  font-size: 52px;
  line-height: 0.98;
  font-weight: 950;
}

.color-title {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 27px;
}

.summary-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 15px;
}

.summary-rating span,
.stars,
.review-summary strong span {
  color: var(--orange);
  letter-spacing: 2px;
}

.summary-rating strong {
  color: #303936;
  font-weight: 760;
}

.summary-rating a {
  color: #303936;
  margin-left: auto;
}

.price {
  display: block;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 30px;
}

.summary-copy {
  width: 430px;
  max-width: 100%;
  margin: 0 0 36px;
  color: #4d5652;
  font-size: 18px;
  line-height: 1.5;
}

.option-block {
  padding-top: 26px;
  margin-top: 0;
  border-top: 1px solid var(--line);
}

.option-block p,
.size-head p {
  margin: 0 0 18px;
  color: var(--ink);
  font-weight: 720;
}

.color-options {
  display: flex;
  gap: 16px;
  margin-bottom: 34px;
}

.color-options button {
  width: 43px;
  height: 43px;
  border: 2px solid #fff;
  outline: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 50%;
  background: var(--color);
  cursor: pointer;
}

.color-options button.selected {
  outline: 2px solid var(--ink);
}

.size-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.size-head a {
  color: var(--ink);
  font-size: 14px;
  text-decoration: underline;
}

.size-options {
  display: grid;
  grid-template-columns: repeat(5, 68px);
  gap: 14px;
  margin-bottom: 28px;
}

.size-options button {
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-weight: 760;
  cursor: pointer;
}

.size-options button.selected {
  border: 2px solid var(--ink);
}

.stock-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  color: #67706b;
  font-size: 14px;
}

.stock-line span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.add-cart {
  width: 100%;
  height: 70px;
  border: 0;
  border-radius: 5px;
  background: var(--orange);
  color: #fff;
  font-size: 20px;
  font-weight: 850;
  cursor: pointer;
}

.summary-perks {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: #66706b;
  font-size: 14px;
}

.summary-perks li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.summary-perks svg {
  width: 18px;
  height: 18px;
}

.complete-kit {
  margin-top: 82px;
  padding: 24px 24px 26px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.54);
}

.complete-kit h2,
.size-guide-card h2,
.materials-card h2,
.reviews h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.kit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 190px;
  align-items: stretch;
}

.kit-item {
  min-height: 176px;
  padding: 0 28px 0 0;
  margin-right: 28px;
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-columns: 140px 1fr 42px;
  gap: 20px;
  align-items: center;
}

.kit-item img {
  height: 112px;
  object-fit: cover;
  border-radius: 6px;
  mix-blend-mode: multiply;
}

.kit-item h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.kit-item p {
  margin: 0 0 7px;
  color: var(--muted);
}

.kit-item button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 23px;
}

.kit-total {
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.kit-total span {
  color: #606965;
}

.kit-total strong {
  margin: 6px 0 8px;
  font-size: 20px;
}

.kit-total p {
  margin: 0 0 18px;
  color: var(--orange);
  font-weight: 750;
}

.kit-total button {
  height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 5px;
  background: var(--orange);
  color: #fff;
  font-weight: 850;
}

.why-it-works {
  margin-top: 28px;
  padding: 26px 34px 30px;
  border-radius: 9px;
  background: #f5efe6;
}

.why-it-works h2 {
  margin: 0 0 24px;
  text-align: center;
  font-size: 26px;
}

.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.features-row article {
  min-height: 112px;
  padding: 0 34px;
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
}

.features-row article:last-child {
  border-right: 0;
}

.features-row h3 {
  margin: 0 0 7px;
  font-size: 16px;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.features-row p {
  margin: 0;
  color: #59625d;
  line-height: 1.45;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: block;
  position: relative;
  grid-column: 1;
  grid-row: 1 / span 2;
  background: rgba(255, 255, 255, 0.36);
}

.feature-icon::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 42px;
}

.leaf::before { content: "◜"; color: #7a8a4d; }
.shield::before { content: "◇"; color: #2d6f8f; }
.sun::before { content: "☼"; color: var(--orange); }
.wind::before { content: "≋"; color: #7a8a4d; }

.details-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 28px;
}

.size-guide-card,
.materials-card,
.quote-card,
.review-card,
.review-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  overflow: hidden;
}

.size-guide-card,
.materials-card {
  padding: 28px;
}

.dog-diagram {
  position: relative;
  height: 190px;
  margin-bottom: 14px;
}

.dog-diagram svg {
  width: 100%;
  height: 100%;
}

.dog-diagram path {
  stroke: #1f2927;
  fill: none;
  stroke-width: 2;
}

.dog-diagram .blue { stroke: #2d6f8f; }
.dog-diagram .red { stroke: var(--orange); }
.dog-diagram span {
  position: absolute;
  font-size: 13px;
}
.neck { left: 118px; top: 38px; color: #2d6f8f; }
.chest { right: 30px; top: 66px; color: var(--orange); }

.size-guide-card table {
  width: 100%;
  border-collapse: collapse;
  color: #3c4541;
  font-size: 14px;
}

.size-guide-card th,
.size-guide-card td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.size-guide-card tr.selected {
  outline: 1px solid #8f8a75;
  background: #ece6d9;
}

.size-guide-card > a,
.materials-card > a {
  display: inline-flex;
  gap: 7px;
  margin-top: 20px;
  color: #1e6380;
  font-weight: 720;
}

.materials-card > img {
  height: 156px;
  border-radius: 7px;
  object-fit: cover;
  margin-bottom: 18px;
  filter: saturate(0.8);
}

.materials-card ul {
  margin: 0 0 23px 18px;
  padding: 0;
  color: #3c4541;
  line-height: 1.7;
}

.care-row {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 14px;
}

.care-row svg {
  width: 30px;
  height: 30px;
  color: #788350;
}

.care-row p {
  margin: 0;
  display: grid;
  gap: 3px;
}

.care-row span {
  color: var(--muted);
}

.quote-card {
  position: relative;
  min-height: 570px;
  color: #fff;
}

.quote-card img {
  height: 100%;
  object-fit: cover;
}

.quote-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.72));
}

.quote-card div {
  position: absolute;
  z-index: 2;
  left: 38px;
  right: 38px;
  bottom: 42px;
}

.quote-card p {
  margin: 0 0 14px;
  font-size: 27px;
  line-height: 1.24;
  font-weight: 850;
}

.reviews {
  margin-top: 36px;
  margin-bottom: 34px;
}

.reviews h2 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.05;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 360px repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.review-summary {
  padding: 0 26px 0 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.review-summary strong {
  display: block;
  font-size: 38px;
  margin-bottom: 4px;
}

.review-summary p {
  margin: 0 0 14px;
  color: var(--muted);
}

.bars {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.bars span {
  display: grid;
  grid-template-columns: 32px 1fr 38px;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.bars i {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange) var(--w), #e8e0d5 var(--w));
}

.bars b {
  font-weight: 600;
  color: var(--muted);
}

.review-summary button {
  height: 48px;
  width: 180px;
  padding: 0 34px;
  border: 0;
  border-radius: 5px;
  background: var(--orange);
  color: #fff;
  font-weight: 850;
}

.review-card {
  position: relative;
  min-height: 270px;
  padding: 34px 32px 18px;
}

.size-chip {
  position: absolute;
  left: 28px;
  top: 28px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #7b8851;
  color: #fff;
  font-weight: 900;
}

.size-chip.blue { background: #2e6c8c; }
.size-chip.orange { background: #dc6f35; }

.review-card .stars {
  margin-left: 54px;
  margin-bottom: 30px;
}

.stars small {
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 10px;
}

.review-card > p {
  min-height: 70px;
  margin: 0 0 12px;
  color: #424d49;
  line-height: 1.5;
}

.review-pet {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: auto;
}

.review-pet img {
  height: 90px;
  object-fit: cover;
  object-position: center top;
}

.review-pet p {
  margin: 0 0 12px;
  display: grid;
  color: var(--muted);
}

.review-pet strong {
  color: var(--ink);
}

.product-page .service-strip {
  display: none;
}

@media (max-width: 1180px) {
  .breadcrumbs,
  .product-shell,
  .product-hero {
    width: calc(100% - 48px);
  }

  .product-hero {
    grid-template-columns: 1fr;
  }

  .product-summary {
    padding-top: 0;
  }

  .kit-grid,
  .details-grid,
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }
}

@media (max-width: 760px) {
  .breadcrumbs,
  .product-shell,
  .product-hero {
    width: calc(100% - 28px);
  }

  .breadcrumbs {
    overflow: auto;
    white-space: nowrap;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .thumbs {
    grid-template-columns: repeat(5, 1fr);
    order: 2;
  }

  .thumbs button {
    width: auto;
    height: 72px;
  }

  .main-media {
    height: 480px;
  }

  .product-summary h1 {
    font-size: 42px;
  }

  .summary-rating {
    grid-template-columns: 1fr;
  }

  .summary-rating a {
    justify-self: start;
  }

  .size-options,
  .kit-grid,
  .features-row,
  .details-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .kit-item {
    margin-right: 0;
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quote-card {
    min-height: 420px;
  }
}
