/*
 * Recipe Manager – Frontend Styles v1.1.0
 * Primary colour: #F1A906 (amber/golden)
 * ─────────────────────────────────────────────────────────────
 */

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
  /* Brand – amber/golden */
  --rm-primary:        #F1A906;
  --rm-primary-hover:  #d4930a;
  --rm-primary-dark:   #b87c08;
  --rm-primary-light:  #fdf3d7;
  --rm-primary-rgb:    241, 169, 6;      /* for rgba() usage */

  /* Neutrals */
  --rm-text:           #1a1a1a;
  --rm-text-muted:     #666666;
  --rm-text-light:     #999999;
  --rm-border:         #e4e4e4;
  --rm-bg:             #ffffff;
  --rm-bg-light:       #f7f7f5;
  --rm-bg-card:        #ffffff;

  /* Shape */
  --rm-radius:         6px;
  --rm-radius-lg:      10px;
  --rm-shadow:         0 2px 12px rgba(0, 0, 0, 0.08);
  --rm-shadow-card:    0 2px 16px rgba(0, 0, 0, 0.07);

  /* Type */
  --rm-font:           -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Motion */
  --rm-ease:           0.2s ease;

  /* Layout */
  --rm-max-width:      1200px;
}

/* ── Box-sizing reset scoped to plugin ────────────────────── */
.rm-archive-wrapper,
.rm-single-wrapper,
.rm-shortcode-grid-wrap {
  box-sizing: border-box;
  font-family: var(--rm-font);
  color: var(--rm-text);
}
.rm-archive-wrapper *,
.rm-single-wrapper *,
.rm-shortcode-grid-wrap * {
  box-sizing: inherit;
}


/* ═══════════════════════════════════════════════════════════
   ARCHIVE / GRID
   ═══════════════════════════════════════════════════════════ */

.rm-archive-wrapper {
  max-width: var(--rm-max-width);
  margin: 0 auto;
  padding: 32px 20px 60px;
}

/* ── Archive header ──────────────────────────────────────── */
.rm-archive-header {
  text-align: center;
  margin-bottom: 32px;
}
.rm-archive-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.rm-archive-description {
  color: var(--rm-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Search bar ──────────────────────────────────────────── */
.rm-search-bar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.rm-search-bar {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 520px;
  border: 1.5px solid var(--rm-border);
  border-radius: var(--rm-radius);
  background: var(--rm-bg);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: border-color var(--rm-ease), box-shadow var(--rm-ease);
}
.rm-search-bar:focus-within {
  border-color: var(--rm-primary);
  box-shadow: 0 0 0 3px rgba(var(--rm-primary-rgb), .18);
}
.rm-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: .95rem;
  color: var(--rm-text);
  background: transparent;
  -webkit-appearance: none;
}
.rm-search-input::placeholder { color: var(--rm-text-light); }

.rm-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  height: 42px;
  background: var(--rm-primary);
  border: none;
  cursor: pointer;
  color: #fff;
  flex-shrink: 0;
  transition: background var(--rm-ease);
}
.rm-search-btn:hover,
.rm-search-btn:focus-visible {
  background: var(--rm-primary-hover);
  outline: none;
}
.rm-search-btn:focus-visible {
  outline: 2px solid var(--rm-primary);
  outline-offset: 2px;
}

/* ── Search results overlay ──────────────────────────────── */
.rm-search-results {
  max-width: 520px;
  margin: -28px auto 28px;
  background: var(--rm-bg);
  border: 1.5px solid var(--rm-border);
  border-top: none;
  border-radius: 0 0 var(--rm-radius) var(--rm-radius);
  box-shadow: var(--rm-shadow);
  z-index: 100;
  position: relative;
}
.rm-search-results[hidden] { display: none; }
.rm-search-results .rm-recipe-grid { padding: 16px; }
.rm-search-results .rm-no-results  { padding: 16px; text-align: center; color: var(--rm-text-muted); }

