/* Happy Yumi — Recipe single · magazine premium */

.hy-recipe-page-wrap,
.hy-recipe-page {
  overflow-x: clip;
}

.hy-recipe-page {
  padding-top: calc(var(--header-h) + 12px);
  background: #fdfbf7;
}

.hy-recipe-shell {
  padding-bottom: 80px;
}

.hy-recipe-shell > .hy-breadcrumbs,
.hy-recipe-shell > .hy-breadcrumbs.container {
  width: 100%;
  max-width: none;
  margin: 0 0 14px;
  padding: 0;
  opacity: 0.55;
  font-size: 12px;
}

/* ── Hero image on top ── */
.hy-recipe-hero-top {
  margin: 0 0 28px;
}

.hy-recipe-hero-top .hy-recipe-media {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.hy-recipe-media__photo,
.hy-recipe-media__3d {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #efe8de;
  box-shadow: 0 18px 48px rgba(58, 47, 38, 0.1);
  aspect-ratio: 16 / 10;
  width: 100%;
}

@media (min-width: 768px) {
  .hy-recipe-media__photo,
  .hy-recipe-media__3d {
    border-radius: 32px;
  }
}

.hy-recipe-media__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hy-recipe-media__3d .hy-hero-canvas {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hy-recipe-media__3d.is-model-ready .hy-hero-canvas { opacity: 1; }

.hy-recipe-media__3d .hy-hero-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hy-recipe-media__3d.is-model-ready .hy-hero-fallback { opacity: 0.18; }

/* ── Intro block (title, stats) ── */
.hy-recipe-intro {
  max-width: 760px;
  margin: 0 0 28px;
}

/* ── Content: ingredients + main side by side ── */
.hy-recipe-content {
  display: grid;
  gap: 24px;
  align-items: start;
}

@media (min-width: 900px) {
  .hy-recipe-content {
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 48px);
  }

  .hy-recipe-content__aside {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    align-self: start;
    max-height: calc(100vh - var(--header-h) - 40px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
}

.hy-recipe-content__main {
  min-width: 0;
}

.hy-recipe-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(120, 110, 95, 0.1);
  color: #6b6358;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hy-recipe-kicker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c4a574;
}

.hy-recipe-title {
  font-family: var(--font-display);
  margin: 0;
  max-width: none;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #3a2f26;
}

.hy-recipe-lead {
  margin: 12px 0 0;
  max-width: 52ch;
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.6;
  color: rgba(58, 47, 38, 0.68);
}

/* Category / diet / allergen badges */
.hy-recipe-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.hy-recipe-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
}

.hy-recipe-badge--icon-only {
  padding: 5px 8px;
}

.hy-recipe-badge__emoji {
  display: inline-flex;
  font-size: 15px;
  line-height: 1;
}

.hy-recipe-badge--flag .hy-recipe-badge__label {
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 650;
}

.hy-recipe-badge__icon {
  display: inline-flex;
  width: 15px;
  height: 15px;
}

.hy-recipe-badge__icon svg {
  width: 100%;
  height: 100%;
}

.hy-recipe-badge--flag { background: #f3eee6; color: #5a5046; }
.hy-recipe-badge--peach { background: #f6e4d8; color: #8a5a3c; }
.hy-recipe-badge--amber { background: #f7e6d0; color: #9a5b20; }
.hy-recipe-badge--green { background: #e4f0df; color: #3f6b3d; }
.hy-recipe-badge--mint { background: #e8f3ea; color: #45754a; }
.hy-recipe-badge--blue { background: #e4eef7; color: #3d6288; }
.hy-recipe-badge--sky { background: #e7f2f6; color: #3f6d7a; }
.hy-recipe-badge--rose { background: #f6e6e8; color: #8a4550; }
.hy-recipe-badge--coral { background: #f8e6e2; color: #9a4d3d; }

/* Prep + portions cards */
.hy-recipe-stat-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  max-width: 480px;
}

@media (max-width: 520px) {
  .hy-recipe-stat-cards {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

.hy-recipe-stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(58, 47, 38, 0.07);
  box-shadow: 0 6px 18px rgba(58, 47, 38, 0.04);
  min-width: 0;
}

.hy-recipe-stat-card__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f6f0e8;
  color: #6b5344;
  flex-shrink: 0;
}

.hy-recipe-stat-card__icon svg {
  width: 18px;
  height: 18px;
}

.hy-recipe-stat-card__body {
  min-width: 0;
}

.hy-recipe-stat-card__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #3a2f26;
}

.hy-recipe-stat-card__value .hy-odometer {
  font-variant-numeric: tabular-nums;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hy-recipe-stat-card__label {
  margin: 2px 0 0;
  font-size: 11px;
  color: rgba(58, 47, 38, 0.55);
}

.hy-recipe-stat-card--portions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.hy-recipe-page .hy-portion--card {
  position: static;
  transform: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 3px 4px;
  border-radius: 999px;
  background: #f3ebe2;
  border: 0;
  flex-shrink: 0;
}

.hy-recipe-page .hy-portion--card .hy-portion__count {
  min-width: 1.2ch;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: #3a2f26;
}

.hy-recipe-page .hy-portion--card button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #3a2f26;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(58, 47, 38, 0.08);
}

.hy-recipe-page .hy-portion--card button:hover {
  background: #3a2f26;
  color: #fff;
}

.hy-recipe-intro .hy-rating {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(58, 47, 38, 0.08);
}

.hy-recipe-intro .hy-rating__label {
  color: rgba(58, 47, 38, 0.5);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.hy-recipe-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 2px;
  margin: 14px 0 0;
  padding: 0;
  font-size: 12px;
  color: rgba(58, 47, 38, 0.55);
}

.hy-recipe-meta-line__item strong {
  font-weight: 600;
  color: rgba(58, 47, 38, 0.72);
}

.hy-recipe-meta-line__sep {
  margin: 0 6px;
  opacity: 0.45;
}

.hy-recipe-section-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  font-weight: 650;
  color: #3a2f26;
}

.hy-recipe-nutrition-block {
  margin: 0 0 20px;
}

.hy-recipe-nutrition-panel {
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(58, 47, 38, 0.08);
  box-shadow: 0 8px 22px rgba(58, 47, 38, 0.04);
}

.hy-recipe-nutrition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 520px) {
  .hy-recipe-nutrition-grid {
    grid-template-columns: 1fr;
  }
}

.hy-recipe-nutrition-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.hy-recipe-nutrition-item__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f6f0e8;
  color: #8b6b4a;
  flex-shrink: 0;
}

.hy-recipe-nutrition-item__icon svg {
  width: 15px;
  height: 15px;
}

.hy-recipe-nutrition-item__copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.hy-recipe-nutrition-item__label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(58, 47, 38, 0.52);
}

.hy-recipe-nutrition-item__value {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: #3a2f26;
  line-height: 1.2;
}

.hy-recipe-panel {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hy-recipe-panel__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  font-weight: 650;
  color: #3a2f26;
}

.hy-recipe-panel--prep {
  margin-top: 4px;
  padding: 20px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(58, 47, 38, 0.08);
  box-shadow: 0 8px 22px rgba(58, 47, 38, 0.04);
}

.hy-recipe-panel--ingredients {
  margin: 0;
  padding: 20px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(58, 47, 38, 0.08);
  box-shadow: 0 8px 24px rgba(58, 47, 38, 0.05);
}

.hy-recipe-panel--ingredients .hy-recipe-panel__title {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.hy-recipe-page .hy-ingredient-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hy-recipe-page .hy-ingredient {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-bottom: 0;
  background: transparent;
  cursor: pointer;
  opacity: 1 !important;
  transform: none !important;
  text-align: left;
  font: inherit;
  color: inherit;
}

.hy-recipe-page .hy-ingredient:last-child {
  border-bottom: 0;
}

.hy-recipe-page .hy-ingredient-mark {
  flex-shrink: 0;
  width: 16px;
  margin-top: 2px;
  color: #c9642f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.hy-recipe-page .hy-ingredient.is-done {
  opacity: 1 !important;
  transform: none !important;
}

.hy-recipe-page .hy-ingredient.is-done .hy-ingredient-mark {
  color: rgba(201, 100, 47, 0.45);
}

.hy-recipe-page .hy-ingredient.is-done .hy-ingredient-label,
.hy-recipe-page .hy-ingredient.is-done .hy-ingredient-label strong,
.hy-recipe-page .hy-ingredient.is-done .hy-ingredient-name {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(58, 47, 38, 0.35);
  color: rgba(58, 47, 38, 0.42);
}

.hy-recipe-page .hy-ingredient-label {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: baseline;
  font-size: 0.94rem;
  line-height: 1.4;
  color: #3a2f26;
}

.hy-recipe-page .hy-ingredient-label strong {
  font-weight: 700;
  color: #3a2f26;
}

.hy-recipe-page .hy-ingredient-notes {
  width: 100%;
  font-style: normal;
  font-size: 0.84rem;
  color: rgba(58, 47, 38, 0.5);
}

.hy-prep-intro {
  margin: 0 0 18px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(28, 27, 25, 0.78);
  max-width: 58ch;
}

.hy-mise {
  margin: 0 0 20px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f8f4ed;
  border: 1px solid rgba(58, 47, 38, 0.06);
}

.hy-mise__title {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9642f;
}

.hy-mise__list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 8px;
}

.hy-mise__list li {
  line-height: 1.55;
  font-size: 0.98rem;
}

.hy-step-list--rich {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 28px;
}

.hy-step--rich {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 0;
  border: 0;
}

.hy-step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2a241f;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-ui, Inter, system-ui, sans-serif);
}

.hy-step--rich .hy-step__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #3a2f26;
}

.hy-step__text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
}

