/* ============================================================
   郑州科睿仪器仪表有限公司 企业站样式表
   完整版：直接覆盖 assets/style.css 即可
   包含：前台全站 + 后台管理 + 页脚联系方式 + 右下角二维码
   ============================================================ */

/* ============================================================
   1. 基础重置
   ============================================================ */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: #1f2937;
  background: #fff;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

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

/* ============================================================
   2. 顶部导航
   ============================================================ */
.site-header {
  background: linear-gradient(90deg, #0b1f38 0%, #0f2a4a 55%, #143258 100%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 14px rgba(11, 31, 56, .22);
  border-bottom: 1px solid rgba(125, 211, 252, .12);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 18px 24px;
  flex-wrap: wrap;
  padding: 10px 0;
}

/* ---------- 品牌区 ---------- */
.site-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}
.site-brand.no-logo { gap: 0; }

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  padding: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
  flex-shrink: 0;
}

.brand-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .8px;
  white-space: nowrap;
  line-height: 1.2;
  background: linear-gradient(90deg, #ffffff 0%, #bae6fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
}
.site-brand.no-logo .brand-text { font-size: 23px; }

/* ---------- 导航区 ---------- */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}
.main-nav > a {
  position: relative;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 15px;
  color: rgba(255, 255, 255, .88);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.main-nav > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}
.main-nav > a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: #7dd3fc;
  transition: width .22s;
  transform: translateX(-50%);
}
.main-nav > a:hover::after { width: 60%; }

/* ---------- 工具区：搜索框 + 语言切换（统一 40px 高） ---------- */
.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  flex-shrink: 0;
  margin-left: auto;
}

.header-tools .lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
  transition: border-color .2s, color .2s, background .2s;
}
.header-tools .lang:hover {
  border-color: #7dd3fc;
  color: #7dd3fc;
  background: rgba(125, 211, 252, .08);
}