/* ── Recipe grid ─────────────────────────────────────────── */
.rm-recipe-grid {
  display: grid;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rm-recipe-grid--3col { grid-template-columns: repeat(3, 1fr); }
.rm-recipe-grid--2col { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .rm-recipe-grid--3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .rm-recipe-grid--3col,
  .rm-recipe-grid--2col { grid-template-columns: 1fr; }
}

/* ── Recipe card ─────────────────────────────────────────── */
.rm-recipe-card {
  background: var(--rm-bg-card);
  border: 1px solid var(--rm-border);
  border-radius: var(--rm-radius-lg);
  overflow: hidden;
  box-shadow: var(--rm-shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--rm-ease), box-shadow var(--rm-ease);
}
.rm-recipe-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
}

.rm-card__image-link { display: block; text-decoration: none; }
.rm-card__image-wrap {
  position: relative;
  overflow: hidden;
  height: 240px;
}
.rm-card__image {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.rm-recipe-card:hover .rm-card__image { transform: scale(1.04); }
.rm-card__image--placeholder { background: var(--rm-bg-light); height: 100%; }

/* Category badge – amber */
.rm-card__badge,
.rm-category-badge {
  background: var(--rm-primary);
  color: #fff;
  font-weight: 700;
  letter-spacing: .07em;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  pointer-events: none;
}
/* On archive card: float over image */
.rm-card__image-wrap .rm-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
}

.rm-card__body {
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.rm-card__title {
  font-color: #F1A906!important;
  font-size: 3rem!important;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
}
.rm-card__title a { color: inherit; text-decoration: none; }
.rm-card__title a:hover { color: var(--rm-primary); }

.rm-card__excerpt {
  color: var(--rm-text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}
.rm-card__read-more {
  display: inline-block;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--rm-primary);
  text-decoration: none;
  margin-bottom: 14px;
  transition: color var(--rm-ease);
}
.rm-card__read-more:hover { color: var(--rm-primary-dark); text-decoration: underline; }

.rm-card__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--rm-text-muted);
  border-top: 1px solid var(--rm-border);
  padding-top: 10px;
  margin-top: auto;
}
.rm-card__sep { color: var(--rm-text-light); }

/* ── Pagination ──────────────────────────────────────────── */
.rm-pagination { margin-top: 48px; text-align: center; }
.rm-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.rm-pagination .page-numbers a,
.rm-pagination .page-numbers span {
  padding: 6px 12px;
  border: 1px solid var(--rm-border);
  border-radius: var(--rm-radius);
  font-size: .875rem;
  text-decoration: none;
  color: var(--rm-text);
  transition: background var(--rm-ease), color var(--rm-ease);
}
.rm-pagination .page-numbers a:hover {
  background: var(--rm-primary);
  color: #fff;
  border-color: var(--rm-primary);
}
.rm-pagination .page-numbers .current {
  background: var(--rm-primary);
  color: #fff;
  border-color: var(--rm-primary);
}

.rm-no-results {
  text-align: center;
  color: var(--rm-text-muted);
  padding: 40px 0;
}


/* ═══════════════════════════════════════════════════════════
   SINGLE RECIPE – LAYOUT
   ═══════════════════════════════════════════════════════════ */

.rm-single-wrapper {
  max-width: var(--rm-max-width);
  margin: 0 auto;
  padding: 36px 20px 60px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .rm-single-wrapper { grid-template-columns: 1fr; gap: 36px; }
}

/* ── Header ──────────────────────────────────────────────── */
.rm-recipe__header { margin-bottom: 20px; position: relative; }

.rm-recipe__header .rm-category-badge {
  display: inline-block;
  margin-bottom: 10px;
}

.rm-recipe__title {
  font-size: 5rem!important;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px;
}

/* ── Category link ───────────────────────────────────────── */
.rm-recipe__corridor {
  color: var(--rm-text-muted);
  margin-top: 6px;
}
.rm-recipe__corridor strong { color: var(--rm-text); }
.rm-recipe__corridor a {
  color: var(--rm-primary);
  text-decoration: none;
}
.rm-recipe__corridor a:hover { text-decoration: underline; }


