.product-detail {
  min-height: calc(100vh - 12rem);
  margin-top: calc(-1 * var(--site-header-height, 7rem));
  padding: calc(var(--site-header-height, 7rem) + 2.5rem) 0 4.5rem;
  background-color: #fff9f2;
}

.product-detail__container {
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.product-detail__breadcrumb {
  margin-bottom: 2rem;
}

.product-detail__breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0.35rem 0;
}

.product-detail__breadcrumb-item {
  display: inline-flex;
  align-items: center;
  font-family: "Quicksand", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-detail__breadcrumb-item + .product-detail__breadcrumb-item::before {
  content: "/";
  margin: 0 0.55rem;
  color: #9a9289;
  font-weight: 500;
  letter-spacing: 0;
}

.product-detail__breadcrumb-link {
  color: #b5aea6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-detail__breadcrumb-link:hover,
.product-detail__breadcrumb-link:focus-visible {
  color: #8a8279;
  text-decoration: underline;
}

.product-detail__breadcrumb-current {
  color: #4a433d;
  font-weight: 700;
}

.product-detail__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
}

.product-detail__hero.is-health-claim-open {
  align-items: start;
}

.product-detail__hero.is-health-claim-open .product-detail__media,
.product-detail__hero.is-health-claim-open .product-detail__media-card,
.product-detail__hero.is-health-claim-open .product-detail__info {
  height: auto;
}

.product-detail__media {
  min-width: 0;
  height: 100%;
}

.product-detail__media-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 2px solid rgba(91, 63, 122, 0.16);
  border-radius: 1.75rem;
  background: linear-gradient(145deg, #f8f2ff 0%, #efe8f8 55%, #f7f0ea 100%);
  box-shadow:
    0 1.25rem 2.75rem rgba(74, 55, 40, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.product-detail__gallery {
  padding: 0.85rem;
  border-top: 1px solid rgba(91, 63, 122, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.15) 100%);
}

.product-detail__gallery-grid {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(91, 63, 122, 0.35) transparent;
}

.product-detail__gallery-grid::-webkit-scrollbar {
  height: 0.35rem;
}

.product-detail__gallery-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background-color: rgba(91, 63, 122, 0.35);
}

.product-detail__gallery-thumb,
.product-detail__gallery-placeholder {
  flex: 0 0 calc((100% - 1.3rem) / 3);
  width: calc((100% - 1.3rem) / 3);
  aspect-ratio: 1;
  border-radius: 0.85rem;
  scroll-snap-align: start;
}

.product-detail__gallery-thumb {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 8px;
  border: 2px solid rgba(91, 63, 122, 0.14);
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.product-detail__gallery-thumb:hover,
.product-detail__gallery-thumb:focus-visible {
  border-color: rgba(91, 63, 122, 0.35);
  box-shadow: 0 0.35rem 0.85rem rgba(74, 55, 40, 0.08);
}

.product-detail__gallery-thumb.is-active {
  border-color: rgba(91, 63, 122, 0.45);
  box-shadow: 0 0.35rem 0.85rem rgba(91, 63, 122, 0.15);
}

.product-detail__gallery-thumb-image {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  border-radius: 0.55rem;
  object-fit: contain;
  object-position: center;
}

.product-detail__gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(91, 63, 122, 0.18);
  background: linear-gradient(145deg, #faf7ff 0%, #f5f0ea 100%);
  color: rgba(91, 63, 122, 0.28);
}

.product-detail__gallery-placeholder-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.product-detail__image-frame {
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0.85rem 0.85rem 0.65rem;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: zoom-in;
  text-align: left;
}

.product-detail__image-frame:focus-visible {
  outline: 2px solid rgba(91, 63, 122, 0.45);
  outline-offset: 0.2rem;
}

.product-detail__image-shell {
  position: relative;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 100%;
  padding: 8px;
  aspect-ratio: 4 / 3;
  border-radius: 1.1rem;
  overflow: hidden;
  background-color: #faf6f2;
}

.product-detail__image-zoom-icon {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #5b3f7a;
  box-shadow: 0 0.25rem 0.7rem rgba(74, 55, 40, 0.14);
  pointer-events: none;
}

.product-detail__image-zoom-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.product-detail__image {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  border-radius: 0.75rem;
  object-fit: contain;
  object-position: center;
  transform-origin: center center;
}

.product-detail__info {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  height: 100%;
  min-height: 0;
}

.product-detail__info-main {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 0 0 auto;
}

.product-detail__health-claim {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: 100%;
  min-height: 0;
}

.product-detail__health-claim-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.9rem 1.35rem;
  border: 2px solid rgba(91, 63, 122, 0.35);
  border-radius: 12px;
  background: transparent;
  font-family: "Quicksand", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #5b3f7a;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.product-detail__health-claim-toggle-label {
  flex: 1 1 auto;
  min-width: 0;
}

.product-detail__health-claim-toggle-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
}

