/* =============================================================
   Cloffy hero — split editorial layout (coffee / warm brown)
   ============================================================= */

.page-cloffy {
  --cloffy-banner-cream: #f7f1ea;
  --cloffy-banner-panel: #fffdf9;
  --cloffy-banner-gold: #b08d57;
  --cloffy-banner-chocolate: #3d2219;
  --cloffy-banner-h: clamp(540px, 72vh, 660px);
}

/* Editorial carousel — override shared dhatri-banners slide timing */
.page-cloffy .cloffy-hero--editorial .carousel-item {
  transition: opacity 0.7s ease-in-out;
}

.page-cloffy .cloffy-hero--editorial {
  background: var(--cloffy-banner-cream);
}

/* Carousel sizing — equal-height slides for clean fades */
.page-cloffy .cloffy-hero--editorial .carousel,
.page-cloffy .cloffy-hero--editorial .carousel-inner,
.page-cloffy .cloffy-hero--editorial .carousel-item,
.page-cloffy .cloffy-hero--editorial .cloffy-banner {
  height: var(--cloffy-banner-h);
}

/* Hide legacy decorative layers */
.page-cloffy .cloffy-hero--editorial .cloffy-banner__leaf,
.page-cloffy .cloffy-hero--editorial .cloffy-banner__diagonal,
.page-cloffy .cloffy-hero--editorial .cloffy-banner__arch,
.page-cloffy .cloffy-hero--editorial .cloffy-banner__tag,
.page-cloffy .cloffy-hero--editorial .cloffy-banner__frame {
  display: none !important;
}

.page-cloffy .cloffy-hero--editorial .cloffy-banner {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--cloffy-brown);
}

