/* Product page landing — aligned with homepage design system. Purchase block stays in site.css. */

body.shop-page.shop-landing {
  background: #fcfaf6;
  color: #1a2420;
}

body.shop-page.shop-landing section[id],
body.shop-page.shop-landing footer[id] {
  scroll-margin-top: 5.5rem;
}

.shop-landing .section-shell {
  margin-inline: auto;
  max-width: 80rem;
  padding-inline: 1rem;
}

.shop-landing .display-title {
  max-width: 22ch;
  margin: 0;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: clamp(2.15rem, 4.4vw, 3.65rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.shop-landing .section-copy {
  max-width: 42rem;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(26, 36, 32, .72);
  text-wrap: pretty;
}

.shop-landing .section-copy.mt-4 { margin-top: 1rem; }

/* ——— Описание ——— */
#opisanie.product-desc {
  background: #fff;
  color: #214632;
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

#opisanie .product-desc__lead {
  margin: 1.15rem 0 0;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.24;
  color: #31583d;
  text-wrap: pretty;
}

#opisanie .product-desc__text {
  margin: 1.15rem 0 0;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #626e64;
}

#opisanie .ce-card {
  margin: 1.15rem 0 0;
  max-width: 40rem;
}
#opisanie .product-desc__facts {  display: grid;
  gap: .65rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

#opisanie .product-desc__facts li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.45;
  color: #314a38;
}

#opisanie .product-desc__facts li::before {
  content: "";
  flex: 0 0 .55rem;
  width: .55rem;
  height: .55rem;
  margin-top: .45rem;
  border-radius: 50%;
  background: #2f6b4f;
}

/* ——— Ползи ——— */
#polzi.product-benefits {
  background: #f1f4eb;
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

#polzi .product-benefits__intro { max-width: 42rem; }

#polzi .benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

#polzi .benefit-grid li {
  padding: 1.45rem 1.35rem 1.5rem;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 32, 24, .06);
}

#polzi .benefit-grid h3 {
  margin: 0;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  color: #214632;
}

#polzi .benefit-grid p {
  margin: .65rem 0 0;
  font-size: .95rem;
  line-height: 1.55;
  color: rgba(26, 36, 32, .68);
}

@media (max-width: 900px) {
  #polzi .benefit-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  #polzi .benefit-grid { grid-template-columns: 1fr; }
}

/* Methods (#bio / homeMethods) + crops (#crops) use the same home assets:
   method-illustrations.css, crops-garden.css, home-inline.css — do not restyle here. */

.shop-landing .shop-inline-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  margin-top: 1rem;
  font-weight: 800;
  color: #2f6b4f;
  text-decoration: underline;
  text-decoration-color: rgba(47, 107, 79, .25);
  text-underline-offset: .3rem;
}

/* ——— Препоръки ——— */
#preporaki.product-tips {
  background: #fff;
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

#preporaki .tips-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

#preporaki .tips-grid li {
  display: grid;
  gap: .45rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(26, 36, 32, .1);
  border-radius: 1.25rem;
  background: #fcfaf6;
}

#preporaki .tips-grid strong {
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: #214632;
}

#preporaki .tips-grid p {
  margin: 0;
  font-size: .98rem;
  line-height: 1.55;
  color: rgba(26, 36, 32, .7);
}

@media (max-width: 700px) {
  #preporaki .tips-grid { grid-template-columns: 1fr; }
}

/* ——— FAQ ——— */
#faq {
  background: #fcfaf6;
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

