/* Product detail page (Protein Couscous) */

.page-product main {
  overflow-x: hidden;
}

/* —— Product hero —— */
.product-page {
  background: var(--color-section-purple);
  overflow: hidden;
  position: relative;
}

.product-hero {
  color: var(--color-off-white);
  overflow: hidden;
  padding: 0;
  position: relative;
}

.product-hero__bg {
  background: var(--color-section-purple);
  height: calc(100% + var(--site-header-clearance));
  left: 0;
  position: absolute;
  right: 0;
  top: calc(-1 * var(--site-header-clearance));
  z-index: 0;
}

.product-hero__inner {
  display: flex;
  flex-direction: column-reverse;
  gap: 32px;
  padding-top: calc(var(--site-header-clearance) + 24px);
  position: relative;
  z-index: 2;
}

@media (min-width: 1025px) {
  .product-hero__inner {
    align-items: center;
    flex-direction: row;
    gap: 48px;
    padding-top: calc(var(--site-header-clearance) + 40px);
  }
}

/* Packshot */
.product-hero__packshots {
  margin: 0 auto;
  max-width: 320px;
  overflow: hidden;
  padding: 20px 0;
  position: relative;
  width: 100%;
}

@media (min-width: 769px) {
  .product-hero__packshots {
    max-width: 480px;
  }
}

@media (min-width: 1025px) {
  .product-hero__packshots {
    width: 50%;
  }
}

.product-hero__mandala {
  animation: product-mandala-spin 51s linear infinite;
  color: var(--color-brars-red);
  inset: 0;
  opacity: 0.85;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.product-hero__mandala img {
  display: block;
  height: 100%;
  margin: 0 auto;
  object-fit: contain;
  width: 100%;
}

@keyframes product-mandala-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-hero__mandala {
    animation: none;
  }
}

.product-hero__pack {
  display: block;
  margin: 0 auto;
  max-width: 210px;
  position: relative;
  transform: rotate(-7deg) scale(1);
  width: 100%;
  z-index: 5;
}

@media (min-width: 769px) {
  .product-hero__pack {
    max-width: 280px;
  }
}

.page-product .product-hero__pack {
  max-width: 240px;
  transform: rotate(-7deg) scale(1.15);
}

@media (min-width: 769px) {
  .page-product .product-hero__pack {
    max-width: 340px;
  }
}

@media (min-width: 1025px) {
  .page-product .product-hero__pack {
    max-width: 420px;
    transform: rotate(-7deg) scale(1.3);
  }
}

.product-hero__sparkle {
  position: absolute;
  width: 24px;
  z-index: 4;
}

.product-hero__sparkle--1 {
  left: 16%;
  top: -3%;
  transform: rotate(-8deg);
}

.product-hero__sparkle--2 {
  left: 11%;
  top: 85%;
  transform: rotate(-40deg);
}

@media (min-width: 1025px) {
  .product-hero__sparkle--2 {
    left: auto;
    right: 10%;
    top: 35%;
  }
}

.product-hero__sparkle--3 {
  left: 52%;
  top: -12%;
  transform: rotate(60deg);
  width: 16px;
}

.product-hero__sparkle--4 {
  left: 76%;
  top: 92%;
  width: 18px;
}

.product-hero__sticker {
  position: absolute;
  width: 58px;
  z-index: 6;
}

@media (min-width: 769px) {
  .product-hero__sticker {
    width: 76px;
  }
}

.product-hero__sticker--1 {
  left: 5%;
  top: 26%;
  transform: rotate(-24deg);
}

.product-hero__sticker--2 {
  right: 8%;
  top: 0;
  transform: rotate(13deg);
}

.product-hero__sticker--3 {
  bottom: 22%;
  right: 7%;
  transform: rotate(16deg);
}

/* Meta */
.product-hero__meta {
  color: var(--color-off-white);
  flex: 1;
  padding-left: 24px;
  padding-right: 24px;
  text-align: center;
}

@media (min-width: 1025px) {
  .product-hero__meta {
    padding-left: 0;
    padding-right: 0;
    text-align: left;
    width: 50%;
  }
}

.product-hero__category {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.48px;
  line-height: 1;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.product-hero__title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 80%;
  margin: 0 0 24px;
  text-transform: uppercase;
}

@media (min-width: 1025px) {
  .product-hero__title {
    font-size: 6.25rem;
    letter-spacing: -3px;
    margin-bottom: 36px;
  }
}

