/* Frigga Macka TV — warm mocha / chocolate shop theme (clearly brown, not charcoal) */
:root {
  --fg-green: #7a4a2a; /* brand mocha brown */
  --fg-brand: #7a4a2a;
  --fg-cream: #f5e8d5;
  --fg-ink: #4a2c1a;
  --fg-muted: #8b6b4f;
  --fg-gold: #d4a574;
  --fg-gold-soft: #e8c9a0;
  --fg-line: rgba(122, 74, 42, 0.35);
  --fg-outer: #3b2416;
  --fg-radius: 28px;
  --fg-radius-sm: 18px;
  --fg-fit: 1;
  --fg-title: calc(78px * var(--fg-fit));
  --fg-sub: calc(20px * var(--fg-fit));
  --fg-cat: calc(30px * var(--fg-fit));
  --fg-name: calc(30px * var(--fg-fit));
  --fg-price: calc(28px * var(--fg-fit));
  --fg-desc: calc(18px * var(--fg-fit));
  --fg-icon: calc(48px * var(--fg-fit));
  --fg-row-gap: calc(8px * var(--fg-fit));
  --fg-cta-h: calc(24px * var(--fg-fit));
  --fg-cta-p: calc(18px * var(--fg-fit));
  --fg-foot: calc(30px * var(--fg-fit));
  --fg-foot-em: calc(28px * var(--fg-fit));
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--fg-outer);
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--fg-ink);
  -webkit-font-smoothing: antialiased;
}

.fg-app {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--fg-outer);
}

.fg-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1080px;
  height: 1920px;
  transform: translate3d(-50%, -50%, 0);
  transform-origin: center center;
  will-change: transform;
  background: var(--fg-outer);
}

.fg-board {
  width: 100%;
  height: 100%;
  padding: 22px;
  position: relative;
}

.fg-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--fg-cream);
  border: 12px solid var(--fg-green);
  border-radius: var(--fg-radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Platform credit styles live in /tv/shared/dinesys-credit.css */

.fg-main {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  padding: 28px 28px 12px;
  overflow: hidden;
}

.fg-main.is-stack {
  grid-template-columns: 1fr;
}

.fg-left {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.fg-right {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.fg-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 4px;
  flex: 0 0 auto;
}

.fg-header-icon {
  width: calc(52px * var(--fg-fit));
  height: calc(52px * var(--fg-fit));
  color: var(--fg-gold);
}

.fg-title {
  font-size: var(--fg-title);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-green);
}

.fg-subtitle {
  font-size: var(--fg-sub);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.fg-heart {
  width: calc(26px * var(--fg-fit));
  height: calc(26px * var(--fg-fit));
  margin: 2px 0 4px;
  color: var(--fg-gold);
}

.fg-cats {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  justify-content: flex-start;
}

.fg-cat {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fg-cat + .fg-cat {
  padding-top: 10px;
  border-top: 2px solid var(--fg-line);
}

.fg-cat-title {
  font-size: var(--fg-cat);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-green);
  margin-bottom: 4px;
  flex: 0 0 auto;
}

.fg-list {
  display: flex;
  flex-direction: column;
  gap: var(--fg-row-gap);
  flex: 0 0 auto;
}

.fg-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  flex: 0 0 auto;
}

.fg-row-icon {
  display: none;
}

.fg-row-body { min-width: 0; }

.fg-row-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.fg-row-name {
  font-size: var(--fg-name);
  font-weight: 800;
  color: var(--fg-ink);
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.15;
  word-break: break-word;
}

.fg-row-dots {
  flex: 1;
  border-bottom: 3px dotted rgba(122, 74, 42, 0.45);
  transform: translateY(-4px);
  min-width: 12px;
}

.fg-row-price {
  font-size: var(--fg-price);
  font-weight: 800;
  color: var(--fg-ink);
  white-space: nowrap;
  line-height: 1.15;
  padding-top: 2px;
  text-align: right;
}

.fg-row-price-main {
  white-space: nowrap;
}

.fg-row-halv {
  margin-top: 2px;
  font-size: calc(var(--fg-price) * 0.78);
  font-weight: 700;
  color: var(--fg-green);
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0.92;
}

.fg-row-desc {
  margin-top: 2px;
  font-size: var(--fg-desc);
  line-height: 1.28;
  color: var(--fg-ink);
  font-weight: 800;
}

.fg-photo {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: var(--fg-radius-sm);
  overflow: hidden;
  background: #ddd4c4;
}

.fg-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.35s ease-in-out, transform 12s ease-out;
  will-change: opacity, transform;
}

