.menu-live-studio {
  --studio-bg: #f4f8f5;
  --studio-accent: #07883f;
  margin: 0 0 26px;
  padding: 24px;
  border: 1px solid #dce7e0;
  border-radius: 25px;
  background: linear-gradient(145deg, #fff, #f7faf8);
  box-shadow: 0 15px 40px rgba(12, 57, 31, 0.08);
}
.menu-live-studio > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.menu-live-studio > header > div > span {
  color: #07883f;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.menu-live-studio > header h2 {
  margin: 5px 0;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}
.menu-live-studio > header p {
  color: #748078;
  font-size: 0.73rem;
}
.menu-live-studio > header nav {
  display: flex;
  align-items: center;
  gap: 7px;
}
.menu-live-studio > header nav button,
.menu-live-studio > header nav a {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid #dae4de;
  border-radius: 11px;
  background: #fff;
  color: #536159;
  font-size: 0.66rem;
  font-weight: 750;
}
.menu-live-studio > header nav button.active {
  border-color: #07883f;
  background: #eaf7ef;
  color: #07883f;
}
.menu-live-studio > header nav .fc-icon {
  width: 16px;
  height: 16px;
}
.menu-live-studio > header nav a {
  color: #07883f;
}
.menu-studio-stage {
  display: grid;
  place-items: center;
  min-height: 560px;
  padding: 28px;
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 25% 20%,
      color-mix(in srgb, var(--studio-accent) 14%, transparent),
      transparent 35%
    ),
    #e9efeb;
  overflow: hidden;
}
.menu-studio-browser {
  width: 100%;
  max-width: 1000px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  background: var(--studio-bg);
  box-shadow: 0 25px 60px rgba(15, 43, 26, 0.18);
  transition:
    width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-radius 0.35s;
}
.menu-studio-browserbar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  border-bottom: 1px solid #e1e6e3;
  background: #fff;
}
.menu-studio-browserbar > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e76767;
}
.menu-studio-browserbar > i:nth-child(2) {
  background: #edbb4c;
}
.menu-studio-browserbar > i:nth-child(3) {
  background: #50ba71;
}
.menu-studio-browserbar > span {
  min-width: 0;
  overflow: hidden;
  margin-left: 8px;
  padding: 5px 12px;
  border-radius: 7px;
  background: #f3f6f4;
  color: #8b958f;
  font-size: 0.55rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.menu-studio-screen {
  max-height: 580px;
  overflow: auto;
  padding-bottom: 20px;
  background: var(--studio-bg);
  transition: background-color 0.2s ease;
}
.studio-hero {
  min-height: 190px;
  padding: 42px 36px 28px;
  background: linear-gradient(120deg, #07150e, #173a26);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.studio-hero > div {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  float: left;
  margin-right: 14px;
  border-radius: 14px;
  background: #fff;
  color: var(--studio-accent);
}
.studio-hero > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.studio-hero > div .fc-icon {
  width: 25px;
  height: 25px;
}
.studio-hero > span {
  display: block;
  padding-top: 3px;
  color: #b8c8be;
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.studio-hero h3 {
  margin: 5px 0 3px;
  font-size: 1.8rem;
  letter-spacing: -0.045em;
}
.studio-hero small {
  color: #d5ded8;
  font-size: 0.63rem;
}
.studio-categories {
  display: flex;
  gap: 7px;
  padding: 16px 20px;
  overflow: hidden;
}
.studio-categories span {
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--studio-accent) 14%, #dce3df);
  border-radius: 8px;
  background: #fff;
  color: #718078;
  font-size: 0.57rem;
  font-weight: 750;
  white-space: nowrap;
}
.studio-categories span.active {
  border-color: var(--studio-accent);
  background: var(--studio-accent);
  color: #fff;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}
.studio-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  padding: 0 20px;
}
.studio-products > article {
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 118px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--studio-accent) 12%, #dfe5e1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(17, 48, 28, 0.05);
}
.studio-product-photo {
  position: relative;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--studio-accent) 10%, #f6f9f7);
  background-size: cover;
  background-position: center;
  color: var(--studio-accent);
}
.studio-product-photo > .fc-icon {
  width: 28px;
  height: 28px;
}
.studio-product-photo > b {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--studio-accent);
  color: #fff;
}
.studio-products article > section {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 12px;
}
.studio-products section > small {
  color: var(--studio-accent);
  font-size: 0.48rem;
  font-weight: 850;
  text-transform: uppercase;
}
.studio-products h4 {
  margin: 3px 0;
  font-size: 0.72rem;
}
.studio-products p {
  display: -webkit-box;
  overflow: hidden;
  color: #7b8780;
  font-size: 0.54rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.studio-products strong {
  margin-top: auto;
  color: var(--studio-accent);
  font-size: 0.68rem;
}
.studio-empty {
  grid-column: 1/-1;
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 30px;
  border: 1px dashed color-mix(in srgb, var(--studio-accent) 38%, #cad6ce);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.65);
  text-align: center;
}
.studio-empty > .fc-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  color: var(--studio-accent);
}
.studio-empty b {
  font-size: 0.82rem;
}
.studio-empty p {
  max-width: 360px;
  margin: 5px 0 13px;
  color: #718078;
  font-size: 0.63rem;
}
.studio-empty button {
  padding: 9px 13px;
  border-radius: 9px;
  background: var(--studio-accent);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
}
.menu-live-studio.mobile-preview .menu-studio-browser {
  width: 390px;
  border-radius: 28px;
}
.menu-live-studio.mobile-preview .menu-studio-browserbar > span {
  max-width: 250px;
}
.menu-live-studio.mobile-preview .studio-products {
  grid-template-columns: 1fr;
}
.menu-live-studio.mobile-preview .studio-hero {
  min-height: 175px;
  padding-inline: 22px;
}
.menu-live-studio > footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 17px;
}
.menu-live-studio > footer span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #637169;
  font-size: 0.63rem;
}
.menu-live-studio > footer .fc-icon {
  width: 18px;
  height: 18px;
  color: #07883f;
}
html[data-theme="dark"] .menu-live-studio {
  border-color: #2a3830;
  background: linear-gradient(145deg, #17201b, #111814);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
html[data-theme="dark"] .menu-live-studio > header p,
html[data-theme="dark"] .menu-live-studio > footer span {
  color: #9ca9a1;
}
html[data-theme="dark"] .menu-live-studio > header nav button,
html[data-theme="dark"] .menu-live-studio > header nav a {
  border-color: #314039;
  background: #19221d;
  color: #c4cec8;
}
html[data-theme="dark"] .menu-live-studio > header nav button.active {
  border-color: #21b866;
  background: #183524;
  color: #51d789;
}
html[data-theme="dark"] .menu-studio-stage {
  background:
    radial-gradient(
      circle at 25% 20%,
      color-mix(in srgb, var(--studio-accent) 18%, transparent),
      transparent 35%
    ),
    #0b100d;
}
@media (max-width: 900px) {
  .menu-live-studio > header {
    flex-direction: column;
  }
  .menu-live-studio > header nav {
    width: 100%;
    flex-wrap: wrap;
  }
  .menu-live-studio > footer {
    grid-template-columns: 1fr;
  }
  .menu-studio-stage {
    min-height: 500px;
    padding: 15px;
  }
  .studio-products {
    grid-template-columns: 1fr;
  }
  .menu-live-studio.mobile-preview .menu-studio-browser {
    width: min(390px, 100%);
  }
}
@media (max-width: 600px) {
  .menu-live-studio {
    margin-inline: -8px;
    padding: 16px;
    border-radius: 20px;
  }
  .menu-live-studio > header nav a {
    width: 100%;
    justify-content: center;
  }
  .menu-studio-stage {
    margin-inline: -5px;
  }
  .menu-studio-browser {
    border-radius: 14px;
  }
  .studio-hero {
    padding: 32px 20px 22px;
  }
  .studio-hero h3 {
    font-size: 1.45rem;
  }
  .studio-products {
    padding-inline: 12px;
  }
  .studio-categories {
    padding-inline: 12px;
  }
}