/* ═══════════════════════════════════════════════════════════
   STAR RATING
   ═══════════════════════════════════════════════════════════ */

.rm-rating-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.rm-rating__label {
  color: var(--rm-text-muted);
  font-weight: 600;
}

.rm-rating__stars {
  display: flex;
  gap: 2px;
}

.rm-star-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #d8d8d8;
  transition: color var(--rm-ease), transform var(--rm-ease);
  outline: none;
}
.rm-star-btn:focus-visible {
  outline: 2px solid var(--rm-primary);
  border-radius: 3px;
  outline-offset: 1px;
}
.rm-star-btn:hover:not(:disabled),
.rm-star-btn.is-preview,
.rm-star-btn.is-filled {
  color: var(--rm-primary);
}
.rm-star-btn:hover:not(:disabled) {
  transform: scale(1.2);
}
.rm-star-btn:disabled,
.rm-star-btn[aria-disabled="true"] {
  cursor: default;
}

.rm-rating__summary {
  color: var(--rm-text-muted);
}
.rm-rating__avg {
  font-weight: 700;
  color: var(--rm-text);
}
.rm-rating__count {
  font-weight: 700;
  color: var(--rm-text);
}

.rm-rating__voted-msg {
  color: var(--rm-text-light);
  font-style: italic;
  width: 100%;
}

.rm-rating__msg {
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.rm-rating__msg--success {
  background: rgba(var(--rm-primary-rgb), .15);
  color: var(--rm-primary-dark);
}
.rm-rating__msg--info {
  background: var(--rm-bg-light);
  color: var(--rm-text-muted);
}


/* ═══════════════════════════════════════════════════════════
   PRINT BUTTON
   ═══════════════════════════════════════════════════════════ */

.rm-print-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rm-primary);
  border: none;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(var(--rm-primary-rgb), .35);
  transition: background var(--rm-ease), transform var(--rm-ease), box-shadow var(--rm-ease);
  z-index: 10;
}
.rm-print-btn:hover {
  background: var(--rm-primary-hover);
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(var(--rm-primary-rgb), .45);
}
.rm-print-btn:focus-visible {
  outline: 2px solid var(--rm-primary);
  outline-offset: 3px;
}
.rm-print-btn:active { transform: scale(.97); }

/* On small screens, move it below the title */
@media (max-width: 600px) {
  .rm-print-btn { position: static; margin-bottom: 14px; }
}


/* ── Featured image ──────────────────────────────────────── */
.rm-recipe__image-wrap {
  border-radius: var(--rm-radius-lg);
  overflow: hidden;
  box-shadow: var(--rm-shadow);
}
.rm-recipe__image {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
}


/* ═══════════════════════════════════════════════════════════
   QUICK STATS BAR
   ═══════════════════════════════════════════════════════════ */

.rm-quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--rm-bg);
  border: 1px solid var(--rm-border);
  border-radius: 0 0 var(--rm-radius-lg) var(--rm-radius-lg);
  margin-bottom: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
@media (max-width: 640px) {
  .rm-quick-stats { grid-template-columns: repeat(2, 1fr); }
}

.rm-quick-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  text-align: center;
  border-right: 1px solid var(--rm-border);
  gap: 4px;
}
.rm-quick-stats__item:last-child { border-right: none; }

.rm-quick-stats__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rm-primary);
  width: 22px; height: 22px;
}
.rm-quick-stats__icon svg { width: 20px; height: 20px; }

