:root {
  --commerce-ink: #183328;
  --commerce-paper: #f7f4ee;
  --commerce-warm: #efe7db;
  --commerce-line: rgba(24, 51, 40, .18);
  --commerce-accent: #9c493f;
}

.shop-page .shop-hero {
  display: flex;
  min-height: 430px;
  align-items: center;
  padding: 70px 0;
  background-image: linear-gradient(90deg, rgba(16, 28, 22, .9) 0%, rgba(16, 28, 22, .7) 42%, rgba(16, 28, 22, .08) 72%), url("product-photos/kive-new-line/skin-renewal-story.webp");
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: left;
}

.shop-page .shop-hero .wrap {
  width: 100%;
}

.shop-page .shop-hero-copy {
  max-width: 610px;
}

.shop-page .shop-hero .eyebrow,
.shop-page .shop-hero p {
  color: rgba(255, 255, 255, .78);
}

.shop-page .shop-hero h1 {
  max-width: 8em;
  margin: 10px 0 18px;
  color: #fff;
  font-size: clamp(3.6rem, 6vw, 6.6rem);
  line-height: .92;
}

.shop-page .shop-hero p {
  max-width: 39em;
  margin: 0 0 26px;
  font-size: 1rem;
  line-height: 1.65;
}

.shop-page .btn-light {
  border-color: #fff;
  background: #fff;
  color: var(--commerce-ink);
}

.shop-goals {
  padding: 42px 0;
  border-bottom: 1px solid var(--commerce-line);
  background: #fff;
}

.shop-goals-inner {
  display: grid;
  grid-template-columns: minmax(250px, .75fr) minmax(0, 1.45fr);
  gap: 56px;
  align-items: end;
}

.shop-goals-copy h2 {
  margin: 6px 0;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1;
}

.shop-goals-copy p {
  margin: 0;
  color: var(--muted);
}

.shop-goal-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--commerce-line);
  border-left: 1px solid var(--commerce-line);
}

.shop-goal-nav button {
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-right: 1px solid var(--commerce-line);
  border-bottom: 1px solid var(--commerce-line);
  border-radius: 0;
  background: #fff;
  color: var(--commerce-ink);
  font: 700 .76rem/1.2 var(--font-sans);
  cursor: pointer;
}

.shop-goal-nav button:hover,
.shop-goal-nav button[aria-pressed="true"] {
  background: var(--commerce-ink);
  color: #fff;
}

.shop-page .shop-products {
  padding: 44px 0 82px;
  background: var(--commerce-paper);
}

.shop-page .shop-toolbar {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--commerce-line);
}

.shop-page .shop-toolbar p {
  margin: 0;
}

.shop-page .shop-toolbar a {
  color: var(--commerce-ink);
  font-weight: 800;
}

.shop-page .shop-filter-shell {
  position: sticky;
  top: 78px;
  z-index: 8;
  margin: 0 0 28px;
  padding: 12px 0;
  background: rgba(247, 244, 238, .96);
  backdrop-filter: blur(10px);
}

.shop-page .shop-filter-grid-simple {
  display: flex;
  justify-content: flex-end;
  align-items: end;
  gap: 10px;
  padding: 0;
  border: 0;
}

.shop-page .shop-filter-grid-simple label {
  width: min(260px, 100%);
}

.shop-page .shop-filter-grid-simple select {
  min-height: 44px;
  background: #fff;
}

.shop-page .shop-filter-grid-simple .btn {
  min-height: 44px;
}

.shop-page .shop-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 22px;
}

.shop-page .product-card {
  border: 1px solid var(--commerce-line);
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
}

.shop-page .product-card::before {
  display: none;
}

.shop-page .product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -38px rgba(20, 36, 28, .45);
}

.shop-page .product-card .product-photo-visual {
  min-height: 0;
  aspect-ratio: 1 / 1;
  background: #f4eee5 !important;
}

.shop-page .product-card .product-photo-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transform: none;
}

.shop-page .product-card-body {
  gap: 9px;
  padding: 20px;
}

.shop-page .product-card h3 {
  min-height: 2.04em;
  margin: 2px 0 0;
  font-size: 1.75rem;
}

.shop-page .product-card .product-peptide {
  margin: 0;
  color: var(--commerce-accent);
  font-size: .7rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
}

.shop-page .product-card .product-benefit {
  display: -webkit-box;
  min-height: 4.65em;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.shop-page .product-card .card-row {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--commerce-line);
}

.shop-page .product-card .mini-btn {
  min-height: 42px;
  padding: 11px 15px;
  border-radius: 2px;
  box-shadow: none;
}

.shop-page .shop-routine-note {
  align-items: center;
}

.product-page .fixed-pdp {
  padding: 30px 0 72px;
  background: var(--commerce-paper);
}

.product-page .pdp-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--commerce-ink);
  font-size: .78rem;
  font-weight: 800;
}

.product-page .fixed-pdp .pdp-grid {
  grid-template-columns: minmax(440px, 1.08fr) minmax(390px, .92fr);
  gap: clamp(52px, 7vw, 104px);
  align-items: start;
}

.product-page .pdp-gallery {
  position: sticky;
  top: 116px;
}

.product-page .pdp-image-button {
  min-height: 0;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--commerce-line);
  border-radius: 2px;
  background: #f2eadf;
}

.product-page .pdp-main-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.product-page .pdp-image-tabs button {
  border-radius: 0;
}

.product-page .pdp-summary {
  padding-top: 18px;
}

