/* =====================================================
   金玺珠宝AI - 全站样式
   主色: #c62f2f (印章红) / 导航黑: #0C0C0C / 背景: #f5f5f5
   ===================================================== */
:root {
  --red: #ff3838;
  --gray: #777;
  --text: #555;
  --white: #fff;
  --chalk: #f5f5f5;
  --border: #e8e8e8;
  --heading: #39404a;
  --primary: #c62f2f;
  --primary-dark: #a32626;
  --primary-light: #ffc9c2;
  --sub-heading: #565765;
  --nav-black: #0C0C0C;
}

* { margin: 0; padding: 0; outline: 0; box-sizing: border-box; }
img { vertical-align: middle; }
a { text-decoration: none; display: inline-block; color: inherit; }
a:hover { text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
button { border: 0; outline: 0; background: 0; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

html, body { scroll-behavior: smooth; }
body {
  color: var(--text);
  background: var(--chalk);
  font-size: 16px;
  font-family: "Microsoft YaHei", "PingFang SC", "Rubik", sans-serif;
  line-height: 26px;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-weight: 500; color: var(--heading); }
h2 { font-size: 40px; line-height: 48px; letter-spacing: -0.3px; }
h6 { font-size: 16px; line-height: 26px; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 12px; }
.container-fluid { width: 100%; padding: 0 12px; }
.section { margin-bottom: 115px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.col-12, .col-lg-12 { width: 100%; padding: 0 12px; }

/* ===================== Header ===================== */
.header-part { background: var(--white); transition: all linear .3s; }
.header-part .container-fluid { padding: 14px 25px; }
.header-part.active {
  position: sticky; top: 0; left: 0; width: 100%; z-index: 100;
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.15);
}
.header-content-group { display: flex; align-items: center; justify-content: center; }
.header-widget-group { display: flex; align-items: center; }
.header-logo { line-height: 0; }
.logo-img { height: 88px; width: auto; max-width: 100%; }
.header-part.active .logo-img { height: 64px; }
.user-fallback {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--chalk); color: var(--primary);
  font-size: 17px; font-weight: 600; font-family: KaiTi, serif;
  cursor: pointer;
}

/* ===================== Navbar ===================== */
.navbar-part { background: var(--nav-black); }
.navbar-content {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 15px;
}
.navbar-list { display: flex; align-items: center; justify-content: flex-start; margin: 0 auto; }
.navbar-item { margin-right: 30px; position: relative; }
.navbar-item:last-child { margin-right: 0; }
.navbar-link {
  padding: 20px 0;
  font-weight: 500; font-size: 16px;
  color: var(--white);
  transition: color linear .3s;
}
.navbar-link:hover, .navbar-link.active { color: var(--primary-light); }
.dropdown-arrow::after {
  content: ""; display: inline-block; margin-left: 8px; vertical-align: 2px;
  border: 4px solid transparent; border-top-color: currentColor;
}
.dropdown-position-list {
  position: absolute; top: 100%; left: 0; z-index: 10;
  width: 200px; padding: 10px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.1);
  visibility: hidden; opacity: 0; transform: translateY(10px);
  transition: all linear .3s;
}
.dropdown-position-list::before {
  position: absolute; content: ""; top: -7px; left: 12px;
  width: 12px; height: 12px; border-radius: 3px; transform: rotate(45deg);
  background: var(--white);
  border-top: 1px solid var(--border); border-left: 1px solid var(--border);
}
.navbar-item.dropdown:hover .dropdown-position-list,
.navbar-item.dropdown.open .dropdown-position-list { visibility: visible; opacity: 1; transform: translateY(0); }
.dropdown-position-list li a {
  display: block; width: 100%;
  font-size: 15px; line-height: 18px;
  border-radius: 8px; padding: 8px 15px;
  color: #0d1318; white-space: nowrap;
  transition: all linear .3s;
}
.dropdown-position-list li a:hover { color: var(--primary); background: var(--chalk); }