.rm-quick-stats__label {
  color: var(--rm-text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.2;
}
.rm-quick-stats__value {
  font-weight: 700;
  color: var(--rm-text);
}


/* ═══════════════════════════════════════════════════════════
   PORTIONS CALCULATOR
   ═══════════════════════════════════════════════════════════ */

.rm-portions-control {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.rm-portions-btn {
  font-size: 2rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--rm-primary);
  background: transparent;
  color: var(--rm-primary);
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-weight: 700;
  transition: background var(--rm-ease), color var(--rm-ease);
  flex-shrink: 0;
}
.rm-portions-btn:hover:not(:disabled) {
  background: var(--rm-primary);
  color: #fff;
}
.rm-portions-btn:focus-visible {
  outline: 2px solid var(--rm-primary);
  outline-offset: 2px;
}
.rm-portions-btn:disabled,
.rm-portions-btn[aria-disabled="true"] {
  border-color: var(--rm-border);
  color: var(--rm-text-light);
  cursor: not-allowed;
}

.rm-portions-value {
  font-weight: 800;
  color: var(--rm-text);
  min-width: 24px;
  text-align: center;
}


/* ── Excerpt ─────────────────────────────────────────────── */
.rm-recipe__excerpt {
  font-size: .925rem;
  color: var(--rm-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.rm-recipe__excerpt p { margin: 0 0 8px; }

/* ── Section titles ──────────────────────────────────────── */
.rm-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--rm-text);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--rm-primary);
  display: inline-block;
}
.rm-recipe__section { margin-bottom: 36px; }


/* ═══════════════════════════════════════════════════════════
   INTERACTIVE INGREDIENTS
   ═══════════════════════════════════════════════════════════ */

.rm-ingredients-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.rm-ingredient-item { margin-bottom: 4px; }

.rm-ingredient-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  padding: 6px 6px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: var(--rm-font);
  color: var(--rm-text);
  border-radius: 4px;
  transition: background var(--rm-ease);
}
.rm-ingredient-toggle:hover { background: var(--rm-primary-light); }
.rm-ingredient-toggle:focus-visible {
  outline: 2px solid var(--rm-primary);
  outline-offset: 2px;
}

/* Circle icon */
.rm-ingredient-circle {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--rm-border);
  background: var(--rm-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--rm-ease), border-color var(--rm-ease);
  position: relative;
}
/* Checkmark via pseudo */
.rm-ingredient-circle::after {
  content: '';
  display: block;
  width: 10px; height: 6px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
  transition: opacity var(--rm-ease);
}

/* Checked state */
.rm-ingredient-toggle.is-checked .rm-ingredient-circle,
.rm-ingredient-toggle[aria-pressed="true"] .rm-ingredient-circle {
  background: var(--rm-primary);
  border-color: var(--rm-primary);
}
.rm-ingredient-toggle.is-checked .rm-ingredient-circle::after,
.rm-ingredient-toggle[aria-pressed="true"] .rm-ingredient-circle::after {
  opacity: 1;
}
.rm-ingredient-toggle.is-checked .rm-ingredient-text,
.rm-ingredient-toggle[aria-pressed="true"] .rm-ingredient-text {
  text-decoration: line-through;
  color: var(--rm-text-muted);
}

.rm-ingredient-text { line-height: 1.5; }
.rm-ingredient-qty  { font-weight: 700; }

/* ── Shop link ───────────────────────────────────────────── */
.rm-shop-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.rm-shop-link__label {
  font-size: .875rem;
  color: var(--rm-text-muted);
  margin: 0;
}
.rm-shop-link__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--rm-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background var(--rm-ease), transform var(--rm-ease);
  box-shadow: 0 2px 8px rgba(var(--rm-primary-rgb), .3);
}
.rm-shop-link__btn:hover {
  background: var(--rm-primary-hover);
  transform: scale(1.06);
}


/* ── Preparation steps ───────────────────────────────────── */
.rm-preparation-list {
  margin: 0; padding: 0;
  list-style: none;
  counter-reset: prep-counter;
}
.rm-preparation-step {
  counter-increment: prep-counter;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
  line-height: 1.7;
  color: var(--rm-text-muted);
}
.rm-preparation-step::before {
  content: counter(prep-counter) ".";
  font-weight: 800;
  font-size: 1rem;
  color: var(--rm-primary);
  min-width: 24px;
  flex-shrink: 0;
  padding-top: 1px;
}