.product-detail__health-claim-toggle-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.25s ease;
}

.product-detail__health-claim-toggle[aria-expanded="true"] .product-detail__health-claim-toggle-icon svg {
  transform: rotate(45deg);
}

.product-detail__health-claim-toggle:hover,
.product-detail__health-claim-toggle:focus-visible {
  border-color: rgba(91, 63, 122, 0.55);
  color: #4a3263;
}

.product-detail__health-claim-panel {
  display: none;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 1rem;
  border: 2px solid rgba(91, 63, 122, 0.12);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(248, 242, 255, 0.55) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.product-detail__info.is-health-claim-open .product-detail__health-claim-panel {
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(91, 63, 122, 0.35) transparent;
}

.product-detail__health-claim-panel::-webkit-scrollbar {
  width: 0.4rem;
}

.product-detail__health-claim-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background-color: rgba(91, 63, 122, 0.35);
}

.product-detail__health-claim-list {
  margin: 0;
  padding: 1.2rem 1.35rem 1.35rem;
  list-style: none;
}

.product-detail__health-claim-list li {
  position: relative;
  padding-left: 1.5rem;
  font-family: "Quicksand", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  color: #3f3a36;
}

.product-detail__health-claim-list li + li {
  margin-top: 0.9rem;
}

.product-detail__health-claim-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -0.12em;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  color: #2a2623;
}

.product-detail__title {
  margin: 0;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(2.15rem, 4.5vw, 3.35rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #6c6114;
}

.product-detail__form {
  margin: 0;
}

.product-detail__form-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  background-color: #ede6f5;
  font-family: "Quicksand", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: #5b3f7a;
}

.product-detail__description {
  margin: 0;
  max-width: 34rem;
  font-family: "Quicksand", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  font-weight: 500;
  line-height: 1.75;
  color: #6e6259;
}

.product-detail__ingredients {
  margin: 0;
  max-width: 34rem;
  font-family: "Quicksand", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  font-weight: 500;
  line-height: 1.75;
  color: #6e6259;
}

.product-detail__ingredients-label {
  font-weight: 700;
  color: #6c6114;
}

.product-detail__ingredients-accent {
  font-size: 1.12em;
  font-weight: 700;
  color: #e3a008;
}

.product-detail__flavor {
  --product-accent: #e3a008;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 34rem;
}

.product-detail__flavor-card {
  position: relative;
  overflow: hidden;
  padding: 1rem 1.2rem 1.05rem;
  border-radius: 1.35rem;
}

