/* ============================================================
   cospty 桌面端商城 · noon 视觉系统（宽屏 1500px · 西班牙配色）
   与 H5 端 theme.css 相互独立，仅共用 design token 语义
   ============================================================ */

:root {
  /* 主色：noon 品牌黄 = 西班牙国旗金 */
  --noon-orange: #FF8A00;
  --noon-orange-d: #EF7D00;
  /* G32b: 品牌弃用亮黄，全局转橙（变量名保留 noon-yellow 以免改动所有引用处） */
  --noon-yellow: #FF8A00;
  --noon-yellow-d: #EF7D00;
  /* 次要强调色：西班牙国旗红 */
  --es-red: #C60B1E;
  --es-red-d: #A20E16;
  --ink: #1a1a1a;
  --muted: #717171;
  --line: #e6e6e6;
  --line-2: #eeeeee;
  --soft: #faf6ef;
  --soft-2: #f2ebdd;
  --thumb: #f4f4f4;
  --green: #0a8a3f;
  --blue: #1167af;
  --maxw: 1500px;
  --card-radius: 8px;
  --btn-radius: 4px;
  --shadow: 0 4px 18px rgba(0, 0, 0, .12);
  --shadow-lg: 0 14px 36px rgba(0, 0, 0, .16);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'Poppins', 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.muted { color: var(--muted); }
.red { color: var(--es-red); }
.nowrap { white-space: nowrap; }
.row { display: flex; align-items: center; }
.grow { flex: 1; }

/* ============ 顶部：国旗条 + 主导航 ============ */
.flag-strip {
  height: 5px;
  background: linear-gradient(90deg, var(--es-red) 0 25%, var(--noon-yellow) 25% 75%, var(--es-red) 75% 100%);
}

.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}
.topbar .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 36px;
  width: auto;
  display: block;
  border-radius: 5px;
}
.logo:hover img { opacity: .82; }

.loc {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #333;
  padding: 6px 10px; border-radius: 6px; cursor: pointer;
  flex-shrink: 0;
}
.loc:hover { background: var(--soft-2); }
.loc svg { width: 16px; height: 16px; }
.loc b { font-weight: 600; }
.loc div div { color: var(--muted); }

.search {
  flex: 1 1 auto; min-width: 0;
  display: flex; height: 44px;
  border: 1px solid #d9d9d9; border-radius: 6px;
  overflow: hidden; background: #fff;
}
.search:focus-within { border-color: var(--es-red); box-shadow: 0 0 0 3px rgba(198, 11, 30, .12); }
.search input {
  flex: 1; border: none; background: transparent;
  padding: 0 16px; font-size: 14px; outline: none; color: var(--ink);
}
.search input::placeholder { color: #a5a5a5; }
.search button {
  background: var(--noon-yellow); border: none; width: 56px;
  display: flex; align-items: center; justify-content: center;
}
.search button:hover { background: var(--noon-yellow-d); }
.search button svg { width: 20px; height: 20px; }

.tb-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.tb-actions a, .tb-lang {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 11px; border-radius: 9px;
  color: #222; font-size: 13px; font-weight: 600;
  cursor: pointer; position: relative; white-space: nowrap;
  border: none; background: transparent;
}
.tb-actions a:hover, .tb-lang:hover { background: var(--soft-2); }
.tb-lang b {
  font-weight: 800; font-size: 12px;
  background: var(--es-red); color: #fff;
  padding: 2px 6px; border-radius: 4px; letter-spacing: .4px;
}
.tb-lang .eur { font-size: 11px; color: var(--muted); font-weight: 600; }
.caret {
  width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid #666; margin-left: 1px;
}
.tb-ic { position: relative; }
.tb-ic .badge {
  position: absolute; top: 1px; right: 0;
  background: var(--es-red); color: #fff;
  font-size: 10px; font-weight: 800;
  min-width: 17px; height: 17px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.acc { position: relative; }
/* G31 fix (2026-11-02): inline SVGs without width/height blow up to default
   300x150 and push menu text to the far right. Pin every toolbar/drawer icon. */
.acc > a svg, .acc-menu a svg, .acc-menu .acc-h svg {
  width: 16px; height: 16px; flex-shrink: 0;
}
.acc > a { gap: 6px; }
.acc .acc-menu {
  position: absolute; top: 48px; right: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-lg);
  min-width: 214px; padding: 8px; display: none; z-index: 80;
}
.acc:hover .acc-menu { display: block; }
.acc-menu .acc-h {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; font-weight: 700; font-size: 13px;
  border-bottom: 1px solid var(--line-2); margin-bottom: 6px;
}
.acc-menu .acc-h .av {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--es-red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}
.acc-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 8px;
  color: #222; font-weight: 500; font-size: 13px;
}
.acc-menu a:hover { background: var(--soft-2); }
.acc-menu .sep { height: 1px; background: var(--line-2); margin: 6px 4px; }