/* Per-slide warm tints */
.page-cloffy .cloffy-banner--decoction { background: linear-gradient(135deg, #faf6f2 0%, #f5ebe3 55%, #edd9c8 100%); }
.page-cloffy .cloffy-banner--powder    { background: linear-gradient(135deg, #fff9f5 0%, #f8efe8 55%, #f0e0d0 100%); }
.page-cloffy .cloffy-banner--drip      { background: linear-gradient(135deg, #faf7f3 0%, #f3ebe4 55%, #e8d5c4 100%); }
.page-cloffy .cloffy-banner--chocolate { background: linear-gradient(135deg, #f9f3ee 0%, #f2e6dc 55%, #e6c9b0 100%); }
.page-cloffy .cloffy-banner--coaster   { background: linear-gradient(135deg, #faf5f0 0%, #efe4d9 55%, #dcc9b8 100%); }

/* ---- Ambient background ---- */
.page-cloffy .cloffy-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-cloffy .cloffy-banner__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg width='52' height='52' viewBox='0 0 52 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%235c3428' fill-opacity='0.04'%3E%3Ccircle cx='26' cy='26' r='1.6'/%3E%3C/g%3E%3C/svg%3E");
}

.page-cloffy .cloffy-banner__glow {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(46vw, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 197, 170, 0.55) 0%, transparent 68%);
  filter: blur(2px);
}

/* ---- Main grid ---- */
.page-cloffy .cloffy-hero--editorial .cloffy-banner__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px) clamp(44px, 5vw, 60px);
  width: 100%;
}

/* ---- Left copy ---- */
.page-cloffy .cloffy-hero--editorial .cloffy-banner__panel {
  position: relative;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.page-cloffy .cloffy-hero--editorial .cloffy-banner__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-cloffy .cloffy-banner__title {
  margin: clamp(28px, 6vw, 64px) 0 14px;
  font-family: var(--font-primary);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--cloffy-banner-chocolate);
  max-width: 17ch;
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.page-cloffy .cloffy-banner__title em {
  font-style: normal;
  color: inherit;
}

.page-cloffy .cloffy-banner__lead {
  margin: 0 0 22px;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.65;
  color: var(--cloffy-brown-soft);
  max-width: 44ch;
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

/* perks as a wrapping row of pills */
.page-cloffy .cloffy-banner__perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  flex-direction: row;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 28px;
  padding: 0;
  max-width: 100%;
  list-style: none;
}

.page-cloffy .cloffy-banner__perks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cloffy-brown);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(92, 52, 40, 0.1);
  border-radius: 999px;
  box-shadow: 0 6px 16px -12px rgba(61, 34, 25, 0.4);
}

.page-cloffy .cloffy-banner__perks i {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--cloffy-banner-gold);
}

.page-cloffy .cloffy-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(135deg, var(--cloffy-brown) 0%, var(--cloffy-banner-chocolate) 100%);
  border: none;
  border-radius: 999px;
  box-shadow: 0 14px 30px -10px rgba(61, 34, 25, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.page-cloffy .cloffy-banner__cta:hover {
  color: var(--white);
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow: 0 20px 40px -12px rgba(61, 34, 25, 0.5);
}

.page-cloffy .cloffy-banner__cta i {
  font-size: 15px;
  transition: transform 0.3s ease;
}

.page-cloffy .cloffy-banner__cta:hover i {
  transform: translateX(4px);
}

/* ---- Right product showcase ---- */
.page-cloffy .cloffy-hero--editorial .cloffy-banner__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(280px, 36vw, 400px);
}

.page-cloffy .cloffy-banner__stage {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* warm coffee disc backdrop */
.page-cloffy .cloffy-banner__stage-layer {
  position: absolute;
  inset: 0;
  border: none;
  border-radius: 50%;
}

.page-cloffy .cloffy-banner__stage-layer--back {
  background:
    radial-gradient(circle at 50% 38%, #fffdf9 0%, #f3e3d4 60%, #e7cdb6 100%);
  box-shadow:
    0 32px 56px -24px rgba(61, 34, 25, 0.42),
    inset 0 2px 0 rgba(255, 255, 255, 0.7),
    inset 0 -12px 32px -18px rgba(61, 34, 25, 0.28);
}

.page-cloffy .cloffy-banner__product {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 58%;
  height: 58%;
  max-width: 58%;
  max-height: 58%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 20px rgba(61, 34, 25, 0.18));
  transition: transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.page-cloffy .cloffy-banner:hover .cloffy-banner__product {
  transform: scale(1.02);
}

/* spec badge — anchored to the bottom edge of the circle, horizontally centered */
.page-cloffy .cloffy-banner__ribbon {
  position: absolute;
  z-index: 4;
  top: auto;
  bottom: -6%;
  left: 0;
  right: 0;
  width: max-content;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 13px 16px;
  text-align: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--cloffy-brown) 0%, var(--cloffy-banner-chocolate) 100%);
  border-radius: 16px;
  box-shadow: 0 16px 32px -12px rgba(61, 34, 25, 0.5);
  transition: transform 0.35s ease;
}

.page-cloffy .cloffy-banner__ribbon strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-transform: uppercase;
}

.page-cloffy .cloffy-banner__ribbon span {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.page-cloffy .cloffy-banner:hover .cloffy-banner__ribbon {
  transform: translateY(-3px) scale(1.05);
}

/* ---- Indicators ---- */
.page-cloffy .cloffy-hero--editorial .cloffy-hero__indicators {
  margin: 0;
  bottom: 22px;
  gap: 8px;
  z-index: 3;
}

.page-cloffy .cloffy-hero--editorial .cloffy-hero__indicators [data-bs-target] {
  width: 28px;
  height: 4px;
  border: none;
  border-radius: 999px;
  background: rgba(92, 52, 40, 0.2);
  opacity: 1;
  transition: width 0.3s ease, background 0.3s ease;
}

.page-cloffy .cloffy-hero--editorial .cloffy-hero__indicators [data-bs-target].active {
  width: 46px;
  background: var(--cloffy-brown);
}

/* ---- Clean cross-fade between slides ----
   The whole slide fades as one piece. The outgoing slide is held fully
   opaque until the incoming slide finishes fading in, so the cream
   background never flashes between slides. */
.page-cloffy .cloffy-hero--editorial .carousel-fade .carousel-item {
  opacity: 0;
  z-index: 0;
  transition: opacity 0.7s ease-in-out;
}

.page-cloffy .cloffy-hero--editorial .carousel-fade .carousel-item.active,
.page-cloffy .cloffy-hero--editorial .carousel-fade .carousel-item-next.carousel-item-start,
.page-cloffy .cloffy-hero--editorial .carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
}

.page-cloffy .cloffy-hero--editorial .carousel-fade .carousel-item.active {
  z-index: 2;
}

.page-cloffy .cloffy-hero--editorial .carousel-fade .carousel-item-next,
.page-cloffy .cloffy-hero--editorial .carousel-fade .carousel-item-prev {
  z-index: 1;
}

.page-cloffy .cloffy-hero--editorial .carousel-fade .active.carousel-item-start,
.page-cloffy .cloffy-hero--editorial .carousel-fade .active.carousel-item-end {
  opacity: 0;
  transition: opacity 0s 0.7s;
}

/* Staggered content + image reveal (matches home hp-bhero) */
.page-cloffy .cloffy-hero--editorial .carousel-item.carousel-item-start .cloffy-banner__title,
.page-cloffy .cloffy-hero--editorial .carousel-item.carousel-item-start .cloffy-banner__lead,
.page-cloffy .cloffy-hero--editorial .carousel-item.carousel-item-start .cloffy-banner__perks,
.page-cloffy .cloffy-hero--editorial .carousel-item.carousel-item-start .cloffy-banner__cta {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.48s ease, transform 0.48s ease;
  animation: none;
}

.page-cloffy .cloffy-hero--editorial .carousel-item.carousel-item-start .cloffy-banner__product,
.page-cloffy .cloffy-hero--editorial .carousel-item.carousel-item-end .cloffy-banner__product {
  opacity: 0;
  transform: none;
  transition: opacity 0.48s ease;
  animation: none;
}

.page-cloffy .cloffy-hero--editorial .carousel-item.carousel-item-end .cloffy-banner__title,
.page-cloffy .cloffy-hero--editorial .carousel-item.carousel-item-end .cloffy-banner__lead,
.page-cloffy .cloffy-hero--editorial .carousel-item.carousel-item-end .cloffy-banner__perks,
.page-cloffy .cloffy-hero--editorial .carousel-item.carousel-item-end .cloffy-banner__cta {
  opacity: 0;
  transform: translateY(16px);
  animation: none;
}

.page-cloffy .cloffy-hero--editorial .carousel-item:not(.active) .cloffy-banner__title,
.page-cloffy .cloffy-hero--editorial .carousel-item:not(.active) .cloffy-banner__lead,
.page-cloffy .cloffy-hero--editorial .carousel-item:not(.active) .cloffy-banner__perks,
.page-cloffy .cloffy-hero--editorial .carousel-item:not(.active) .cloffy-banner__cta {
  opacity: 0;
  animation: none;
  transform: translateY(16px);
}

.page-cloffy .cloffy-hero--editorial .carousel-item:not(.active) .cloffy-banner__product {
  opacity: 0;
  animation: none;
  transform: none;
}

.page-cloffy .cloffy-hero--editorial .carousel-item.active:not(.carousel-item-start):not(.carousel-item-end) .cloffy-banner__title,
.page-cloffy .cloffy-hero--editorial .carousel-item.active:not(.carousel-item-start):not(.carousel-item-end) .cloffy-banner__lead,
.page-cloffy .cloffy-hero--editorial .carousel-item.active:not(.carousel-item-start):not(.carousel-item-end) .cloffy-banner__perks,
.page-cloffy .cloffy-hero--editorial .carousel-item.active:not(.carousel-item-start):not(.carousel-item-end) .cloffy-banner__cta {
  animation: cloffy-banner-reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-cloffy .cloffy-hero--editorial .carousel-item.active:not(.carousel-item-start):not(.carousel-item-end) .cloffy-banner__title { animation-delay: 0.08s; }
.page-cloffy .cloffy-hero--editorial .carousel-item.active:not(.carousel-item-start):not(.carousel-item-end) .cloffy-banner__lead { animation-delay: 0.18s; }
.page-cloffy .cloffy-hero--editorial .carousel-item.active:not(.carousel-item-start):not(.carousel-item-end) .cloffy-banner__perks { animation-delay: 0.28s; }
.page-cloffy .cloffy-hero--editorial .carousel-item.active:not(.carousel-item-start):not(.carousel-item-end) .cloffy-banner__cta { animation-delay: 0.38s; }

.page-cloffy .cloffy-hero--editorial .carousel-item.active:not(.carousel-item-start):not(.carousel-item-end) .cloffy-banner__product {
  animation: cloffy-banner-fade-in 0.6s ease both;
  animation-delay: 0.12s;
}

.page-cloffy .cloffy-hero--editorial .carousel-item:not(.active) .cloffy-banner__product,
.page-cloffy .cloffy-hero--editorial .carousel-item.carousel-item-start .cloffy-banner__product,
.page-cloffy .cloffy-hero--editorial .carousel-item.carousel-item-end .cloffy-banner__product {
  animation-play-state: paused;
}

@keyframes cloffy-banner-reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cloffy-banner-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---- Tablet ---- */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .page-cloffy {
    --cloffy-banner-h: auto;
  }

  .page-cloffy .cloffy-hero--editorial .cloffy-banner__layout {
    grid-template-columns: 1fr;
    padding-bottom: 76px;
  }

  .page-cloffy .cloffy-banner__panel { padding-left: 18px; }
  .page-cloffy .cloffy-banner__title { max-width: none; }

  .page-cloffy .cloffy-hero--editorial .cloffy-banner__visual {
    order: -1;
    min-height: 260px;
  }

  .page-cloffy .cloffy-banner__stage {
    width: min(100%, 340px);
  }
}

/* ---- Mobile ---- */
@media screen and (max-width: 767px) {
  .page-cloffy {
    --cloffy-banner-h: auto;
  }

  .page-cloffy .cloffy-hero--editorial .cloffy-banner {
    display: block;
  }

  .page-cloffy .cloffy-hero--editorial .cloffy-banner__layout {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 18px 66px;
    text-align: center;
  }

  .page-cloffy .cloffy-banner__panel {
    padding-left: 0;
  }

  .page-cloffy .cloffy-banner__panel::before { display: none; }

  .page-cloffy .cloffy-hero--editorial .cloffy-banner__copy {
    align-items: center;
    text-align: center;
  }

  .page-cloffy .cloffy-banner__title,
  .page-cloffy .cloffy-banner__lead {
    max-width: 100%;
  }

  .page-cloffy .cloffy-banner__perks {
    justify-content: center;
  }

  .page-cloffy .cloffy-hero--editorial .cloffy-banner__visual {
    order: -1;
    min-height: 240px;
  }

  .page-cloffy .cloffy-banner__stage {
    width: min(100%, 280px);
  }

  .page-cloffy .cloffy-banner__ribbon {
    bottom: -7%;
    min-width: 78px;
    padding: 10px 13px;
  }

  .page-cloffy .cloffy-banner__cta {
    width: 100%;
    justify-content: center;
  }

  .page-cloffy .cloffy-hero--editorial .cloffy-hero__indicators {
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-cloffy .cloffy-banner__product {
    animation: none;
  }

  .page-cloffy .cloffy-hero--editorial .carousel-item.active:not(.carousel-item-start):not(.carousel-item-end) .cloffy-banner__title,
  .page-cloffy .cloffy-hero--editorial .carousel-item.active:not(.carousel-item-start):not(.carousel-item-end) .cloffy-banner__lead,
  .page-cloffy .cloffy-hero--editorial .carousel-item.active:not(.carousel-item-start):not(.carousel-item-end) .cloffy-banner__perks,
  .page-cloffy .cloffy-hero--editorial .carousel-item.active:not(.carousel-item-start):not(.carousel-item-end) .cloffy-banner__cta,
  .page-cloffy .cloffy-hero--editorial .carousel-item.active:not(.carousel-item-start):not(.carousel-item-end) .cloffy-banner__product,
  .page-cloffy .cloffy-hero--editorial .carousel-item:not(.active) .cloffy-banner__title,
  .page-cloffy .cloffy-hero--editorial .carousel-item:not(.active) .cloffy-banner__lead,
  .page-cloffy .cloffy-hero--editorial .carousel-item:not(.active) .cloffy-banner__perks,
  .page-cloffy .cloffy-hero--editorial .carousel-item:not(.active) .cloffy-banner__cta,
  .page-cloffy .cloffy-hero--editorial .carousel-item:not(.active) .cloffy-banner__product {
    opacity: 1;
    animation: none;
    transform: none;
    transition: none;
  }

  .page-cloffy .cloffy-banner__product,
  .page-cloffy .cloffy-banner__ribbon,
  .page-cloffy .cloffy-banner__cta {
    transition: none;
  }

  .page-cloffy .cloffy-banner:hover .cloffy-banner__product,
  .page-cloffy .cloffy-banner:hover .cloffy-banner__ribbon,
  .page-cloffy .cloffy-banner__cta:hover {
    transform: none;
  }
}

/* =============================================================
   Cloffy product circle (frame backdrop) + bottom-right tag
   Markup: .cloffy-banner__visual > .cloffy-banner__frame > img + tag
   ============================================================= */
.page-cloffy .cloffy-banner__frame {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--cloffy-disc-size, min(88%, 380px));
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 32%, #fffdf9 0%, #f3e3d4 58%, #e7cdb6 100%);
  box-shadow:
    0 32px 56px -24px rgba(61, 34, 25, 0.42),
    inset 0 2px 0 rgba(255, 255, 255, 0.7),
    inset 0 -14px 34px -18px rgba(61, 34, 25, 0.28);
}

.page-cloffy .cloffy-banner__frame .cloffy-banner__product {
  position: relative;
  z-index: 2;
  width: var(--cloffy-disc-product, 72%);
  height: var(--cloffy-disc-product, 72%);
  max-width: var(--cloffy-disc-product, 72%);
  max-height: var(--cloffy-disc-product, 72%);
  object-fit: contain;
  object-position: center;
}

/* spec badge — smaller, pinned to the lower-right edge of the circle */
.page-cloffy .cloffy-banner__frame .cloffy-banner__tag {
  position: absolute;
  z-index: 3;
  top: auto;
  left: auto;
  right: 5%;
  bottom: -2%;
  width: 78px;
  height: 78px;
  padding: 6px;
  margin: 0;
  font-size: 11px;
  border-width: 2px;
}

.page-cloffy .cloffy-banner__frame .cloffy-banner__tag span {
  font-size: 8.5px;
  margin-top: 1px;
}

/* =============================================================
   Cloffy hero — unified with the dhatri / fitlys editorial banners
   on small & medium screens: single column, product floating on the
   slide gradient (no disc, no halo, no tag, no slant), copy below.
   Desktop (>991px) keeps the original circular-disc layout.
   ============================================================= */

/* remove the slanting diagonal overlay on the cloffy banner */
.page-cloffy .cloffy-banner__diagonal {
  display: none !important;
}

/* ---- Medium / tablet (768–991px): stack like the editorial banners ---- */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .page-cloffy {
    --cloffy-banner-h: auto;
    --dhatri-slide-h: auto;
    --dhatri-indicators-h: 40px;
  }

  .page-cloffy .cloffy-hero {
    margin-bottom: 0;
    overflow: visible;
  }

  .page-cloffy .cloffy-hero .carousel {
    display: flex !important;
    flex-direction: column;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible;
  }

  .page-cloffy .cloffy-hero .carousel-inner {
    order: 1;
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .page-cloffy .cloffy-hero .carousel-item {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .page-cloffy .cloffy-hero .carousel-indicators.cloffy-hero__indicators {
    order: 2;
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    flex: 0 0 auto;
    width: 100%;
    padding: 10px 0 12px;
    margin: 0 !important;
    border-top: 1px solid rgba(92, 52, 40, 0.08);
    pointer-events: auto;
  }

  .page-cloffy .cloffy-hero .cloffy-banner {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0;
  }

  /* single column: image on top, copy below */
  .page-cloffy .cloffy-hero .cloffy-banner__layout {
    grid-template-columns: 1fr;
    grid-template-areas: "visual" "copy";
    height: auto !important;
    padding: clamp(14px, 2.5vw, 20px) clamp(18px, 3vw, 28px) clamp(18px, 2.5vw, 24px);
    gap: 0;
  }

  .page-cloffy .cloffy-hero .cloffy-banner__visual {
    grid-area: visual;
    order: -1;
    height: auto;
    min-height: 0;
    padding: 14px 12px 18px;
    overflow: hidden;
  }

  .page-cloffy .cloffy-hero .cloffy-banner__copy {
    grid-area: copy;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: clamp(8px, 2vw, 12px) 0 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    justify-content: flex-start;
  }

  .page-cloffy .cloffy-hero .cloffy-banner__title {
    margin: 0 0 8px;
    min-height: 0 !important;
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
  }

  .page-cloffy .cloffy-hero .cloffy-banner__lead {
    margin: 0 0 14px;
    min-height: 0 !important;
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
  }

  /* drop the disc + tag — product floats on the slide gradient */
  .page-cloffy .cloffy-hero .cloffy-banner__frame {
    width: 100%;
    aspect-ratio: auto;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }

  .page-cloffy .cloffy-hero .cloffy-banner__frame .cloffy-banner__tag {
    display: none;
  }

  .page-cloffy .cloffy-hero .cloffy-banner__frame .cloffy-banner__product {
    width: auto;
    height: auto;
    max-width: 86%;
    max-height: 300px;
    margin-bottom: 12px;
  }

  /* perks as pills */
  .page-cloffy .cloffy-hero .cloffy-banner__perks {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 12px;
  }

  .page-cloffy .cloffy-hero .cloffy-banner__perks li {
    padding: 8px 14px;
    font-weight: 600;
    color: var(--dhatri-brown);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(57, 109, 27, 0.12);
    border-radius: 100px;
    box-shadow: 0 4px 14px rgba(57, 109, 27, 0.07);
    white-space: nowrap;
  }

  .page-cloffy .cloffy-hero .cloffy-banner__perks li + li::before {
    content: none;
  }

  .page-cloffy .cloffy-hero .cloffy-banner__perks i {
    display: inline-block;
  }
}

/* ---- Small / mobile (≤767px): same stacked design as editorial ---- */
@media screen and (max-width: 767px) {
  /* clear the fixed transparent header; no custom band / halo —
     falls back to the shared warm band + copy card so it matches
     the dhatri / fitlys banners */
  .page-cloffy .cloffy-hero .cloffy-banner__visual {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 14px 12px 18px;
    overflow: hidden;
  }

  /* drop the disc — product floats on the slide gradient */
  .page-cloffy .cloffy-hero .cloffy-banner__frame {
    width: 100%;
    aspect-ratio: auto;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }

  .page-cloffy .cloffy-hero .cloffy-banner__frame .cloffy-banner__product {
    width: auto;
    height: auto;
    max-width: 86%;
    max-height: 220px;
    margin-bottom: 20px;
  }

  /* perks as pills */
  .page-cloffy .cloffy-hero .cloffy-banner__perks {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 12px;
  }

  .page-cloffy .cloffy-hero .cloffy-banner__perks li {
    padding: 7px 13px;
    font-weight: 600;
    color: var(--dhatri-brown);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(57, 109, 27, 0.12);
    border-radius: 100px;
    box-shadow: 0 4px 14px rgba(57, 109, 27, 0.07);
    white-space: nowrap;
  }

  .page-cloffy .cloffy-hero .cloffy-banner__perks li + li::before {
    content: none;
  }

  .page-cloffy .cloffy-hero .cloffy-banner__perks i {
    display: inline-block;
  }
}

/* ---- Extra small (≤430px): keep the product shorter still ---- */
@media screen and (max-width: 430px) {
  .page-cloffy .cloffy-hero .cloffy-banner__frame .cloffy-banner__product {
    max-height: 190px;
  }
}

/* ---- Large screens (992px+): keep heading, lead, and capsules grouped ---- */
@media screen and (min-width: 992px) {
  .page-cloffy .cloffy-hero .cloffy-banner__layout {
    padding-top: calc(var(--site-header-height, 72px) + clamp(12px, 2vw, 20px));
  }

  .page-cloffy .cloffy-hero .cloffy-banner__visual {
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding-top: 4px;
    overflow: visible;
  }

  .page-cloffy .cloffy-banner__frame {
    max-height: min(
      var(--cloffy-disc-size, 400px),
      calc(100dvh - var(--site-header-height, 72px) - var(--dhatri-indicators-h, 40px) - 140px)
    );
    width: min(
      var(--cloffy-disc-size, 400px),
      calc(100dvh - var(--site-header-height, 72px) - var(--dhatri-indicators-h, 40px) - 140px)
    );
    height: auto;
    flex-shrink: 0;
  }

  .page-cloffy .cloffy-hero .cloffy-banner__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
    gap: 10px;
    padding: 24px 24px 24px 28px !important;
  }

  .page-cloffy .cloffy-hero .cloffy-banner__title {
    margin: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    max-width: 17ch;
  }

  .page-cloffy .cloffy-hero .cloffy-banner__lead {
    margin: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
  }

  .page-cloffy .cloffy-hero .cloffy-banner__perks {
    margin: 0 !important;
    justify-content: flex-start !important;
    gap: 8px 10px;
  }

  .page-cloffy .cloffy-hero .cloffy-banner__cta {
    margin-top: 14px;
  }
}