.product-page .pdp-summary h1 {
  max-width: 9em;
  margin: 8px 0 12px;
  font-size: clamp(3.6rem, 5vw, 5.8rem);
  line-height: .91;
}

.product-page .pdp-summary .pdp-peptide {
  margin: 0 0 18px;
  color: var(--commerce-accent);
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: none;
}

.product-page .pdp-summary .lead {
  max-width: 37em;
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.65;
}

.pdp-quick-facts {
  margin: 0;
  border-top: 1px solid var(--commerce-line);
}

.pdp-quick-facts > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--commerce-line);
}

.pdp-quick-facts dt {
  color: var(--commerce-ink);
  font-size: .7rem;
  font-weight: 800;
}

.pdp-quick-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

.product-page .pdp-status-price.is-out-of-stock {
  margin: 22px 0 14px;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid var(--commerce-line);
  border-bottom: 1px solid var(--commerce-line);
  background: transparent;
}

.product-page .pdp-status-price.is-out-of-stock b {
  font-size: 1.45rem;
}

.product-page .pdp-status-price.is-out-of-stock span {
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--commerce-accent);
}

.product-page .fixed-waitlist-form {
  padding: 18px;
  border: 1px solid var(--commerce-line);
  border-radius: 2px;
  background: #fff;
}

.product-page .fixed-waitlist-form > label {
  color: var(--commerce-ink);
}

.product-page .fixed-waitlist-form input,
.product-page .fixed-waitlist-form .btn {
  border-radius: 2px;
}

.product-page .pdp-details-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--commerce-ink);
  font-size: .75rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-page .product-overview {
  padding: 64px 0;
  background: #fff;
}

.product-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 8vw, 120px);
}

.product-overview-grid .detail {
  padding-top: 20px;
  border-top: 1px solid var(--commerce-line);
}

.product-overview-grid .detail h2 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 3vw, 3.25rem);
}

.product-overview-grid .detail p,
.product-overview-grid .detail li {
  color: var(--muted);
  line-height: 1.65;
}

.product-overview-grid .detail ul {
  margin: 0;
  padding-left: 18px;
}

.product-page .peptide-education,
.product-page #product-details {
  padding-top: clamp(68px, 7vw, 104px);
  padding-bottom: clamp(68px, 7vw, 104px);
}

.product-page .product-story-hero img {
  max-height: 760px;
  object-fit: cover;
}

.product-page #relatedGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .shop-page .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-page .fixed-pdp .pdp-grid {
    grid-template-columns: 1fr;
  }

  .product-page .pdp-gallery {
    position: static;
  }
}

@media (max-width: 760px) {
  .shop-page .shop-hero {
    min-height: 390px;
    padding: 48px 0;
    background-position: 58% center;
  }

  .shop-page .shop-hero h1 {
    max-width: 7em;
    font-size: 3.2rem;
  }

  .shop-page .shop-hero p {
    max-width: 29em;
    font-size: .88rem;
  }

  .shop-goals {
    padding: 34px 0 0;
  }

  .shop-goals-inner {
    display: block;
  }

  .shop-goals-copy {
    padding-bottom: 24px;
  }

  .shop-goal-nav {
    display: flex;
    width: calc(100% + 40px);
    margin-left: -20px;
    overflow-x: auto;
    border-left: 0;
    scrollbar-width: thin;
  }

  .shop-goal-nav button {
    flex: 0 0 auto;
    min-width: 112px;
  }

  .shop-page .shop-products {
    padding: 30px 0 64px;
  }

  .shop-page .shop-toolbar {
    display: grid;
    gap: 7px;
  }

  .shop-page .shop-filter-shell {
    top: 68px;
  }

  .shop-page .shop-filter-grid-simple {
    justify-content: stretch;
  }

  .shop-page .shop-filter-grid-simple label {
    flex: 1;
  }

  .shop-page .product-card-body {
    padding: 18px;
  }

  .shop-page .product-card h3 {
    min-height: 0;
    font-size: 2rem;
  }

  .shop-page .product-card .product-benefit {
    min-height: 0;
    -webkit-line-clamp: 2;
  }

  .product-page .fixed-pdp {
    padding: 18px 0 54px;
  }

  .product-page .fixed-pdp .pdp-grid {
    gap: 22px;
    padding-inline: 0;
  }

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

  .product-page .pdp-summary h1 {
    font-size: 3rem;
  }

  .product-page .pdp-summary .lead {
    font-size: .9rem;
  }

  .product-page .pdp-status-price {
    flex-direction: row;
    align-items: center;
  }

  .product-overview-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .product-page #relatedGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shop-page .shop-filter-grid-simple {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .shop-page .product-card .product-photo-visual {
    aspect-ratio: 4 / 3;
  }

  .product-page .pdp-image-button {
    aspect-ratio: 1 / 1;
  }

  .product-page .pdp-summary h1 {
    font-size: 2.65rem;
  }

  .product-page .waitlist-row {
    grid-template-columns: 1fr;
  }

  .product-page .fixed-waitlist-form .btn {
    width: 100%;
  }

  .pdp-quick-facts > div {
    grid-template-columns: 78px minmax(0, 1fr);
  }
}

@media (max-width: 430px) {
  .shop-page #productGrid .product-card-body > .product-peptide {
    display: block;
    min-height: 2.7em;
    color: var(--commerce-accent);
    font-size: .64rem;
    line-height: 1.35;
  }
}

@media (max-width: 350px) {
  .shop-page #productGrid.shop-grid {
    grid-template-columns: 1fr;
  }
}
