/* ============ 临邑卤德赞熟食店 · 企业官网样式 ============ */
:root {
  --red: #c8341f;
  --red-deep: #9c2414;
  --amber: #f2a24b;
  --amber-soft: #fbd9a8;
  --cream: #fff7ef;
  --ink: #201914;
  --ink-soft: #5b514a;
  --line: #efe2d6;
  --gold: #e0a84e;
  --shadow: 0 18px 50px rgba(120, 50, 20, 0.14);
  --radius: 18px;
  --maxw: 1180px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-weight: 700;
  cursor: pointer; border: none; font-size: 15px; transition: .25s;
  font-family: var(--font);
}
.btn-primary { background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; box-shadow: 0 10px 24px rgba(200,52,31,.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(200,52,31,.45); }
.btn-ghost { background: #fff; color: var(--red); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--red); }
.hero .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(4px); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.22); border-color: #fff; transform: translateY(-3px); }
.section { padding: 84px 0; }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head .tag {
  display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--red);
  font-weight: 700; text-transform: uppercase; margin-bottom: 12px;
}
.section-head h2 { font-size: 34px; letter-spacing: 1px; }
.section-head p { color: var(--ink-soft); margin-top: 10px; }

/* ---------- 导航 ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,247,239,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; }
.brand .logo {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--amber));
  display: grid; place-items: center; color: #fff; font-size: 22px;
  box-shadow: var(--shadow);
}
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-soft); letter-spacing: 2px; }
.nav-links { display: flex; gap: 30px; font-weight: 600; }
.nav-links a { position: relative; padding: 6px 0; color: var(--ink-soft); transition: .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px;
  background: var(--red); border-radius: 3px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .phone { font-weight: 700; color: var(--red); }
.nav-toggle { display: none; font-size: 26px; background: none; border: none; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(40,16,8,.86) 0%, rgba(40,16,8,.5) 45%, rgba(40,16,8,.15) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 640px; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  font-size: 14px; margin-bottom: 22px; backdrop-filter: blur(4px);
}
.hero h1 { font-size: 54px; line-height: 1.18; letter-spacing: 2px; text-shadow: 0 4px 20px rgba(0,0,0,.4); }
.hero h1 span { color: var(--amber-soft); }
.hero p.lead { font-size: 18px; margin: 22px 0 32px; color: #fff3e6; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 38px; margin-top: 46px; }
.hero-stats .s-num { font-size: 30px; font-weight: 800; color: var(--amber-soft); }
.hero-stats .s-label { font-size: 13px; color: #ffd9c2; }

/* ---------- 轮播 ---------- */
.banner-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.banner-dots button { width: 11px; height: 11px; border-radius: 50%; border: none; background: rgba(255,255,255,.45); cursor: pointer; transition: .2s; }
.banner-dots button.active { background: var(--amber); width: 30px; border-radius: 6px; }