.hy-step__detail {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  border-left: 3px solid var(--color-accent, #e8612d);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(28, 27, 25, 0.78);
}

.hy-step__detail strong {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent, #e8612d);
}

.hy-step__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.hy-step__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(74, 93, 78, 0.1);
  color: var(--color-olive, #4a5d4e);
}

.hy-step__badge--time {
  background: rgba(201, 100, 47, 0.12);
  color: #9e4520;
}

.hy-step__tip {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8ebe3;
  border: 0;
}

.hy-step__tip-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9642f;
}

.hy-step__tip p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.hy-recipe-tips,
.hy-recipe-variants {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.hy-recipe-tips__title,
.hy-recipe-variants__title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-family: var(--font-display);
}

.hy-recipe-tips ul,
.hy-recipe-variants ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 8px;
}

.hy-step__figure {
  margin: 16px 0 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface-soft, #f7f3ea);
}

.hy-step__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hy-recipe-content__main .hy-recipe-panel + .hy-recipe-panel {
  margin-top: 20px;
}

html[dir="rtl"] .hy-recipe-page .hy-ingredient.is-done {
  transform: none;
}

/* Recipe ratings restored from v6.46.2. */
.hy-rating {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "label label"
    "stars summary"
    "feedback feedback";
  align-items: center;
  gap: 7px 14px;
  width: 100%;
  margin: 34px 0 0;
  padding: 24px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(74, 93, 78, 0.16);
  border-radius: 0;
  text-align: start;
}

