:root {
  --primary-bg-light: #f3f4f7;
  --primary-text: #233049;
  --secondary-text: #58657a;
  --border-light: #d9dee7;
  --accent-brand: #dc3f4a;
  --accent-secondary: #efb43a;
  --panel-bg: #ffffff;
  --font-family-body: 'Space Grotesk', sans-serif;
  --font-family-heading: 'Oswald', sans-serif;
  --shadow-card: 0 8px 18px rgba(20, 28, 41, 0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-family-body);
  background: var(--primary-bg-light);
  color: var(--primary-text);
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: var(--font-family-heading);
  margin: 0 0 0.7rem;
  letter-spacing: 0.01em;
}

.wrap { width: min(1220px, 92%); margin: 0 auto; }

.home-banner {
  border-bottom: 1px solid #df9e58;
  box-shadow: 0 8px 18px rgba(94, 27, 7, 0.2);
  background: linear-gradient(96deg, #c8384b 0%, #e27134 50%, #f1bb3e 100%);
  color: #fff;
}

.banner-strip {
  min-height: 140px;
  display: grid;
  grid-template-columns: 86px 1fr 86px;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  position: relative;
  overflow: hidden;
}

.banner-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-14deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 16px);
  pointer-events: none;
}

.banner-copy {
  text-align: center;
  position: relative;
  z-index: 1;
}

.banner-copy h2 {
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 0.95;
  margin-bottom: 0.15rem;
  color: #fff8ef;
  text-shadow: 0 4px 10px rgba(73, 17, 8, 0.34);
}

.banner-copy p {
  margin: 0;
  font-size: clamp(0.95rem, 1.8vw, 2rem);
  color: #fff2df;
  text-shadow: 0 2px 6px rgba(73, 17, 8, 0.3);
}

.banner-chip {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 999px;
  overflow: visible;
  background: transparent;
  position: relative;
  z-index: 1;
}

.banner-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(65, 22, 8, 0.28));
}

.chip-left { transform: translateX(6px); }
.chip-right { transform: translateX(-6px); }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 0 1rem;
  border-top: 1px solid rgba(255, 239, 201, 0.35);
}

.top h1 {
  margin: 0;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  color: #fff;
  text-shadow: 0 3px 7px rgba(65, 17, 8, 0.35);
}