/* ============ 分类导航 ============ */
.nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 68px; z-index: 50; }
.nav .wrap { display: flex; align-items: center; gap: 26px; height: 48px; overflow-x: auto; }
.nav a {
  font-size: 14px; color: #111; font-weight: 500;
  white-space: nowrap; padding: 0 2px; height: 48px;
  display: flex; align-items: center; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active { border-bottom-color: var(--noon-yellow); }
.nav .nav-all { margin-left: auto; color: var(--es-red); font-weight: 700; }

/* ============ 通用按钮 ============ */
.btn {
  background: var(--noon-yellow); color: #111;
  border: none; border-radius: var(--btn-radius);
  padding: 11px 20px; font-weight: 700; font-size: 14px;
  transition: .15s; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn:hover { background: var(--noon-yellow-d); }
.btn.block { width: 100%; }
.btn.lg { padding: 14px 24px; font-size: 15px; }
.btn.red { background: var(--es-red); color: #fff; }
.btn.red:hover { background: var(--es-red-d); }
.btn.ghost { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); background: var(--soft); }
.btn[disabled] { opacity: .5; pointer-events: none; }

.page { padding: 0 0 64px; }
.page-head { padding: 18px 0 8px; font-size: 13px; color: var(--muted); }
.page-head b { color: var(--ink); }

/* ============================================================
   首页 Hero — 复刻 noon.com/uae-en 的桌面首页骨架
   ------------------------------------------------------------
   实测 noon（1440 视口）的真实几何：
     页面容器 siteWidthContainer  1392px 宽（左右各 24px padding）
     hero 行   flex, gap 14px, 高 457px
       ├ 左区：3 张竖版大卡，每张约 294px（可视 3 张，整体可横向轮播）
       └ 右区：460px 宽的单列 → 内含「上方横条 132px + 下方方块」
     配色（noon 实际取样）：
       黄 #feee00 · 珊瑚红 #ff7565 · 浅蓝灰 #f7f7fa · 墨 #404553
       弱化灰 #7e859b · 橙 #fba762 · 浅橙 #ffaa90 · 紫 #9c96eb
   ============================================================ */
.hero { background: #fff; margin-bottom: 0; }
.hero .hf-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px 0;
}
.hero .hero-row {
  display: flex; gap: 14px; align-items: stretch;
  height: 457px;
}

/* ---- 左区：竖版轮播（noon 的 3 张竖版大卡，整体横向切换） ---- */
.hero .hero-main {
  position: relative; flex: 1 1 auto; min-width: 0;
  overflow: hidden; border-radius: 8px;
}
.hero .hero-main .viewport { width: 100%; height: 100%; overflow: hidden; }
.hero .hero-main .track {
  display: flex; gap: 14px; height: 100%;
  /* G41g：对齐 noon（Embla）实测参数——约 0.7s，ease-out 减速（快启动 + 长柔滑入） */
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}
.hero .hero-main .slide {
  position: relative; flex: 0 0 calc((100% - 28px) / 3);
  height: 100%; overflow: hidden; cursor: pointer;
  border-radius: 8px; background: #f7f7fa;
}
.hero .hero-main .slide img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .55s ease;
}
.hero .hero-main .slide:hover img { transform: scale(1.05); }
.hero .hero-main .slide .txt {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2;
  padding: 18px 18px 46px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .18) 55%, transparent 100%);
  color: #fff;
}
.hero .hero-main .slide .txt .k {
  display: inline-block; background: var(--noon-yellow); color: #111;
  font-weight: 800; font-size: 10px; letter-spacing: .4px;
  padding: 3px 8px; border-radius: 3px; margin-bottom: 9px;
  text-transform: uppercase;
}
.hero .hero-main .slide .txt h3 {
  margin: 0 0 5px; font-size: 22px; font-weight: 800; line-height: 1.08;
  letter-spacing: -.5px; text-shadow: 0 1px 12px rgba(0, 0, 0, .42);
}
.hero .hero-main .slide .txt p {
  margin: 0; font-size: 12.5px; line-height: 1.4; opacity: .94; max-width: 92%;
}
/* 底部 CTA（noon 的浅色胶囊按钮） */
.hero .hero-main .slide .cta {
  position: absolute; left: 18px; bottom: 18px; z-index: 3;
  background: #fff; color: #111; font-weight: 800; font-size: 12.5px;
  padding: 9px 17px; border-radius: 5px; letter-spacing: .2px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .24); transition: .18s;
}
.hero .hero-main .slide:hover .cta { background: var(--noon-yellow); }
/* 轮播箭头 / 指示点 */
.hero .hero-main .nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .95); border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .22);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transition: .2s; z-index: 6;
}
.hero .hero-main:hover .nav { opacity: 1; }
.hero .hero-main .nav.prev { left: 10px; }
.hero .hero-main .nav.next { right: 10px; }
.hero .hero-main .nav svg { width: 15px; height: 15px; }
.hero .hero-main .dots {
  position: absolute; bottom: 16px; right: 18px; z-index: 6;
  display: flex; justify-content: flex-end; gap: 5px;
}
.hero .hero-main .dots i {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255, 255, 255, .5); cursor: pointer;
  transition: .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
