/* ================================================================
   Seli-Poeli — Digital Menu Styles
   ================================================================ */

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

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-transform: uppercase;
}

:root {
  --bg:       #000000;
  --card-bg:  #1a1a1a;
  --border:   #2a2a2a;
  --main:     #f5f5f5;
  --aux:      #a0a0a0;
  --accent1:  #e8b931;
  --accent2:  #d94f3b;
  --font-heading: 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-accent:  'Skolar PE', serif;
  --font-mono:    'Ubuntu Mono', monospace;
}

body {
  background-color: var(--bg);
  color: var(--main);
  font-family: var(--font-body);
}

/* ── Grid ────────────────────────────────────────────────────── */
.menu-grid {
  display: grid;
  height: 100vh;
  padding: 16px;
}

/* ── Logo ────────────────────────────────────────────────────── */
.menu-card--logo {
  background: #000000;
  border: none;
  padding: 0;
  overflow: hidden;
}

/* ── Item General Card ────────────────────────────────────────── */
.item-general {
  background: #1e1e1e;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  line-height: 1;
  overflow: hidden;
}

.item-general__name {
  font-family: var(--font-accent);
  font-size: 4rem;
  line-height: 1;
  font-weight: 700;
  color: var(--accent1);
  text-transform: none;
  letter-spacing: 0.02em;
}

.price-accent {
  background: transparent;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  line-height: 1;
  overflow: hidden;
}

.price-accent__name {
  font-family: var(--font-accent);
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 700;
  color: var(--accent1);
  text-transform: none;
}

.price-pair {
  background: transparent;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  line-height: 1;
  overflow: hidden;
}

.price-pair__inner {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0;
  font-family: var(--font-accent);
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 700;
  text-transform: none;
  white-space: nowrap;
}

.price-pair__standard {
  color: var(--accent1);
}

.price-pair__slash {
  color: rgba(232, 185, 49, 0.5);
}

.price-pair__suffix {
  color: var(--accent1);
}

.price-pair__mega {
  color: #ffffff;
}

.item-sub {
  background: transparent;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  line-height: 1;
  overflow: hidden;
}

.item-sub__name {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ── BG Group Card ───────────────────────────────────────────── */
.bg-group {
  background: transparent;
  border: 4px solid var(--accent1);
  overflow: hidden;
}

/* ── Overlay Price ───────────────────────────────────────────── */
.overlay-price {
  position: relative;
  top: 50%;
  left: 50%;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent2);
  text-transform: uppercase;
  overflow: hidden;
}

.overlay-subtitle {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
}

.overlay-subtitle span {
  font-family: Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow:
    -4px -4px 0 rgba(0,0,0,0.5),
     4px -4px 0 rgba(0,0,0,0.5),
    -4px  4px 0 rgba(0,0,0,0.5),
     4px  4px 0 rgba(0,0,0,0.5);
}

.item-label {
  background: #1e1e1e;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  line-height: 1;
  overflow: hidden;
}

.item-label__name {
  font-family: Arial, sans-serif;
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
  text-transform: none;
}

/* ── Grid Overlay ───────────────────────────────────────────── */
.grid-overlay-inner {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: repeat(36, 1fr);
  grid-template-rows: repeat(25, 1fr);
  gap: 16px;
  pointer-events: auto;
  z-index: 4;
}

.item-vertical {
  background: #1e1e1e;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  overflow: hidden;
}

.item-vertical__name {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: pre-line;
  text-align: center;
  transform: rotate(-90deg);
}

.section-compact {
  background: #1e1e1e;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
}

.section-compact__name {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
  color: var(--accent1);
  text-transform: none;
}

.group-compact {
  background: #1e1e1e;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
}

.group-compact__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
  color: var(--accent1);
  text-transform: uppercase;
}

.item-compact {
  background: #1e1e1e;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
}

.item-compact__name {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
  text-transform: none;
  white-space: nowrap;
}

.price-compact {
  background: #1e1e1e;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
}

.price-compact__name {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  line-height: 1;
  font-weight: 700;
  color: var(--accent1);
  text-transform: none;
}
