/* ==========================================================================
   湖北省贝贝快药科技有限公司 — 全站样式
   ========================================================================== */

:root {
  --theme-color: #26a0a5;
  --theme-dark: #1a8489;
  --theme-light: #e7f6f7;
  --sub-theme-color: #ebf9f9;
  --text-color: #333;
  --text-gray: #666;
  --text-light: #999;
  --border-color: #e6e6e6;
  --line-color: #f1f1f1;
  --radius: 8px;
  --shadow: 0 6px 20px rgba(38, 160, 165, 0.12);
  --header-h: 72px;
  --container: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif, "黑体";
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
  padding-top: var(--header-h);
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol,
li {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  border: 0;
}

button,
input,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.db {
  display: block;
}

/* --------------------------------------------------------------------------
   顶部导航
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  height: var(--header-h);
  background-color: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s, background-color 0.3s;
}

.site-header.is-scroll {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-image: linear-gradient(135deg, #35b6bb, var(--theme-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.logo-text {
  line-height: 1.2;
}

.logo-name {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: var(--theme-dark);
  letter-spacing: 1px;
}

.logo-sub {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 16px;
}

.nav-item {
  position: relative;
  display: block;
  min-width: 104px;
  height: var(--header-h);
  padding: 0 8px;
  text-align: center;
  line-height: var(--header-h);
  color: #333;
  transition: color 0.3s, background-color 0.3s;
}

.nav-item:hover,
.nav-item.is-check {
  color: #fff;
  background-color: var(--theme-color);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--theme-dark);
  transition: transform 0.3s, opacity 0.3s;
}

/* --------------------------------------------------------------------------
   首页横幅
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(120deg, #0f5c60 0%, #1a8489 45%, #35b6bb 100%);
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.55;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  padding: 70px 20px;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  margin-bottom: 22px;
  padding: 6px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 100px;
  font-size: 13px;
  letter-spacing: 2px;
}

.hero-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 3px;
}

.hero-desc {
  max-width: 760px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  margin-top: 34px;
}

/* --------------------------------------------------------------------------
   通用按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  min-width: 150px;
  padding: 0 30px;
  height: 46px;
  border: 0;
  border-radius: 100px;
  font-size: 16px;
  text-align: center;
  line-height: 46px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background-color: var(--theme-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--theme-dark);
  box-shadow: var(--shadow);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-ghost:hover {
  background-color: #fff;
  color: var(--theme-dark);
}

.btn-outline {
  border: 1px solid var(--theme-color);
  color: var(--theme-color);
  background-color: #fff;
}

.btn-outline:hover {
  background-color: var(--theme-color);
  color: #fff;
}

.btn + .btn {
  margin-left: 16px;
}

/* --------------------------------------------------------------------------
   内页横幅
   -------------------------------------------------------------------------- */
.page-banner {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(120deg, #12666a 0%, var(--theme-color) 100%);
  color: #fff;
  text-align: center;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 20px 20px;
}

.page-banner-inner {
  position: relative;
  z-index: 1;
  padding: 62px 20px;
}

.page-banner-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
}

.page-banner-sub {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   通用区块
   -------------------------------------------------------------------------- */
.section {
  padding: 64px 0;
}

.section-gray {
  background-color: #fafafa;
}

.section-head {
  margin-bottom: 42px;
  text-align: center;
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  font-size: 28px;
  font-weight: 700;
  color: #222;
  letter-spacing: 1px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--theme-color);
  transform: translateX(-50%);
}

.section-sub {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   公司简介
   -------------------------------------------------------------------------- */
.about-brief {
  display: flex;
  gap: 50px;
  align-items: stretch;
}

.about-brief-main {
  flex: 1;
}

.about-brief-title {
  font-size: 24px;
  font-weight: 700;
  color: #222;
}

.about-brief-en {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-brief-text {
  margin-top: 20px;
  font-size: 15px;
  line-height: 2;
  color: var(--text-gray);
  text-align: justify;
}

.about-brief-text + .about-brief-text {
  margin-top: 14px;
}

.about-brief-more {
  margin-top: 28px;
  font-size: 15px;
  color: var(--theme-color);
}

.about-brief-more:hover {
  color: var(--theme-dark);
}

.about-facts {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 16px;
  width: 340px;
  flex-shrink: 0;
}

.about-fact {
  width: calc(50% - 8px);
  padding: 22px 18px;
  border-radius: var(--radius);
  background-color: var(--sub-theme-color);
  text-align: center;
}

.about-fact strong {
  display: block;
  font-size: 22px;
  color: var(--theme-dark);
}

.about-fact span {
  font-size: 13px;
  color: var(--text-gray);
}

/* --------------------------------------------------------------------------
   产品列表 / 产品卡片
   -------------------------------------------------------------------------- */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

.product-card {
  width: 25%;
  padding: 0 12px 24px;
}

.product-card-inner {
  display: block;
  height: 100%;
  padding-bottom: 22px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background-color: #fff;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}

.product-card-inner:hover {
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(38, 160, 165, 0.16);
  transform: translateY(-4px);
}

.product-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 220px;
  padding: 20px;
}

.product-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  transition: transform 0.4s;
}

.product-card-inner:hover .product-img img {
  transform: scale(1.06);
}

.product-name {
  padding: 0 18px;
  font-size: 17px;
  font-weight: 700;
  color: #333;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 51px;
}

.product-meta {
  margin-top: 8px;
  padding: 0 18px;
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-more {
  margin-top: 50px;
  text-align: center;
}

/* 产品分类页签 */
.tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line-color);
}

.tab-item {
  position: relative;
  padding: 0 32px;
  line-height: 76px;
  font-size: 20px;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.3s;
}

.tab-item:hover,
.tab-item.is-check {
  color: var(--theme-color);
}

.tab-item.is-check::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 130px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--theme-color);
  transform: translateX(-50%);
}