.hero .hero-main .dots i.on { background: #fff; width: 18px; border-radius: 4px; }

/* ---- 右区：横条 + 方块（noon 的右侧列） ---- */
.hero .hero-side { flex: 0 0 460px; width: 460px; display: flex; flex-direction: column; gap: 14px; }
.hero .hero-side .sb {
  position: relative; border-radius: 8px; overflow: hidden;
  background: #f7f7fa; cursor: pointer;
}
.hero .hero-side .sb.strip { height: 132px; flex: 0 0 132px; }
.hero .hero-side .sb.square { flex: 1 1 auto; min-height: 0; }
.hero .hero-side .sb img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.hero .hero-side .sb:hover img { transform: scale(1.04); }
.hero .hero-side .sb .txt {
  position: absolute; left: 0; top: 0; right: 0; padding: 14px 16px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, .52) 0%, transparent 100%);
}
.hero .hero-side .sb .txt h3 {
  margin: 0 0 3px; font-size: 17px; font-weight: 800; letter-spacing: -.3px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.hero .hero-side .sb .txt p { margin: 0; font-size: 12px; opacity: .93; }
.hero .hero-side .sb.square .txt { padding: 20px; }
.hero .hero-side .sb.square .txt h3 { font-size: 25px; }
.hero .hero-side .sb .tag {
  position: absolute; bottom: 14px; left: 16px; z-index: 3;
  background: rgba(255, 255, 255, .95); color: #111;
  font-weight: 800; font-size: 11.5px; padding: 7px 13px; border-radius: 4px;
}
.hero .hero-side .sb.square .tag { background: var(--noon-yellow); }

/* ---- 无图时的优雅占位（用 noon 的几何色块，不用 emoji） ---- */
.hero .ph-block {
  position: absolute; inset: 0;
  background: linear-gradient(140deg, var(--ph-a, #ff7565) 0%, var(--ph-b, #ffaa90) 100%);
}
.hero .ph-block .glyph {
  position: absolute; right: -10px; bottom: -26px;
  font-size: 104px; line-height: 1; opacity: .16; font-weight: 800;
  color: #fff; letter-spacing: -6px; font-family: 'Poppins', sans-serif;
}

/* ---- 下方横向卡片条（noon 的 category rail） ---- */
/* 2026-10-31：卡片由「纯图」升级为 noon 式商品卡（图 + 名称 + 价格），
   数据来自后台的「产品池」，点击进商品详情。 */
.hero .hero-rail {
  position: relative; margin-top: 14px;
  display: flex; gap: 10px; align-items: stretch;
  overflow: hidden;
}
.hero .hero-rail .rslide {
  flex: 1 1 0; min-width: 0;   /* G41b：8 张卡均分整行，宽屏不留白 */
  border-radius: 8px; overflow: hidden; background: #fff;
  border: 1px solid #ececf2;
  cursor: pointer; position: relative;
  display: flex; flex-direction: column;
  transition: box-shadow .15s ease, transform .15s ease;
}
.hero .hero-rail .rslide:hover {
  box-shadow: 0 4px 16px rgba(15, 23, 42, .14);
  transform: translateY(-2px);
}
.hero .hero-rail .rslide .rimg {
  width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
  background: #f7f7fa; position: relative; flex: 0 0 auto;
}
.hero .hero-rail .rslide .rimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero .hero-rail .rslide .rtxt {
  padding: 7px 8px 9px; line-height: 1.35; min-width: 0;
}
.hero .hero-rail .rslide .rtxt b {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-size: 12px; font-weight: 500; color: #1f2937;
  min-height: 32px;
}
.hero .hero-rail .rslide .rtxt .rp {
  display: block; margin-top: 3px; font-size: 13px; font-weight: 800;
  color: var(--es-red);
}
.hero .hero-rail .rnav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: #fff; border: 1px solid #e6e6e6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .16);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5;
}
.hero .hero-rail .rnav.prev { left: -6px; }
.hero .hero-rail .rnav.next { right: -6px; }
.hero .hero-rail .rnav svg { width: 15px; height: 15px; }
.hero .hero-rail .rnav:hover { box-shadow: 0 3px 14px rgba(0, 0, 0, .24); }

/* 首页主体区块（noon 的 module 分组） */
.home-sec {
  max-width: var(--maxw); margin: 0 auto; padding: 34px 24px 0;
}
.home-sec .sec-head { margin-bottom: 16px; }
.home-sec .sec-head h2 { font-size: 22px; }

/* ===== 演示流程声明（线上生产站部署：结算不产生真实订单） ===== */
.demo-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fffae8; border: 1px solid #f2dd9c;
  border-left: 4px solid var(--noon-yellow);
  border-radius: 10px; padding: 14px 16px; margin: 4px 0 22px;
  color: #6d5520;
}
.demo-note svg { margin-top: 1px; }
.demo-note b { display: block; font-size: 13.5px; font-weight: 800; color: #4b390f; margin-bottom: 3px; }
.demo-note span { display: block; font-size: 12.5px; line-height: 1.6; color: #7a6330; }
.demo-note a { color: #7d5f0c; font-weight: 700; text-decoration: underline; }
.demo-note a:hover { color: var(--es-red); }

/* ============ 信任条 ============ */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 32px; }
.trust .t {
  display: flex; align-items: center; gap: 12px;
  background: var(--soft); border: 1px solid var(--line-2);
  border-radius: 10px; padding: 14px 16px;
}
.trust .t svg { width: 26px; height: 26px; flex-shrink: 0; }
.trust .t b { font-size: 13px; display: block; font-weight: 600; }
.trust .t span { font-size: 12px; color: var(--muted); }

/* ============ 区块标题 ============ */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 6px 0 18px; }
.sec-head h2 { font-size: 21px; margin: 0; font-weight: 700; letter-spacing: -.3px; }
.sec-head .more { font-size: 13px; color: var(--blue); font-weight: 600; }
.sec-head .more:hover { text-decoration: underline; }

/* ============ 分类磁贴 ============ */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 36px; }
.cat-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px; text-align: center; transition: .15s; cursor: pointer;
}
.cat-tile:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, .10); border-color: var(--es-red); }
.cat-tile .ic {
  width: 100%; aspect-ratio: 1/1; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px; overflow: hidden;
  position: relative;
  /* 图未加载完成时先给柔和底色，避免首屏出现刺眼白块 */
  background:
    radial-gradient(120% 90% at 50% 0%, #fbfbfc 0%, #f0f1f4 62%, #e8eaee 100%);
}
/* 懒加载期间的微光骨架：图片没到之前不是一块死灰 */
.cat-tile .ic::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .88) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: catShimmer 1.3s ease-in-out infinite;
}
@keyframes catShimmer { to { transform: translateX(100%); } }
.cat-tile .ic img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .cat-tile .ic::after { animation: none; } }
.cat-tile b { font-size: 13px; font-weight: 600; }