.product-detail__flavor-card--special {
  color: var(--product-accent);
  background: color-mix(in srgb, var(--product-accent) 14%, #fffdf8);
  border: 2px solid color-mix(in srgb, var(--product-accent) 38%, #fff);
  box-shadow: 0 0.85rem 1.6rem color-mix(in srgb, var(--product-accent) 18%, transparent);
}

.product-detail__flavor-card--base {
  background: linear-gradient(180deg, #fffaf3 0%, #f7efe4 100%);
  border: 2px dashed #e4d3c0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.product-detail__flavor-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.4rem;
  font-family: "Fredoka", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail__flavor-card--special .product-detail__flavor-kicker {
  color: var(--product-accent);
}

.product-detail__flavor-card--base .product-detail__flavor-kicker {
  color: #a58b72;
}

.product-detail__flavor-sparkle {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 0.1rem;
  background: var(--product-accent);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--product-accent) 18%, transparent);
}

.product-detail__flavor-value {
  margin: 0;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
}

.product-detail__flavor-card--base .product-detail__flavor-value {
  font-family: "Quicksand", sans-serif;
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  font-weight: 600;
  color: #6b5e54;
}

.product-detail__kub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  max-width: 34rem;
  font-family: "Quicksand", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  font-weight: 500;
  line-height: 1.75;
  color: #6e6259;
}

.product-detail__kub-label {
  font-weight: 700;
  color: #6c6114;
}

.product-detail__kub-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.15rem 0;
  color: #6c6114;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.product-detail__kub-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.product-detail__kub-link:hover,
.product-detail__kub-link:focus-visible {
  color: #5a5211;
  transform: translateY(-1px);
}

.product-detail__kub-missing {
  font-size: 0.95rem;
  font-weight: 600;
  color: #9a9289;
}

.product-detail__details {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 3rem;
}

.product-detail__nutrition-stack {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 0.85rem 2rem rgba(74, 55, 40, 0.06);
}

.product-detail__nutrition-stack:not(.is-expanded) {
  align-self: stretch;
}

.product-detail__nutrition-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  background-color: #fff;
  box-shadow: none;
  transition: border-radius 0.45s ease;
}

.product-detail__nutrition-stack.is-expanded .product-detail__nutrition-card {
  border-bottom-left-radius: 0.85rem;
  border-bottom-right-radius: 0.85rem;
}

.product-detail__nutrition-head {
  padding: 1.35rem 1.5rem 1.15rem;
  background: linear-gradient(135deg, #f8e8dc 0%, #f3ddd0 100%);
}

.product-detail__nutrition-title {
  margin: 0;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #5c3d2e;
}

.product-detail__nutrition-subtitle {
  margin: 0.45rem 0 0;
  font-family: "Quicksand", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
  color: #8a7568;
}

.product-detail__nutrition-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 0 1.5rem 1.25rem;
}

.product-detail__nutrition-table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  margin-right: -0.35rem;
  padding-right: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(91, 63, 122, 0.35) transparent;
}

.product-detail__nutrition-table-wrap::-webkit-scrollbar {
  width: 0.4rem;
}

.product-detail__nutrition-table-wrap::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background-color: rgba(91, 63, 122, 0.35);
}

.product-detail__nutrition-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Quicksand", sans-serif;
}

.product-detail__nutrition-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 1rem 0 0.85rem;
  border-bottom: 1px solid rgba(92, 61, 46, 0.12);
  background-color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  color: #9a8578;
}

.product-detail__nutrition-table thead th:last-child,
.product-detail__nutrition-table tbody td:last-child {
  text-align: right;
}

.product-detail__nutrition-table tbody th,
.product-detail__nutrition-table tbody td {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(92, 61, 46, 0.08);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  color: #6e6259;
  text-align: left;
  vertical-align: top;
}

.product-detail__nutrition-table tbody th {
  font-weight: 700;
  color: #4a433d;
}

.product-detail__nutrition-table tbody td:last-child {
  font-weight: 600;
  color: #5c5348;
}

.product-detail__nutrition-table tbody tr:last-child th,
.product-detail__nutrition-table tbody tr:last-child td {
  border-bottom: none;
}

.product-detail__nutrition-empty {
  padding: 2.5rem 0;
  border-bottom: none !important;
  font-family: "Quicksand", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center !important;
  color: #9a8578;
}

.product-detail__nutrition-footnotes {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: flex-start;
  text-align: left;
}

.product-detail__nutrition-footnote {
  margin: 0;
  font-family: "Quicksand", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  color: #a39588;
}

.product-detail__nutrition-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.85rem;
}

.product-detail__nutrition-toggle {
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: "Quicksand", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
  color: #a06a45;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
  transition: color 0.2s ease;
}

.product-detail__nutrition-toggle:hover,
.product-detail__nutrition-toggle:focus-visible {
  color: #8b5a2b;
}

.product-detail__nutrition-card.is-expanded .product-detail__nutrition-table-wrap {
  overflow-y: visible;
  flex: 0 0 auto;
}