.empty-state {
  padding: 80px 0;
  text-align: center;
  font-size: 15px;
  color: var(--text-light);
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 20px 0 0;
}

.page-item {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: #fff;
  color: var(--text-gray);
  text-align: center;
  line-height: 38px;
  cursor: pointer;
  transition: all 0.3s;
}

.page-item:hover:not(.is-disabled) {
  border-color: var(--theme-color);
  color: var(--theme-color);
}

.page-item.is-check {
  border-color: var(--theme-color);
  background-color: var(--theme-color);
  color: #fff;
}

.page-item.is-disabled {
  color: #ccc;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   产品详情
   -------------------------------------------------------------------------- */
.product-detail {
  padding: 56px 0 80px;
}

.pd-wrap {
  display: flex;
  gap: 48px;
}

.pd-gallery {
  width: 440px;
  flex-shrink: 0;
}

.pd-big-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 440px;
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background-color: #fff;
}

.pd-big-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
}

.pd-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.pd-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  padding: 6px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.3s;
}

.pd-thumb.is-check,
.pd-thumb:hover {
  border-color: var(--theme-color);
}

.pd-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
}

.pd-info {
  flex: 1;
  min-width: 0;
}

.pd-name {
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border-color);
  font-size: 24px;
  font-weight: 700;
  color: #222;
  line-height: 1.5;
}

.pd-info-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 24px;
}

.pd-info-item {
  display: flex;
  width: 50%;
  padding: 8px 0;
  font-size: 15px;
}

.pd-info-item .name {
  flex-shrink: 0;
  width: 90px;
  color: var(--text-light);
}

.pd-info-item .content {
  flex: 1;
  color: #333;
  word-break: break-all;
}

.pd-tips {
  margin-top: 26px;
  padding: 16px 20px;
  border-left: 3px solid var(--theme-color);
  border-radius: 0 6px 6px 0;
  background-color: var(--sub-theme-color);
  font-size: 13px;
  line-height: 1.9;
  color: var(--theme-dark);
}

.pd-desc {
  margin-top: 56px;
}

.pd-desc-title {
  position: relative;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-color);
  font-size: 22px;
  font-weight: 700;
  color: #222;
}

.pd-desc-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 80px;
  height: 3px;
  background-color: var(--theme-color);
}

.pd-desc-list {
  margin-top: 8px;
}

.pd-desc-item {
  display: flex;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-color);
  font-size: 15px;
  line-height: 1.9;
}

.pd-desc-item .name {
  flex-shrink: 0;
  width: 140px;
  color: var(--theme-dark);
  font-weight: 700;
}

.pd-desc-item .content {
  flex: 1;
  color: var(--text-gray);
  text-align: justify;
}

.pd-back {
  margin-top: 36px;
}

/* --------------------------------------------------------------------------
   在线留言
   -------------------------------------------------------------------------- */
.message-wrap {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.message-intro {
  width: 360px;
  flex-shrink: 0;
  padding: 32px 28px;
  border-radius: var(--radius);
  background-color: var(--sub-theme-color);
}

.message-intro h3 {
  font-size: 20px;
  color: var(--theme-dark);
}

.message-intro p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 2;
  color: var(--text-gray);
}

.message-intro dl {
  margin-top: 22px;
  font-size: 14px;
  color: var(--text-gray);
}