.fg-photo img.is-visible {
  opacity: 1;
}

.fg-photo img.is-ken {
  transform: scale(1.08) translate(-1.2%, -0.8%);
}

.fg-cta {
  background: var(--fg-green);
  color: var(--fg-cream);
  border-radius: var(--fg-radius-sm);
  padding: 20px 18px;
  text-align: center;
  flex: 0 0 auto;
}

.fg-cta-icon {
  width: calc(36px * var(--fg-fit));
  height: calc(36px * var(--fg-fit));
  margin: 0 auto 8px;
  color: var(--fg-gold);
}

.fg-cta h3 {
  font-size: var(--fg-cta-h);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 800;
}

.fg-cta p {
  font-size: var(--fg-cta-p);
  line-height: 1.35;
  font-weight: 600;
  opacity: 0.95;
}

.fg-footer {
  position: relative;
  margin: 4px 18px 18px;
  background: var(--fg-green);
  color: #fff;
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  flex: 0 0 auto;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(212, 165, 116, 0);
  animation: fg-footer-glow 4.5s ease-in-out infinite;
}

.fg-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.14) 50%,
    transparent 62%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: fg-footer-shimmer 5.5s ease-in-out infinite;
  pointer-events: none;
}

.fg-footer-icon {
  width: calc(52px * var(--fg-fit));
  height: calc(52px * var(--fg-fit));
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: var(--fg-gold-soft);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  animation: fg-footer-icon 3.2s ease-in-out infinite;
}

.fg-footer-icon svg { width: 52%; height: 52%; }

.fg-footer-text {
  position: relative;
  z-index: 1;
  animation: fg-footer-text 4.5s ease-in-out infinite;
}

.fg-footer-text strong {
  display: block;
  font-size: var(--fg-foot);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 800;
}

.fg-footer-text em {
  display: block;
  margin-top: 2px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: var(--fg-foot-em);
  color: var(--fg-gold-soft);
  font-weight: 500;
}

@keyframes fg-footer-shimmer {
  0%, 35% { transform: translateX(-120%); }
  55% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

@keyframes fg-footer-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(212, 165, 116, 0); }
  50% { box-shadow: 0 0 28px rgba(212, 165, 116, 0.45); }
}

@keyframes fg-footer-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes fg-footer-text {
  0%, 100% { opacity: 0.92; }
  50% { opacity: 1; }
}

.fg-status {
  position: fixed;
  left: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  z-index: 20;
  /* Never cover the menu on portrait TVs when rotated/scaled */
  max-width: min(40vw, 280px);
  pointer-events: none;
}

/* Density: drinks — list on top + photo grid below */
.fg-board.is-roomy {
  --fg-title: calc(86px * var(--fg-fit));
  --fg-sub: calc(22px * var(--fg-fit));
  --fg-name: calc(34px * var(--fg-fit));
  --fg-price: calc(32px * var(--fg-fit));
  --fg-desc: calc(20px * var(--fg-fit));
  --fg-icon: calc(54px * var(--fg-fit));
  --fg-row-gap: calc(10px * var(--fg-fit));
  --fg-cta-h: calc(26px * var(--fg-fit));
  --fg-cta-p: calc(20px * var(--fg-fit));
  --fg-foot: calc(32px * var(--fg-fit));
  --fg-foot-em: calc(30px * var(--fg-fit));
}

.fg-board.is-drinks {
  --fg-title: calc(72px * var(--fg-fit));
  --fg-sub: calc(18px * var(--fg-fit));
  --fg-name: calc(30px * var(--fg-fit));
  --fg-price: calc(28px * var(--fg-fit));
  --fg-icon: calc(46px * var(--fg-fit));
  --fg-row-gap: calc(7px * var(--fg-fit));
  --fg-foot: calc(30px * var(--fg-fit));
  --fg-foot-em: calc(28px * var(--fg-fit));
}

.fg-board.is-drinks .fg-main {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(420px, 1fr) auto;
  gap: 14px;
  padding: 18px 24px 10px;
}

.fg-board.is-drinks .fg-header {
  margin-bottom: 2px;
  gap: 2px;
}

.fg-board.is-drinks .fg-header-icon {
  width: calc(40px * var(--fg-fit));
  height: calc(40px * var(--fg-fit));
}

.fg-board.is-drinks .fg-heart {
  width: calc(20px * var(--fg-fit));
  height: calc(20px * var(--fg-fit));
  margin: 0 0 2px;
}