.product-detail__nutrition-extra-shell {
  overflow: hidden;
  max-height: 0;
  margin: -0.4rem 0 0;
  padding: 0;
  transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-detail__nutrition-extra-shell.is-open {
  max-height: var(--nutrition-extra-height, 40rem);
}

.product-detail__nutrition-extra-card {
  padding: 1.15rem 1.5rem 1.25rem;
  border: none;
  border-top: 1px solid rgba(92, 61, 46, 0.08);
  border-radius: 0 0 1.5rem 1.5rem;
  background: linear-gradient(180deg, #f5efe4 0%, #ebe4d8 100%);
  box-shadow: none;
  font-family: "Quicksand", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.6;
  color: #5f564e;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease;
}

.product-detail__nutrition-extra-shell.is-open .product-detail__nutrition-extra-card {
  transform: translateY(0);
  opacity: 1;
}

.product-detail__nutrition-extra-card p {
  margin: 0;
}

.product-detail__nutrition-extra-card table {
  width: 100%;
  border-collapse: collapse;
}

.product-detail__nutrition-extra-card tr th,
.product-detail__nutrition-extra-card tr td {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(92, 61, 46, 0.08);
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}

.product-detail__nutrition-extra-card tr th {
  font-weight: 700;
  color: #4a433d;
}

.product-detail__nutrition-extra-card tr td:last-child {
  text-align: right;
  font-weight: 600;
  color: #5c5348;
}

.product-detail__nutrition-extra-card tr:last-child th,
.product-detail__nutrition-extra-card tr:last-child td {
  border-bottom: none;
}

.product-detail__sidecards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-self: start;
  min-height: 0;
}

.product-detail__info-card {
  padding: 1.35rem 1.35rem 1.25rem;
  border-radius: 1.5rem;
  box-shadow: 0 0.65rem 1.5rem rgba(74, 55, 40, 0.05);
}

.product-detail__info-card--physician {
  background: linear-gradient(145deg, #fbf0cf 0%, #f6e7b8 100%);
}

.product-detail__info-card--storage {
  background: linear-gradient(145deg, #f1ece7 0%, #e8e2dc 100%);
}

.product-detail__info-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background-color: #fff;
  color: #6c6114;
  box-shadow: 0 0.35rem 0.85rem rgba(74, 55, 40, 0.08);
}

.product-detail__info-card-icon svg,
.product-detail__info-card-image {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
}

.product-detail__info-card--storage .product-detail__info-card-icon {
  color: #6e6259;
}

.product-detail__info-card-title {
  margin: 0 0 0.75rem;
  font-family: "Fredoka", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: #6c6114;
}

.product-detail__info-card--storage .product-detail__info-card-title {
  color: #5c5348;
}

.product-detail__info-card-text {
  margin: 0;
  font-family: "Quicksand", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.65;
  color: #6e6259;
}

.product-detail__info-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 1rem 0 0;
  font-family: "Quicksand", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  color: #6c6114;
}

.product-detail__info-card-badge svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.product-detail__info-card-pill {
  display: inline-flex;
  margin: 1rem 0 0;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background-color: #fff;
  font-family: "Quicksand", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  color: #6e6259;
  box-shadow: 0 0.2rem 0.55rem rgba(74, 55, 40, 0.06);
}

.product-detail__related {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(91, 63, 122, 0.12);
}

.product-detail__related-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
}

.product-detail__related-title {
  margin: 0;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: #5c3d2e;
}

.product-detail__related-note {
  margin: 0;
  font-family: "Quicksand", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  color: #9a9289;
}

.product-detail__related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-detail__related-item {
  min-width: 0;
}

.product-detail__related .product-card {
  padding: 0.75rem;
  border-radius: 1.35rem;
}

.product-detail__related .product-card__media {
  margin-bottom: 0.65rem;
}

.product-detail__related .product-card__image-wrap {
  border-radius: 1rem;
}

.product-detail__related .product-card__category-badge {
  margin-top: 0.4rem;
  padding: 0.22rem 0.45rem 0.22rem 0.3rem;
}

.product-detail__related .product-card__category-badge-icon {
  width: 1rem;
  height: 1rem;
}

.product-detail__related .product-card__category-badge-text {
  font-size: 0.68rem;
}

.product-detail__related .product-card__title {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
  min-height: calc(1.05rem * 1.3 * 2);
}

.product-detail__related .product-card__ingredients {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  line-height: 1.45;
}