/* ============ 闪购 ============ */
.flash { margin-bottom: 36px; }
.flash-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.flash-head .bolt {
  background: var(--es-red); color: #fff;
  font-weight: 800; padding: 7px 15px; border-radius: 4px;
  font-size: 15px; letter-spacing: .3px;
  display: flex; align-items: center; gap: 7px;
}
.flash-head .bolt svg { width: 15px; height: 15px; flex-shrink: 0; }
.flash-head .sub { font-weight: 700; font-size: 15px; }
.flash-head .count { margin-left: auto; display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; }
.flash-head .count .t {
  background: #111; color: #fff; border-radius: 5px;
  padding: 5px 9px; min-width: 38px; text-align: center; font-variant-numeric: tabular-nums;
}

/* ============ 商品网格 / 卡片 ============ */
.pgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.pgrid.list { grid-template-columns: 1fr; }

.pcard {
  background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--card-radius); overflow: hidden; transition: .15s;
  display: flex; flex-direction: column;
}
.pcard:hover { box-shadow: var(--shadow); border-color: #ddd; }
.pcard .thumb {
  background: var(--thumb); aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
  position: relative; border-bottom: 1px solid var(--line-2); overflow: hidden;
}
.pcard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.pcard .thumb .noimg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #c9c9c9;
  background:
    radial-gradient(120% 90% at 50% 0%, #fbfbfc 0%, #eceef1 62%, #e3e6ea 100%);
}
.pcard .thumb .noimg svg { width: 42px; height: 42px; }
.pcard .thumb .noimg .ph-emoji {
  font-size: 48px; line-height: 1; opacity: .8;
  filter: saturate(.85);
  transform: translateY(-2px);
}
.pcard .thumb .noimg::after {
  content: 'Sin foto'; position: absolute; bottom: 12px;
  font-size: 10px; letter-spacing: .6px; text-transform: uppercase;
  color: #b3b8bf; font-weight: 700;
}
.pcard .thumb .express {
  position: absolute; top: 9px; left: 9px;
  background: #111; color: #fff; font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 3px; letter-spacing: .3px;
}
.pcard .thumb .discount {
  position: absolute; top: 9px; right: 9px;
  background: var(--es-red); color: #fff;
  font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 3px;
}
.pcard .body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard .brand { font-size: 11px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .4px; }
.pcard .ttl {
  font-size: 13px; color: #222; line-height: 1.35; min-height: 36px; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; cursor: pointer;
}
.pcard .ttl:hover { color: var(--es-red); }
.pcard .rate { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.pcard .price { font-size: 18px; font-weight: 800; color: var(--ink); display: flex; align-items: baseline; gap: 7px; margin-top: 2px; }
.pcard .price s { font-size: 12px; font-weight: 400; color: #a0a0a0; }
.pcard .add {
  margin-top: auto; background: var(--noon-yellow); border: none;
  border-radius: var(--btn-radius); height: 38px;
  font-weight: 700; font-size: 13px; color: #111;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.pcard .add:hover { background: var(--noon-yellow-d); }
.pcard .add svg { width: 16px; height: 16px; }

/* 列表视图 */
.pgrid.list .pcard { flex-direction: row; align-items: stretch; }
.pgrid.list .pcard .thumb { width: 220px; aspect-ratio: auto; flex-shrink: 0; }
.pgrid.list .pcard .body { padding: 18px 20px; gap: 8px; }
.pgrid.list .pcard .ttl { min-height: 0; font-size: 16px; -webkit-line-clamp: 2; }
.pgrid.list .pcard .price { font-size: 22px; }
.pgrid.list .pcard .add { width: 210px; height: 42px; margin: auto 20px auto 0; align-self: center; }

/* 星级 */
.stars { color: #f5a623; letter-spacing: 1px; font-size: 12px; }

/* ============ 分类页布局 ============ */
.cat-layout { display: grid; grid-template-columns: 236px 1fr; gap: 26px; }
.filters {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px; align-self: start; position: sticky; top: 130px;
}
.filters h4 { margin: 0 0 10px; font-size: 14px; font-weight: 700; }
.filters .fgroup { padding: 14px 0; border-top: 1px solid var(--line-2); }
.filters .fgroup:first-of-type { border-top: none; padding-top: 0; }
.f-cat {
  display: flex; align-items: center; gap: 9px;
  padding: 6px 0; font-size: 13px; cursor: pointer; color: #333;
}
.f-cat img { width: 30px; height: 30px; border-radius: 6px; object-fit: cover; background: var(--thumb); flex-shrink: 0; }
.f-cat:hover { color: var(--es-red); }
.f-cat input { accent-color: var(--es-red); margin: 0; }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs input {
  width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 4px;
  padding: 7px 9px; font-size: 13px; outline: none;
}
.price-inputs input:focus { border-color: var(--es-red); }
.price-inputs span { color: var(--muted); }

.cat-toolbar {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line-2);
}
.cat-toolbar .count { font-size: 13px; color: var(--muted); }
.cat-toolbar select {
  border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px;
  font-size: 13px; outline: none; background: #fff;
}
.viewtoggle { display: flex; gap: 2px; margin-left: auto; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.viewtoggle button {
  border: none; background: #fff; padding: 7px 9px; display: flex; align-items: center; color: #666;
}
.viewtoggle button.on { background: var(--ink); color: #fff; }
.viewtoggle svg { width: 17px; height: 17px; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.pager button {
  min-width: 36px; height: 36px; border: 1px solid var(--line);
  background: #fff; border-radius: 4px; font-size: 13px; font-weight: 600;
}
.pager button.on { background: var(--noon-yellow); border-color: var(--noon-yellow); }
.pager button:hover:not(.on) { border-color: var(--ink); }

/* ============ 商品详情 ============ */
.pdp { display: grid; grid-template-columns: 520px 1fr; gap: 38px; align-items: start; }
.pdp .gallery { position: sticky; top: 132px; }
.pdp .gallery .main {
  background: var(--thumb); border-radius: 12px; aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--line-2);
}
.pdp .gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.pdp .gallery .main .noimg { color: #c9c9c9; display: flex; align-items: center; justify-content: center; }
.pdp .gallery .main .noimg svg { width: 64px; height: 64px; }
.pdp .gallery .main .noimg .ph-emoji { font-size: 72px; line-height: 1; opacity: .8; }
.pdp .gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pdp .gallery .thumbs .th {
  width: 76px; height: 76px; border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; background: var(--thumb); cursor: pointer;
}
.pdp .gallery .thumbs .th.on { border-color: var(--es-red); }
.pdp .gallery .thumbs .th img { width: 100%; height: 100%; object-fit: cover; }

.pdp .info .brand { font-size: 12px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .5px; }
.pdp .info h1 { font-size: 26px; margin: 6px 0 10px; line-height: 1.25; font-weight: 700; letter-spacing: -.4px; }
.pdp .info .rate-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.pdp .info .price-box {
  background: var(--soft); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 16px 18px; margin-bottom: 18px;
}
.pdp .info .price-box .now { font-size: 32px; font-weight: 800; color: var(--es-red); display: flex; align-items: baseline; gap: 10px; }
.pdp .info .price-box .now s { font-size: 16px; font-weight: 400; color: #a0a0a0; }
.pdp .info .price-box .save { font-size: 12px; font-weight: 700; color: var(--green); }
.pdp .info .price-box .vat { font-size: 12px; color: var(--muted); margin-top: 4px; }
.pdp .info .spec-row { margin-bottom: 16px; }
.pdp .info .spec-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.pdp .info .opts { display: flex; gap: 8px; flex-wrap: wrap; }
.pdp .info .opts .opt {
  border: 1px solid var(--line); border-radius: 4px; padding: 8px 14px;
  font-size: 13px; cursor: pointer; background: #fff;
}
.pdp .info .opts .opt.on { border-color: var(--es-red); color: var(--es-red); font-weight: 700; }
.pdp .info .qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.pdp .info .qty button { width: 36px; height: 38px; border: none; background: var(--soft); font-size: 16px; font-weight: 700; }
.pdp .info .qty button:hover { background: var(--soft-2); }
.pdp .info .qty input { width: 52px; height: 38px; border: none; text-align: center; outline: none; font-size: 14px; }
.pdp .info .buy { display: flex; gap: 12px; margin: 20px 0 14px; }
.pdp .info .buy .add {
  background: var(--noon-orange); border: none;
  border-radius: var(--btn-radius); padding: 15px 34px; min-width: 190px;
  font-weight: 800; font-size: 15px; color: #111;
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.pdp .info .buy .add:hover { background: var(--noon-orange-d); }
.pdp .info .buy .now { background: var(--es-red); color: #fff; border-radius: var(--btn-radius); padding: 15px 28px; font-weight: 800; font-size: 15px; border: none; }
.pdp .info .buy .now:hover { background: var(--es-red-d); }
.tabpane .rich p { margin: 0 0 10px; }
.tabpane .rich ul { margin: 0 0 10px 18px; }
.pdp .info .stock { font-size: 13px; color: var(--green); font-weight: 600; }
.pdp .info .deliv { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 7px; margin-top: 8px; }
.pdp .info .deliv svg { width: 16px; height: 16px; }
.pdp .info .mini-links { display: flex; gap: 20px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.pdp .info .mini-links a { display: flex; align-items: center; gap: 6px; }
.pdp .info .mini-links a:hover { color: var(--es-red); }
.pdp .info .mini-links svg { width: 16px; height: 16px; }

.tabs { margin-top: 40px; }
.tabs .tabhead { display: flex; gap: 26px; border-bottom: 1px solid var(--line); }
.tabs .tabhead b { font-size: 16px; padding: 12px 0; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs .tabhead b.active { color: var(--ink); border-bottom-color: var(--noon-yellow); font-weight: 700; }
.tabpane { padding: 22px 0; }
.tabpane p { font-size: 14px; color: #333; line-height: 1.7; max-width: 820px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; max-width: 900px; }
.specs .row2 { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.specs .row2 span:first-child { color: var(--muted); }

.related { margin-top: 44px; }

/* ============ 购物车 / 结算 ============ */
.cart-layout, .co-layout { display: grid; grid-template-columns: 1fr 380px; gap: 26px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.card + .card { margin-top: 16px; }
.card h3 { margin: 0 0 16px; font-size: 17px; font-weight: 700; }

.citem { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.citem:last-child { border-bottom: none; }
.citem .pic { width: 96px; height: 96px; border-radius: 8px; background: var(--thumb); overflow: hidden; flex-shrink: 0; }
.citem .pic img { width: 100%; height: 100%; object-fit: cover; }
.citem .info { flex: 1; min-width: 0; }
.citem .info .ttl { font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.citem .info .sku { font-size: 12px; color: var(--muted); }
.citem .info .price { font-size: 17px; font-weight: 800; margin-top: 8px; }
.citem .ctl { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.citem .qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.citem .qty button { width: 32px; height: 32px; border: none; background: var(--soft); font-weight: 700; }
.citem .qty button:hover { background: var(--soft-2); }
.citem .qty input { width: 44px; height: 32px; border: none; text-align: center; outline: none; font-size: 13px; }
.citem .rm { font-size: 13px; color: var(--muted); cursor: pointer; display: flex; align-items: center; gap: 5px; }
.citem .rm:hover { color: var(--es-red); }
.citem .rm svg { width: 15px; height: 15px; }

.summary { position: sticky; top: 132px; }
.summary .line { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14px; }
.summary .line.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 17px; font-weight: 800; }
.summary .line.total b { font-size: 22px; color: var(--es-red); }
.coupon-row { display: flex; gap: 8px; margin: 12px 0; }
.coupon-row input {
  flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 4px;
  padding: 9px 11px; font-size: 13px; outline: none;
}
.coupon-row input:focus { border-color: var(--es-red); }
.coupon-applied { display: flex; align-items: center; justify-content: space-between; background: var(--soft); border: 1px dashed var(--noon-yellow-d); border-radius: 6px; padding: 9px 11px; font-size: 13px; }
.coupon-applied b { color: var(--es-red); }

.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty svg { width: 72px; height: 72px; opacity: .35; margin-bottom: 16px; }
.empty h3 { color: var(--ink); font-size: 18px; margin: 0 0 8px; }
.empty p { font-size: 14px; margin: 0 0 20px; }

/* 地址簿 / 支付 */
.addr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.addr {
  border: 1px solid var(--line); border-radius: 10px; padding: 14px;
  cursor: pointer; position: relative; transition: .15s;
}
.addr:hover { border-color: var(--ink); }
.addr.on { border-color: var(--es-red); box-shadow: 0 0 0 2px rgba(198, 11, 30, .1); }
.addr .nm { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.addr .dt { font-size: 13px; color: var(--muted); line-height: 1.5; }
.addr .df { position: absolute; top: 10px; right: 10px; font-size: 10px; font-weight: 800; background: var(--noon-yellow); padding: 2px 6px; border-radius: 3px; }

.opt {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; cursor: pointer;
}
.opt:hover { border-color: var(--ink); }
.opt.on { border-color: var(--es-red); background: #fffafa; }
.opt .ic { width: 42px; height: 42px; border-radius: 8px; background: var(--soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.opt .ic svg { width: 22px; height: 22px; }
.opt .tx { flex: 1; }
.opt .tx b { display: block; font-size: 14px; font-weight: 600; }
.opt .tx small { font-size: 12px; color: var(--muted); }
.opt .amt { font-weight: 700; font-size: 14px; }
.opt .amt.free { color: var(--green); }

.pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pay {
  border: 1px solid var(--line); border-radius: 10px; padding: 16px;
  text-align: center; cursor: pointer; transition: .15s; background: #fff;
}
.pay:hover { border-color: var(--ink); }
.pay.on { border-color: var(--es-red); box-shadow: 0 0 0 2px rgba(198, 11, 30, .1); }
.pay .pi { height: 34px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: var(--ink); margin-bottom: 8px; }
.pay .pi.stripe { color: #635bff; }
.pay .pi.paypal { color: #003087; }
.pay .pi.bizum { color: #0a5ca8; }
.pay .pi.klarna { color: #ffb3c7; }
.pay small { font-size: 12px; color: var(--muted); }

.terms { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #444; margin: 14px 0; }
.terms input { accent-color: var(--es-red); margin-top: 2px; }
.terms a { color: var(--es-red); }

/* ============ 登录 ============ */
.auth-wrap { display: grid; grid-template-columns: 1fr 420px; gap: 50px; align-items: center; padding: 46px 0 60px; }
.auth-side h2 { font-size: 34px; margin: 0 0 14px; line-height: 1.15; font-weight: 800; letter-spacing: -.8px; }
.auth-side p { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 480px; margin: 0 0 22px; }
.auth-side .perks { display: grid; gap: 12px; }
.auth-side .perks div { display: flex; gap: 11px; align-items: center; font-size: 14px; }
.auth-side .perks svg { width: 20px; height: 20px; color: var(--es-red); flex-shrink: 0; }

.auth { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.auth .tabs2 { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.auth .tabs2 b { font-size: 15px; padding: 0 0 12px; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; }
.auth .tabs2 b.on { color: var(--ink); border-bottom-color: var(--es-red); font-weight: 700; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; color: #444; }
.field input {
  width: 100%; border: 1px solid var(--line); border-radius: 4px;
  padding: 11px 12px; font-size: 14px; outline: none;
}
.field input:focus { border-color: var(--es-red); }
.auth .row2 { display: flex; align-items: center; justify-content: space-between; font-size: 13px; margin-bottom: 18px; }
.auth .row2 a { color: var(--blue); }
.social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.social button {
  border: 1px solid var(--line); background: #fff; border-radius: 4px;
  padding: 10px; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.social button:hover { background: var(--soft); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin: 18px 0 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }

/* ============ 页脚 ============ */
.footer { background: #111; color: #fff; margin-top: 50px; }
.footer .fg { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 30px; padding: 42px 0 30px; }
.footer h5 { font-size: 13px; margin: 0 0 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--noon-yellow); }
.footer a { display: block; font-size: 13px; color: #b9b9b9; margin-bottom: 9px; }
.footer a:hover { color: #fff; }
/* 页脚分类列只放 6 个热门分类，这行是「看全部」的入口 */
.footer .fmore {
  color: var(--noon-yellow); font-weight: 700; margin-top: 6px;
  display: inline-block; border-bottom: 1px solid rgba(254, 238, 0, .35);
}
.footer .fmore:hover { border-bottom-color: var(--noon-yellow); }
.footer .flogo { margin-bottom: 10px; }
.footer .flogo img {
  height: 34px; width: auto; display: block;
  background: #fff; padding: 7px 11px; border-radius: 9px;
}
.footer .fdesc { font-size: 13px; color: #8f8f8f; line-height: 1.7; max-width: 320px; }
.footer .fbar { border-top: 1px solid #2a2a2a; padding: 16px 0; font-size: 12px; color: #7d7d7d; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.paylogos { display: flex; gap: 8px; margin-top: 14px; }
.paylogos span { background: #fff; color: #111; font-size: 10px; font-weight: 800; padding: 4px 7px; border-radius: 3px; }

/* ============ 提示条 / 骨架 ============ */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%);
  background: #111; color: #fff; font-size: 14px; font-weight: 600;
  padding: 12px 22px; border-radius: 6px; z-index: 200; box-shadow: var(--shadow-lg);
}
.skeleton { background: linear-gradient(90deg, #f1f1f1 25%, #e8e8e8 37%, #f1f1f1 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: 6px; }
@keyframes sk { 0% { background-position: 100% 50% } 100% { background-position: 0 50% } }

/* ============ 响应式 ============ */
@media (max-width: 1400px) {
  .hero .hero-side { flex: 0 0 400px; width: 400px; }
}
@media (max-width: 1200px) {
  .pgrid { grid-template-columns: repeat(4, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .pdp { grid-template-columns: 420px 1fr; }
  .pay-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .hero-side { flex: 0 0 320px; width: 320px; }
  /* 可视卡片从 3 张降到 2 张 */
  .hero .hero-main .slide { flex: 0 0 calc((100% - 14px) / 2); }
}
@media (max-width: 980px) {
  .wrap { padding: 0 16px; }
  .topbar .wrap { height: auto; flex-wrap: wrap; padding: 10px 16px; gap: 10px; }
  .search { order: 3; flex: 1 0 100%; }
  .tb-actions { margin-left: auto; }
  .nav { display: none; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .pgrid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .hf-inner { padding: 12px 16px 0; }
  .hero .hero-row { flex-direction: column; height: auto; }
  .hero .hero-main { height: 420px; }
  .hero .hero-main .slide { flex: 0 0 calc(100% - 14px); }
  .hero .hero-side { flex: none; width: 100%; height: 420px; }
  .hero .hero-side .sb.strip { flex: 0 0 150px; height: 150px; }
  .home-sec { padding: 26px 16px 0; }
  .cat-layout, .pdp, .cart-layout, .co-layout, .auth-wrap { grid-template-columns: 1fr; }
  .filters, .summary, .pdp .gallery { position: static; }
  .addr-grid { grid-template-columns: 1fr; }
  .footer .fg { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: 1fr; }
}


/* ===== G33: 管理后台（#/admin） ===== */
.admin-page { min-height: 60vh; }
.admin-lock { background:#fff; border:1px solid var(--line); border-radius:12px; padding:24px; max-width:420px; margin:20px auto; text-align:center; }
.admin-lock input { width:100%; margin:10px 0; padding:10px 12px; border:1px solid var(--line); border-radius:8px; font-size:14px; }
.admin-btn { background:var(--es-red); color:#fff; border:none; border-radius:8px; padding:10px 18px; font-weight:700; cursor:pointer; }
.admin-btn:hover { background:var(--es-red-d); }
.admin-btn.sm { padding:4px 10px; font-size:12px; border-radius:6px; }
.admin-btn.big { padding:12px 30px; font-size:15px; }
.admin-btn.danger { background:#888; }
.admin-hint { color:#999; font-size:12px; margin-left:8px; }
.admin-msg { padding:10px 14px; border-radius:8px; margin:10px 0; font-size:13px; font-weight:600; }
.admin-msg.ok { background:#e8f7ee; color:#0a8a3f; }
.admin-msg.err { background:#fdecec; color:var(--es-red); }
.admin-slot { background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px; margin:14px 0; }
.admin-slot-head { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.admin-slot-head b { font-size:14px; }
.admin-card { border:1px solid var(--line-2); border-radius:10px; padding:10px; margin-bottom:10px; }
.admin-card-row { display:flex; gap:10px; margin-bottom:8px; flex-wrap:wrap; }
.admin-card-row label { display:flex; flex-direction:column; gap:3px; font-size:11px; color:#666; flex:1; min-width:140px; }
.admin-card-row label.w70 { max-width:110px; }
.admin-card-row label.w90 { max-width:150px; }
.admin-card-row label.w130 { max-width:180px; }
.admin-card-row input, .admin-card-row select { padding:6px 8px; border:1px solid var(--line); border-radius:6px; font-size:12px; }
.admin-card-row label.chk { flex-direction:row; align-items:center; gap:6px; max-width:90px; }
.admin-card-ops { display:flex; gap:6px; align-items:center; }
.admin-save { display:flex; align-items:center; gap:12px; margin:20px 0; }
.admin-btn.ghost { background:#fff; color:#333; border:1px solid #ddd; }
.admin-btn.ghost:hover { border-color:#999; background:#f7f7f7; }

/* ---- G34: FLASH 秒杀区管理 ---- */
.flash-head .flash-entry { height: 36px; border-radius: 6px; object-fit: cover; max-width: 260px; }
.admin-thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; border: 1px solid #e5e5e5; flex-shrink: 0; }
.admin-flashmeta { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.admin-flashmeta b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-pick { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: 1px solid #f2f2f2; }
.admin-pick:last-child { border-bottom: none; }
.admin-pickttl { flex: 1; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-btn.sm.ghost { background: #fff; color: #555; border: 1px solid #ddd; }
.admin-btn.sm.ghost:hover { border-color: #999; background: #f7f7f7; }

/* ---- G38: 后台上传（图片+视频）与视频卡渲染 ---- */
.hero .hero-main .slide video,
.hero .hero-side .sb video,
.hero .hero-rail .rslide .rimg video {
  width: 100%; height: 100%; object-fit: cover; display: block; background: #111;
}
.flash-head .flash-entry { display: inline-block; }
.admin-up {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 14px; border: 1px dashed #c9ccd4; border-radius: 8px;
  font-size: 12px; color: #555; cursor: pointer; white-space: nowrap;
  align-self: flex-end; height: 40px; flex-shrink: 0; user-select: none;
}
.admin-up:hover { border-color: var(--noon-orange, #FF8A00); color: var(--noon-orange, #FF8A00); }
.admin-up.busy { opacity: .6; pointer-events: none; }
.admin-card-row label.grow, .admin-form label.grow { flex: 1; min-width: 200px; }

/* ===== 底部氛围图（G41）===== */
.atmos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
  margin: 30px 0 6px;
}
.atmos-item {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: var(--es-surface, #fff);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.atmos-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
}
.atmos-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ===== Cookie 同意条（G41d，GDPR）===== */
.ckbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: rgba(22, 24, 32, .97); color: #fff;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, .28);
}
.ck-in {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
}
.ck-txt { flex: 1 1 420px; display: flex; flex-direction: column; gap: 4px; }
.ck-txt b { font-size: 14px; font-weight: 700; }
.ck-txt span { font-size: 12.5px; line-height: 1.55; color: #c9cdd8; }
.ck-txt a { color: #ffb45e; text-decoration: underline; white-space: nowrap; }
.ck-btns { display: flex; gap: 10px; flex-shrink: 0; }
.ck-btn {
  padding: 10px 20px; border-radius: 8px; cursor: pointer;
  border: 1px solid #4a4e5a; background: transparent; color: #fff;
  font-size: 13px; font-weight: 600; transition: background .15s ease, filter .15s ease;
}
.ck-btn.primary { background: var(--es-red, #ff6d3d); border-color: var(--es-red, #ff6d3d); }
.ck-btn.primary:hover { filter: brightness(1.08); }
.ck-btn.ghost:hover { background: rgba(255, 255, 255, .08); }
@media (max-width: 720px) {
  .ck-btns { width: 100%; }
  .ck-btn { flex: 1; }
}