.top p { margin: 0; color: #ffe8c6; font-size: 1.05rem; }

.nav-links a {
  color: #fff;
  text-decoration: none;
  margin-left: 0.95rem;
  font-weight: 700;
}

.site-header {
  padding: 0.95rem 0;
  border-bottom: 1px solid #f3ad62;
  background: linear-gradient(96deg, #c8384b 0%, #e27134 50%, #f1bb3e 100%);
  color: #fff;
}

.nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.nav a { color: #fff; text-decoration: none; margin-right: 0.8rem; font-weight: 700; }
.brand { color: #fff; text-decoration: none; font-size: 1.8rem; font-family: var(--font-family-heading); }

.btn {
  background: var(--accent-brand);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 0.58rem 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.home-banner .btn { background: #fff; color: #cb3744; }
.home-banner .btn.ghost { background: transparent; color: #fff; border: 1px solid #fff; }

.btn.small { padding: 0.42rem 0.72rem; font-size: 0.86rem; }
.btn.ghost { background: transparent; border: 1px solid var(--accent-brand); color: var(--accent-brand); }

main { padding: 1.4rem 0 2rem; }
.hero-section { padding: 0.6rem 0 1rem; }

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 0.85fr;
  gap: 1rem;
  align-items: start;
}

.eyebrow {
  color: var(--accent-brand);
  font-weight: 700;
  margin-bottom: 0.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lead { color: var(--secondary-text); }
.cta-group { display: flex; gap: 0.7rem; margin-top: 0.8rem; flex-wrap: wrap; }

.panel, .cart-panel {
  background: var(--panel-bg);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow-card);
}

.hero-tiktok-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 520px;
}

.tiktok-art-link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5d5c3;
  height: 320px;
}

.tiktok-art-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-tiktok-card .btn { margin-top: auto; width: fit-content; }

.moe-animated-card { background: radial-gradient(circle at 25% 20%, #fff8f0 0%, #fff 55%); }
.moe-avatar-wrap {
  position: relative;
  border-radius: 20px;
  padding: 0.6rem;
  background: linear-gradient(145deg, #f6e5d6, #fff6ee);
  border: 1px solid #efd7c3;
  overflow: hidden;
}

.chief-moe-image {
  width: 100%;
  border-radius: 16px;
  display: block;
  box-shadow: 0 12px 24px rgba(67, 35, 15, 0.22);
}

.moe-avatar-wrap::before {
  content: "";
  position: absolute;
  inset: -20% -30% auto;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 180, 88, 0.45), rgba(255, 180, 88, 0));
  pointer-events: none;
}

.moe-badge {
  position: absolute;
  z-index: 2;
  background: #dc3545;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.badge-a { top: 10px; left: 10px; }
.badge-b { top: 10px; right: 10px; background: #f59f00; }

.moe-fallback {
  display: none;
  width: 100%;
  min-height: 220px;
  border-radius: 16px;
  border: 1px solid #e8c6a7;
  background: radial-gradient(circle at 30% 25%, #f6d0ad 0%, #e7b484 40%, #c98246 100%);
  color: #2f1b0f;
  font-family: var(--font-family-heading);
  font-size: 2rem;
  align-items: center;
  justify-content: center;
}

.moe-avatar-wrap.img-missing .moe-fallback { display: flex; }

.spotlight-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.oxtail-section {
  border: 1px solid #f0d5bf;
  background: linear-gradient(140deg, #fff8f2, #fff1e3);
}

.oxtail-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: center;
}

.oxtail-points { margin: 0.6rem 0 0; padding-left: 1.2rem; }
.oxtail-points li { margin-bottom: 0.35rem; }
.oxtail-media { text-align: right; }

.oxtail-image {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  border: 1px solid #e8c6a7;
  box-shadow: 0 10px 20px rgba(70, 36, 10, 0.15);
}

.moe-art-rail { align-self: start; position: sticky; top: 0.9rem; }
.moe-art-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.moe-art-grid img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #edd6c0;
}

.feature-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.tiktok-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.tiktok-profile-card { display: flex; flex-direction: column; gap: 0.6rem; }
.contact-section { padding-bottom: 2rem; }
footer { border-top: 1px solid var(--border-light); padding: 1rem 0; }

.order-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1rem; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.8rem; }
.item { border: 1px solid var(--border-light); border-radius: 12px; padding: 0.8rem; background: #fff; }
.item-image { width: 100%; height: 140px; object-fit: cover; border-radius: 10px; margin-bottom: 0.6rem; }
.item p { color: var(--secondary-text); margin: 0.2rem 0 0.6rem; }
.row { display: flex; justify-content: space-between; align-items: center; }
.price { font-weight: 700; color: var(--accent-brand); }

.cart-header-row { display: flex; justify-content: space-between; align-items: center; }
.cart-row { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px dashed var(--border-light); padding: 0.65rem 0; gap: 0.8rem; }
.qty-controls { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.35rem; }
.qty-btn, .remove-btn { border: 1px solid var(--border-light); background: #fff; border-radius: 7px; padding: 0.2rem 0.45rem; cursor: pointer; }
.remove-btn { color: #b42318; border-color: #f5c2c7; background: #fff5f6; }
.totals-box { margin: 0.8rem 0; }
.cart-total { display: flex; justify-content: space-between; margin: 0.35rem 0; }
.cart-total.grand { font-size: 1.1rem; border-top: 1px solid var(--border-light); padding-top: 0.4rem; }
.checkout label { display: block; margin-bottom: 0.55rem; }
.checkout input, .checkout textarea { width: 100%; margin-top: 0.25rem; padding: 0.55rem; border: 1px solid var(--border-light); border-radius: 8px; font: inherit; }
.result { min-height: 1.3rem; font-weight: 700; color: #146c43; }
.sms-link { display: inline-block; margin-top: 0.5rem; }
.hidden { display: none; }
.muted { color: var(--secondary-text); }

@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr; }
  .banner-strip { grid-template-columns: 68px 1fr 68px; min-height: 120px; }
  .banner-chip { width: 52px; height: 52px; }
}

@media (max-width: 930px) {
  .order-layout, .feature-section, .tiktok-grid, .oxtail-content, .spotlight-layout { grid-template-columns: 1fr; }
  .moe-art-rail { position: static; }
  .oxtail-media { text-align: left; }
  .top, .nav { flex-wrap: wrap; }
}

@media (max-width: 700px) {
  .banner-strip { grid-template-columns: 60px 1fr 60px; min-height: 104px; }
  .banner-chip { width: 44px; height: 44px; }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.contact-section a {
  color: #cc3543;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 930px) {
  .contact-grid { grid-template-columns: 1fr; }
}
