/* Table of contents: 1. Component 2. Responsive 3. Accessibility */
.food26-fridge-notes__door {
  position: relative;
  padding-block: 64px; padding-inline: 56px 84px;
  background: linear-gradient(160deg, #fff, var(--inoforest-color-surface, #faf4ec));
  border: 1px solid var(--inoforest-color-border, #ece2d6);
  border-radius: 40px;
  box-shadow: 0 18px 44px rgb(43 26 18 / 12%);
}
.food26-fridge-notes__handle { position: absolute; inset-block: 16%; inset-inline-end: 26px; width: 14px; background: linear-gradient(#fff, var(--inoforest-color-border, #ece2d6)); border: 1px solid var(--inoforest-color-border, #ece2d6); border-radius: 999px; box-shadow: 0 8px 16px -8px color-mix(in srgb, #2b1a12 30%, transparent); }
.food26-fridge-notes__board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; list-style: none; }
.food26-fridge-note {
  --tilt: -2.4deg;
  position: relative;
  padding: 34px 26px 22px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 16px 26px -16px color-mix(in srgb, #2b1a12 45%, transparent), 0 2px 4px color-mix(in srgb, #2b1a12 8%, transparent);
  translate: var(--x, 0px) var(--y, 0px);
  rotate: var(--tilt);
  transition: rotate 0.4s cubic-bezier(.22,1,.36,1), scale 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s cubic-bezier(.22,1,.36,1);
}
.food26-fridge-note:nth-child(2) { --tilt: 1.8deg; }
.food26-fridge-note:nth-child(3) { --tilt: -1deg; }
.food26-fridge-note:nth-child(4) { --tilt: 2.2deg; }
.food26-fridge-note:nth-child(5) { --tilt: -1.6deg; }
.food26-fridge-note:nth-child(6) { --tilt: 1.2deg; }
.food26-fridge-note[data-note-tone="paprika"] { background: var(--inoforest-custom-primary-light, #fbeae4); }
.food26-fridge-note[data-note-tone="herb"] { background: var(--inoforest-custom-accent-light, #e9f1e4); }
.food26-fridge-note:hover { rotate: 0deg; }
.food26-fridge-notes.is-live .food26-fridge-note { cursor: grab; -webkit-user-select: none; user-select: none; }
.food26-fridge-note.is-held { z-index: 20; rotate: 0deg; scale: 1.05; cursor: grabbing; user-select: none; box-shadow: 0 34px 50px -20px color-mix(in srgb, #2b1a12 50%, transparent); }
.food26-fridge-notes.is-tidying .food26-fridge-note { transition: translate 0.8s cubic-bezier(.22,1,.36,1), rotate 0.4s cubic-bezier(.22,1,.36,1), scale 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s cubic-bezier(.22,1,.36,1); }
.food26-fridge-note__magnet {
  position: absolute; inset-block-start: -13px; inset-inline-start: 50%;
  width: 30px; height: 30px; margin-inline-start: -15px;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, #fff 55%, var(--inoforest-color-primary, #b23a1e)), var(--inoforest-color-primary, #b23a1e) 55%, var(--inoforest-custom-primary-dark, #8e2c15));
  border-radius: 50%;
  box-shadow: 0 5px 8px color-mix(in srgb, #2b1a12 30%, transparent);
}
.food26-fridge-note:nth-child(3n+2) .food26-fridge-note__magnet { background: radial-gradient(circle at 35% 30%, color-mix(in srgb, #fff 50%, var(--inoforest-color-accent, #3f6b32)), var(--inoforest-color-accent, #3f6b32) 55%, color-mix(in srgb, var(--inoforest-color-accent, #3f6b32) 75%, var(--inoforest-custom-dark, #22150f))); }
.food26-fridge-note:nth-child(3n) .food26-fridge-note__magnet { background: radial-gradient(circle at 35% 30%, color-mix(in srgb, #fff 35%, var(--inoforest-color-heading, #2b1a12)), var(--inoforest-color-heading, #2b1a12) 60%); }
.food26-fridge-note__text { margin: 0; }
.food26-fridge-note__text p { margin: 0; font-family: Caveat, cursive; font-size: 1.55rem; line-height: 1.22; color: var(--inoforest-color-heading, #2b1a12); }
.food26-fridge-note .rating { margin-block: 12px 6px; }
.food26-fridge-note__by { margin: 0; font-size: 0.85rem; color: var(--inoforest-custom-muted, #6e5f55); }
.food26-fridge-note__by strong { color: var(--inoforest-color-heading, #2b1a12); }
.food26-fridge-note__by a { font-weight: 600; color: var(--inoforest-color-primary, #b23a1e); }
.food26-fridge-notes[data-f26-show-rating="false"] .food26-fridge-note .rating { display: none; }
.food26-fridge-notes__actions { margin-block-start: 28px; text-align: center; }
.food26-fridge-notes[data-f26-show-reset="false"] [data-notes-reset] { display: none; }






/* Component reset and buttons. */
.food26-fridge-notes :is(ul,ol) { list-style:none; margin:0; padding:0; }
.elementor .food26-fridge-notes img { height:100%; width:100%; object-fit:cover; }
.food26-fridge-notes__reset { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:54px; padding:14px 30px; border:2px solid var(--inoforest-color-primary,#b23a1e); border-radius:999px; background:var(--inoforest-color-primary,#b23a1e); color:#fff; font:700 .975rem/1.2 var(--inoforest-font-body-family,sans-serif); text-decoration:none; }
.food26-fridge-notes__reset:is(:hover,:focus-visible) { color:#fff; background:var(--inoforest-custom-primary-dark,#8e2c15); border-color:var(--inoforest-custom-primary-dark,#8e2c15); }
.food26-fridge-notes :is(a,button,input):focus-visible { outline:3px solid var(--inoforest-color-primary,#b23a1e); outline-offset:4px; }


.food26-fridge-notes__reset[hidden] { display:none; }
.food26-fridge-note:focus-visible { outline:3px solid var(--inoforest-color-primary,#b23a1e); outline-offset:5px; }
.food26-fridge-note .rating { color:var(--inoforest-color-primary,#b23a1e); }
.food26-fridge-note .food26-fridge-note__text { padding:0; border:0; background:transparent; }


/* Preserve intrinsic sizing inside native flex containers; Advanced width still takes precedence. */
.elementor-widget-food26-fridge-notes:not([class*="elementor-widget__width-"]) { width:100%; }
.elementor .food26-fridge-notes img { display:block; }
.food26-fridge-notes__reset { color:var(--inoforest-color-heading,#2b1a12); background:transparent; border-color:var(--inoforest-color-border,#ece2d6); }

.food26-fridge-note .rating { display:inline-flex; align-items:center; font-size:.875rem; line-height:1.2; color:var(--inoforest-custom-rating,#b7791f); }
.food26-fridge-note .rating > span { font-size:1rem; }


.food26-fridge-note__by strong { color:var(--food26-note-by-color,var(--inoforest-color-heading,#2b1a12)); }
.food26-fridge-note__by a { color:var(--food26-note-by-color,var(--inoforest-color-primary,#b23a1e)); }

/* Responsive and reduced-motion alternatives. */
@media (max-width: 1199px) {
  .food26-fridge-notes__board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .food26-fridge-notes__door { padding-block: 44px; padding-inline: 22px 46px; border-radius: 28px; }
  .food26-fridge-notes__handle { inset-inline-end: 14px; width: 10px; }
  .food26-fridge-notes__board { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}
@media (prefers-reduced-motion: reduce) {
.food26-fridge-notes *, .food26-fridge-notes *::before, .food26-fridge-notes *::after { animation: none; transition: none; }
}