.shop-landing .faq-list { margin-top: 2.5rem; }
.shop-landing .faq-stack { display: flex; flex-direction: column; gap: 1rem; }
.shop-landing .faq-item {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid #d5d5d5;
  background: #fff;
  padding: 1rem 1.25rem;
  transition: box-shadow .45s cubic-bezier(.16, 1, .3, 1);
}
.shop-landing .faq-item[open] { box-shadow: 0 10px 40px -12px rgba(17, 24, 39, .12); }
.shop-landing .faq-summary {
  margin: 0;
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1a2420;
}
.shop-landing .faq-summary::-webkit-details-marker { display: none; }
.shop-landing .faq-chevron {
  display: inline-flex;
  flex-shrink: 0;
  transform-origin: 50% 55%;
  transition: transform .45s cubic-bezier(.33, 1, .68, 1);
}
.shop-landing .faq-chevron svg { width: 1rem; height: 1rem; }
.shop-landing .faq-item[open] .faq-chevron { transform: rotate(180deg); }
.shop-landing .faq-answer { overflow: hidden; }
.shop-landing .faq-item:not([open]) .faq-answer { height: 0; }
.shop-landing .faq-answer-body {
  padding-top: .75rem;
  font-size: .875rem;
  line-height: 1.65;
  color: #3f4a44;
  opacity: 0;
  transform: translate3d(0, -.375rem, 0);
  transition: opacity .2s cubic-bezier(.4, 0, .2, 1), transform .22s cubic-bezier(.4, 0, .2, 1);
}
.shop-landing .faq-item[open] .faq-answer-body {
  opacity: 1;
  transform: none;
  transition: opacity .4s cubic-bezier(.33, 1, .68, 1), transform .4s cubic-bezier(.33, 1, .68, 1);
  transition-delay: .04s;
}
.shop-landing .faq-answer-body p { margin: 0; }
.shop-landing .faq-answer-body p + p,
.shop-landing .faq-answer-body ul,
.shop-landing .faq-answer-body ol { margin-top: .75rem; }
.shop-landing .faq-answer-body ul,
.shop-landing .faq-answer-body ol { margin-bottom: 0; padding-left: 1.15rem; list-style: disc; }
.shop-landing .faq-answer-body li { display: list-item; }
.shop-landing .faq-answer-body a { font-weight: 700; color: #2f6b4f; }
.shop-landing .faq-extra { position: relative; margin-top: 1rem; }
.shop-landing .faq-extra-inner {
  overflow: hidden;
  transition: max-height .55s cubic-bezier(.33, 1, .68, 1);
}
.shop-landing .faq-extra:not(.is-expanded) .faq-extra-inner { max-height: 5.25rem; }
.shop-landing .faq-extra.is-expanded .faq-extra-inner { max-height: none; }
.shop-landing .faq-extra-fade {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  height: 7rem;
  background: linear-gradient(to bottom, rgba(252, 250, 246, 0), rgba(252, 250, 246, .85) 45%, #fcfaf6 100%);
  transition: opacity .4s ease;
}
.shop-landing .faq-extra.is-expanded .faq-extra-fade { opacity: 0; }
.shop-landing .faq-more-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
.shop-landing .faq-more {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: .75rem;
  border: 2px solid #1a2420;
  background: #fff;
  padding: .75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1a2420;
  cursor: pointer;
}
.shop-landing .faq-more:hover { background: #1a2420; color: #fff; }
.shop-landing .faq-more svg { width: 1rem; height: 1rem; transition: transform .3s; }
.shop-landing .faq-more[aria-expanded="true"] svg { transform: rotate(180deg); }

@media (min-width: 768px) {
  .shop-landing .faq-list { margin-top: 3rem; }
  .shop-landing .faq-item { padding: 1rem 1.5rem; }
  .shop-landing .faq-summary { font-size: 1.125rem; }
  .shop-landing .faq-answer-body { font-size: 1rem; }
}

/* ——— Quick order modal ——— */
.quick-order-modal {
  width: min(32rem, calc(100% - 2rem));
  max-height: min(92vh, 40rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 1.5rem;
  background: transparent;
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(12, 24, 16, .28);
}
.quick-order-modal::backdrop {
  background: rgba(10, 20, 14, .55);
}
.quick-order-modal__panel {
  position: relative;
  overflow: auto;
  max-height: inherit;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: inherit;
  background: #fff;
}
.quick-order-modal__close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink);
  cursor: pointer;
}
.quick-order-modal__close svg {
  width: 1.15rem;
  height: 1.15rem;
}
.quick-order-modal .display-title {
  max-width: 12ch;
  padding-right: 2rem;
}
.quick-order-modal .form-grid {
  margin-top: 1.5rem;
  width: 100%;
}
.quick-order-modal .button {
  justify-self: start;
}
.quick-order-form__error {
  margin: 0;
  grid-column: 1 / -1;
  color: #8a1f1f;
  font-weight: 700;
  font-size: 0.92rem;
}

/* Calculator CTA uses calculator-invitation.css */
body.shop-landing #calculator { margin: 0; }
body.shop-landing #calculator .calculator {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
body.shop-landing #calculator .calc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
}

/* Reviews title width on product page */
body.shop-landing #reviews-title { max-width: 14ch; }

/* Garden CTA button on product page scrolls to purchase */
body.shop-landing #garden-cta .garden-cta__button {
  cursor: pointer;
}
