/* =========================
ROOT WRAPPER
========================= */
.rm-menu {
  max-width: 100%;
  margin: 0 auto 30px;
  padding: 8px 10px 30px;
  /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  margin-top: 15px;
  transition: all 0.4s ease-in-out;
}

/* =========================
MENU TITLE
========================= */
.rm-menu-title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  text-align: center;
  background: linear-gradient(135deg, #53150D 0%, #B05526 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleSlideIn 0.6s ease-out;
}

@keyframes titleSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
CATEGORY NAV (STICKY)
========================= */
.rm-category-nav {
  position: sticky;
  top: 60px;
  z-index: 20;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 8px;
  padding: 10px 10px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  animation: navSlideIn 0.5s ease-out 0.1s both;
  transition: all 0.4s ease-in-out;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.rm-category-nav::-webkit-scrollbar {
  display: none;
}

@keyframes navSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rm-cat-btn {
  color: #000;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
}

.rm-cat-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.rm-cat-btn:hover::before {
  width: 300px;
  height: 300px;
}

.rm-cat-btn:hover {
  transform: translateY(-2px);
  background: #53150D;
  color: #fff;
  border-color: #53150D;
  box-shadow: 0 2px 6px rgba(83, 21, 13, 0.15);
}

.rm-cat-btn.active {
  background: linear-gradient(135deg, #53150D 0%, #B05526 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 6px rgba(83, 21, 13, 0.1);
}

/* =========================
FILTER BAR
========================= */
.rm-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 24px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(250, 250, 250, 0.8) 100%);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  animation: filterSlideIn 0.5s ease-out 0.2s both;
}

@keyframes filterSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rm-search-wrapper {
  position: relative;
  flex: 1 1 100%;
  min-width: 220px;
  display: flex;
  align-items: center;
  padding: 8px 0;
}

.rm-search-icon {
  position: absolute;
  left: 12px;
  font-size: 14px;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  color: #53150D;
}

.rm-search {
    flex: 1;
    min-width: 220px;
    padding: 11px 16px 11px 42px !important;
    border-radius: 10px !important;
    border: 2px solid rgba(0, 0, 0, 0.08) !important;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.4s ease-in-out !important;
    font-family: inherit;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.rm-search::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.rm-search:focus {
  outline: none;
  border-color: #53150D;
  box-shadow: 0 0 0 3px rgba(83, 21, 13, 0.08), inset 0 1px 2px rgba(0, 0, 0, 0.02);
  background: #fff;
}

.rm-search:focus + .rm-search-icon {
  opacity: 0.8;
}

.rm-search-clear {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #53150D;
  opacity: 0;
  transition: all 0.3s ease;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  border-radius: 3px !important;
}

.rm-search:not(:placeholder-shown) ~ .rm-search-clear {
  opacity: 1;
  pointer-events: auto;
}

.rm-search-clear:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

.rm-dietary-filters,
.rm-wine-toggle {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.rm-dietary-filters button,
.rm-wine-toggle button {
  padding: 9px 15px;
  border-radius: 8px;
  border: 1.5px solid rgba(83, 21, 13, 0.12);
  background: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.35s ease-in-out;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #343740;
  white-space: nowrap;
}

.rm-dietary-clear {
  /* margin-left: auto !important; */
  order: 10;
}

.rm-dietary-filters button i,
.rm-wine-toggle button i {
  font-size: 13px;
  color: #53150D;
  transition: color 0.35s ease-in-out;
}

.rm-dietary-filters button:hover,
.rm-wine-toggle button:hover {
  background: rgba(83, 21, 13, 0.08);
  border-color: #53150D;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(83, 21, 13, 0.06);
}

.rm-dietary-filters button:hover i,
.rm-wine-toggle button:hover i {
  color: #fff;
}

.rm-dietary-filters button.active i,
.rm-wine-toggle button.active i {
  color: #fff;
}

.rm-dietary-filters button.active,
.rm-wine-toggle button.active {
  background: linear-gradient(135deg, #53150D 0%, #B05526 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(83, 21, 13, 0.15);
  transform: translateY(-1px);
}

/* =========================
SECTION
========================= */
.rm-section {
  margin: 0;
  margin-bottom: 20px;
  animation: fadeSection 0.4s ease both;
}

@keyframes fadeSection {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rm-section-title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: capitalize;
  letter-spacing: -0.01em;
  color: #53150D;
  position: relative;
  padding-bottom: 16px;
}

.rm-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 5px;
  background: linear-gradient(135deg, #53150D 0%, #B05526 100%);
  border-radius: 3px;
}

.rm-section-desc {
  font-size: 15px;
  opacity: 0.8;
  margin-bottom: 28px;
  line-height: 1.7;
  color: #343740;
  font-weight: 500;
}

/* =========================
ITEMS GRID
========================= */
.rm-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* =========================
MENU ITEM CARD
========================= */
.rm-item {
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(83, 21, 13, 0.08);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  z-index: 1;
}

.rm-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #53150D 0%, #B05526 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease-in-out;
}

.rm-item:hover::before {
  transform: scaleX(1);
}

.rm-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(83, 21, 13, 0.12);
  border-color: rgba(83, 21, 13, 0.15);
}

.rm-item:nth-child(1) {
  animation: itemFadeIn 0.5s ease-out 0.1s both;
}

.rm-item:nth-child(2) {
  animation: itemFadeIn 0.5s ease-out 0.2s both;
}

.rm-item:nth-child(3) {
  animation: itemFadeIn 0.5s ease-out 0.3s both;
}

.rm-item:nth-child(n+4) {
  animation: itemFadeIn 0.5s ease-out 0.4s both;
}

@keyframes itemFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
ITEM HEADER
========================= */
.rm-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  min-height: 56px;
}