.fg-board.is-drinks .fg-left {
  min-height: 0;
  max-height: 980px;
  overflow: hidden;
}

.fg-board.is-drinks .fg-cats {
  justify-content: flex-start;
  gap: 6px;
}

.fg-board.is-drinks .fg-show-caption strong {
  font-size: calc(24px * var(--fg-fit));
}

.fg-board.is-drinks .fg-show-caption span {
  font-size: calc(20px * var(--fg-fit));
}

/* Mackor + Sallader / Pinsa — menu on top, food showcase below */
.fg-board.is-food {
  --fg-title: calc(78px * var(--fg-fit));
  --fg-sub: calc(22px * var(--fg-fit));
  --fg-cat: calc(36px * var(--fg-fit));
  --fg-name: calc(32px * var(--fg-fit));
  --fg-price: calc(30px * var(--fg-fit));
  --fg-desc: calc(19px * var(--fg-fit));
  --fg-icon: calc(54px * var(--fg-fit));
  --fg-row-gap: calc(10px * var(--fg-fit));
  --fg-foot: calc(32px * var(--fg-fit));
  --fg-foot-em: calc(30px * var(--fg-fit));
}

.fg-board.is-food .fg-main {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(220px, 34%) minmax(0, 1fr);
  gap: 12px;
  padding: 18px 26px 8px;
}

.fg-board.is-food .fg-header {
  margin-bottom: 4px;
  gap: 4px;
}

.fg-board.is-food .fg-header-icon {
  width: calc(40px * var(--fg-fit));
  height: calc(40px * var(--fg-fit));
}

.fg-board.is-food .fg-cats {
  justify-content: flex-start;
  gap: 8px;
}

.fg-board.is-food .fg-cat + .fg-cat {
  padding-top: 10px;
}

.fg-board.is-food .fg-cat-title {
  margin-bottom: 6px;
}

.fg-board.is-food .fg-row-halv {
  font-size: calc(var(--fg-price) * 0.82);
  margin-top: 3px;
}

.fg-board.is-food .fg-left {
  min-height: 0;
  max-height: none;
  overflow: hidden;
}

/* Showcase: 2×2 food photo grid with name captions */
.fg-showcase {
  min-height: 0;
  border-radius: var(--fg-radius-sm);
  overflow: hidden;
  position: relative;
  background: transparent;
}

.fg-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 100%;
}

.fg-showcase-grid.is-pair {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 16px;
}

.fg-showcase-grid.is-pair .fg-show-caption strong {
  font-size: calc(34px * var(--fg-fit));
}

.fg-showcase-grid.is-pair .fg-show-caption span {
  font-size: calc(28px * var(--fg-fit));
}

.fg-showcase-grid.is-single {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  gap: 0;
}

.fg-showcase-grid.is-single .fg-show-cell {
  border-radius: 20px;
}

.fg-showcase-grid.is-single .fg-show-caption {
  left: 28px;
  right: 28px;
  bottom: 28px;
}

.fg-showcase-grid.is-single .fg-show-caption strong {
  font-size: calc(48px * var(--fg-fit));
}

.fg-showcase-grid.is-single .fg-show-caption span {
  font-size: calc(36px * var(--fg-fit));
}

.fg-show-cell {
  position: relative;
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #ddd4c4;
  box-shadow: 0 8px 22px rgba(20, 38, 28, 0.16);
}

.fg-show-stage {
  position: absolute;
  inset: 0;
}

.fg-show-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.2s ease-in-out, transform 10s ease-out;
  will-change: opacity, transform;
}

.fg-show-stage > img.is-visible {
  opacity: 1;
}

.fg-show-stage > img.is-ken {
  transform: scale(1.08) translate(-0.8%, -0.6%);
}

/* Soft drinks (glass bottles): show full bottle, don't crop like food cards */
.fg-board.is-drinks .fg-show-stage > img,
.fg-board.is-drinks .fg-show-stage > img.is-ken,
.fg-board.is-drinks .fg-show-stage > img.is-visible {
  object-fit: contain;
  object-position: center center;
  background: #f3eee4;
  transform: none;
}

.fg-board.is-drinks .fg-show-stage > img.is-ken {
  transform: scale(1.02);
}

/*
 * Food photos are branded cards (name + ingredients on the right).
 * Mackor 2×2: cover + bias to text side. Pinsa hero: contain so full card text shows.
 */
.fg-main.is-food .fg-show-cell {
  background: #1a100a;
}

