.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
}

.product-header > a:last-child {
  color: var(--plum);
  font-weight: 700;
}

.product-detail {
  padding-top: 28px;
  padding-bottom: 96px;
}

.product-breadcrumb {
  margin-bottom: 32px;
  color: var(--plum);
  font-size: 0.9rem;
}

.product-breadcrumb a:hover {
  text-decoration: underline;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.product-detail-art {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.product-detail-art img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: calc(26px - 20px);
}

.product-detail-info h1 {
  margin: 12px 0 20px;
  color: var(--plum);
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 4vw, 4.25rem);
  line-height: 1.08;
}

.product-detail-info > p {
  line-height: 1.7;
}

.product-detail-price {
  color: var(--plum);
  font-size: 1.6rem;
  font-weight: 700;
}

.product-detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

@media (max-width: 800px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-detail-art {
    padding: 12px;
  }

  .product-header .brand-logo {
    width: 160px;
  }
}

@media (max-width: 480px) {
  .product-detail-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .product-detail-art img {
    border-radius: calc(26px - 12px);
  }
}

/* Product detail: extended description */
.product-story {
  max-width: 820px;
  margin: 88px auto 0;
  padding: 48px 52px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
}

.product-story h2 {
  margin: 8px 0 24px;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.15;
  color: var(--plum);
}

.product-story > p:not(.eyebrow) {
  margin: 0 0 18px;
  line-height: 1.8;
  color: var(--ink);
}

.product-story > p:last-child {
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .product-story {
    margin-top: 56px;
    padding: 30px 24px;
  }
}

/* Product detail: included features */
.product-features {
  margin-top: 88px;
}

.product-features .section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.product-features h2 {
  margin: 8px 0 0;
  color: var(--plum);
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.2;
}

.product-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  line-height: 1.5;
}

.product-feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light-lime);
  color: var(--plum);
  font-weight: 700;
}

@media (max-width: 800px) {
  .product-features {
    margin-top: 56px;
  }

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

  .product-feature {
    padding: 18px;
  }
}

/* Product detail: FAQ */
.product-faq {
  max-width: 880px;
  margin: 88px auto 0;
}

.product-faq .section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.product-faq h2 {
  margin: 8px 0 0;
  color: var(--plum);
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.2;
}

.product-faq-list {
  display: grid;
  gap: 12px;
}

.product-faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.product-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  color: var(--plum);
  font-weight: 700;
  list-style: none;
}

.product-faq-item summary::-webkit-details-marker {
  display: none;
}

.product-faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.product-faq-item[open] summary::after {
  content: '−';
}

.product-faq-item summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -3px;
}

.product-faq-item p {
  margin: 0;
  padding: 0 26px 24px;
  color: var(--ink);
  line-height: 1.75;
}

@media (max-width: 800px) {
  .product-faq {
    margin-top: 56px;
  }

  .product-faq-item summary {
    padding: 18px 20px;
  }

  .product-faq-item p {
    padding: 0 20px 20px;
  }
}

/* Product detail: guide and support */
.product-guide {
  max-width: 880px;
  margin: 64px auto 0;
}

.product-guide-content {
  padding: clamp(28px, 5vw, 48px);
  background: linear-gradient(135deg, var(--light-lime), var(--ivory));
  border: 1px solid var(--line);
  border-radius: 26px;
}

.product-guide h2 {
  margin: 8px 0 16px;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.15;
  color: var(--plum);
}

.product-guide-content > p:not(.eyebrow) {
  max-width: 650px;
  line-height: 1.75;
}

.product-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.product-guide-note {
  margin: 18px 0 0;
  font-size: 0.85rem;
  color: var(--plum);
}

@media (max-width: 600px) {
  .product-guide {
    margin-top: 48px;
  }

  .product-guide-actions {
    flex-direction: column;
  }

  .product-guide-actions .button {
    width: 100%;
  }
}

/* Product detail: how it works */
.product-steps {
  margin-top: 88px;
}

.product-steps .section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.product-steps h2 {
  margin: 8px 0 0;
  color: var(--plum);
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.2;
}

.product-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.product-step {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.product-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--light-lime);
  color: var(--plum);
  font-weight: 700;
}

.product-step h3 {
  margin: 24px 0 12px;
  color: var(--plum);
  font-size: 1.3rem;
}

.product-step p {
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 800px) {
  .product-steps {
    margin-top: 56px;
  }

  .product-steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-step {
    padding: 24px;
  }
}

/* Product detail: private editing access */
.product-access {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 24px 0;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.product-access-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--light-lime);
  color: var(--plum);
  font-size: 1.3rem;
}

.product-access h2 {
  margin: 0 0 6px;
  color: var(--plum);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.product-access p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .product-access {
    padding: 16px;
    gap: 12px;
  }
}

/* Product detail: sticky navigation anchors */
#whats-included,
#how-it-works,
#faq {
  scroll-margin-top: 130px;
}

@media (max-width: 800px) {
  #whats-included,
  #how-it-works,
  #faq {
    scroll-margin-top: 110px;
  }
}

/* Product detail: related invitations */
.product-related {
  margin-top: 88px;
}

.product-related .section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.product-related h2 {
  margin: 8px 0 0;
  color: var(--plum);
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.2;
}

.product-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-related-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.04);
}

.product-related-image {
  display: block;
  padding: 16px;
}

.product-related-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-related-info {
  padding: 4px 22px 24px;
}

.product-related-info h3 {
  margin: 0 0 10px;
  color: var(--plum);
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
}

.product-related-info p {
  margin: 0 0 18px;
  line-height: 1.6;
}

.product-related-link {
  color: var(--plum);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 800px) {
  .product-related {
    margin-top: 56px;
  }

  .product-related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Related products: consistent storefront styling */
.product-related-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 380px));
  justify-content: center;
}

.product-related-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(24, 24, 24, 0.08);
}

.product-related-info h3 {
  color: var(--ink);
}

.product-related-info h3 a:hover {
  color: var(--plum);
}

@media (max-width: 800px) {
  .product-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-related-card {
    transition: none;
  }

  .product-related-card:hover {
    transform: none;
  }
}

/* Product detail: desktop and mobile previews */
.product-screens {
  margin-top: 88px;
}

.product-screens .section-heading {
  text-align: center;
  margin-bottom: 36px;
}

.product-screens h2 {
  margin: 8px 0 12px;
  color: var(--plum);
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.2;
}

.product-screens .section-heading > p:last-child {
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.product-screens-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.75fr);
  gap: 24px;
  align-items: center;
}

.product-screen {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.product-screen-image {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.product-screen-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.product-screen-mobile .product-screen-image {
  max-width: 320px;
  margin: 0 auto;
}

.product-screen figcaption {
  margin-top: 16px;
  color: var(--plum);
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 800px) {
  .product-screens {
    margin-top: 56px;
  }

  .product-screens-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .product-screen-mobile .product-screen-image {
    max-width: 300px;
  }
}