.rm-item-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #343740;
  line-height: 1.4;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* =========================
PRICE
========================= */
.rm-item-price {
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 56px;
  color: #B05526;
  background: linear-gradient(135deg, #53150D 0%, #B05526 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rm-item-price span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rm-price-icon {
  font-size: 16px;
  color: #B05526;
  transition: color 0.4s ease-in-out;
}

/* =========================
DESCRIPTION & META
========================= */
.rm-item-desc {
  margin-top: 8px;
  padding-top: 12px;
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.85;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #343740;
  border-top: 1px solid rgba(83, 21, 13, 0.08);
}

.rm-desc-icon {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #B05526;
  opacity: 0.7;
}

.rm-item-meta {
  margin-top: 6px;
  padding-top: 12px;
  font-size: 13px;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(83, 21, 13, 0.08);
}

.rm-location-icon {
  font-size: 14px;
  flex-shrink: 0;
  color: #B05526;
}

/* =========================
DIETARY BADGE
========================= */
.rm-dietary {
  margin-left: 0;
  margin-top: 0;
  padding: 6px 12px;
  font-size: 10px;
  letter-spacing: 0.5px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(83, 21, 13, 0.1) 0%, rgba(176, 85, 38, 0.08) 100%);
  color: #53150D;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  white-space: nowrap;
  height: fit-content;
  cursor: help;
  position: relative;
}

.rm-dietary:hover::before {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0;
  padding: 8px 12px;
  background: #53150D;
  color: #fff;
  font-size: 12px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  z-index: 10000;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(83, 21, 13, 0.3);
}

.rm-dietary:hover::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #53150D;
  z-index: 10000;
  pointer-events: none;
}

.rm-dietary {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-block;
}

.rm-item:hover .rm-dietary {
  transform: scale(1.05);
  box-shadow: 0 1px 3px rgba(15, 118, 110, 0.08);
  transition: all 0.4s ease-in-out;
}

/* =========================
WINE TOGGLE
========================= */
/* .rm-item-price span display is controlled via classes */

.rm-wine-glass .rm-item-price span:first-child {
  display: inline;
}

.rm-wine-bottle .rm-item-price span:last-child {
  display: inline;
}

/* =========================
DISCLAIMERS
========================= */
.rm-disclaimers {
  margin-top: 40px;
  padding: 18px 20px;
  font-size: 12px;
  opacity: 0.75;
  line-height: 1.6;
  border-radius: 12px;
  background: rgba(26, 26, 26, 0.03);
  border-left: 4px solid #1a1a1a;
  animation: disclaimerSlideIn 0.5s ease-out 0.5s both;
}

@keyframes disclaimerSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
DESKTOP ENHANCEMENTS
========================= */
@media (min-width: 769px) {
  .rm-menu {
    max-width: 1200px;
    padding: 10px 20px 40px;
    margin: 0 auto 40px;
    border-radius: 20px;
  }

  .rm-menu-title {
    font-size: clamp(28px, 3vw, 40px);
    margin-bottom: 32px;
  }

  .rm-category-nav {
    top: 72px;
    flex-wrap: wrap;
    overflow: visible;
    gap: 12px;
    padding: 16px 12px;
    margin-bottom: 32px;
    border-radius: 16px;
  }

  .rm-cat-btn {
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    flex-shrink: 1;
    white-space: normal;
  }

  .rm-cat-btn:hover {
    background: #53150D;
    border-color: #53150D;
  }

  .rm-cat-btn.active {
    background: linear-gradient(135deg, #53150D 0%, #B05526 100%);
  }

  .rm-filters {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px 0 36px;
    padding: 20px;
    border-radius: 16px;
  }

  .rm-search-wrapper {
    flex: 1 1 100%;
  }

  .rm-section {
    margin: 50px 0;
  }

  .rm-section-title {
    font-size: 24px;
  }

  .rm-item {
    padding: 20px 20px 18px;
    border-radius: 16px;
  }

  .rm-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  }

  .rm-item-top {
    flex-direction: row;
    align-items: center;
  }
}
.rm-layout { display: flex; gap: 24px; align-items: flex-start; }
.rm-sidebar { flex: 0 0 280px; max-width: 280px; align-self: flex-start; position: -webkit-sticky; position: sticky; top: 24px; }
.rm-content { flex: 1 1 auto; }
.rm-category-nav { display:flex; flex-direction:column; gap:8px; margin-bottom:16px; }
.rm-category-nav .rm-cat-btn { text-align:left; }
.rm-filters { margin-bottom:16px; }
@media (max-width: 768px) {
  .rm-layout { flex-direction: column; }
  .rm-sidebar { position: static; width: 100%; max-width: none; }
  .rm-category-nav { flex-direction: row; overflow-x: auto; }
  .rm-category-nav .rm-cat-btn { white-space: nowrap; }
  .rm-dietary-filters button { font-size: 13px !important; }
}
h1.entry-title {
    display: none !important;
}