/* ---------- 招牌菜品 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.dish-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: .3s; border: 1px solid var(--line); display: flex; flex-direction: column;
}
.dish-card:hover { transform: translateY(-8px); }
.dish-card .pic { position: relative; height: 210px; overflow: hidden; }
.dish-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.dish-card:hover .pic img { transform: scale(1.08); }
.dish-card .flag {
  position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px;
}
.dish-card .body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.dish-card h3 { font-size: 19px; margin-bottom: 6px; }
.dish-card .desc { color: var(--ink-soft); font-size: 14px; flex: 1; }
.dish-card .price { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; }
.dish-card .price b { color: var(--red); font-size: 24px; }
.dish-card .price .unit { color: var(--ink-soft); font-size: 13px; }
.dish-card .price .old { color: #b9aa9e; text-decoration: line-through; font-size: 14px; }

/* ---------- 优势 ---------- */
.why { background: linear-gradient(160deg, #2a1410, #4a1d12); color: #fff; }
.why .section-head h2, .why .section-head .tag { color: #fff; }
.why .section-head p { color: #ffd9c2; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-item { text-align: center; padding: 30px 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); }
.why-item .ic { font-size: 40px; margin-bottom: 14px; }
.why-item h4 { font-size: 18px; margin-bottom: 8px; }
.why-item p { font-size: 14px; color: #f1c9b8; }

/* ---------- 菜单 ---------- */
.menu-tabs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 38px; }
.menu-tabs button {
  padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font-weight: 700; cursor: pointer; color: var(--ink-soft); transition: .2s; font-family: var(--font);
}
.menu-tabs button.active, .menu-tabs button:hover { background: var(--red); color: #fff; border-color: var(--red); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-text h2 { font-size: 32px; margin-bottom: 18px; }
.about-text p { color: var(--ink-soft); margin-bottom: 16px; }
.about-feats { list-style: none; margin-top: 20px; }
.about-feats li { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.about-feats li span.ck { color: var(--red); font-weight: 800; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; transition: .3s; border: 1px solid var(--line); }
.news-card:hover { transform: translateY(-6px); }
.news-card .pic { height: 190px; overflow: hidden; }
.news-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.news-card:hover .pic img { transform: scale(1.07); }
.news-card .body { padding: 18px 20px 22px; }
.news-card .date { font-size: 13px; color: var(--red); font-weight: 700; }
.news-card h3 { font-size: 18px; margin: 8px 0; }
.news-card p { color: var(--ink-soft); font-size: 14px; }

/* 新闻弹窗 */
.modal-mask { position: fixed; inset: 0; background: rgba(30,15,8,.6); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: var(--radius); max-width: 720px; width: 100%; max-height: 88vh; overflow: auto; }
.modal .m-pic { height: 280px; }
.modal .m-pic img { width: 100%; height: 100%; object-fit: cover; }
.modal .m-body { padding: 26px 30px 34px; }
.modal .m-body h2 { font-size: 26px; margin-bottom: 8px; }
.modal .m-body .date { color: var(--red); font-weight: 700; font-size: 14px; }
.modal .m-body .content { margin-top: 18px; color: var(--ink-soft); white-space: pre-line; }
.modal .m-close { position: absolute; }
.modal-x { position: absolute; top: 16px; right: 18px; background: rgba(0,0,0,.4); color: #fff; border: none; width: 38px; height: 38px; border-radius: 50%; font-size: 20px; cursor: pointer; z-index: 5; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; }
.contact-info { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.contact-info h3 { font-size: 22px; margin-bottom: 18px; }
.contact-info .row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.contact-info .row .ic { font-size: 22px; }
.contact-info .row b { display: block; font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.contact-form { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font); font-size: 15px; background: #fffdfb; transition: .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field textarea { min-height: 110px; resize: vertical; }
.form-msg { font-size: 14px; padding: 10px 14px; border-radius: 10px; margin-bottom: 12px; display: none; }
.form-msg.ok { display: block; background: #eafaf0; color: #1c8a4d; }
.form-msg.err { display: block; background: #fdecea; color: #c0392b; }
.map-box { height: 240px; border-radius: var(--radius); overflow: hidden; margin-top: 18px; background: linear-gradient(135deg,#f6e3d2,#fbd9a8); display: grid; place-items: center; color: var(--red-deep); font-weight: 700; text-align: center; }

/* ---------- 页脚 ---------- */
footer.site { background: #20140f; color: #f3d9cc; padding: 54px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
footer.site h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
footer.site .brand { color: #fff; margin-bottom: 14px; }
footer.site a { color: #f3d9cc; display: block; padding: 5px 0; transition: .2s; }
footer.site a:hover { color: var(--amber); }
footer.site p { font-size: 14px; line-height: 1.9; }
.foot-bottom { text-align: center; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #c9a99b; }

/* ---------- 后台入口浮标 ---------- */
.admin-fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; box-shadow: var(--shadow); display: flex; gap: 8px; align-items: center; }
.admin-fab:hover { background: var(--red); }

/* ---------- 滚动动效 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 匠心工艺 ---------- */
.process-section { background: #fff; }
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.pstep {
  text-align: center; padding: 30px 14px 22px; border: 1px solid var(--line);
  border-radius: var(--radius); background: linear-gradient(180deg, #fff, #fff8f1);
  position: relative;
}
.pstep .num {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff;
  font-weight: 800; display: grid; place-items: center; font-size: 14px;
}
.pstep .pic { font-size: 38px; margin: 6px 0 12px; }
.pstep h4 { font-size: 17px; margin-bottom: 6px; }
.pstep p { font-size: 13px; color: var(--ink-soft); }

/* ---------- 顾客口碑 ---------- */
.reviews { background: linear-gradient(160deg, #2a1410, #4a1d12); color: #fff; }
.reviews .section-head h2, .reviews .section-head .tag { color: #fff; }
.reviews .section-head p { color: #ffd9c2; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px; }
.review .stars { color: var(--amber); font-size: 18px; margin-bottom: 10px; }
.review .quote { font-size: 15px; color: #f3d9cc; line-height: 1.8; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.review .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--amber)); display: grid; place-items: center; font-size: 22px; }
.review .who b { display: block; font-size: 15px; }
.review .who small { color: #f1c9b8; }

/* ---------- 品牌荣誉 ---------- */
.honors { background: #fff; }
.honor-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.honor {
  display: flex; align-items: center; gap: 12px; padding: 16px 24px;
  border: 1.5px solid var(--line); border-radius: 999px;
  background: linear-gradient(135deg, #fff, #fff6ec); font-weight: 700; color: var(--red-deep);
}
.honor .hi { font-size: 24px; }

/* ---------- 配送服务 ---------- */
.deliver { background: linear-gradient(135deg, #fff, #fff3e6); }
.deliver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dcard { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); text-align: center; }
.dcard .di { font-size: 40px; margin-bottom: 14px; }
.dcard h4 { font-size: 19px; margin-bottom: 8px; }
.dcard p { color: var(--ink-soft); font-size: 14px; }

/* ---------- 品牌历程 ---------- */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3px; background: linear-gradient(var(--red), var(--amber)); border-radius: 3px; }
.tl-item { position: relative; padding: 0 0 30px 24px; }
.tl-item::before { content: ""; position: absolute; left: -24px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--red); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--red); }
.tl-item .yr { font-weight: 800; color: var(--red); font-size: 16px; }
.tl-item h4 { font-size: 18px; margin: 4px 0 6px; }
.tl-item p { color: var(--ink-soft); font-size: 14px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.gallery .g { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 200px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.gallery .g:hover img { transform: scale(1.08); }

/* ---------- 常见问题 FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow: hidden; background: #fff; }
.faq-q { width: 100%; text-align: left; padding: 18px 22px; background: none; border: none; font-family: var(--font); font-size: 16px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ink); }
.faq-q .ar { color: var(--red); font-size: 22px; transition: .25s; line-height: 1; }
.faq-item.open .faq-q .ar { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a .inner { padding: 0 22px 18px; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.faq-item.open .faq-a { max-height: 320px; }

/* ============ 购物车 / 点单 / 支付 / 订单 ============ */

/* 导航购物车按钮 */
.cart-btn {
  position: relative; background: #fff; border: 1.5px solid var(--line); color: var(--red);
  width: 46px; height: 46px; border-radius: 50%; font-size: 20px; cursor: pointer; transition: .2s;
}
.cart-btn:hover { border-color: var(--red); transform: translateY(-2px); }
.cart-badge {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--red); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 800;
  display: none; align-items: center; justify-content: center;
}

/* 菜品卡片操作 */
.card-actions { margin-top: 14px; }
.add-btn {
  width: 100%; padding: 10px; border: none; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; font-weight: 700; font-size: 14px;
  transition: .2s; font-family: var(--font);
}
.add-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(200,52,31,.35); }
.stepper { display: inline-flex; align-items: center; gap: 12px; background: #fff6f1; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.stepper button { width: 28px; height: 28px; border: none; background: var(--red); color: #fff; border-radius: 50%; font-size: 18px; cursor: pointer; line-height: 1; font-family: var(--font); }
.stepper button:hover { background: var(--red-deep); }
.stepper span { font-weight: 800; min-width: 16px; text-align: center; }

/* 购物车抽屉 */
.cart-mask { position: fixed; inset: 0; background: rgba(30,15,8,.45); opacity: 0; visibility: hidden; transition: .3s; z-index: 90; }
.cart-mask.show { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: -420px; width: 400px; max-width: 92vw; height: 100%; background: var(--cream);
  z-index: 95; display: flex; flex-direction: column; transition: right .35s ease; box-shadow: -20px 0 60px rgba(0,0,0,.2);
}
.cart-drawer.open { right: 0; }
.cart-hd { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); background: #fff; }
.cart-hd h3 { font-size: 18px; }
.cart-x { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--ink-soft); }
.cart-body { flex: 1; overflow: auto; padding: 16px 18px; }
.cart-empty { text-align: center; color: var(--ink-soft); padding: 60px 10px; }
.cart-empty small { display: block; margin-top: 8px; }
.cart-item { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 12px; }
.cart-item > img { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; }
.cart-item .ci-info { flex: 1; }
.cart-item .ci-info b { font-size: 15px; }
.cart-item .ci-info small { display: block; color: var(--ink-soft); font-size: 12px; margin: 2px 0 8px; }
.cart-item .ci-price { font-weight: 800; color: var(--red); }
.cart-ft { padding: 16px 18px 22px; background: #fff; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 14px; }
.cart-total b { color: var(--red); font-size: 22px; }

/* 结算页 */
.checkout .co-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }
.co-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 22px; box-shadow: var(--shadow); }
.co-block h3 { font-size: 18px; margin-bottom: 16px; }
.seg { display: flex; gap: 12px; }
.seg button { flex: 1; padding: 14px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; font-weight: 700; cursor: pointer; font-family: var(--font); color: var(--ink-soft); transition: .2s; }
.seg button.active { border-color: var(--red); background: #fff3ec; color: var(--red); }
.pay-methods { display: grid; gap: 12px; }
.pm { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 700; transition: .2s; background: #fff; }
.pm input { width: 18px; height: 18px; accent-color: var(--red); }
.pm-wechat { border-left: 4px solid #1aad19; }
.pm-alipay { border-left: 4px solid #1677ff; }
.pm-cod { border-left: 4px solid var(--amber); }
.pm:has(input:checked) { border-color: var(--red); background: #fff3ec; }
.co-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.co-side h3 { font-size: 18px; margin-bottom: 16px; }
.co-items { border-bottom: 1px dashed var(--line); padding-bottom: 12px; margin-bottom: 12px; }
.co-i { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; }
.co-line { display: flex; justify-content: space-between; padding: 6px 0; color: var(--ink-soft); font-size: 14px; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding-top: 12px; border-top: 2px solid var(--line); font-size: 16px; }
.co-total b { color: var(--red); font-size: 24px; }
.co-tip { font-size: 12px; color: var(--ink-soft); margin-top: 12px; line-height: 1.6; }

/* 支付弹窗 */
.pay-modal { max-width: 380px; text-align: center; padding: 30px 28px 32px; }
.pay-modal .modal-x { background: rgba(0,0,0,.35); }
.qr-wrap { width: 220px; height: 220px; margin: 10px auto; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.qr-wrap img { width: 100%; height: 100%; object-fit: contain; }
.pay-amount { font-size: 16px; margin: 10px 0 4px; }
.pay-amount b { color: var(--red); font-size: 26px; }
.pay-no { font-size: 13px; color: var(--ink-soft); }
.pay-demo { font-size: 12px; color: var(--ink-soft); background: #fff7ef; border: 1px dashed var(--line); border-radius: 10px; padding: 10px; margin: 16px 0; line-height: 1.6; }

/* 订单页 */
.order-page { max-width: 760px; }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.order-top { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.order-top b { color: var(--ink-soft); font-weight: 600; margin-right: 6px; }
.st-badge { padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.st-pending { background: #fff3e0; color: #c87f12; }
.st-preparing { background: #e6f0ff; color: #1a73e8; }
.st-done { background: #e6f7ec; color: #1c8a4d; }
.st-cancel { background: #f1eded; color: #999; }
.order-meta { display: flex; gap: 18px; flex-wrap: wrap; margin: 14px 0; font-size: 14px; color: var(--ink-soft); }
.order-addr { background: #fff7ef; border-radius: 10px; padding: 10px 14px; font-size: 14px; color: var(--red-deep); }
.order-note { margin-top: 12px; font-size: 14px; color: var(--ink-soft); }
.order-empty { text-align: center; color: var(--ink-soft); padding: 40px 10px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.order-empty a { color: var(--red); font-weight: 700; }
.order-empty code { background: #f3e7dd; padding: 2px 8px; border-radius: 6px; }
.order-query { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.order-query h3 { font-size: 17px; margin-bottom: 14px; }
.order-query .form-2 { margin-bottom: 14px; }

/* ---------- 媒体中心：视频 + 图片 ---------- */
.media-preview { background: linear-gradient(135deg, #fff, #fff3e6); }
.media-preview-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }

/* 首页视频预览 */
.mp-video { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.mp-video video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; background: #1a0d08; }
.mp-vinfo { padding: 18px 22px; }
.mp-vinfo h4 { font-size: 18px; margin-bottom: 4px; }
.mp-vinfo p { color: var(--ink-soft); font-size: 14px; }

/* 首页图片网格 */
.mp-images { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mp-img-item { position: relative; border-radius: 14px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.mp-img-item img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.mp-img-item:hover img { transform: scale(1.08); }
.mp-img-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,15,8,.75), transparent 60%); display: flex; align-items: flex-end; padding: 14px; opacity: 0; transition: .3s; }
.mp-img-ov span { color: #fff; font-weight: 700; font-size: 14px; }
.mp-img-item:hover .mp-img-ov { opacity: 1; }

/* 媒体中心页 */
.media-sub-title { font-size: 22px; margin-bottom: 20px; color: var(--red-deep); }

/* 视频画廊 */
.video-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: .3s; }
.video-card:hover { transform: translateY(-6px); }
.video-featured { grid-column: 1 / -1; }
.video-featured .video-wrap { aspect-ratio: 21/9; }
.video-wrap { position: relative; aspect-ratio: 16/9; background: #1a0d08; overflow: hidden; }
.video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.video-placeholder { width: 100%; height: 100%; background-size: cover; background-position: center; display: grid; place-items: center; position: relative; }
.video-placeholder::after { content: ""; position: absolute; inset: 0; background: rgba(20,10,5,.45); }
.play-icon { position: relative; z-index: 2; width: 64px; height: 64px; border-radius: 50%; background: rgba(200,52,31,.9); color: #fff; display: grid; place-items: center; font-size: 28px; padding-left: 4px; cursor: pointer; transition: .3s; box-shadow: 0 10px 30px rgba(200,52,31,.4); }
.play-icon:hover { transform: scale(1.1); background: var(--red); }
.video-info { padding: 18px 22px; }
.video-info h4 { font-size: 18px; margin-bottom: 4px; }
.video-info p { color: var(--ink-soft); font-size: 14px; }

/* 图片画廊 */
.image-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item { cursor: pointer; }
.gi-inner { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.gi-inner img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.gallery-item:hover .gi-inner img { transform: scale(1.1); }
.gi-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,15,8,.8), transparent 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 18px; opacity: 0; transition: .3s; }
.gallery-item:hover .gi-overlay { opacity: 1; }
.gi-overlay h4 { color: #fff; font-size: 16px; }
.gi-overlay p { color: #f3d9cc; font-size: 13px; margin-top: 4px; }

/* 图片灯箱 */
.lightbox { position: fixed; inset: 0; background: rgba(15,8,4,.92); display: none; align-items: center; justify-content: center; z-index: 200; flex-direction: column; padding: 30px; }
.lightbox.show { display: flex; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-close { position: absolute; top: 20px; right: 24px; background: rgba(255,255,255,.15); border: none; color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; cursor: pointer; transition: .2s; }
.lb-close:hover { background: rgba(255,255,255,.3); }
.lb-caption { color: #f3d9cc; font-size: 15px; margin-top: 16px; text-align: center; max-width: 600px; }

/* ---------- 表单双列 / 线框按钮（前台用） ---------- */
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-2 input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font); font-size: 15px; background: #fffdfb; transition: .2s;
}
.form-2 input:focus { outline: none; border-color: var(--red); }
.btn-line { background: #fff; color: var(--red); border: 1.5px solid var(--line); }
.btn-line:hover { border-color: var(--red); background: #fff8f3; }

/* ---------- 响应式 ---------- */
@media (max-width: 920px) {
  .feature-grid, .menu-grid, .news-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 40px; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .review-grid, .deliver-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .media-preview-grid { grid-template-columns: 1fr; }
  .video-gallery { grid-template-columns: 1fr; }
  .image-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 16px 22px; gap: 14px; box-shadow: var(--shadow); }
  .feature-grid, .menu-grid, .news-grid, .why-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-stats { gap: 22px; }
  .section { padding: 56px 0; }
  .process-steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .mp-images { grid-template-columns: 1fr; }
  .image-gallery-grid { grid-template-columns: 1fr; }

  /* 手机点单 / 结算 / 购物车 移动端 */
  .checkout .co-grid { grid-template-columns: 1fr; }
  .co-side { position: static; }
  .cart-drawer { top: auto; bottom: 0; right: 0; left: 0; width: 100%; max-width: 100%; height: 82vh; border-radius: 22px 22px 0 0; right: 0; transform: translateY(100%); transition: transform .35s ease; box-shadow: 0 -20px 60px rgba(0,0,0,.25); }
  .cart-drawer.open { right: 0; transform: translateY(0); }
  .cart-drawer::before { content: ""; width: 40px; height: 4px; background: var(--line); border-radius: 4px; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); }
  .nav-cta .phone { display: none; }
  .modal-mask { padding: 14px; }
  .pay-modal { max-width: 100%; }
  .qr-wrap { width: 180px; height: 180px; }
  .seg button { padding: 12px 8px; font-size: 14px; }
  .form-2 { grid-template-columns: 1fr; }
  .lightbox { padding: 12px; }
  .nav-cta .btn-primary { padding: 10px 16px; font-size: 13px; }
  .nav-cta { gap: 8px; }
  .stepper button { width: 34px; height: 34px; }
  .admin-fab { padding: 10px 14px; font-size: 12px; bottom: 16px; right: 16px; }
}
@media (max-width: 400px) {
  .nav-cta .btn-primary { display: none; }
  .brand { font-size: 17px; }
  .brand small { display: none; }
  .hero h1 { font-size: 26px; }
  .section-head h2 { font-size: 26px; }
  .hero-stats .s-num { font-size: 24px; }
}
