/*
 * KOrder styles · public/css/11-category-backdrop.css
 * Category backdrop on the tablet menu + its admin form.
 *
 * public/css/*.css used to be one public/styles.css. The files are cut from it in order
 * and index.html loads them in that same order, which is the CSS cascade order: do not
 * reorder the <link> tags, and add a rule to the file that owns its screen.
 * Map: public/css/README.md
 */
/* Category backdrop (e.g. seasonal promo theme). Stays put while the menu scrolls;
   a light veil keeps tiles and the section title readable over busy art. */
.tablet-menu-stage.has-category-bg {
  background:
    linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.28)),
    var(--category-bg) center / cover no-repeat;
}

.tablet-menu-stage.has-category-bg .menu-section-head {
  padding: 8px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.category-bg-form {
  display: grid;
  grid-template-columns: minmax(140px, 200px) minmax(180px, 1fr) minmax(160px, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.category-bg-list {
  display: grid;
  gap: 7px;
}

.category-bg-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-bg-row strong {
  flex: 1;
}

.category-bg-thumb {
  width: 96px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--category-bg) center / cover no-repeat;
}

@media (max-width: 760px) {
  .category-bg-form {
    grid-template-columns: 1fr;
  }
}