.hy-rating__label {
  grid-area: label;
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-olive, #4a5d4e);
}

.hy-rating__stars {
  grid-area: stars;
  display: flex;
  gap: 2px;
}

.hy-rating__star {
  padding: var(--space-1, 4px);
  color: var(--color-border, rgba(20, 19, 16, 0.12));
  background: none;
  border: 0;
  cursor: pointer;
  line-height: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.hy-rating__star svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.hy-rating__star.is-active {
  color: var(--color-gold, #f5c842);
}

.hy-rating__star:hover:not(:disabled) {
  transform: scale(1.08);
}

.hy-rating__star:disabled {
  cursor: default;
}

.hy-rating__star:focus-visible {
  outline: 2px solid var(--color-accent, #e8612d);
  outline-offset: 2px;
  border-radius: var(--radius-sm, 8px);
}

.hy-rating__summary {
  grid-area: summary;
  margin: 0;
  font-family: var(--font-ui, "Inter", system-ui, sans-serif);
  font-size: var(--text-sm, 0.8125rem);
  color: var(--color-text-muted, #5f6b60);
}

.hy-rating__avg {
  font-weight: 700;
  color: var(--color-ink, #2a332c);
}

.hy-rating__feedback {
  grid-area: feedback;
  min-height: 1em;
  margin: 0;
  font-size: var(--text-xs, 0.6875rem);
  color: var(--color-success, #3e6f46);
}

@media (prefers-reduced-motion: reduce) {
  .hy-rating__star {
    transition: none;
  }
}

/* Threaded recipe comments. */
.hy-comments {
  max-width: 980px;
  margin: clamp(56px, 8vw, 96px) auto 0;
  padding: clamp(48px, 7vw, 72px) 0 clamp(88px, 11vw, 140px);
  border-top: 1px solid rgba(74, 93, 78, 0.14);
}

.hy-comments__head {
  max-width: 700px;
  margin-bottom: 36px;
}

.hy-comments__eyebrow {
  margin: 0 0 12px;
  color: var(--color-accent, #e8612d);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hy-comments__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hy-comments__count {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--color-olive, #4a5d4e);
  font-family: var(--font-ui, "Inter", sans-serif);
  font-size: 12px;
  letter-spacing: 0;
}

.hy-comments__lead,
.hy-comments__empty,
.hy-comments__closed {
  max-width: 58ch;
  margin: 16px 0 0;
  color: var(--color-text-muted, #5f6b60);
  font-size: 1rem;
  line-height: 1.7;
}

.hy-comment-list,
.hy-comment-list .children {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hy-comment-list {
  display: grid;
  gap: 18px;
}

.hy-comment-list .children {
  display: grid;
  gap: 14px;
  margin: 14px 0 0 34px;
  padding-left: 22px;
  border-left: 1px solid rgba(74, 93, 78, 0.16);
}

.hy-comment__card {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(74, 93, 78, 0.1);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.78);
  box-shadow: 0 12px 36px rgba(37, 32, 24, 0.045);
}

.bypostauthor > .hy-comment__card {
  border-color: rgba(232, 97, 45, 0.24);
  background: rgba(255, 249, 242, 0.9);
}

.hy-comment__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hy-comment__avatar,
.hy-comment__avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.hy-comment__avatar {
  flex: 0 0 48px;
  overflow: hidden;
  background: var(--color-surface-soft, #f5f1ea);
}

.hy-comment__author {
  margin: 0;
  color: var(--color-ink, #2a332c);
  font-weight: 750;
}

.hy-comment__author a {
  color: inherit;
  text-decoration: none;
}

.hy-comment__date {
  display: inline-block;
  margin-top: 3px;
  color: var(--color-text-muted, #5f6b60);
  font-size: 12px;
  text-decoration: none;
}

.hy-comment__content {
  margin-top: 18px;
  color: var(--color-ink, #2a332c);
  font-size: 0.98rem;
  line-height: 1.75;
}

.hy-comment__content > :first-child {
  margin-top: 0;
}

.hy-comment__content > :last-child {
  margin-bottom: 0;
}

.hy-comment__moderation {
  margin: 16px 0 0;
  color: #9e7a2f;
  font-size: 13px;
  font-weight: 650;
}

.hy-comment__footer {
  margin-top: 16px;
}

.hy-comment__footer .comment-reply-link,
.hy-comment-cancel a {
  color: var(--color-accent, #e8612d);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.hy-comments__nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

.hy-comments__form-wrap {
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(74, 93, 78, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(232, 196, 90, 0.12), transparent 20rem),
    var(--color-surface, #fffdf9);
  box-shadow: 0 20px 56px rgba(37, 32, 24, 0.07);
}

.hy-comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hy-comment-form__title,
.hy-comment-form__note,
.hy-comment-form .logged-in-as,
.hy-comment-field--wide,
.hy-comment-field--message,
.hy-comment-cookies,
.hy-comment-form .form-submit {
  grid-column: 1 / -1;
}

.hy-comment-form__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.hy-comment-form__note,
.hy-comment-form .logged-in-as {
  margin: -6px 0 4px;
  color: var(--color-text-muted, #5f6b60);
  font-size: 13px;
  line-height: 1.6;
}

.hy-comment-field {
  margin: 0;
}

.hy-comment-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-ink, #2a332c);
  font-size: 12px;
  font-weight: 750;
}

.hy-comment-field input,
.hy-comment-field textarea {
  width: 100%;
  border: 1px solid rgba(74, 93, 78, 0.18);
  border-radius: 14px;
  color: var(--color-ink, #2a332c);
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hy-comment-field input {
  min-height: 48px;
  padding: 0 14px;
}

.hy-comment-field textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

.hy-comment-field input:focus,
.hy-comment-field textarea:focus {
  outline: 0;
  border-color: var(--color-accent, #e8612d);
  box-shadow: 0 0 0 3px rgba(232, 97, 45, 0.12);
}

.hy-comment-cookies {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  color: var(--color-text-muted, #5f6b60);
  font-size: 12px;
  line-height: 1.5;
}

.hy-comment-cookies input {
  margin-top: 2px;
}

.hy-comment-submit {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--color-accent, #e8612d);
  box-shadow: 0 10px 24px rgba(232, 97, 45, 0.2);
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hy-comment-submit:hover {
  background: var(--color-accent-hover, #d45628);
  transform: translateY(-1px);
}

.hy-comment-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

html[dir="rtl"] .hy-comment-list .children {
  margin-right: 34px;
  margin-left: 0;
  padding-right: 22px;
  padding-left: 0;
  border-right: 1px solid rgba(74, 93, 78, 0.16);
  border-left: 0;
}

@media (max-width: 640px) {
  .hy-comment-form {
    grid-template-columns: 1fr;
  }

  .hy-comment-list .children {
    margin-left: 12px;
    padding-left: 14px;
  }

  html[dir="rtl"] .hy-comment-list .children {
    margin-right: 12px;
    padding-right: 14px;
  }
}

/* --- hy-comment-rating: estrellas opcionales en el formulario de comentarios --- */
.hy-comment-rating {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 16px;
}

.hy-comment-rating__label {
  font-family: var(--font-ui, "Inter", system-ui, sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted, #5f6b60);
}

.hy-comment-rating__stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 2px;
}

.hy-comment-rating__stars input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.hy-comment-rating__stars label {
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--color-border, rgba(20, 19, 16, 0.15));
  padding: 2px;
}

.hy-comment-rating__stars input:checked ~ label,
.hy-comment-rating__stars label:hover,
.hy-comment-rating__stars label:hover ~ label,
.hy-comment-rating__stars input:focus-visible + label {
  color: var(--color-gold, #f5c842);
}

.hy-comment__rating {
  margin: 4px 0 10px;
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--color-gold, #f5c842);
}

.hy-recipe-panel--shop {
  background: linear-gradient(160deg, rgba(74, 93, 78, 0.06) 0%, rgba(249, 231, 181, 0.35) 100%);
}

.hy-recipe-shop__disclosure {
  margin: 0 0 12px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(58, 47, 38, 0.62);
}

.hy-recipe-shop__link {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(74, 93, 78, 0.12);
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hy-recipe-shop__link:hover {
  color: var(--color-accent, #c9642f);
}

.hy-recipe-shop li:last-child .hy-recipe-shop__link {
  border-bottom: 0;
}

.hy-recipe-shop__name {
  font-weight: 600;
}

.hy-recipe-shop__cta {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.hy-recipe-cook-tools {
  margin: 18px 0 0;
}

.hy-wake-lock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(74, 93, 78, 0.22);
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-olive, #4a5d4e);
  font-family: var(--font-ui, system-ui, sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.hy-wake-lock.is-active {
  border-color: rgba(201, 100, 47, 0.45);
  background: rgba(201, 100, 47, 0.1);
  color: var(--color-accent, #c9642f);
}

.hy-wake-lock:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