.fg-main.is-food .fg-show-stage > img,
.fg-main.is-food .fg-show-stage > img.is-ken,
.fg-main.is-food .fg-show-stage > img.is-visible {
  object-fit: cover;
  object-position: 72% center;
  transform: none;
}

/* Pinsa hero: fill the frame; keep branded text (right side) in view */
.fg-main.is-food.is-pinsa .fg-showcase-grid.is-single .fg-show-cell {
  background: #1a100a;
}

.fg-main.is-food.is-pinsa .fg-show-stage > img,
.fg-main.is-food.is-pinsa .fg-show-stage > img.is-ken,
.fg-main.is-food.is-pinsa .fg-show-stage > img.is-visible {
  object-fit: cover;
  /* Shift crop left so right-side branded text stays inside the frame */
  object-position: 92% center;
  transform: none;
}

.fg-main.is-food .fg-show-veil,
.fg-main.is-food .fg-show-caption {
  display: none;
}

.fg-show-veil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(
    to top,
    rgba(74, 44, 26, 0.88) 0%,
    rgba(74, 44, 26, 0.38) 55%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

.fg-show-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  color: #fff;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fg-show-caption.is-in {
  opacity: 1;
  transform: translateY(0);
}

.fg-show-caption strong {
  font-size: calc(26px * var(--fg-fit));
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  min-width: 0;
}

.fg-show-caption span {
  flex-shrink: 0;
  font-size: calc(22px * var(--fg-fit));
  font-weight: 800;
  color: var(--fg-gold-soft);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* Pinsa + Drycker — larger type; autoFit shrinks if needed */
.fg-board.is-packed {
  --fg-title: calc(76px * var(--fg-fit));
  --fg-sub: calc(22px * var(--fg-fit));
  --fg-cat: calc(34px * var(--fg-fit));
  --fg-name: calc(30px * var(--fg-fit));
  --fg-price: calc(28px * var(--fg-fit));
  --fg-desc: calc(18px * var(--fg-fit));
  --fg-icon: calc(50px * var(--fg-fit));
  --fg-row-gap: calc(8px * var(--fg-fit));
  --fg-foot: calc(32px * var(--fg-fit));
  --fg-foot-em: calc(30px * var(--fg-fit));
}

.fg-board.is-packed .fg-main {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(200px, 30%) minmax(0, 1fr);
  gap: 10px;
  padding: 16px 24px 8px;
}

.fg-board.is-packed .fg-left {
  min-height: 0;
  max-height: none;
  overflow: hidden;
}

.fg-board.is-packed .fg-header {
  margin-bottom: 6px;
  gap: 6px;
}

.fg-board.is-packed .fg-cats {
  justify-content: flex-start;
  gap: 8px;
}

.fg-board.is-packed .fg-cat + .fg-cat {
  padding-top: 10px;
}

.fg-board.is-packed .fg-cat-title {
  margin-bottom: 8px;
}

.fg-board.is-packed .fg-row-desc {
  -webkit-line-clamp: 1;
}

.fg-main.is-food-stack .fg-cta { display: none; }

.fg-board.is-tight .fg-row-desc {
  -webkit-line-clamp: 1;
}
.fg-board.is-tight .fg-cats {
  gap: 6px;
}
.fg-board.is-tight {
  --fg-row-gap: calc(5px * var(--fg-fit));
}

.fg-main.is-showcase .fg-right-strip,
.fg-main.is-food-stack .fg-right-strip {
  display: none;
}

/* Maxi-style right feature rail — Frigga mocha theme */
.fg-board.is-rail {
  --fg-title: calc(70px * var(--fg-fit));
  --fg-sub: calc(20px * var(--fg-fit));
  --fg-cat: calc(32px * var(--fg-fit));
  --fg-name: calc(34px * var(--fg-fit));
  --fg-price: calc(32px * var(--fg-fit));
  --fg-desc: calc(20px * var(--fg-fit));
  --fg-row-gap: calc(11px * var(--fg-fit));
  --fg-foot: calc(28px * var(--fg-fit));
  --fg-foot-em: calc(26px * var(--fg-fit));
}

.fg-board.is-rail .fg-main,
.fg-board.is-rail.is-food .fg-main,
.fg-board.is-rail.is-drinks .fg-main,
.fg-board.is-rail.is-packed .fg-main {
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.78fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 16px;
  padding: 20px 20px 10px;
}

.fg-board.is-rail .fg-left,
.fg-board.is-rail.is-food .fg-left,
.fg-board.is-rail.is-drinks .fg-left {
  min-height: 0;
  max-height: none;
  overflow: hidden;
}

.fg-board.is-rail .fg-header {
  margin-bottom: 8px;
}

.fg-board.is-rail .fg-cats {
  justify-content: flex-start;
  gap: 10px;
}

.fg-board.is-rail .fg-row-desc {
  line-height: 1.3;
  white-space: normal;
  overflow: visible;
}

.fg-feature {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #3b2416;
  border: 3px solid var(--fg-gold);
  box-shadow: 0 16px 32px rgba(59, 36, 22, 0.28);
}

.fg-feature-photo {
  position: relative;
  flex: 1 1 auto;
  min-height: 280px;
  overflow: hidden;
  background: #2a1810;
}

.fg-feature-stage {
  position: absolute;
  inset: 0;
}

.fg-feature-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
}