/* ── Nutritional values ──────────────────────────────────── */
.rm-nutrition-table {
  border: 1px solid var(--rm-border);
  border-radius: var(--rm-radius);
  overflow: hidden;
}
.rm-nutrition-row {
  padding: 10px 16px;
  border-bottom: 1px solid var(--rm-border);
}
.rm-nutrition-row:last-child { border-bottom: none; }
.rm-nutrition-row--header {
  background: var(--rm-primary-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}
.rm-nutrition-row--stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0;
}
.rm-nutrition-cell--stat {
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
  border-right: 1px solid var(--rm-border);
}
.rm-nutrition-cell--stat:last-child { border-right: none; }
.rm-nutrition-label {
  color: var(--rm-text-muted);
  margin-bottom: 2px;
}
.rm-nutrition-value {
  font-weight: 700;
}


/* ═══════════════════════════════════════════════════════════
   SIDEBAR – RELATED RECIPES
   ═══════════════════════════════════════════════════════════ */

.rm-single-sidebar {
  position: sticky;
  top: 24px;
}
.rm-sidebar-title {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--rm-primary);
}
.rm-related-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rm-related-item { border-bottom: 1px solid var(--rm-border); }
.rm-related-item:last-child { border-bottom: none; }

.rm-related-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  text-decoration: none;
  color: inherit;
  border-radius: 4px;
}
.rm-related-link:hover .rm-related-title { color: var(--rm-primary); }

.rm-related-thumb {
  flex-shrink: 0;
  width: 70px; height: 56px;
  border-radius: var(--rm-radius);
  overflow: hidden;
}
.rm-related-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.rm-related-link:hover .rm-related-thumb img { transform: scale(1.06); }

.rm-related-info { flex: 1; min-width: 0; }
.rm-related-title {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
  transition: color var(--rm-ease);
}
.rm-related-excerpt {
  font-size: .78rem;
  color: var(--rm-text-muted);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ═══════════════════════════════════════════════════════════
   SHORTCODE WRAPPER
   ═══════════════════════════════════════════════════════════ */

.rm-shortcode-grid-wrap { padding: 20px 0; }


/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY UTILITY
   ═══════════════════════════════════════════════════════════ */

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ═══════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════ */

@media print {

  /* ── Hide everything outside the recipe ─────────────────── */
  body > *:not(.rm-single-wrapper),
  header, footer, nav,
  .site-header, .site-footer,
  .site-navigation, .main-navigation,
  #wpadminbar,
  .rm-single-sidebar,
  .rm-print-btn,
  .rm-rating-wrap,
  .rm-search-bar-wrap,
  .rm-pagination,
  .rm-shop-link {
    display: none !important;
  }

  /* ── Reset wrapper to single-column for print ───────────── */
  .rm-single-wrapper {
    display: block !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* ── Colour-safe overrides ─────────────────────────────── */
  :root {
    --rm-primary: #F1A906;  /* keep amber for badges/borders */
  }

  /* ── Remove box shadows / transitions ──────────────────── */
  .rm-recipe-card,
  .rm-recipe__image-wrap,
  .rm-quick-stats {
    box-shadow: none !important;
  }

  /* ── Ensure images print ────────────────────────────────── */
  .rm-recipe__image,
  .rm-card__image {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* ── Badges print in colour ─────────────────────────────── */
  .rm-card__badge,
  .rm-category-badge {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* ── Remove ingredient interactivity hints ──────────────── */
  .rm-ingredient-toggle:hover { background: none !important; }

  /* ── Page breaks ─────────────────────────────────────────── */
  .rm-recipe__section { break-inside: avoid; }
  .rm-preparation-step { break-inside: avoid; }

  /* ── Typography ──────────────────────────────────────────── */
  body { font-size: 11pt; }
  .rm-recipe__title { font-size: 20pt; }
  .rm-section-title { font-size: 13pt; }

  /* ── Portions calculator – hide +/- in print ───────────── */
  .rm-portions-btn { display: none !important; }
}