.header-widget-group.right .header-widget { margin-left: 20px; color: var(--white); position: relative; }
.header-widget-group.right .header-widget:first-child { margin-left: 0; }
.header-widget .icon-svg { width: 22px; height: 22px; display: block; }
.header-widget:hover .icon-svg { color: var(--primary-light); }
.header-widget sup {
  position: absolute; top: -10px; right: -12px;
  min-width: 20px; height: 20px;
  font-size: 12px; line-height: 20px;
  border-radius: 10px; text-align: center;
  color: var(--white); background: var(--primary);
  padding: 0 4px;
}

/* ===================== 通用组件 ===================== */
.section-heading { text-align: center; margin-bottom: 40px; }

.btn-brand {
  display: inline-block;
  padding: 12px 34px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, #e04747, #c62f2f);
  font-size: 16px; font-weight: 600; letter-spacing: 2px;
  border: 1px solid transparent;
  box-shadow: 0 5px 15px 0 rgba(198, 47, 47, 0.35);
  transition: all linear .3s;
  cursor: pointer;
}
.btn-brand:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-brand:active { transform: translateY(0); }
.btn-brand.btn-outline {
  color: var(--primary);
  background: var(--white);
  border-color: var(--primary);
  box-shadow: none;
}
.btn-brand.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-brand.btn-sm { padding: 8px 22px; font-size: 14px; }
.btn-brand.btn-block { display: block; width: 100%; text-align: center; }
.btn-brand:disabled { filter: grayscale(0.6); cursor: not-allowed; transform: none; }