.header-tools .search-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
  box-sizing: border-box;
  transition: border-color .2s, background .2s;
}
.header-tools .search-form:focus-within {
  border-color: #7dd3fc;
  background: rgba(255, 255, 255, .16);
}
.header-tools .search-form input[type="search"] {
  flex: 1 1 auto;
  width: 170px;
  min-width: 0;
  height: 100%;
  padding: 0 12px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  outline: none;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.header-tools .search-form input[type="search"]::placeholder {
  color: rgba(255, 255, 255, .6);
}
.header-tools .search-form input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.header-tools .search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 100%;
  padding: 0 18px;
  margin: 0;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, .18);
  border-radius: 0;
  background: #1d4ed8;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  transition: background .2s;
}
.header-tools .search-form button:hover { background: #1e40af; }

/* ============================================================
   3. Banner 轮播
   ============================================================ */
.banner-slider {
  position: relative;
  height: 440px;
  overflow: hidden;
  background: linear-gradient(120deg, #0f2a4a, #1d4ed8);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  background-size: cover;
  background-position: center;
  background-color: #0f2a4a;
}
.slide.active { opacity: 1; }
.slide-content {
  height: 100%;
  display: flex;
  align-items: center;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.slide-content h1 {
  font-size: clamp(28px, 4vw, 52px);
  max-width: 760px;
  margin: 0;
}
.slider-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slider-dots button {
  width: 28px;
  height: 5px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
}
.slider-dots button.active { background: #fff; }

/* ============================================================
   4. 通用区块与页面头
   ============================================================ */
.section { padding: 64px 0; }
.section.gray { background: #f5f7fb; }
.section-title { text-align: center; font-size: 28px; margin: 0 0 34px; }

.page-head {
  background: linear-gradient(120deg, #0f2a4a, #1d4ed8);
  color: #fff;
  padding: 56px 0;
}
.page-head h1 { margin: 0; font-size: 32px; }
.page-head-sm { padding: 24px 0; }

.breadcrumb { margin: 0 0 8px; font-size: 14px; opacity: .92; }
.breadcrumb a { color: #fff; text-decoration: underline; }
.breadcrumb span { opacity: .85; }

/* ============================================================
   5. 首页分类导航（图标放大 2 倍）
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  font-weight: 600;
  transition: .2s;
}
.cat-item:hover {
  border-color: #1d4ed8;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 42, 74, .08);
}

/* emoji 图标：136px */
.cat-icon {
  display: block;
  font-size: 136px;
  line-height: 1;
  margin-bottom: 16px;
}

/* 图片图标：192px */
.cat-icon-img {
  display: block;
  width: 192px;
  height: 192px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.cat-name {
  display: block;
  font-size: 18px;
  color: #1f2937;
  font-weight: 700;
  margin-top: 4px;
}

/* 首页不显示子分类名称 */
.cat-children { display: none; }

/* 分类页子分类条 */
.sub-category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}
.sub-cat-label { font-size: 14px; color: #6b7280; }
.sub-cat-item {
  display: inline-block;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  font-size: 14px;
  color: #1f2937;
  transition: .2s;
}
.sub-cat-item:hover {
  border-color: #1d4ed8;
  color: #1d4ed8;
  background: #eff6ff;
}

/* 分类描述 */
.category-description {
  background: #eff6ff;
  border-left: 4px solid #1d4ed8;
  padding: 18px 22px;
  border-radius: 10px;
  font-size: 15px;
  color: #1e40af;
  line-height: 1.8;
  margin: 0 0 28px;
}

/* ============================================================
   6. 商品网格
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  padding-bottom: 16px;
  transition: .2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 42, 74, .10);
}
.product-img {
  height: 180px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  background-size: cover;
  background-position: center;
}
.product-card h3 {
  font-size: 16px;
  margin: 14px 16px 6px;
  line-height: 1.4;
}
.product-card p { font-size: 13px; color: #6b7280; margin: 0 16px; }
.product-card .model {
  font-size: 12px;
  color: #1d4ed8;
  margin: 0 16px 4px;
}

/* 首页热销商品名称中的型号前缀 */
.product-card .product-model {
  color: #1d4ed8;
  font-weight: 700;
  margin-right: 4px;
  font-size: 15px;
}

/* ============================================================
   分类页商品卡片文字层次（型号 → 名称 → 简介）
   型号：主标题，最深最大
   名称：副标题，加粗加深，与简介拉开明显差距
   简介：辅助信息，缩小减淡，最多两行
   ============================================================ */
.product-card .product-model-line {
  font-size: 16px;
  font-weight: 700;
  color: #0f2a4a;
  margin: 14px 16px 4px;
  line-height: 1.4;
  word-break: break-word;
  letter-spacing: .2px;
}

.product-card .product-name-line {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 16px 10px;
  line-height: 1.5;
  word-break: break-word;
  letter-spacing: .1px;
}

.product-card .product-summary-line {
  font-size: 12.5px;
  color: #9ca3af;
  margin: 0 16px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 搜索关键词高亮 */
mark {
  background: #fde68a;
  color: #111;
  padding: 0 2px;
  border-radius: 2px;
}

/* ============================================================
   7. 商品详情页
   ============================================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}
.detail-img {
  min-height: 420px;
  border-radius: 16px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  background-size: cover;
  background-position: center;
}
.detail-info h1 { margin-top: 0; }
.summary { color: #4b5563; }

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 8px 0 16px;
  font-size: 14px;
  color: #4b5563;
}
.detail-meta a { color: #1d4ed8; }
.detail-meta a:hover { text-decoration: underline; }

.detail-block { margin: 20px 0; }
.detail-block h3 {
  font-size: 16px;
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 4px solid #1d4ed8;
}

.kv-table {
  width: 100%;
  border-collapse: collapse;
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
}
.kv-table th,
.kv-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}
.kv-table th {
  width: 120px;
  color: #374151;
  background: #f1f5f9;
  font-weight: 600;
}
.kv-table tr:last-child th,
.kv-table tr:last-child td { border-bottom: 0; }

.detail-content {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}
.detail-content h2 { font-size: 22px; margin: 0 0 16px; }

/* ============================================================
   商品详情页按钮组：立即询价（蓝）/ 下载产品手册（青绿）/ 购买（橙）
   三个按钮同一行排列，三种颜色区分功能
   ============================================================ */
.detail-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.detail-buttons .btn { margin: 0; }

/* 立即询价：蓝色 */
.detail-buttons .btn-inquiry { background: #1d4ed8; }
.detail-buttons .btn-inquiry:hover { background: #1e40af; }

/* 下载产品手册：青绿色 */
.detail-buttons .btn-manual { background: #0d9488; }
.detail-buttons .btn-manual:hover { background: #0f766e; }

/* 购买：橙色 */
.detail-buttons .btn-buy { background: #ea580c; }
.detail-buttons .btn-buy:hover { background: #c2410c; }

/* 商品图库（多图轮播） */
.product-gallery-wrap { min-width: 0; }
.product-gallery { display: flex; flex-direction: column; gap: 12px; }

.gallery-main {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #f1f5f9;
}
.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  background-size: cover;
  background-position: center;
  background-color: #f1f5f9;
}
.gallery-slide.active { opacity: 1; }

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.gallery-thumb {
  flex: 0 0 auto;
  width: 84px;
  height: 64px;
  border: 2px solid transparent;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-color: #f1f5f9;
  cursor: pointer;
  transition: border-color .2s;
}
.gallery-thumb:hover { border-color: #bfdbfe; }
.gallery-thumb.active { border-color: #1d4ed8; }

/* ============================================================
   8. 关于我们 · 企业资质图片（固定 300×400，禁止下载）
   ============================================================ */
.about-content { max-width: 900px; font-size: 16px; }

.about-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
}
.about-gallery-item {
  width: 300px;
  height: 400px;
  max-width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: 0 2px 8px rgba(15, 42, 74, .06);
}
.about-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* ============================================================
   9. 通用按钮与正文
   ============================================================ */
.btn {
  display: inline-block;
  background: #1d4ed8;
  color: #fff;
  padding: 11px 26px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-size: 15px;
}
.btn:hover { background: #1e40af; }

.prose { max-width: 900px; font-size: 16px; }

/* ============================================================
   10. 联系我们
   ============================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 42px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font: inherit;
  box-sizing: border-box;
}
.contact-form textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}
.success {
  color: #15803d;
  background: #dcfce7;
  padding: 10px 14px;
  border-radius: 8px;
}

.qrcode-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}
.qrcode-item {
  text-align: center;
  width: 128px;
}
.qrcode-item img {
  display: block;
  width: 128px;
  height: 128px;
  object-fit: contain;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(15, 42, 74, .06);
}
.qrcode-item span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.4;
}

/* ============================================================
   11. 页脚
   ============================================================ */
.site-footer {
  background: #0b1f38;
  color: #cbd5e1;
  padding: 28px 0;
  font-size: 13px;
  text-align: center;
}
.site-footer a { color: #93c5fd; }

.footer-contact-line {
  margin: 6px 0;
  line-height: 1.8;
}

/* ============================================================
   12. 右下角浮动二维码
   ============================================================ */
.footer-qrcode-fixed {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .96);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(15, 42, 74, .18);
  border: 1px solid rgba(15, 42, 74, .06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: calc(100vw - 32px);
  overflow-x: auto;
}
.footer-qr-item {
  text-align: center;
  flex: 0 0 auto;
}
.footer-qr-item img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}
.footer-qr-item span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #4b5563;
  line-height: 1.3;
  max-width: 96px;
  word-break: break-word;
}

/* ============================================================
   13. 后台管理
   ============================================================ */
.admin-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.admin-nav a {
  position: relative;
  padding: 8px 14px;
  background: #e0e7ff;
  border-radius: 8px;
}
.admin-nav .badge {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 4px;
  background: #dc2626;
  color: #fff;
  border-radius: 9px;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  vertical-align: middle;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  background: #fff;
}
.admin-table th,
.admin-table td {
  border: 1px solid #e5e7eb;
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.admin-form {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  max-width: 860px;
}
.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 10px;
  margin: 6px 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font: inherit;
}
.admin-form textarea { min-height: 80px; }

.mode-tip {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.form-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f2a4a;
  margin: 22px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #cbd5e1;
}

.reorder-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}
.reorder-bar .btn-reorder {
  display: inline-block;
  padding: 6px 14px;
  background: #15803d;
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
}
.reorder-bar .btn-reorder:hover { background: #166534; }

/* 后台图片网格 */
.admin-image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 16px;
}
.admin-image-item {
  width: 120px;
  text-align: center;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px;
  background: #f8fafc;
}
.admin-image-item img {
  display: block;
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 4px;
}
.admin-image-item label { font-size: 12px; color: #b91c1c; }

/* 留言状态标签 */
.tag-read {
  color: #15803d;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}
.tag-unread {
  color: #b91c1c;
  background: #fee2e2;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.unread-row td { background: #fffbeb; }
.unread-row td:first-child { border-left: 3px solid #dc2626; }

/* ============================================================
   14. 响应式
   ============================================================ */

/* ≤ 1100px */
@media (max-width: 1100px) {
  .main-nav { justify-content: flex-start; }
}

/* ≤ 900px */
@media (max-width: 900px) {
  .header-inner { padding: 12px 0; gap: 10px 16px; }
  .main-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }
  .header-tools { margin-left: auto; }
  .brand-text { font-size: 19px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr; }
  .product-detail,
  .contact-wrap { grid-template-columns: 1fr; }
  .banner-slider { height: 320px; }

  .cat-icon { font-size: 104px; }
  .cat-icon-img { width: 144px; height: 144px; }
  .cat-item { padding: 28px 18px; }

  .about-gallery-item { width: 240px; height: 320px; }

  .footer-qrcode-fixed {
    right: 12px;
    bottom: 12px;
    padding: 10px;
    gap: 10px;
  }
  .footer-qr-item img { width: 84px; height: 84px; }
  .footer-qr-item span { font-size: 11px; max-width: 84px; }
}

/* ≤ 560px */
@media (max-width: 560px) {
  .brand-text { font-size: 17px; letter-spacing: .3px; }
  .brand-logo { width: 42px; height: 42px; padding: 4px; }
  .site-brand.no-logo .brand-text { font-size: 18px; }

  .header-tools { gap: 8px; height: 36px; }
  .header-tools .lang { height: 36px; padding: 0 12px; font-size: 13px; }
  .header-tools .search-form { height: 36px; }
  .header-tools .search-form input[type="search"] { width: 100px; font-size: 12px; }
  .header-tools .search-form button { padding: 0 12px; font-size: 12px; }

  .main-nav > a { padding: 6px 10px; font-size: 14px; }

  .product-grid { grid-template-columns: 1fr; }

  .kv-table th { width: 88px; }
  .detail-meta { flex-direction: column; gap: 4px; }

  .detail-buttons .btn {
    flex: 1 1 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .qrcode-item { width: 104px; }
  .qrcode-item img { width: 104px; height: 104px; }

  .cat-icon { font-size: 88px; }
  .cat-icon-img { width: 120px; height: 120px; }
  .cat-name { font-size: 16px; }
  .cat-item { padding: 24px 14px; }

  .about-gallery { gap: 14px; }
  .about-gallery-item {
    width: calc(50% - 7px);
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .footer-qrcode-fixed {
    right: 8px;
    bottom: 8px;
    padding: 8px;
    gap: 8px;
    border-radius: 10px;
  }
  .footer-qr-item img { width: 68px; height: 68px; }
  .footer-qr-item span { font-size: 10px; max-width: 68px; }
}