/* ============================================================
   Claudify Single Product — split layout
   Text column (eyebrow + heading + desc + price + Shop Now)
   beside a portrait product image. Stacks on tablet/mobile.
   ============================================================ */

.claudify-singleproduct {
  background-color: var(--bera-color-soft-neutral);
  padding: var(--sp-pt, 0px) var(--sp-pr, 96px) var(--sp-pb, 0px) var(--sp-pl, 96px);
}

/* DOM order is image → text; row-reverse puts text on the LEFT, image on the RIGHT */
.claudify-singleproduct__container {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 128px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center; /* centre the text+image pair as a unit */
  gap: 80px;
}

/* ---- Image ---- */
.claudify-singleproduct__image-wrap {
  flex: 0 0 auto;
  width: 560px; /* a little wider (was 500); stays <=48% so smaller screens are unaffected */
  max-width: 48%;
  aspect-ratio: 4 / 5; /* eased from 5/7 so the wider image keeps ~the same height (balanced) */
  border-radius: 16px;
  overflow: hidden;
  background-color: rgb(232, 232, 225);
  box-shadow: 0 4px 12px rgba(26, 28, 24, 0.06), 0 12px 32px rgba(26, 28, 24, 0.08);
}

.claudify-singleproduct__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---- Text column ---- */
.claudify-singleproduct__text {
  flex: 1 1 0;
  min-width: 0;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.claudify-singleproduct__eyebrow {
  margin: 0 0 16px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 28, 24, 0.55);
}

.claudify-singleproduct__heading {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.claudify-singleproduct__heading-l1,
.claudify-singleproduct__heading-l2 {
  font-family: var(--sp-heading-font, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(34px, 4.8vw, var(--sp-heading-size, 72px));
  font-weight: var(--sp-heading-weight, 500);
  line-height: 1.05;
  letter-spacing: 0;
  color: rgb(26, 28, 24);
}

.claudify-singleproduct__heading-l2 {
  font-style: italic;
}

.claudify-singleproduct__desc {
  margin: 24px 0 0;
  font-family: 'Jost', sans-serif;
  font-size: var(--sp-desc-size, 17px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(26, 28, 24, 0.7);
  max-width: 440px;
}

.claudify-singleproduct__price {
  margin: 28px 0 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.claudify-singleproduct__price-amount {
  font-family: 'Jost', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: rgb(26, 28, 24);
}

/* Shop Now — dark-green pill */
.claudify-singleproduct__btn {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 50px;
  background: #0b2615;
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease;
}

.claudify-singleproduct__btn svg {
  transition: transform 0.2s ease;
}

.claudify-singleproduct__btn:hover {
  background: #1a3d2a;
}

.claudify-singleproduct__btn:hover svg {
  transform: translateX(3px);
}

/* The shared reveal rule (.cl-anim .cl-reveal) out-specifies this button's own
   transition, which made the hover background change snap instead of easing.
   Merge both: reveal props keep the house duration + stagger delay, the hover
   background eases at the button's designed 0.2s with no delay. */
.cl-anim .claudify-singleproduct__btn.cl-reveal {
  transition: opacity var(--cl-reveal-duration) var(--cl-reveal-ease),
              transform var(--cl-reveal-duration) var(--cl-reveal-ease),
              background 0.2s ease;
  transition-delay: calc(var(--cl-i, 0) * var(--cl-reveal-stagger)),
                    calc(var(--cl-i, 0) * var(--cl-reveal-stagger)),
                    0s;
}

/* ============================================================
   Tablet (750px – 989px)
   ============================================================ */
@media screen and (min-width: 750px) and (max-width: 989px) {
  .claudify-singleproduct {
    padding: 0 40px;
  }

  .claudify-singleproduct__container {
    padding-top: 96px;
    gap: 48px;
  }

  .claudify-singleproduct__image-wrap {
    width: 42%;
  }

  .claudify-singleproduct__heading-l1,
  .claudify-singleproduct__heading-l2 {
    font-size: clamp(32px, 5vw, 48px);
  }
}

/* ============================================================
   Mobile (< 750px) — image on top, text below
   ============================================================ */
@media screen and (max-width: 749px) {
  .claudify-singleproduct {
    padding: 0 16px;
  }

  .claudify-singleproduct__container {
    padding-top: 64px;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .claudify-singleproduct__image-wrap {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 5;
  }

  .claudify-singleproduct__text {
    max-width: 100%;
  }

  .claudify-singleproduct__heading-l1,
  .claudify-singleproduct__heading-l2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .claudify-singleproduct__desc {
    max-width: 100%;
  }
}