/* 分类选项卡 */
.cat-tabs { display: flex; justify-content: center; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
  padding: 8px 28px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all linear .3s;
}
.tab-btn:hover { color: var(--primary); border-color: var(--primary); }
.tab-btn.active { color: var(--white); background: linear-gradient(135deg, #e04747, #c62f2f); border-color: transparent; }

/* 空状态 */
.empty-state { text-align: center; padding: 70px 20px; grid-column: 1 / -1; }
.empty-state .empty-icon { font-size: 60px; margin-bottom: 14px; }
.empty-state p { color: var(--gray); margin-bottom: 20px; font-size: 17px; }

/* ===================== 商品网格 ===================== */
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 25px; }

/* ===================== 商品卡片 ===================== */
.product-card {
  width: 100%; overflow: hidden; position: relative;
  margin-bottom: 25px; padding: 15px 18px;
  border-radius: 8px; background: var(--white);
  border: 1px solid var(--border);
  transition: all linear .3s;
}
.product-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.product-media { position: relative; }
.product-label { display: flex; flex-direction: column; position: absolute; top: 0; left: 0; z-index: 2; }
.label-text {
  font-size: 14px; padding: 5px 8px; line-height: 13px;
  border-radius: 3px; margin-bottom: 5px;
  color: var(--white); text-align: center;
}
.label-text.sale { background: var(--nav-black); }
.label-text.new { background: #1f8a4c; }

.product-wish {
  position: absolute; top: 4px; right: 4px; z-index: 2;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gray);
  transition: all linear .3s;
}
.product-wish:hover { color: var(--red); transform: scale(1.1); }
.product-wish .love-icon { width: 17px; height: 17px; }
.product-wish.loved { color: var(--red); }
.product-wish.loved .love-icon path { fill: currentColor; }

.product-image { display: block; width: 100%; }
.product-image img, .product-image .img-placeholder {
  display: block; width: 100%; height: 280px;
  object-fit: cover; border-radius: 4px;
  background: var(--chalk);
}
.p-img { display: block; width: 100%; height: 280px; object-fit: cover; border-radius: 4px; }

.product-content { text-align: center; }
.product-rating { display: flex; align-items: center; justify-content: center; margin: 12px 0 3px; }
.star { width: 15px; height: 15px; margin: 0 2px; color: var(--gray); }
.star.active { color: #ffab10; }
.star.active .star-shape { fill: currentColor; }
.star-shape { fill: none; stroke: currentColor; stroke-width: 1.6; }

.product-name { margin-bottom: 3px; }
.product-name a {
  color: var(--sub-heading); font-size: 16px; line-height: 24px; font-weight: 500;
  transition: color linear .3s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: block; max-width: 100%;
}
.product-name a:hover { color: var(--primary); }
.product-price { display: flex; align-items: baseline; justify-content: center; margin-bottom: 13px; }
.product-price del { color: #999; margin-right: 8px; font-size: 14px; }
.product-price span { color: var(--primary); font-size: 17px; font-weight: 600; white-space: nowrap; }

/* ===================== 商品详情 ===================== */
.detail-box {
  display: grid; grid-template-columns: 460px 1fr; gap: 40px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 40px;
}
.detail-media { position: relative; }
.detail-media .p-img { height: 420px !important; }
.detail-media .product-wish { width: 42px; height: 42px; top: 10px; right: 10px; }
.detail-media .product-wish .love-icon { width: 22px; height: 22px; }
.detail-name { font-size: 26px; line-height: 38px; margin-bottom: 10px; }
.detail-rating { justify-content: flex-start; margin: 0 0 10px; }
.rating-text { margin-left: 8px; color: var(--gray); font-size: 14px; }
.detail-shop { margin-bottom: 16px; color: var(--gray); font-size: 15px; }
.detail-shop a { color: var(--primary); font-weight: 600; }
.detail-cat { margin-left: 12px; margin-bottom: 0; vertical-align: 2px; }
.detail-price {
  display: flex; align-items: baseline; gap: 14px;
  padding: 18px 20px; margin-bottom: 22px;
  background: linear-gradient(135deg, #fdf0f0, #fbe3e3);
  border-radius: 8px;
}
.detail-price del { color: #999; font-size: 16px; }
.detail-price span { color: var(--primary); font-size: 30px; font-weight: 700; }
.qty-box { display: flex; align-items: center; gap: 0; margin-bottom: 24px; }
.qty-box > span { margin-right: 14px; color: var(--gray); }
.qty-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border); background: var(--white);
  font-size: 18px; color: var(--heading);
  transition: all linear .2s;
}
.qty-btn:hover { color: var(--primary); border-color: var(--primary); }
.qty-input, .qty-num {
  width: 56px; height: 36px; text-align: center;
  border: 1px solid var(--border);
  font-size: 15px; background: var(--white);
}
.qty-box .qty-btn:first-of-type { border-radius: 6px 0 0 6px; }
.qty-box .qty-btn:last-of-type { border-radius: 0 6px 6px 0; }
.qty-box .qty-input { border-radius: 0; }
.qty-box .qty-num { border-left: 0; border-right: 0; line-height: 36px; display: inline-block; }
.detail-actions { display: flex; gap: 16px; margin-bottom: 30px; }
.detail-desc { border-top: 1px dashed var(--border); padding-top: 20px; }
.detail-desc h5 { margin-bottom: 8px; }
.detail-desc p { color: var(--gray); font-size: 15px; margin-bottom: 6px; }

/* ===================== 店铺街 ===================== */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.shop-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  transition: all linear .3s;
}
.shop-card:hover { border-color: var(--primary); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); transform: translateY(-3px); }
.shop-banner { height: 150px; position: relative; overflow: hidden; }
.shop-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform linear .4s; }
.shop-card:hover .shop-banner img { transform: scale(1.06); }
.shop-mark {
  position: absolute; left: 20px; bottom: -20px;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  font-size: 24px; font-weight: 700; font-family: KaiTi, serif;
  color: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
.shop-body { padding: 32px 22px 26px; text-align: center; }
.shop-name { margin-bottom: 8px; font-size: 18px; }
.shop-desc { color: var(--gray); font-size: 14px; margin: 10px 0; }
.shop-meta { font-size: 14px; color: var(--gray); margin-bottom: 16px; }
.shop-meta b { color: var(--primary); }

/* ===================== 分类信息 ===================== */
.info-wrap { max-width: 900px; margin: 0 auto; }
.info-group {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 24px 30px; margin-bottom: 22px;
}
.info-cat { font-size: 19px; margin-bottom: 14px; padding-left: 12px; border-left: 4px solid var(--primary); }
.info-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px dashed var(--border);
}
.info-list li:last-child { border-bottom: 0; }
.info-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex: none; }
.info-title { flex: 1; color: var(--sub-heading); transition: color linear .3s; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.info-title:hover { color: var(--primary); }
.info-meta { color: var(--gray); font-size: 13px; flex: none; }

/* ===================== 表单页 ===================== */
.form-card {
  max-width: 560px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 40px 44px;
}
.form-tip { color: var(--gray); font-size: 15px; margin-bottom: 24px; }
.form-tip b { color: var(--primary); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; color: var(--heading); margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 15px; color: var(--heading); background: var(--white);
  transition: all linear .3s; resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(198, 47, 47, 0.15);
  outline: 0;
}

/* 图形验证码 / 短信验证码 行 */
.captcha-row { display: flex; gap: 12px; align-items: stretch; }
.captcha-row input { flex: 1; }
.captcha-row canvas { border-radius: 8px; cursor: pointer; border: 1px solid var(--border); }
.sms-btn {
  flex: none; padding: 0 18px;
  border-radius: 8px; font-size: 14px;
  color: var(--white);
  background: linear-gradient(135deg, #e04747, #c62f2f);
  transition: all linear .3s;
  white-space: nowrap;
}
.sms-btn:hover { filter: brightness(1.08); }
.sms-btn:disabled { filter: grayscale(0.6); cursor: not-allowed; }

/* 密码可见切换 */
.pwd-wrap { position: relative; }
.pwd-wrap input { padding-right: 88px; }
.pwd-eye {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-size: 13px; color: var(--gray);
  transition: color linear .3s;
}
.pwd-eye:hover { color: var(--primary); }

/* 记住我 / 协议 */
.form-row-between {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.link-plain { color: var(--gray); font-size: 14px; }
.link-plain:hover { color: var(--primary); }
.agree-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--gray); cursor: pointer;
}
.agree-row input { width: auto; }
.agree-left { justify-content: flex-start; margin-bottom: 22px; }
.link-brand { color: var(--primary); font-weight: 600; }

/* 认证页头部 */
.auth-card { text-align: center; }
.auth-logo { height: 96px; width: auto; margin-bottom: 10px; border-radius: 12px; }
.auth-title { font-size: 24px; margin-bottom: 8px; }
.auth-title span { color: var(--primary); }
.auth-tip { color: #b08a3e; font-size: 13px; background: #fdf6e9; border: 1px dashed #e5c98a; border-radius: 6px; padding: 6px 10px; margin-bottom: 22px; }
.auth-card form { text-align: left; }
.auth-switch { margin-top: 20px; color: var(--gray); font-size: 14px; }
.auth-switch a { color: var(--primary); font-weight: 600; }

/* ===================== 购物车 ===================== */
.cart-list { max-width: 1000px; margin: 0 auto; }
.cart-row {
  display: grid;
  grid-template-columns: 110px 1fr 110px 150px 110px 70px;
  align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 16px 20px; margin-bottom: 14px;
  transition: all linear .3s;
}
.cart-row:hover { border-color: var(--primary); }
.cart-img .p-img { height: 80px !important; border-radius: 6px; }
.cart-name a { color: var(--sub-heading); font-weight: 500; display: block; margin-bottom: 4px; }
.cart-name a:hover { color: var(--primary); }
.cart-shop { color: var(--gray); font-size: 13px; }
.cart-price { color: var(--gray); font-size: 14px; }
.cart-qty { margin-bottom: 0; }
.cart-sub { color: var(--primary); font-weight: 700; }
.cart-del { color: var(--gray); font-size: 14px; transition: color linear .3s; }
.cart-del:hover { color: var(--red); }
.cart-summary {
  max-width: 1000px; margin: 24px auto 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 22px 30px;
  display: flex; align-items: center; justify-content: flex-end; gap: 30px;
}
.cart-summary p { color: var(--gray); }
.cart-total b { color: var(--primary); font-size: 24px; }

/* ===================== 页脚 ===================== */
.footer-part { padding-top: 95px; }
.footer-bottom {
  margin-top: 75px; padding: 30px 50px;
  border-radius: 8px 8px 0 0;
  background: var(--nav-black);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copytext { color: #aaa; font-size: 14px; }
.footer-copytext a { color: #aaa; transition: color linear .3s; }
.footer-copytext a:hover { color: var(--primary-light); }

/* ===================== 回到顶部 / Toast ===================== */
.back-top {
  position: fixed; right: 25px; bottom: 30px; z-index: 99;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, #e04747, #c62f2f);
  box-shadow: 0 5px 15px 0 rgba(198, 47, 47, 0.4);
  opacity: 0; visibility: hidden; transform: translateY(15px);
  transition: all linear .3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.toast-tip {
  position: fixed; top: 20px; left: 50%;
  transform: translateX(-50%) translateY(-80px);
  z-index: 999;
  padding: 12px 28px; border-radius: 8px;
  background: var(--nav-black); color: var(--white); font-size: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0; transition: all linear .3s; pointer-events: none;
}
.toast-tip.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-tip.success { background: #1f8a4c; }
.toast-tip.warn { background: #e86121; }

/* ===================== 响应式 ===================== */
@media (max-width: 1199px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .section { margin-bottom: 75px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-box { grid-template-columns: 380px 1fr; padding: 28px; }
}
@media (max-width: 991px) {
  .logo-img { height: 64px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .navbar-item { margin-right: 18px; }
  .detail-box { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 80px 1fr 90px 140px 90px 60px; gap: 10px; padding: 12px 14px; }
}
@media (max-width: 767px) {
  .section { margin-bottom: 55px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { font-size: 28px; line-height: 36px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-card { padding: 8px; margin-bottom: 8px; }
  .product-image img, .product-image .img-placeholder, .p-img { height: 180px; }
  .product-name { font-size: 15px; line-height: 22px; }
  .navbar-content { flex-direction: column; padding: 8px 15px; }
  .navbar-list { flex-wrap: wrap; justify-content: center; }
  .navbar-link { padding: 12px 0; font-size: 15px; }
  .header-widget-group.right { margin-top: 4px; }
  .form-card { padding: 28px 20px; }
  .logo-img { height: 52px; }
  .detail-box { padding: 16px; gap: 20px; }
  .detail-media .p-img { height: 260px !important; }
  .detail-actions { flex-direction: column; }
  .cart-row { grid-template-columns: 64px 1fr 70px; }
  .cart-qty, .cart-sub, .cart-del { grid-column: span 3; }
  .cart-summary { flex-wrap: wrap; justify-content: center; text-align: center; }
  .footer-part { padding-top: 50px; }
  .footer-bottom { margin-top: 20px; padding: 25px 15px; flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .logo-img { height: 44px; }
  .product-image img, .product-image .img-placeholder, .p-img { height: 150px; }
}

/* Account, information and order pages */
.document-card{background:#fff;border:1px solid #e9e3dc;border-radius:8px;padding:28px;margin:20px 0;line-height:1.9;overflow-wrap:anywhere}.document-card h2{font-size:25px;margin:14px 0}.document-card h3{font-size:19px;margin:24px 0 10px}.document-card p{margin:12px 0}.document-card ol{padding-left:24px}.muted{color:#777;font-size:14px}.notice{padding:14px 18px;background:#faf4eb;color:#765634;border-left:3px solid #b48a4a;margin:16px 0;line-height:1.8}.form-error{color:#a12626;line-height:1.7;margin:12px 0}.legal-links{text-align:center;padding:20px 0 0;line-height:2}.legal-links a{color:inherit}.order-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.order-heading h3{margin:0}.status-tag{display:inline-block;background:#f8efe1;color:#795b2b;padding:3px 12px;border-radius:20px;font-size:14px}.order-item{display:flex;align-items:center;gap:18px;padding:18px 0;border-bottom:1px solid #eee}.order-item img{width:76px;height:76px;object-fit:cover;border-radius:5px}.order-item>div{flex:1}.order-item>strong{white-space:nowrap}.order-item p{margin:5px 0;color:#777}.order-total{text-align:right;font-size:20px;color:#a12626}.btn-brand:disabled{opacity:.55;cursor:wait}#checkoutForm{max-width:720px;margin:25px auto 0}.document-card textarea{width:100%;padding:12px;border:1px solid #ddd;border-radius:5px;min-height:85px;font:inherit}.agree-row{line-height:1.8}.empty-state p{margin:16px 0}.detail-price small,.product-price small{font-size:13px;color:#777}@media(max-width:600px){.document-card{padding:18px 14px}.order-item{gap:10px;flex-wrap:wrap}.order-item img{width:56px;height:56px}.order-item>strong{margin-left:auto;font-size:14px}.order-heading{align-items:flex-start}.document-card h2{font-size:21px}.notice{font-size:14px}.order-total{font-size:17px}}

.store-cover{width:100%;max-height:320px;object-fit:cover;border-radius:6px;margin:20px 0}.shop-name a{color:inherit}.shop-banner>a{display:block;width:100%;height:100%}
@media(max-width:767px){.navbar-item:last-child .dropdown-position-list{left:auto;right:0}.navbar-item:last-child .dropdown-position-list::before{left:auto;right:12px}.info-group{padding:20px 16px}.info-list li{flex-wrap:wrap}.info-title{min-width:0;white-space:normal}.info-meta{width:100%;padding-left:16px}}
.publish-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:20px 0}.listing-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.published-heading{font-size:22px;margin:24px 0 18px}.form-card textarea{width:100%;padding:12px;border:1px solid #ddd;border-radius:5px;font:inherit;resize:vertical}
@media(max-width:767px){.navbar-list{position:relative}.navbar-item.dropdown{position:static}.navbar-item.dropdown .dropdown-position-list{left:0;right:0;top:100%;width:100%}.navbar-item.dropdown .dropdown-position-list::before{display:none}}

.detail-specs { margin: 12px 0 22px; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.detail-specs > div { display: grid; grid-template-columns: 145px minmax(0, 1fr); border-bottom: 1px solid var(--border); }
.detail-specs > div:last-child { border-bottom: 0; }
.detail-specs dt, .detail-specs dd { margin: 0; padding: 10px 12px; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.detail-specs dt { background: #f7f6f3; color: var(--gray); }
.detail-desc h5:not(:first-child) { margin-top: 20px; }
@media (max-width: 575px) { .detail-specs > div { grid-template-columns: 110px minmax(0, 1fr); } }
/* Product page: existing burgundy palette, 14/16/26px type, full-width detail sections. */
.detail-box { align-items: start; }
.detail-desc { grid-column: 1 / -1; border-top: 0; padding-top: 0; min-width: 0; }
.detail-subtitle { color: var(--gray); font-size: 15px; line-height: 1.9; margin: 12px 0 20px; }
.detail-summary { margin: 24px 0; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.detail-summary > div { display: flex; gap: 20px; margin: 12px 0; font-size: 14px; }
.detail-summary dt { color: var(--gray); min-width: 70px; }
.detail-summary dd { margin: 0; }
.detail-trade-note { font-size: 13px; color: var(--gray); line-height: 1.8; }
.detail-tabs { display: flex; background: #f7f5f2; border-bottom: 2px solid var(--primary); }
.detail-tabs a { padding: 18px 28px; font-size: 16px; color: var(--heading); }
.detail-tabs a:first-child, .detail-tabs a:hover { background: var(--primary); color: white; }
.detail-section { padding: 32px 0 8px; scroll-margin-top: 90px; }
.detail-section h4 { font-size: 21px; margin-bottom: 24px; }
.detail-section h4 span { display: inline-block; margin-left: 16px; font-size: 11px; font-weight: normal; letter-spacing: 2px; color: var(--gray); }
.detail-story { display: grid; grid-template-columns: 1fr 1fr; background: #f8f7f4; align-items: center; }
.detail-story > div { padding: 36px; }
.detail-story h3 { font-size: 26px; line-height: 1.6; margin: 14px 0; }
.detail-story p { line-height: 2; margin-top: 16px; }
.detail-eyebrow { color: var(--primary); font-size: 13px; letter-spacing: 3px; }
.detail-story img { display: block; width: 100%; height: auto; }
.detail-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.detail-guide h5 { font-size: 16px; margin: 0 0 10px !important; }
.detail-guide p { line-height: 1.9; }
@media(max-width:767px) {
 .detail-tabs a { flex: 1; padding: 15px 8px; text-align: center; font-size: 14px; }
 .detail-story, .detail-guide { grid-template-columns: 1fr; }
 .detail-story > div { padding: 24px; }
 .detail-section h4 span { display: block; margin: 8px 0 0; }
 .detail-story h3 { font-size: 23px; }
}
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; color: #242424; font-size: 27px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.brand-mark { width: 64px; height: 64px; object-fit: contain; }
.auth-brand { margin-bottom: 18px; }
@media(max-width:575px) { .brand-lockup { font-size: 21px; gap: 8px; } .brand-mark { width: 44px; height: 44px; } }