.product-detail__related .product-card__cta {
  min-width: 6.5rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
}

@media (max-width: 991.98px) {
  .product-detail__related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail__details {
    grid-template-columns: 1fr;
  }

  .product-detail__nutrition-card {
    max-height: 24rem;
  }

  .product-detail__nutrition-stack.is-expanded .product-detail__nutrition-card {
    max-height: none;
  }

  .product-detail__hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
  }

  .product-detail__media,
  .product-detail__media-card,
  .product-detail__info {
    height: auto;
  }

  .product-detail__info.is-health-claim-open .product-detail__health-claim {
    flex: 0 0 auto;
    overflow: visible;
  }

  .product-detail__info.is-health-claim-open .product-detail__health-claim-panel {
    flex: 0 0 auto;
    min-height: 10rem;
    max-height: min(24rem, 55vh);
    overflow-y: auto;
  }

  .product-detail__info {
    gap: 1rem;
  }
}

@media (max-width: 575.98px) {
  .product-detail {
    padding-top: calc(var(--site-header-height, 7rem) + 1.75rem);
  }

  .product-detail__container {
    padding: 0 1.15rem;
  }

  .product-detail__breadcrumb {
    margin-bottom: 1.25rem;
  }

  .product-detail__related {
    margin-top: 2.5rem;
    padding-top: 2rem;
  }

  .product-detail__related-grid {
    grid-template-columns: 1fr;
  }

  .product-detail__image-frame {
    border-radius: 1.35rem;
  }
}

body.product-detail-lightbox-open {
  overflow: hidden;
}

.product-detail-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.product-detail-lightbox.is-visible {
  opacity: 1;
  visibility: visible;
}

.product-detail-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 20, 18, 0.82);
}

.product-detail-lightbox__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.75rem;
  width: min(96vw, 72rem);
  height: min(88vh, 52rem);
}

.product-detail-lightbox__close {
  position: absolute;
  top: -0.15rem;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.product-detail-lightbox__close svg {
  width: 1.2rem;
  height: 1.2rem;
}

.product-detail-lightbox__close:hover,
.product-detail-lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.24);
}

.product-detail-lightbox__toolbar {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.35rem;
}

.product-detail-lightbox__counter {
  min-width: 3.5rem;
  margin: 0;
  font-family: "Quicksand", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.product-detail-lightbox__nav--mobile {
  display: none;
}

.product-detail-lightbox__tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: "Quicksand", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.product-detail-lightbox__tool svg {
  width: 1rem;
  height: 1rem;
}

.product-detail-lightbox__tool:hover,
.product-detail-lightbox__tool:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

.product-detail-lightbox__tool--reset {
  min-width: 4.25rem;
}

.product-detail-lightbox__nav {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.product-detail-lightbox__nav svg {
  width: 1.2rem;
  height: 1.2rem;
}

.product-detail-lightbox__nav:hover,
.product-detail-lightbox__nav:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

.product-detail-lightbox__viewport {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  touch-action: none;
  cursor: zoom-in;
}

.product-detail-lightbox__viewport.is-zoomed {
  cursor: grab;
}

.product-detail-lightbox__viewport.is-grabbing {
  cursor: grabbing;
}

.product-detail-lightbox__viewport.is-swiping {
  cursor: grab;
}

.product-detail-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 767.98px) {
  .product-detail-lightbox {
    padding: 0;
    align-items: stretch;
  }

  .product-detail-lightbox__panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-height: none;
    gap: 0;
    padding: 0.85rem 0.85rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  }

  .product-detail-lightbox__close {
    position: fixed;
    top: calc(0.85rem + env(safe-area-inset-top, 0px));
    right: 0.85rem;
    z-index: 3;
  }

  .product-detail-lightbox__toolbar {
    order: 3;
    flex-shrink: 0;
    margin-top: 0.75rem;
    padding: 0 0.15rem;
  }

  .product-detail-lightbox__nav:not(.product-detail-lightbox__nav--mobile) {
    display: none;
  }

  .product-detail-lightbox__nav--mobile {
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
    flex-shrink: 0;
  }

  .product-detail-lightbox__viewport {
    order: 2;
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 3.25rem;
    border-radius: 0.85rem;
  }
}