.message-intro dt {
  margin-top: 12px;
  color: var(--text-light);
}

.message-intro dd {
  color: #333;
  word-break: break-all;
}

.form {
  flex: 1;
  min-width: 0;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-item {
  flex: 1;
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-gray);
}

.form-label em {
  margin-right: 4px;
  color: #e8614d;
  font-style: normal;
}

.form-input,
.form-textarea {
  display: block;
  width: 100%;
  padding: 0 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input {
  height: 46px;
}

.form-textarea {
  height: 150px;
  padding: 12px 14px;
  line-height: 1.8;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--theme-color);
  box-shadow: 0 0 0 3px rgba(38, 160, 165, 0.12);
}

.form-tip {
  margin-top: 6px;
  font-size: 12px;
  color: #e8614d;
  min-height: 18px;
}

.form-count {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-light);
  text-align: right;
}

.form-submit {
  margin-top: 8px;
}

.form-msg {
  margin-top: 14px;
  font-size: 14px;
  color: var(--theme-dark);
}

/* --------------------------------------------------------------------------
   联系我们
   -------------------------------------------------------------------------- */
.contact-cards {
  display: flex;
  gap: 24px;
}

.contact-card {
  flex: 1;
  padding: 44px 26px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background-color: #fff;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}

.contact-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background-color: var(--sub-theme-color);
  color: var(--theme-color);
}

.contact-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.contact-label {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.contact-value {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-gray);
  word-break: break-all;
}

.contact-note {
  margin-top: 46px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background-color: var(--sub-theme-color);
  font-size: 14px;
  line-height: 2;
  color: var(--text-gray);
}

.contact-note strong {
  color: var(--theme-dark);
}

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 44px 0 38px;
  background-color: var(--theme-color);
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 2;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.92);
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-copy p {
  color: rgba(255, 255, 255, 0.92);
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.92);
}

.footer-copy a:hover {
  color: #fff;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   回到顶部
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 40px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background-color: var(--theme-color);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background-color 0.3s;
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
}

.to-top:hover {
  background-color: var(--theme-dark);
}

.to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .nav-item {
    min-width: 92px;
  }

  .pd-gallery {
    width: 380px;
  }

  .pd-big-img {
    height: 380px;
  }
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 34px;
  }

  .hero-inner {
    min-height: 380px;
  }

  .about-brief {
    flex-direction: column;
    gap: 32px;
  }

  .about-facts {
    width: 100%;
  }

  .product-card {
    width: 33.3333%;
  }

  .pd-wrap {
    flex-direction: column;
    gap: 34px;
  }

  .pd-gallery {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
  }

  .pd-info-item {
    width: 100%;
  }

  .message-wrap {
    flex-direction: column;
  }

  .message-intro {
    width: 100%;
  }

  .contact-cards {
    flex-wrap: wrap;
  }

  .contact-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 240px;
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 60px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .logo-name {
    font-size: 16px;
  }

  .logo-sub {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 0 20px;
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-item {
    width: 100%;
    height: 48px;
    line-height: 48px;
    border-bottom: 1px solid var(--line-color);
  }

  .hero-inner {
    min-height: 300px;
    padding: 46px 20px;
  }

  .hero-title {
    font-size: 24px;
    letter-spacing: 1px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .hero-actions .btn {
    min-width: 120px;
    height: 42px;
    padding: 0 20px;
    font-size: 14px;
    line-height: 42px;
  }

  .page-banner-inner {
    padding: 40px 20px;
  }

  .page-banner-title {
    font-size: 22px;
  }

  .section {
    padding: 46px 0;
  }

  .section-title {
    font-size: 22px;
  }

  .product-card {
    width: 50%;
  }

  .product-img {
    height: 160px;
    padding: 14px;
  }

  .product-name {
    font-size: 15px;
    min-height: 45px;
  }

  .tab-item {
    padding: 0 18px;
    line-height: 60px;
    font-size: 16px;
  }

  .tab-item.is-check::after {
    width: 80px;
  }

  .pd-big-img {
    height: 320px;
  }

  .pd-name {
    font-size: 19px;
  }

  .pd-desc-item {
    flex-direction: column;
    gap: 4px;
  }

  .pd-desc-item .name {
    width: auto;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .contact-cards {
    flex-direction: column;
  }

  .contact-card {
    padding: 32px 20px;
  }

  .message-intro {
    padding: 24px 20px;
  }

  .to-top {
    right: 14px;
    bottom: 20px;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 21px;
  }

  .section-title {
    font-size: 20px;
  }

  .pd-big-img {
    height: 260px;
  }
}

/* --------------------------------------------------------------------------
   登录注册 / 积分支付
   -------------------------------------------------------------------------- */
body.is-modal-open {
  overflow: hidden;
}

/* 顶部账号与积分 */
.account {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
  margin-left: 16px;
  font-size: 14px;
  color: var(--text-light);
  white-space: nowrap;
}

.account-points b {
  padding: 0 2px;
  color: var(--theme-color);
  font-size: 17px;
}

.account-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-btn {
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 100px;
  background-color: var(--theme-color);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
}

.account-btn:hover {
  background-color: var(--theme-dark);
}

.account-btn.is-plain {
  border: 1px solid var(--border-color);
  background-color: #fff;
  color: var(--text-light);
}

.account-btn.is-plain:hover {
  border-color: var(--theme-color);
  background-color: #fff;
  color: var(--theme-color);
}

/* 弹窗与遮罩 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: calc(100vh - 40px);
  padding: 30px 28px 26px;
  overflow-y: auto;
  border-radius: var(--radius);
  background-color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: modal-in 0.25s ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  background-color: transparent;
  color: #bbb;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--theme-color);
}

.modal-title {
  margin-bottom: 18px;
  padding-right: 26px;
  font-size: 19px;
  color: var(--theme-dark);
}

/* 登录 / 注册 */
.auth-tabs {
  display: flex;
  gap: 26px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.auth-tab {
  position: relative;
  padding-bottom: 12px;
  font-size: 15px;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.3s;
}

.auth-tab:hover {
  color: var(--theme-color);
}

.auth-tab.is-check {
  color: var(--theme-color);
  font-weight: 700;
}

.auth-tab.is-check::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background-color: var(--theme-color);
  content: "";
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-input {
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 14px;
  transition: border-color 0.3s;
}

.auth-input:focus {
  border-color: var(--theme-color);
}

.auth-tip {
  min-height: 18px;
  font-size: 13px;
  color: #e34d4d;
  line-height: 1.4;
}

.auth-submit {
  width: 100%;
  min-width: 0;
}

/* 积分支付 */
.pay-product {
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #333;
}

.pay-list {
  padding: 4px 16px;
  border-radius: var(--radius);
  background-color: var(--theme-light);
}

.pay-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-light);
}

.pay-item + .pay-item {
  border-top: 1px solid rgba(38, 160, 165, 0.2);
}

.pay-item strong {
  color: var(--theme-dark);
  font-size: 16px;
}

.pay-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
}

