/* ============================================
   goodsDetail.css — 商品详情页公共样式
   ============================================ */
:root { --gd-primary: #14a38e; --gd-primary-light: #e8f8f5; --gd-primary-dark: #0d8a78; --gd-danger: #e4393c; --gd-text: #1a1a1a; --gd-text-secondary: #666; --gd-text-muted: #999; --gd-border: #f0f0f0; --gd-bg: #f8f8f8; --gd-radius: 10px; --gd-transition: .3s cubic-bezier(.4,0,.2,1); }

/* ===== 面包屑 ===== */
.gd-breadcrumb { padding: 12px 0; font-size: 13px; color: var(--gd-text-muted); }
.gd-breadcrumb a { color: var(--gd-text-muted); text-decoration: none; transition: color var(--gd-transition); }
.gd-breadcrumb a:hover { color: var(--gd-primary); }
.gd-breadcrumb .sep { margin: 0 6px; color: #ddd; }

/* ===== 主体布局 ===== */
/* minmax(0,1fr)+min-width:0：防止 Swiper loop 克隆的 flex 幻灯片把 1fr 轨道的 min-content 撑成多屏宽（移动端实测会被撑到 1440px） */
.gd-main { display: grid; grid-template-columns: 500px minmax(0, 1fr) auto; gap: 30px 40px; padding: 16px 0 0; }
.gd-main > * { min-width: 0; }

/* ——— 图片区 ——— */
/* 注意：桌面端不要 overflow:hidden，否则会裁掉右侧放大镜 */
.gd-gallery { position: sticky; top: 90px; align-self: start; min-width: 0; max-width: 100%; }

/* ——— 右侧快捷操作 ——— */
.gd-side-actions { display: flex; flex-direction: row; gap: 8px; padding-top: 4px; align-self: start; position: sticky; top: 90px; }
.gd-side-btn { display: flex; flex-direction: row; align-items: center; gap: 4px; padding: 6px 12px; border: 1.5px solid var(--gd-primary); border-radius: 6px; background: #fff; color: var(--gd-primary); text-decoration: none; font-size: 13px; transition: all var(--gd-transition); cursor: pointer; min-width: auto; }
.gd-side-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.gd-side-btn:hover { border-color: var(--gd-primary-dark); color: #fff; background: var(--gd-primary); }
.gd-side-btn.copied { border-color: var(--gd-primary); color: #fff; background: var(--gd-primary); pointer-events: none; }
/* overflow 裁切相邻 slide；不要给 wrapper/slide 再加 max-width，避免和 Swiper 内联 width 打架导致贴边漏图 */
/* 背景与 .gd-gallery-main 一致：圆角/亚像素裁切漏出 1px 时不会露出下一张图 */
.gd-gallery-swiper { width: 100%; max-width: 100%; border-radius: var(--gd-radius); overflow: hidden; background: linear-gradient(135deg, #f5f7fa 0%, #eef1f5 100%); }
.gd-gallery-swiper .swiper-slide { line-height: 0; overflow: hidden; height: auto !important; box-sizing: border-box; margin: 0; }
.gd-gallery-swiper .swiper-slide:not(.swiper-slide-active) { background: linear-gradient(135deg, #f5f7fa 0%, #eef1f5 100%); }
/* padding-bottom 兜底 aspect-ratio：aspect-ratio 在部分移动端 WebView 不生效，导致容器无高度、图片按原图撑开 */
.gd-gallery-main { width: 100%; position: relative; overflow: hidden; background: linear-gradient(135deg, #f5f7fa 0%, #eef1f5 100%); }
.gd-gallery-main::before { content: ""; display: block; padding-top: 100%; }
.gd-gallery-main img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; }
.gd-gallery-pagination { position: absolute; bottom: 8px !important; left: 0; right: 0; text-align: center; }
.gd-gallery-pagination .swiper-pagination-bullet { width: 8px; height: 8px; background: rgba(255,255,255,.6); opacity: 1; transition: all .3s; }
.gd-gallery-pagination .swiper-pagination-bullet-active { width: 20px; border-radius: 4px; background: #fff; }

/* 左右箭头 */
.gd-gallery-prev,
.gd-gallery-next { color: #fff; width: 34px !important; height: 34px !important; line-height: 34px; background: rgba(0,0,0,.3); border-radius: 50%; transition: all .3s; opacity: 0; margin-top: -17px !important; }
.gd-gallery-prev::after,
.gd-gallery-next::after { content: ""; display: block; width: 8px; height: 8px; border-top: 2px solid #fff; border-left: 2px solid #fff; position: absolute; top: 50%; left: 50%; }
.gd-gallery-prev::after { transform: translate(-30%, -50%) rotate(-45deg); }
.gd-gallery-next::after { transform: translate(-70%, -50%) rotate(135deg); }
.gd-gallery-swiper:hover .gd-gallery-prev,
.gd-gallery-swiper:hover .gd-gallery-next { opacity: 1; }
.gd-gallery-prev:hover,
.gd-gallery-next:hover { background: rgba(0,0,0,.55); }
.gd-gallery-prev { left: 10px !important; }
.gd-gallery-next { right: 10px !important; }

/* ——— 图片放大镜 ——— */
.gd-zoom-container { position: relative; width: 100%; }
.gd-zoom-mask { position: absolute; width: 200px; height: 200px; border: 2px solid rgba(20,163,142,.6); background: rgba(20,163,142,.08); pointer-events: none; display: none; z-index: 10; transform: translate(-50%, -50%); }
.gd-zoom-lens { position: absolute; top: 0; left: calc(100% + 16px); width: 400px; height: 400px; border: 1px solid #e0e0e0; border-radius: var(--gd-radius); overflow: hidden; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.15); display: none; z-index: 100; }
.gd-zoom-image { display: block !important; max-width: none; transform-origin: 0 0; }

/* 触屏/无 hover 设备彻底禁用放大镜（不依赖视口宽度，覆盖 iPad 横屏等场景） */
@media (hover: none), (pointer: coarse) {
    .gd-zoom-lens,
    .gd-zoom-mask,
    .gd-zoom-image { display: none !important; }
}

/* ——— 图片描述 ——— */
.gd-img-desc { text-align: center; font-size: 13px; color: var(--gd-text-secondary); margin-top: 8px; min-height: 20px; line-height: 1.6; }

/* ——— 信息区 ——— */
.gd-info { display: flex; flex-direction: column; gap: 0; }
.gd-sku { font-size: 15px; font-weight: 600; color: var(--gd-primary); margin: 0 0 6px; letter-spacing: .02em; }
.gd-title { font-size: 22px; font-weight: 600; color: var(--gd-text); line-height: 1.4; margin: 0 0 6px; }
.gd-subtitle { font-size: 14px; color: var(--gd-text-secondary); line-height: 1.6; margin: 0 0 14px; }

/* 价格区 */
.gd-price-box { display: inline-flex; align-items: baseline; gap: 4px; background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%); border-radius: 6px; padding: 8px 14px; margin-bottom: 14px; width: fit-content; }
.gd-price { font-size: 24px; font-weight: 700; color: var(--gd-danger); letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.gd-price .price-sym { font-size: 14px; font-weight: 500; }
.gd-price .price-range { font-size: 13px; font-weight: 400; color: var(--gd-text-muted); margin-left: 2px; }
.gd-price .price-label { display: block; font-size: 11px; color: var(--gd-text-muted); font-weight: 400; margin-top: 2px; }
.gd-price-placeholder { font-size: 13px; color: var(--gd-text-muted); font-weight: 400; }

/* 规格选择 */
.gd-spec-section { margin-bottom: 16px; }
.gd-spec-label { font-size: 13px; color: var(--gd-text); font-weight: 500; margin-bottom: 8px; }
.gd-spec-label span { color: var(--gd-primary); font-weight: 600; }
.gd-spec-list { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-spec-item { display: inline-flex; align-items: center; justify-content: center; min-width: 70px; height: 34px; padding: 0 14px; border: 1.5px solid var(--gd-border); border-radius: 6px; font-size: 13px; color: var(--gd-text); background: #fff; cursor: pointer; transition: all var(--gd-transition); user-select: none; }
.gd-spec-item:hover { border-color: var(--gd-primary); color: var(--gd-primary); background: var(--gd-primary-light); }
.gd-spec-item.active { border-color: var(--gd-primary); color: #fff; background: var(--gd-primary); font-weight: 500; }

/* 关联活动 */
.gd-activity-section { margin-bottom: 16px; }
.gd-activity-label { font-size: 13px; color: var(--gd-text); font-weight: 500; margin-bottom: 8px; }
.gd-activity-list { display: flex; flex-direction: column; gap: 8px; }
.gd-activity-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--gd-border); border-radius: 8px; cursor: pointer; transition: all var(--gd-transition); background: #fff; position: relative; }
.gd-activity-item:hover { border-color: var(--gd-primary); background: var(--gd-primary-light); }
.gd-activity-item.active { border-color: var(--gd-primary); background: var(--gd-primary-light); box-shadow: 0 0 0 1px var(--gd-primary); }
.gd-activity-img { height: 27px; object-fit: contain; flex-shrink: 0; }
.gd-activity-info { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.gd-activity-tag { display: inline-block; padding: 1px 8px; border-radius: 3px; font-size: 11px; font-weight: 600; background: var(--gd-primary); color: #fff; line-height: 18px; flex-shrink: 0; }
.gd-activity-name { font-size: 13px; font-weight: 500; color: var(--gd-text); }
.gd-activity-desc { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.gd-activity-discount { font-size: 12px; color: var(--gd-danger); font-weight: 500; }
.gd-activity-period { font-size: 11px; color: var(--gd-text-muted); }

/* 活动提示气泡 */
.gd-activity-tip { display: none; position: absolute; left: 12px; right: 12px; top: 100%; margin-top: 4px; padding: 10px 12px; background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.1); font-size: 12px; line-height: 1.7; color: var(--gd-text-secondary); z-index: 10; pointer-events: none; }
.gd-activity-item:hover .gd-activity-tip { display: block; }
.gd-activity-tip dt { font-weight: 500; color: var(--gd-text); margin-bottom: 2px; }
.gd-activity-tip dd { margin: 0 0 4px; }
.gd-activity-tip dd:last-child { margin-bottom: 0; }

/* 数量 & 合计横向布局 */
.gd-buy-row { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 14px; }

/* 数量 */
.gd-qty-section { flex-shrink: 0; }
.gd-qty-label { font-size: 13px; color: var(--gd-text); font-weight: 500; margin-bottom: 6px; }
.gd-qty-box { display: inline-flex; align-items: center; border: 1.5px solid var(--gd-border); border-radius: 6px; overflow: hidden; }
.gd-qty-btn { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--gd-text-secondary); background: #fafafa; border: none; cursor: pointer; transition: all var(--gd-transition); user-select: none; }
.gd-qty-btn:hover { background: var(--gd-primary-light); color: var(--gd-primary); }
.gd-qty-btn.disabled { opacity: .3; cursor: not-allowed; }
.gd-qty-input { width: 44px; height: 32px; text-align: center; font-size: 14px; font-weight: 500; border: none; border-left: 1px solid var(--gd-border); border-right: 1px solid var(--gd-border); outline: none; -moz-appearance: textfield; }
.gd-qty-input::-webkit-outer-spin-button,
.gd-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* 合计 */
.gd-total-box { display: flex; align-items: baseline; gap: 6px; padding: 6px 0; }
.gd-total-label { font-size: 13px; color: var(--gd-text-muted); }
.gd-total-price { font-size: 20px; font-weight: 700; color: var(--gd-danger); font-variant-numeric: tabular-nums; }
.gd-total-price .price-sym { font-size: 13px; font-weight: 500; }

/* 操作按钮 */
.gd-actions { display: flex; gap: 12px; margin-bottom: 24px; }
.gd-btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 30px; border-radius: 6px; font-size: 15px; font-weight: 500; cursor: pointer; transition: all var(--gd-transition); border: none; text-decoration: none; white-space: nowrap; }
.gd-btn-primary { background: var(--gd-primary); color: #fff; box-shadow: 0 4px 14px rgba(20,163,142,.3); }
.gd-btn-primary:hover { background: var(--gd-primary-dark); box-shadow: 0 6px 20px rgba(20,163,142,.4); transform: translateY(-1px); }
.gd-btn-outline { background: #fff; color: var(--gd-primary); border: 1.5px solid var(--gd-primary); }
.gd-btn-outline:hover { background: var(--gd-primary-light); }

/* 文献引用 */
.gd-cite-section { margin-bottom: 20px; }
.gd-cite-label { font-size: 13px; color: var(--gd-text); font-weight: 500; margin-bottom: 8px; }
.gd-cite-list { list-style: none; padding: 0; margin: 0; }
.gd-cite-item { position: relative; padding: 8px 12px 8px 24px; background: #fafbfc; border-radius: 6px; margin-bottom: 6px; font-size: 13px; line-height: 1.6; color: var(--gd-text-secondary); border-left: 3px solid var(--gd-primary); }
.gd-cite-item::before { content: "[" attr(data-index) "]"; position: absolute; left: 6px; top: 8px; font-size: 11px; color: var(--gd-primary); font-weight: 600; }
.gd-cite-item a { color: var(--gd-primary); text-decoration: none; word-break: break-all; }
.gd-cite-item a:hover { text-decoration: underline; }

/* 文献引用 & 内容简介 区块 */
.gd-extra { padding: 24px 0 30px; }
.gd-extra .gd-cite-section { margin-bottom: 0; padding-bottom: 24px; border-bottom: 1px solid var(--gd-border); }
.gd-summary { font-size: 14px; color: var(--gd-text-secondary); line-height: 1.8; padding-top: 24px; }

/* ===== Tab 切换 ===== */
.gd-tab-section { padding: 0 0 50px; }
.gd-tab-nav { display: flex; gap: 0; border-bottom: 2px solid var(--gd-border); margin-bottom: 24px; }
.gd-tab-btn { padding: 10px 24px; font-size: 15px; font-weight: 500; color: var(--gd-text-muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all .2s; cursor: pointer; }
.gd-tab-btn:hover { color: var(--gd-text); }
.gd-tab-btn.active { color: var(--gd-primary); border-bottom-color: var(--gd-primary); }
.gd-tab-count { display: inline-block; padding: 0 6px; font-size: 11px; line-height: 18px; background: var(--gd-primary-light); color: var(--gd-primary); border-radius: 10px; font-weight: 600; vertical-align: middle; margin-left: 4px; }
.gd-tab-pane { display: none; }
.gd-tab-pane.active { display: block; }

/* 详情内容 */
.gd-detail-content { font-size: 15px; line-height: 1.8; color: var(--gd-text-secondary); padding: 10px 0; }

/* 详情标题（标签） */
.gd-detail-caption { font-size: 16px; font-weight: 600; color: var(--gd-text); padding: 16px 0 10px; margin-top: 24px; border-bottom: 2px solid var(--gd-primary); display: block; width: fit-content; line-height: 1.4; }
.gd-detail-caption:first-child { margin-top: 0; }

/* 详情内容块 */
.gd-detail-value { display: block; width: 100%; margin: 10px 0 18px; font-size: 15px; line-height: 1.8; color: var(--gd-text-secondary); }
.gd-detail-value:empty { display: none; }
.gd-detail-value p { margin: 0 0 8px; }
.gd-detail-value p:last-child { margin-bottom: 0; }

/* 详情图片 */
.gd-detail-content img,
.gd-detail-value img { max-width: 100%; height: auto; border-radius: 8px; margin: 14px 0; }

/* 详情表格（富文本区） */
.gd-detail-content table { width: 100%; border-collapse: collapse; margin: 18px 0; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; }
.gd-detail-content table td,
.gd-detail-content table th { padding: 12px 16px; font-size: 14px; line-height: 1.6; border: 1px solid #e0e0e0; }
.gd-detail-content table th,
.gd-detail-content table td:first-child { width: 180px; background: linear-gradient(135deg, #f5f7fa 0%, #eef1f5 100%); font-weight: 600; text-align: left; white-space: nowrap; color: var(--gd-text); }
.gd-detail-content table td:last-child { background: #fff; color: var(--gd-text-secondary); }
.gd-detail-content table tr:hover td { background: #fafbfc; transition: background .2s; }
.gd-detail-content table p { margin: 0 0 8px; font-size: 14px; color: var(--gd-text-secondary); }
.gd-detail-content table p:last-child { margin-bottom: 0; }

/* 详情表格（结构化字段区 — 根据内容撑满宽度） */
.gd-detail-value table { border-collapse: collapse; margin: 18px 0; border: 1px solid #e0e0e0; overflow: visible; width: fit-content; }
.gd-detail-value table td,
.gd-detail-value table th { padding: 12px 16px; font-size: 14px; line-height: 1.6; border: 1px solid #e0e0e0; }
.gd-detail-value table th { background: linear-gradient(135deg, #f5f7fa 0%, #eef1f5 100%); font-weight: 600; text-align: left; white-space: nowrap; color: var(--gd-text); }
.gd-detail-value table td { background: #fff; color: var(--gd-text-secondary); }
.gd-detail-value table tr:hover td { background: #fafbfc; transition: background .2s; }
.gd-detail-value table p { margin: 0 0 8px; font-size: 14px; color: var(--gd-text-secondary); }
.gd-detail-value table p:last-child { margin-bottom: 0; }

/* 有rowspan的下一行firstchild无需背景 */
.gd-detail-value table tr:has(td[rowspan]) + tr td:first-child { background: transparent; }

/* ===== 详情标签 ===== */
.gd-detail-tags { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.gd-detail-tags .gd-tag-item { display: inline-block; padding: 2px 10px; font-size: 12px; line-height: 20px; background: var(--gd-primary-light); color: var(--gd-primary); border-radius: 4px; font-weight: 500; }

/* ===== 推荐稀释比 ===== */
.gd-detail-ratio { display: flex; flex-direction: column; gap: 4px; }
.gd-ratio-item { display: inline-flex; align-items: baseline; gap: 8px; }
.gd-ratio-name { font-size: 14px; color: var(--gd-text-secondary); }
.gd-ratio-val { font-size: 13px; color: var(--gd-primary); font-weight: 600; }

/* ===== 文献引用空状态 ===== */
.gd-cite-empty { text-align: center; padding: 40px 0; color: var(--gd-text-muted); font-size: 14px; }

/* ===== 相关推荐 ===== */
.gd-recommend { padding: 30px 0 40px; border-top: 1px solid var(--gd-border); margin-top: 20px; }
.gd-recommend-title { font-size: 18px; font-weight: 600; color: var(--gd-text); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--gd-primary); display: inline-block; }
.gd-recommend-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.gd-recommend-tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; font-size: 12px; color: var(--gd-primary); background: var(--gd-primary-light); border-radius: 4px; cursor: default; }
.gd-recommend-tag::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--gd-primary); border-radius: 50%; }
.gd-recommend-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gd-recommend-item { background: #fff; border: 1px solid var(--gd-border); border-radius: 8px; overflow: hidden; transition: all var(--gd-transition); cursor: pointer; text-decoration: none; color: inherit; }
.gd-recommend-item:hover { border-color: var(--gd-primary); box-shadow: 0 4px 16px rgba(20, 163, 142, 0.15); transform: translateY(-2px); }
.gd-recommend-img { width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg, #f5f7fa 0%, #eef1f5 100%); overflow: hidden; }
.gd-recommend-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.gd-recommend-item:hover .gd-recommend-img img { transform: scale(1.05); }
.gd-recommend-info { padding: 10px; }
.gd-recommend-name { font-size: 12px; font-weight: 500; color: var(--gd-text); line-height: 1.4; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gd-recommend-sku { font-size: 11px; color: var(--gd-text-muted); margin-bottom: 4px; }
.gd-recommend-price { font-size: 14px; font-weight: 700; color: var(--gd-danger); }
.gd-recommend-price .price-sym { font-size: 11px; font-weight: 500; }
.gd-recommend-empty { grid-column: 1 / -1; text-align: center; padding: 40px 0; color: var(--gd-text-muted); font-size: 14px; }
.gd-recommend-loading { grid-column: 1 / -1; text-align: center; padding: 40px 0; color: var(--gd-text-muted); font-size: 14px; }

@media (max-width: 992px) {
    .gd-recommend-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .gd-recommend-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .gd-recommend { padding: 20px 0 30px; }
    .gd-recommend-title { font-size: 16px; }
    .gd-recommend-list { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gd-recommend-info { padding: 6px; }
    .gd-recommend-name { font-size: 11px; }
    .gd-recommend-sku { font-size: 10px; }
    .gd-recommend-price { font-size: 13px; }
}

/* ===== 移动端适配 ===== */
@media (max-width: 992px) {
    .gd-main { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 12px 0 0; }
    .gd-gallery { position: static; max-width: 100%; overflow: hidden; }
    .gd-gallery-swiper { border-radius: 8px; }
    .gd-gallery-main::before { padding-top: 75%; }
    .gd-zoom-container { max-width: 100%; overflow: hidden; }
    .gd-zoom-lens,
    .gd-zoom-mask,
    .gd-zoom-image { display: none !important; width: 0 !important; height: 0 !important; }
    /* 兜底：移动端任何图片都不得超过视口宽度 */
    .gd-gallery-main img { max-width: 100vw !important; max-height: 100vw !important; }
    .gd-side-actions { position: static; }
    .gd-side-btn { padding: 6px 12px; }
    .gd-title { font-size: 20px; }
    .gd-price { font-size: 24px; }
    .gd-price .price-sym { font-size: 14px; }
    .gd-total-price { font-size: 18px; }
    .gd-extra { padding: 18px 0 24px; }
}

@media (max-width: 576px) {
    .gd-main { gap: 12px; padding: 8px 0 0; }
    .gd-gallery-swiper { border-radius: 6px; }
    .gd-gallery-main::before { padding-top: 100%; }
    .gd-gallery-pagination { bottom: 6px !important; }
    .gd-gallery-pagination .swiper-pagination-bullet { width: 6px; height: 6px; }
    .gd-gallery-pagination .swiper-pagination-bullet-active { width: 16px; }
    .gd-gallery-prev,
    .gd-gallery-next { display: none !important; }
    .gd-sku { font-size: 13px; }
    .gd-title { font-size: 17px; }
    .gd-subtitle { font-size: 12px; margin-bottom: 10px; }
    .gd-price-box { padding: 6px 10px; margin-bottom: 12px; }
    .gd-price { font-size: 20px; }
    .gd-price .price-sym { font-size: 12px; }
    .gd-price-placeholder { font-size: 12px; }
    .gd-buy-row { gap: 14px; }
    .gd-spec-section,
    .gd-activity-section { margin-bottom: 12px; }
    .gd-spec-label,
    .gd-activity-label { font-size: 12px; margin-bottom: 6px; }
    .gd-spec-list { gap: 6px; }
    .gd-spec-item { min-width: 56px; height: 30px; padding: 0 10px; font-size: 12px; }
    .gd-activity-item { padding: 8px 10px; }
    .gd-activity-desc { padding-left: 0; flex-direction: column; align-items: flex-start; gap: 2px; }
    .gd-activity-period { font-size: 10px; }
    .gd-qty-label { font-size: 12px; margin-bottom: 4px; }
    .gd-qty-btn { width: 28px; height: 28px; font-size: 13px; }
    .gd-qty-input { width: 38px; height: 28px; font-size: 13px; }
    .gd-total-price { font-size: 16px; }
    .gd-actions { flex-direction: column; gap: 8px; }
    .gd-btn { height: 38px; font-size: 14px; }
    .gd-extra { padding: 14px 0 18px; }
    .gd-cite-item { font-size: 12px; padding: 6px 10px 6px 20px; }
    .gd-summary { font-size: 13px; padding-top: 14px; }
    .gd-detail-tags .gd-tag-item { font-size: 11px; padding: 1px 8px; line-height: 18px; }
    .gd-ratio-name { font-size: 13px; }
    .gd-ratio-val { font-size: 12px; }
    .gd-tab-btn { padding: 8px 16px; font-size: 14px; }
    .gd-detail-content { font-size: 13px; line-height: 1.7; padding: 6px 0; }
    .gd-detail-caption { font-size: 14px; padding: 12px 0 8px; margin-top: 18px; }
    .gd-detail-value { font-size: 13px; line-height: 1.7; margin: 8px 0 14px; }
    .gd-detail-content table td,
    .gd-detail-content table th { padding: 8px 10px; font-size: 12px; }
    .gd-detail-content table th,
    .gd-detail-content table td:first-child { width: auto; }
    .gd-detail-value table td,
    .gd-detail-value table th { padding: 8px 10px; font-size: 12px; }
}