.product-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

@media (min-width: 1025px) {
  .product-hero__tags {
    justify-content: flex-start;
    margin-bottom: 24px;
  }
}

.product-hero__tag {
  align-items: center;
  display: flex;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  gap: 3px;
  letter-spacing: -0.28px;
  line-height: 1;
}

@media (min-width: 1025px) {
  .product-hero__tag {
    font-size: 1.25rem;
    letter-spacing: -0.4px;
  }
}

.product-hero__tag img {
  flex-shrink: 0;
  height: 12px;
  width: 12px;
}

@media (min-width: 1025px) {
  .product-hero__tag img {
    height: 18px;
    width: 18px;
  }
}

.product-hero__facts {
  display: inline-block;
  margin: 0 auto 12px;
  max-width: 250px;
  width: 100%;
}

@media (min-width: 1025px) {
  .product-hero__facts {
    margin: 0 0 24px;
    max-width: 350px;
  }
}

.product-hero__facts div {
  display: flex;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  gap: 12px;
  justify-content: space-between;
  letter-spacing: -0.28px;
  line-height: 1;
  max-width: none;
  padding: 6px 8px;
  text-align: left;
}

@media (min-width: 1025px) {
  .product-hero__facts div {
    font-size: 1.25rem;
    letter-spacing: -0.4px;
    padding: 12px;
  }
}

.product-hero__facts div:not(:last-child) {
  border-bottom: 1px solid var(--color-off-white);
}

.product-hero__facts span:first-child {
  font-weight: 700;
}

.product-hero__description {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.14px;
  line-height: 1.2;
  margin: 0 auto 18px;
  max-width: 512px;
}

@media (min-width: 1025px) {
  .product-hero__description {
    font-size: 1.25rem;
    letter-spacing: -0.2px;
    margin: 0 0 24px;
    max-width: none;
  }
}

.product-hero__description--secondary {
  margin-top: 0;
}

.product-hero__actions {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 0;
}

@media (min-width: 1025px) {
  .product-hero__actions {
    align-items: flex-start;
  }
}

.page-product .product-hero__mandala {
  color: rgba(252, 250, 248, 0.12);
  opacity: 1;
}

.product-hero__story-link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.18px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-hero__story-link:hover {
  color: var(--color-brars-red);
}

/* —— Product FAQ (brars.com product page style) —— */
.product-faq {
  background: var(--color-section-tan);
  padding: 60px 0 100px;
}

@media (min-width: 1025px) {
  .product-faq {
    padding: 100px 0 140px;
  }
}

.product-faq__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.48px;
  line-height: 1;
  margin: 0 0 24px;
  text-transform: uppercase;
}

@media (min-width: 1025px) {
  .product-faq__title {
    font-size: 1.5rem;
    letter-spacing: -0.72px;
    margin-bottom: 32px;
  }
}

.product-faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-faq__item {
  border-radius: 16px;
  overflow: hidden;
}

@media (min-width: 1025px) {
  .product-faq__item {
    border-radius: 24px;
  }
}

.product-faq__toggle {
  align-items: center;
  border: none;
  color: var(--color-almost-black);
  cursor: pointer;
  display: flex;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  gap: 16px;
  justify-content: space-between;
  letter-spacing: -0.48px;
  line-height: 1.1;
  padding: 16px;
  text-align: left;
  text-transform: uppercase;
  width: 100%;
}

@media (min-width: 1025px) {
  .product-faq__toggle {
    font-size: 1.125rem;
    letter-spacing: -0.54px;
    padding: 20px;
  }
}

.product-faq__caret {
  align-items: center;
  background: var(--color-almost-black);
  border-radius: 6px;
  display: flex;
  flex-shrink: 0;
  height: 20px;
  justify-content: center;
  transition: transform 0.2s ease;
  width: 20px;
}

.product-faq__item.is-open .product-faq__caret {
  transform: rotate(180deg);
}

.product-faq__caret svg {
  display: block;
}

.product-faq__body {
  display: none;
  padding: 0 16px 16px;
}

.product-faq__item.is-open .product-faq__body {
  display: block;
}

@media (min-width: 1025px) {
  .product-faq__body {
    padding: 0 20px 20px;
  }
}

.product-faq__body p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.18px;
  line-height: 1.35;
  margin: 0;
}

@media (min-width: 1025px) {
  .product-faq__body p {
    font-size: 1.125rem;
    letter-spacing: -0.2px;
  }
}