.pay-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.pay-actions .btn {
  flex: 1;
  min-width: 0;
  padding: 0 10px;
  font-size: 15px;
}

.pay-actions .btn + .btn {
  margin-left: 0;
}

/* 产品详情浏览遮挡 */
.pd-guard {
  position: relative;
}

.pd-lock {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.95);
}

.pd-guard.is-unlocked .pd-lock {
  display: none;
}

.pd-lock-inner {
  max-width: 460px;
  text-align: center;
}

.pd-lock-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  color: var(--theme-color);
}

.pd-lock-title {
  margin-bottom: 12px;
  font-size: 22px;
  color: var(--theme-dark);
}

.pd-lock-desc {
  margin-bottom: 26px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

.pd-lock-desc strong {
  color: var(--theme-color);
  font-size: 16px;
}

@media (max-width: 1199px) {
  .account {
    gap: 8px;
    margin-left: 10px;
    font-size: 13px;
  }

  .account-name {
    display: none;
  }

  .account-points b {
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  .logo-name {
    font-size: 16px;
  }

  .nav {
    font-size: 15px;
  }

  .nav-item {
    min-width: 76px;
    padding: 0 6px;
  }

  .account {
    gap: 6px;
    margin-left: 8px;
    font-size: 12px;
  }

  .account-points b {
    font-size: 14px;
  }

  .account-btn {
    height: 30px;
    padding: 0 12px;
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .header-inner {
    justify-content: flex-start;
  }

  .logo {
    margin-right: auto;
  }

  .account {
    order: 2;
    gap: 6px;
    margin: 0 10px 0 0;
    font-size: 12px;
  }

  .account-points b {
    font-size: 14px;
  }

  .account-btn {
    height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }

  .nav-toggle {
    order: 3;
  }

  .modal {
    padding: 14px;
  }

  .modal-box {
    padding: 24px 20px 22px;
  }

  .modal-title {
    font-size: 17px;
  }

  .auth-submit,
  .pay-actions .btn {
    font-size: 14px;
  }

  .pd-lock {
    padding: 30px 16px;
  }

  .pd-lock-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
  }

  .pd-lock-title {
    font-size: 18px;
  }
}