.fg-feature-stage > img.is-visible {
  opacity: 1;
}

.fg-board.is-rail.is-drinks .fg-feature-photo,
.fg-board.is-rail.is-drinks .fg-feature-stage > img,
.fg-board.is-rail.is-drinks .fg-feature-stage > img.is-visible {
  background: #f3eee4;
  object-fit: contain;
}

.fg-feature-body {
  flex: 0 0 auto;
  padding: 16px 18px 18px;
  color: var(--fg-cream);
}

.fg-feature-kicker {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 26px;
  font-weight: 500;
  color: var(--fg-gold-soft);
  line-height: 1.15;
  margin-bottom: 6px;
}

.fg-feature-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.fg-feature-line h2 {
  min-width: 0;
  flex: 1 1 auto;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.08;
  color: #fff8ef;
  white-space: nowrap;
  overflow: hidden;
}

.fg-feature-price {
  flex-shrink: 0;
  padding-top: 4px;
  font-size: 28px;
  font-weight: 800;
  color: var(--fg-gold);
  white-space: nowrap;
}

.fg-feature-desc {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.32;
  color: rgba(245, 232, 213, 0.84);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* TV3 Frigga: square 2×2 feature grid (photo + name/price + short desc) */
.fg-feature.fg-fgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  box-sizing: border-box;
  overflow: hidden;
}

.fg-fgrid-cell {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #3b2416;
  border: 2.5px solid var(--fg-gold);
  box-shadow: 0 8px 18px rgba(59, 36, 22, 0.26);
}

.fg-fgrid-stage {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #2a1810;
}

.fg-fgrid-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.85s ease-in-out;
}

.fg-fgrid-stage > img.is-visible {
  opacity: 1;
}

.fg-fgrid-caption {
  flex: 0 0 auto;
  padding: 8px 10px 10px;
  color: var(--fg-cream);
  background: rgba(59, 36, 22, 0.93);
}

.fg-fgrid-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.fg-fgrid-name {
  font-size: calc(22px * var(--fg-fit));
  font-weight: 800;
  color: #fff8ef;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.fg-fgrid-price {
  flex-shrink: 0;
  font-size: calc(20px * var(--fg-fit));
  font-weight: 800;
  color: var(--fg-gold);
  white-space: nowrap;
}

.fg-fgrid-desc {
  margin-top: 6px;
  font-size: calc(14px * var(--fg-fit));
  line-height: 1.25;
  color: rgba(245, 232, 213, 0.84);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fg-board.is-rail.is-drinks .fg-fgrid-stage,
.fg-board.is-rail.is-drinks .fg-fgrid-stage > img {
  background: #f3eee4;
}

.fg-board.is-rail.is-drinks .fg-fgrid-stage > img {
  object-fit: contain;
}

/* DRYCKER only: 4 large square cards stacked vertically (so after 90° TV rotation they match your sketch). */
.fg-board.is-rail.is-drinks .fg-feature.fg-fgrid {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 12px;
  box-sizing: border-box;
  align-items: stretch;
  justify-content: space-evenly;
}

.fg-board.is-rail.is-drinks .fg-feature.fg-fgrid .fg-fgrid-cell {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-width: 0;
  min-height: 0;
}

/* Restore normal layout flow for stage/caption (prevents cards from disappearing/collapsing). */
.fg-board.is-rail.is-drinks .fg-feature.fg-fgrid .fg-fgrid-stage {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
}

.fg-board.is-rail.is-drinks .fg-feature.fg-fgrid .fg-fgrid-stage > img {
  object-fit: cover;
}

.fg-board.is-rail.is-drinks .fg-feature.fg-fgrid .fg-fgrid-caption {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: auto;
}

.fg-board.is-rail.is-drinks .fg-feature.fg-fgrid .fg-fgrid-desc {
  -webkit-line-clamp: 1;
}
