/**
 * Menu Template 2 — "Rustic List" (Pro).
 * Loaded on top of frontend.css only when this template is active; layout
 * only, scoped under .rztqm-menu--template-2 — every color still comes from
 * the active color theme's CSS variables, including the textured page
 * background below (built from --rztqm-bg-soft/--rztqm-border so it re-tints
 * correctly whichever theme is active, rather than a fixed tan parchment
 * color that would look wrong under a theme like Seafood or Luxury).
 */

/* Hero logo: rounded square (not the circle template-1/3 use) — matches
   the reference design's squarer brand mark. */
.rztqm-menu--template-2 .rztqm-menu__hero-logo {
  border-radius: 14px;
}

.rztqm-menu--template-2 {
  background-color: var(--rztqm-bg-soft);
  background-image:
    radial-gradient(
      circle at 15% 20%,
      color-mix(in srgb, var(--rztqm-border) 55%, transparent) 0,
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 10%,
      color-mix(in srgb, var(--rztqm-border) 45%, transparent) 0,
      transparent 40%
    ),
    radial-gradient(
      circle at 60% 80%,
      color-mix(in srgb, var(--rztqm-border) 50%, transparent) 0,
      transparent 50%
    );
  padding-bottom: 16px;
}

/* Category nav: dark rounded tabs — background/text are the theme's own
   text/background colors swapped, so contrast holds in a light theme
   (Modern Café) and a dark one (Luxury Restaurant) alike. */
.rztqm-menu--template-2 .rztqm-category-pill {
  background: var(--rztqm-text);
  color: var(--rztqm-bg);
  border-color: var(--rztqm-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
  font-weight: 700;
}

.rztqm-menu--template-2 .rztqm-category-pill[aria-current="true"] {
  background: var(--rztqm-accent);
  border-color: var(--rztqm-accent);
  color: #fff;
}

/* Category section headings: bold, uppercase, no rule — matches the plain
   bold section titles in the reference design. */
.rztqm-menu--template-2 .rztqm-category-section__title {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 17px;
}

/* Always a single stacked list, at every breakpoint — the "+"/meta layout
   below needs the item's full width, not a multi-column grid. */
.rztqm-menu--template-2 .rztqm-item-grid,
.rztqm-menu--template-2 .rztqm-item-list {
  grid-template-columns: 1fr;
}

/* Items read as floating cream cards on the textured page background. */
.rztqm-menu--template-2 .rztqm-item-card {
  border-color: color-mix(in srgb, var(--rztqm-border) 70%, transparent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 14px;
  gap: 14px;
}

/* Scoped under .rztqm-item-card (not just .rztqm-menu--template-2), since the
   item modal's photo wrapper shares the same base .rztqm-item-card__image-wrap
   class — without this scoping the higher-specificity selector below would
   also shrink the modal's photo down to card-thumbnail size. */
.rztqm-menu--template-2 .rztqm-item-card .rztqm-item-card__image-wrap {
  width: 88px;
  height: 88px;
}

.rztqm-menu--template-2 .rztqm-item-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rztqm-menu--template-2 .rztqm-item-card__name {
  font-size: 16px;
  margin: 0;
}

.rztqm-menu--template-2 .rztqm-item-badge {
  margin-bottom: 0;
}


/* Price + round "+" button, stacked at the card's trailing edge. */
.rztqm-menu--template-2 .rztqm-item-card__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  flex: 0 0 auto;
  align-self: stretch;
}

.rztqm-menu--template-2 .rztqm-item-card__price {
  white-space: nowrap;
}

.rztqm-item-card__add-btn--round {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  background: var(--rztqm-accent);
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.rztqm-item-card__add-btn--round:hover {
  transform: scale(1.06);
}
