/* ============================================================
   TikTok Menu — main.css
   Mobile-first, scroll snap, interacción estilo TikTok
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --color-bg:        #000;
  --color-surface:   rgba(255,255,255,0.08);
  --color-overlay:   rgba(0,0,0,0.55);
  --color-text:      #fff;
  --color-muted:     rgba(255,255,255,0.7);
  --color-accent:    #fe2c55;   /* rojo TikTok */
  --color-gold:      #ffd700;
  --color-green:     #25d366;
  --color-primary:   #fe2c55;
  --color-secondary: #69c9d0;

  --radius:          12px;
  --radius-pill:     100px;
  --transition:      0.2s ease;
  --font:            'Segoe UI', system-ui, -apple-system, sans-serif;

  --header-h:        56px;
  --actions-w:       60px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--color-text);
}

.primary-nav { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  transition: opacity var(--transition);
  white-space: nowrap;
  border: none;
}

.btn:hover { opacity: 0.85; }

.btn-login    { background: var(--color-accent); color: #fff; }
.btn-register { background: transparent; border: 1.5px solid #fff; color: #fff; }
.btn-logout   { background: var(--color-surface); color: var(--color-muted); }
.btn-profile  { background: var(--color-surface); color: #fff; }
.btn-back     { background: var(--color-surface); color: #fff; }

/* ── Categorías filtro ─────────────────────────────────────── */
.category-filter {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 90;
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  overflow-x: auto;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
  scrollbar-width: none;
}
.category-filter::-webkit-scrollbar { display: none; }

.cat-btn {
  flex-shrink: 0;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.4);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  transition: background var(--transition), border-color var(--transition);
}

.cat-btn.active,
.cat-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* ── Feed container ────────────────────────────────────────── */
.feed-container {
  height: 100dvh;         /* dynamic viewport height */
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.feed-container::-webkit-scrollbar { display: none; }

/* ── Feed item ─────────────────────────────────────────────── */
.feed-item {
  position: relative;
  width: 100%;
  height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--color-bg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* ── Media ─────────────────────────────────────────────────── */
.media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.media img,
.media video,
.media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media iframe {
  /* Para videos embedded que no se pueden forzar object-fit */
  pointer-events: none;
  transform: scale(1.05);
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.2) 40%,
    transparent 70%
  );
}

.no-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #111;
  color: rgba(255,255,255,0.2);
  font-size: 80px;
}

/* ── Info superpuesta ──────────────────────────────────────── */
.info {
  position: absolute;
  bottom: 80px;
  left: 16px;
  right: calc(var(--actions-w) + 28px);
  z-index: 10;
}

.badge-featured {
  display: inline-block;
  background: linear-gradient(135deg, #ffd700, #ff6b35);
  color: #000;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}

.badge-agotado {
  display: inline-block;
  background: rgba(0,0,0,0.65);
  color: #ff5c5c;
  border: 1px solid rgba(255,92,92,0.5);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
  margin-left: 4px;
  backdrop-filter: blur(4px);
}

.plate-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.cat-tag {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.plate-title {
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
  margin-bottom: 6px;
}

.plate-description {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.plate-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plate-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-gold);
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

.plate-avg-rating {
  font-size: 15px;
  color: var(--color-gold);
}

/* ── Botones de acción (columna derecha) ───────────────────── */
.actions {
  position: absolute;
  right: 12px;
  bottom: 90px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.action-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: transform var(--transition), background var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.action-btn:hover  { background: rgba(255,255,255,0.15); }
.action-btn:active { transform: scale(0.9); }

/* Pulse animation al activar */
.action-btn.pulse {
  animation: pulse-btn 0.35s ease;
}
@keyframes pulse-btn {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Like activo → rojo */
.like-btn.active { color: var(--color-accent); }
/* Favorito activo → dorado */
.favorite-btn.active { color: var(--color-gold); }
/* Consumido activo → verde */
.consumed-btn.active { color: var(--color-green); }

.action-count,
.action-label {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* ── Estrellas ─────────────────────────────────────────────── */
.star-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.star-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: rgba(255,255,255,0.4);
  padding: 2px;
  line-height: 1;
  transition: color var(--transition), transform var(--transition);
}

.star-btn.active,
.star-btn.hover  { color: var(--color-gold); }
.star-btn:active { transform: scale(1.3); }

/* ── Login prompt (visitantes) ─────────────────────────────── */
.login-prompt           { align-items: center; }
.btn-login-feed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(0,0,0,0.5);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  backdrop-filter: blur(6px);
}

/* ── Spinner / load-more ───────────────────────────────────── */
.load-more-trigger {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: none;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Toast / notificación ──────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: rgba(30,30,30,0.92);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  animation: toast-in 0.3s ease, toast-out 0.3s ease 2.2s forwards;
  white-space: nowrap;
}
@keyframes toast-in  { from { opacity:0; transform: translateY(12px); } to { opacity:1; transform: translateY(0); } }
@keyframes toast-out { to   { opacity:0; transform: translateY(-12px); } }

/* ── Feed empty ────────────────────────────────────────────── */
.feed-empty {
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-muted);
  text-align: center;
  padding: 24px;
}

/* ============================================================
   PERFIL DE USUARIO
   ============================================================ */
.profile-locked {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.profile-locked-inner {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.profile-locked-inner .dashicons {
  font-size: 48px;
  width: 48px;
  height: 48px;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.register-link { margin-top: 16px; color: var(--color-muted); font-size: 14px; }
.register-link a { color: var(--color-secondary); text-decoration: underline; }

/* ── Encabezado de perfil ──────────────────────────────────── */
.user-profile {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 16px 40px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
}

.profile-avatar {
  border-radius: 50%;
  width: 80px;
  height: 80px;
}

.profile-name  { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.profile-email,
.profile-phone,
.profile-birthday { font-size: 14px; color: var(--color-muted); line-height: 1.8; }

/* ── Stats bar ─────────────────────────────────────────────── */
.user-stats-bar {
  display: flex;
  justify-content: space-around;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--color-muted);
}

.stat-item strong {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
}

.stat-item .dashicons { font-size: 18px; width: 18px; height: 18px; }

/* ── Pestañas ──────────────────────────────────────────────── */
.profile-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.profile-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  flex-shrink: 0;
  padding: 10px 16px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 600;
  transition: color var(--transition), border-color var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  color: #fff;
  border-bottom-color: var(--color-accent);
}

.tab-panel         { display: none; }
.tab-panel.active  { display: block; }

.tab-panel h2 {
  font-size: 18px;
  margin-bottom: 16px;
}

.empty-list {
  color: var(--color-muted);
  font-size: 15px;
  padding: 24px 0;
  text-align: center;
}

/* ── Grid de platos (perfil) ───────────────────────────────── */
.plate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.plate-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  transition: transform var(--transition);
  display: block;
}

.plate-card:hover { transform: scale(1.03); }

.plate-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.plate-card-info {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plate-card-title { font-size: 13px; font-weight: 700; }
.plate-card-price { font-size: 12px; color: var(--color-gold); }

/* ── Lista de calificaciones ───────────────────────────────── */
.ratings-list    { display: flex; flex-direction: column; gap: 12px; }
.rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 10px;
  transition: background var(--transition);
}
.rating-row:hover { background: rgba(255,255,255,0.08); }

.rating-row img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.rating-row-info { display: flex; flex-direction: column; gap: 4px; }
.rating-title    { font-size: 15px; font-weight: 700; }
.rating-stars    { font-size: 18px; }
.star-fill  { color: var(--color-gold); }
.star-empty { color: rgba(255,255,255,0.25); }

/* ── Barra inferior perfil ─────────────────────────────────── */
.profile-actions-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

/* ============================================================
   SINGLE PLATO
   ============================================================ */
.single-plato-wrap { padding: 80px 0 40px; }

.back-to-feed {
  display: inline-block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-muted);
  transition: color var(--transition);
}
.back-to-feed:hover { color: #fff; }

.single-plato {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0 16px;
}

.single-plato-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 9/16;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
  background: #111;
}

.single-plato-media img,
.single-plato-media video { width:100%; height:100%; object-fit:cover; }

.embed-video-wrap {
  position: relative;
  padding-top: 177.78%;  /* 9:16 */
}
.embed-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.single-plate-title {
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 900;
  margin: 12px 0 8px;
}

.single-plate-price {
  font-size: 28px;
  font-weight: 900;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.single-plate-content {
  color: var(--color-muted);
  line-height: 1.7;
  font-size: 16px;
}

.plate-stats {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--color-muted);
  margin: 16px 0;
}

.single-plate-actions {
  position: static;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

/* ============================================================
   AUTH — Login / Registro personalizado
   ============================================================ */

.auth-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 16px 40px;
  background: radial-gradient(ellipse at top, rgba(254,44,85,.18) 0%, transparent 60%),
              radial-gradient(ellipse at bottom, rgba(105,201,208,.12) 0%, transparent 60%),
              var(--color-bg);
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 36px 28px 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.auth-card--wide { max-width: 520px; }

/* Logo */
.auth-logo {
  text-align: center;
  margin-bottom: 20px;
}
.auth-logo img { max-height: 52px; margin: 0 auto; }
.auth-logo-text {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Títulos */
.auth-title {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 4px;
}
.auth-subtitle {
  font-size: 13px;
  color: var(--color-muted);
  text-align: center;
  margin-bottom: 20px;
}

/* Alertas */
.auth-alert {
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 16px;
}
.auth-alert[hidden] { display: none; }
.auth-alert--error   { background: rgba(254,44,85,.15); border: 1px solid rgba(254,44,85,.4); color: #ff6b8b; }
.auth-alert--success { background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.35); color: #3ddc84; }

/* Campos */
.auth-form { display: flex; flex-direction: column; gap: 16px; }

.auth-fields-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.auth-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-muted);
  letter-spacing: .4px;
  text-transform: uppercase;
}

.required { color: var(--color-accent); }

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 12px;
  font-size: 16px;
  color: rgba(255,255,255,0.35);
  pointer-events: none;
}

.auth-input-wrap input {
  width: 100%;
  height: 44px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  padding: 0 42px 0 38px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.auth-input-wrap input::placeholder { color: rgba(255,255,255,0.3); }
.auth-input-wrap input:focus {
  border-color: var(--color-accent);
  background: rgba(254,44,85,.08);
}
.auth-input-wrap input[type="date"] { color-scheme: dark; }

.auth-toggle-pw {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  padding: 4px;
  line-height: 1;
  transition: color var(--transition);
}
.auth-toggle-pw:hover { color: #fff; }

/* Hints */
.auth-field-hint {
  font-size: 12px;
  min-height: 16px;
  transition: color .2s;
}
.auth-field-hint[data-state="ok"]    { color: var(--color-green); }
.auth-field-hint[data-state="error"] { color: var(--color-accent); }
.auth-field-hint--muted { color: var(--color-muted); }

/* Remember / fila inline */
.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.auth-checkbox-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  cursor: pointer;
}
.auth-checkbox-label input { accent-color: var(--color-accent); width: 15px; height: 15px; }
.auth-link-muted { font-size: 12px; color: var(--color-muted); }
.auth-link-muted:hover { color: #fff; }

/* Botón enviar */
.auth-btn {
  height: 48px;
  width: 100%;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity var(--transition), transform var(--transition);
  margin-top: 4px;
}
.auth-btn:hover:not(:disabled) { opacity: .88; transform: scale(1.02); }
.auth-btn:disabled { opacity: .5; cursor: not-allowed; }

.auth-btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.auth-btn-spinner[hidden] { display: none; }

/* Password strength */
.pw-strength {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.pw-strength-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.pw-strength-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: width .35s ease, background .35s ease;
}
.pw-strength-fill[data-strength="weak"]    { background: #ff4d4d; }
.pw-strength-fill[data-strength="regular"] { background: #ffa500; }
.pw-strength-fill[data-strength="good"]    { background: #ffd700; }
.pw-strength-fill[data-strength="strong"]  { background: var(--color-green); }
.pw-strength-label { font-size: 11px; color: var(--color-muted); min-width: 52px; }

/* Footer de la card */
.auth-footer-text {
  text-align: center;
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 20px;
}
.auth-link {
  color: var(--color-secondary);
  font-weight: 600;
}
.auth-link:hover { color: #fff; }

@media (min-width: 520px) {
  .auth-card--wide .auth-fields-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   RESPONSIVE — tablet y desktop
   ============================================================ */
@media (min-width: 768px) {
  :root { --header-h: 64px; }

  .primary-nav { display: flex; }

  .plate-title { font-size: 28px; }

  .user-profile { padding: 100px 24px 60px; }

  .single-plato {
    grid-template-columns: minmax(0,1fr) 1fr;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .single-plato-media { max-width: none; margin: 0; }

  .plate-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

@media (min-width: 1200px) {
  .feed-item .info  { left: 24px; right: calc(var(--actions-w) + 40px); }
  .feed-item .actions { right: 24px; }
}
