/* IRIS Group — 现代简洁设计 */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Work+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --yellow: #FECB11;
  --yellow-light: #ffe066;
  --dark: #1a1a1a;
  --text: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --bg: #fafafa;
  --border: #e8e8e8;
  --pink: #f5d5c8;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(48px, 6vw, 80px); }
h2 { font-size: clamp(36px, 4vw, 56px); }
h3 { font-size: clamp(28px, 3vw, 40px); }
h4 { font-size: 24px; }

a { color: var(--dark); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--yellow); }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ========== 导航 ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--dark);
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
}
.nav-logo img {
  display: inline-block;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* 导航下拉菜单 */
.nav-links li {
  position: relative;
}

/* hover 桥接：让空隙区域也属于 hover 范围，鼠标下滑不消失 */
.nav-links li.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 15px;
  z-index: 1000;
}

.nav-links li.has-dropdown > a::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.3s ease;
}

.nav-links li.has-dropdown > a::after {
  content: '▾';
  display: inline-block;
  margin-left: 5px;
  font-size: 10px;
  color: var(--text-light);
  transition: transform 0.3s ease;
}

.nav-links li.has-dropdown:hover > a::after {
  transform: rotate(180deg);
  color: var(--yellow);
}

.nav-links li.has-dropdown:hover > a::before,
.nav-links li.has-dropdown.active > a::before {
  width: 100%;
}

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  min-width: 190px;
  list-style: none;
  padding: 10px 0;
  z-index: 1001;
}

.nav-links li.has-dropdown:hover .dropdown,
.nav-links li.has-dropdown:focus-within .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 11px 28px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  white-space: nowrap;
}

.dropdown a:hover {
  background: var(--bg);
  color: var(--yellow);
}

.dropdown a::after {
  display: none;
}

.nav-account {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 24px;
  background: var(--yellow);
  color: var(--dark);
  border-radius: 2px;
  transition: background 0.2s ease;
}

.nav-account:hover {
  background: var(--yellow-light);
  color: var(--dark);
}

/* 导航容器相对定位，供语言切换锚定 */
.nav-inner {
  position: relative;
}

/* 语言切换按钮（通用） */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 2px;
  margin-right: 2px;
}

/* 桌面导航语言切换：绝对定位锚定在 Account 右侧，不影响其他元素位置 */
.nav-lang {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  white-space: nowrap;
  visibility: hidden; /* 由 JS 定位后显示，避免定位前闪跳 */
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-light);
  padding: 6px 4px;
  transition: color 0.2s ease;
  font-family: inherit;
}

.lang-btn:hover { color: var(--yellow); }

.lang-btn.active { color: var(--dark); border-bottom: 2px solid var(--yellow); }

.lang-divider { color: var(--border); font-size: 13px; }

.mobile-lang {
  margin: 18px 0 10px;
  padding: 0 28px;
  border-bottom: none;
}

.mobile-lang .lang-btn {
  font-size: 15px;
  padding: 8px 6px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  padding: 40px;
  gap: 0;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a.mobile-sub {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
  padding: 12px 0 12px 20px;
  border-bottom: 1px solid var(--border);
}

/* 移动端手风琴子菜单 */
.mobile-dropdown {
  border-bottom: 1px solid var(--border);
}

.mobile-dropdown-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-dropdown-content {
  display: none;
  background: var(--bg);
}

.mobile-dropdown-content.open {
  display: block;
}

.mobile-dropdown-content a {
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--border);
}

/* ========== Hero ========== */
.hero {
  background: var(--yellow);
  padding-top: 80px;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 32px;
}

.hero-btn {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 16px 36px;
  background: var(--pink);
  color: var(--dark);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-btn:hover {
  background: #e8c5b5;
  color: var(--dark);
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: calc(70vh - 80px);
  max-height: 520px;
}

.hero-image img {
  height: auto;
  width: 100%;
  max-width: 340px;
  object-fit: contain;
  object-position: bottom right;
}

/* ========== 子品牌 ========== */
.brands {
  padding: 120px 0;
  background: var(--white);
}

.brands-header {
  text-align: center;
  margin-bottom: 80px;
}

.brands-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 16px;
  display: block;
}

.brands-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  color: var(--dark);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.brand-item:hover {
  transform: translateY(-4px);
}

.brand-item img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.brand-item:hover img {
  filter: grayscale(0%);
}

/* ========== 理念区 ========== */
.philosophy {
  padding: 120px 0;
  background: var(--bg);
}

.philosophy-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.philosophy-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--dark);
  max-width: 900px;
  margin-bottom: 80px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.philosophy-item {
  position: relative;
  padding-top: 30px;
}

.philosophy-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--yellow);
}

.philosophy-item h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 20px;
}

.philosophy-item p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
}

/* 理念区 ABOUT US 按钮 */
.philosophy-cta {
  text-align: center;
  margin-top: 80px;
}

.philosophy-btn {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 18px 52px;
  background: var(--yellow);
  color: var(--dark);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.philosophy-btn:hover {
  background: var(--dark);
  color: var(--white);
}

/* ========== 客户评价 ========== */
.testimonials {
  padding: 120px 0;
  background: var(--white);
}

.testimonials-title {
  text-align: center;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial {
  background: var(--bg);
  border-radius: 8px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transition: all 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

.testimonial-quote {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-author-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--dark);
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ========== 服务方向卡片（Services页） ========== */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 48px 40px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border-color: var(--yellow);
}

.service-card:hover .service-card-arrow {
  background: var(--yellow);
  color: var(--dark);
}

.service-card-image {
  width: 160px;
  height: 160px;
  margin: 0 auto 28px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--yellow);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 20px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 28px;
}

.service-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  font-size: 20px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .service-cards { grid-template-columns: 1fr; gap: 30px; }
}

/* ========== 服务详情页（Mall / Project / Entertainment） ========== */
.service-detail {
  padding: 120px 0;
  background: var(--white);
}

.service-detail-content {
  max-width: 1100px;
  margin: 0 auto;
}

.service-detail-content h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 24px;
}

.service-detail-content .lead {
  font-size: 18px;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 60px;
  max-width: 800px;
}

.service-category {
  margin-bottom: 60px;
}

.service-category h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--yellow);
  display: inline-block;
}

.service-item-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-item {
  background: var(--bg);
  border-radius: 8px;
  padding: 28px 30px;
  border-left: 3px solid var(--yellow);
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.service-item h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-item p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Mall产品卡 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--bg);
  border-radius: 8px;
  padding: 32px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: var(--yellow);
}

.product-card h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 10px;
}

.product-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

.product-price {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
}

/* Entertainment内容列表 */
.entertainment-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.entertainment-item {
  background: var(--bg);
  border-radius: 8px;
  padding: 32px 30px;
  border-top: 3px solid var(--yellow);
  transition: all 0.3s ease;
}

.entertainment-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.entertainment-item h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 12px;
}

.entertainment-item p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .service-detail-grid { grid-template-columns: 1fr; gap: 50px; }
  .service-detail-image { position: static; max-width: 420px; }
  .service-item-list, .product-grid, .entertainment-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .service-hero .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
    gap: 30px;
  }
  .service-hero .hero-content { max-width: 100%; }
  .service-hero .hero-sub { margin: 0 auto; }
  .service-hero .hero-image {
    order: -1;
    height: auto;
    max-height: 38vh;
    width: 100%;
    justify-content: center;
  }
  .service-hero .hero-image img {
    max-height: 36vh;
    max-width: 200px;
    object-position: bottom center;
  }
  .service-back { justify-content: center; }
}

/* ========== CTA ========== */
.cta {
  padding: 80px 0;
  background: #555555;
  text-align: center;
}

.cta-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  max-width: 1000px;
  margin: 0 auto 32px;
  white-space: nowrap;
}

.cta-btn {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 18px 48px;
  background: var(--yellow);
  color: var(--dark);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cta-btn:hover {
  background: var(--dark);
  color: var(--white);
}

/* ========== 页脚 ========== */
.footer {
  background: var(--yellow);
  padding: 80px 0 40px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.footer-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 30px;
}

.footer-contact {
  margin-bottom: 40px;
}

.footer-contact p {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 8px;
  font-weight: 500;
}

.footer-nav {
  margin-bottom: 40px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--dark);
}

.footer-copyright {
  font-size: 14px;
  color: var(--dark);
  opacity: 0.7;
  padding-top: 40px;
  text-align: center;
}
.footer-copyright img {
  display: inline-block;
  vertical-align: middle;
}

/* ========== About页面 ========== */
.page-hero {
  background: var(--yellow);
  padding: 160px 0 100px;
  text-align: center;
}

.page-hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 400;
  color: var(--dark);
}

/* 服务子页面 Hero（考拉图融入黄色区域） */
.service-hero {
  background: var(--yellow);
  padding-top: 80px;
  min-height: 55vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.service-hero .hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 60px;
}

.service-hero .hero-content {
  flex: 1;
  max-width: 620px;
}

.service-hero .hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 16px;
}

.service-hero .hero-sub {
  font-size: 18px;
  line-height: 1.8;
  color: var(--dark);
  opacity: 0.75;
  max-width: 520px;
}

.service-hero .hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: calc(55vh - 80px);
  max-height: 400px;
}

.service-hero .hero-image img {
  height: auto;
  width: 100%;
  max-width: 300px;
  object-fit: contain;
  object-position: bottom right;
}

.service-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--dark);
  opacity: 0.7;
  margin-bottom: 20px;
  transition: opacity 0.2s ease;
}

.service-back:hover {
  opacity: 1;
  color: var(--dark);
}

.about-intro {
  padding: 120px 0;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-intro-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
}

.about-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-intro-text h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 30px;
}

.about-intro-text p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Services 页：去掉顶部企业图后文字全宽居中 */
.about-intro.services-only .about-intro-grid {
  grid-template-columns: 1fr;
}

.about-intro.services-only .about-intro-text {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.about-gallery {
  padding: 100px 0 120px;
  background: var(--white);
}

.about-gallery-title {
  text-align: center;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 60px;
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.about-gallery-item {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: var(--bg);
}

.about-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.about-gallery-item:hover img {
  transform: scale(1.05);
}

/* ========== 动画 ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .philosophy-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 中等宽度紧凑导航（保证 hover 下拉可用） */
@media (max-width: 860px) {
  .nav-inner { padding: 0 20px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 12px; letter-spacing: 0.5px; }
  .nav-account { padding: 8px 16px; font-size: 12px; }
}

@media (max-width: 480px) {
  .nav-links, .nav-account { display: none; }
  .nav-lang { display: none; }
  .hamburger { display: flex; }
  /* 移动端购物车图标回到文档流，放在汉堡按钮左侧 */
  .cart-icon {
    position: static;
    transform: none;
    visibility: visible;
    margin-left: auto;
    margin-right: 12px;
  }
  
  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
    gap: 40px;
  }
  
  .hero-content { max-width: 100%; }
  
  .hero-image {
    order: -1;
    height: auto;
    max-height: 50vh;
    width: 100%;
    justify-content: center;
  }
  
  .hero-image img {
    height: auto;
    max-height: 50vh;
    width: auto;
    max-width: 100%;
    object-position: bottom center;
  }
  
  .brands { padding: 80px 0; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
  .brand-item { height: 80px; }
  
  .philosophy { padding: 80px 0; }
  .philosophy-title { margin-bottom: 50px; }
  
  .cta { padding: 80px 0; }
  
  .footer { padding: 60px 0 30px; }
  .footer-nav ul { gap: 20px; }
  
  .about-intro-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  
  .container, .philosophy-inner, .footer-inner, .nav-inner { padding: 0 24px; }
}

@media (max-width: 480px) {
  .brands-grid { grid-template-columns: 1fr 1fr; }
  .about-gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* =====================================================
 * IRIS MALL 商城样式
 * ===================================================== */

/* --- 购物车图标（导航，绝对定位锚定 Account 左侧，不影响布局） --- */
.cart-icon {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin: 0;
  visibility: hidden; /* 由 JS 定位后显示，避免定位前闪跳 */
  transition: color 0.2s ease;
}
.cart-icon:hover { color: var(--yellow); }

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  display: none;
}

/* --- Mall Hero 搜索框 --- */
.mall-hero .hero-content { max-width: 560px; }

.mall-search {
  position: relative;
  margin: 28px 0 18px;
  max-width: 420px;
}

.mall-search-input {
  width: 100%;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 4px;
  padding: 14px 46px 14px 18px;
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: box-shadow 0.2s ease;
}
.mall-search-input:focus { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.mall-search-input::placeholder { color: #999; }

.mall-search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  display: flex;
}

.mall-all-btn {
  display: inline-block;
  background: var(--pink);
  color: var(--dark) !important;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 16px 36px;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.mall-all-btn:hover { background: #e8c5b5; transform: translateY(-2px); }

/* --- 商品区块 --- */
.mall-section { padding: 100px 0; }
.mall-section-alt { background: var(--bg); }

.mall-section-title {
  text-align: center;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 12px;
}

.mall-section-sub {
  text-align: center;
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 50px;
}

/* --- 商品网格与卡片（自适应列数，随空间变化大小） --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.product-thumb {
  position: relative;
  padding-top: 100%; /* 1:1 兼容写法（aspect-ratio 在部分浏览器不生效） */
  overflow: hidden;
  background: #f5f5f5;
}
.product-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* 完整显示整张图，不裁切 */
  background: #fafafa;
  transition: transform 0.4s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--yellow);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 10px;
  border-radius: 2px;
}

.product-info { padding: 20px; display: flex; flex-direction: column; flex: 1; }

.product-name {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 16px;
  flex: 1;
}

.product-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.product-price {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  color: var(--dark);
}

.product-add {
  width: 100%;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 2px;
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
  text-align: center;
}
.product-add:hover { background: var(--yellow); color: var(--dark); }

/* --- All Products 布局（分类栏自适应，给商品区更多空间） --- */
.all-products-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: start;
}

.side-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.category-filter { display: flex; flex-direction: column; gap: 4px; }

.cat-btn {
  background: none;
  border: none;
  text-align: left;
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.cat-btn:hover { background: var(--bg); color: var(--dark); }
.cat-btn.active { background: var(--yellow); color: var(--dark); font-weight: 600; }

.all-search { position: relative; margin-bottom: 28px; max-width: 420px; }

/* --- 购物车侧边栏 --- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1200;
}
body.cart-open .cart-overlay { opacity: 1; visibility: visible; }

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 400px;
  max-width: 90vw;
  background: var(--white);
  z-index: 1300;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0,0,0,0.12);
}
.cart-panel.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 26px;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--dark);
  margin: 0;
}

.cart-close {
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  padding: 0;
}
.cart-close:hover { color: var(--dark); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 26px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  flex-wrap: wrap;
}
.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.4;
}
.cart-item-price { font-size: 13px; color: var(--text-light); }

.cart-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cart-qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  background: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 15px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-qty-btn:hover { background: var(--bg); }
.cart-qty-num { font-size: 14px; font-weight: 600; min-width: 20px; text-align: center; }

.cart-item-remove {
  position: absolute;
  top: 16px;
  right: 0;
  background: none;
  border: none;
  font-size: 20px;
  color: #bbb;
  cursor: pointer;
  line-height: 1;
}
.cart-item-remove:hover { color: #e74c3c; }

.cart-item-sub {
  width: 100%;
  text-align: right;
  font-weight: 600;
  color: var(--dark);
  font-size: 15px;
}

.cart-empty {
  text-align: center;
  color: var(--text-light);
  padding: 60px 20px;
  font-size: 15px;
}

.cart-footer {
  padding: 22px 26px;
  border-top: 1px solid var(--border);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
  color: var(--dark);
  font-weight: 600;
}
.cart-total-row span:last-child {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 24px;
}
.cart-checkout {
  width: 100%;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 2px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 17px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cart-checkout:hover { background: var(--yellow); color: var(--dark); }
.cart-checkout:disabled { opacity: 0.4; cursor: not-allowed; }

/* --- 结算弹窗 --- */
.checkout-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.checkout-modal.open { opacity: 1; visibility: visible; }

.checkout-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.checkout-box {
  position: relative;
  background: var(--white);
  width: 520px;
  max-width: 92vw;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 8px;
  padding: 40px;
}

.checkout-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-light);
  cursor: pointer;
}
.checkout-close:hover { color: var(--dark); }

.checkout-box h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 24px;
}

.checkout-summary {
  background: var(--bg);
  border-radius: 6px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.co-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--text);
  padding: 6px 0;
}
.co-total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 700;
  font-size: 16px;
}
.co-total span:last-child { font-family: 'DM Serif Display', Georgia, serif; font-size: 22px; }

.checkout-box .form-input { margin-bottom: 14px; }
.co-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.checkout-msg {
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 4px;
  margin: 4px 0 14px;
  display: none;
}
.checkout-msg.msg-error { background: #fdecea; color: #c0392b; }
.checkout-msg.msg-info { background: #eef5ff; color: #2c6fb3; }

/* --- 响应式 --- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .all-products-wrap { grid-template-columns: 1fr; gap: 30px; }
  .category-filter { flex-direction: row; flex-wrap: wrap; }
  .cart-panel { width: 100%; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .co-row2 { grid-template-columns: 1fr; }
}

/* =====================================================
 * 商品详情弹窗 + 账户注册登录弹窗
 * ===================================================== */

/* --- 商品卡片描述：完整显示，不截断 --- */
.product-desc {
  display: block;
  overflow: visible;
  line-height: 1.7;
}

/* --- 商品详情弹窗 --- */
.product-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.product-modal.open { opacity: 1; visibility: visible; }

.product-modal-box {
  position: relative;
  background: var(--white);
  width: 860px;
  max-width: 92vw;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 8px;
  padding: 36px;
}

.pm-body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

.pm-image {
  border-radius: 6px;
  overflow: hidden;
  background: #f5f5f5;
  aspect-ratio: 1/1;
}
.pm-image img { width: 100%; height: 100%; object-fit: cover; }

.pm-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  background: var(--bg);
  padding: 6px 12px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.pm-info h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.pm-price {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 30px;
  color: var(--dark);
  margin-bottom: 18px;
}

.pm-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 28px;
}

.pm-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.pm-qty button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 20px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pm-qty button:hover { background: var(--bg); }
.pm-qty span {
  font-size: 18px;
  font-weight: 600;
  min-width: 30px;
  text-align: center;
  color: var(--dark);
}

.pm-add {
  width: 100%;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 2px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 17px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.pm-add:hover { background: var(--yellow); color: var(--dark); }

/* --- 账户注册/登录弹窗 --- */
.auth-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.auth-modal.open { opacity: 1; visibility: visible; }

.auth-box {
  position: relative;
  background: var(--white);
  width: 420px;
  max-width: 92vw;
  border-radius: 8px;
  padding: 40px;
}

.auth-box h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 20px;
}

.auth-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 26px;
}
.auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 12px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.auth-tab.active { color: var(--dark); border-bottom-color: var(--yellow); }

.auth-form .form-input { margin-bottom: 14px; }

.auth-msg {
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 4px;
  margin: 4px 0 14px;
  display: none;
}
.auth-msg.msg-error { background: #fdecea; color: #c0392b; }
.auth-msg.msg-success { background: #e8f8ef; color: #1e8449; }

.auth-box .form-submit { width: 100%; }

.auth-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.auth-user span { font-size: 14px; font-weight: 600; color: var(--dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-user button {
  background: none;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 12px;
  color: var(--text);
  padding: 7px 14px;
  cursor: pointer;
  white-space: nowrap;
}
.auth-user button:hover { background: var(--bg); }

/* --- 响应式 --- */
@media (max-width: 768px) {
  .pm-body { grid-template-columns: 1fr; gap: 20px; }
  .product-modal-box { padding: 26px; }
}

/* =====================================================
 * 独立商品详情页 (product.html?id=)
 * ===================================================== */

.product-detail-page { padding: 90px 0 90px; }

.pdetail-breadcrumb {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 36px;
  letter-spacing: 0.5px;
}
.pdetail-breadcrumb a { color: var(--text-light); text-decoration: none; transition: color 0.2s ease; }
.pdetail-breadcrumb a:hover { color: var(--dark); }
.pdetail-breadcrumb .bc-sep { margin: 0 10px; }
.pdetail-breadcrumb .bc-current { color: var(--dark); font-weight: 600; }

.pdetail-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.pdetail-gallery {
  position: sticky;
  top: 100px;
}

.pdetail-img {
  position: relative;
  padding-top: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}
.pdetail-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.pdetail-info h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(30px, 3.5vw, 40px);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.pdetail-price {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 34px;
  color: var(--dark);
  margin-bottom: 22px;
}

.pdetail-desc {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 26px;
}

.pdetail-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.pd-meta-item {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  background: var(--bg);
  padding: 7px 14px;
  border-radius: 2px;
}
.pd-meta-hot { background: var(--yellow); color: var(--dark); }

.pdetail-add {
  width: 100%;
  max-width: 360px;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 2px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 17px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.pdetail-add:hover { background: var(--yellow); color: var(--dark); }

.pdetail-notfound {
  text-align: center;
  padding: 80px 20px;
}
.pdetail-notfound h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .pdetail-main { grid-template-columns: 1fr; gap: 30px; }
  .pdetail-gallery { position: static; }
}

/* --- 详情页悬浮返回按钮（固定左下角，始终可见） --- */
.pdetail-back {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}
.pdetail-back:hover { background: var(--yellow); color: var(--dark); transform: translateY(-2px); }
@media (max-width: 480px) {
  .pdetail-back { bottom: 18px; left: 18px; width: 46px; height: 46px; }
}

/* ==================== 娱乐页：视频 + 活动 ==================== */
.ent-section { padding: 90px 0; }
.ent-section-alt { background: var(--bg); }
.ent-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}
.ent-section-head h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 34px;
  color: var(--dark);
  margin: 0;
}
.ent-viewall {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 13px 28px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.ent-viewall:hover { background: var(--dark); color: var(--white); }

/* 视频网格与卡片 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px;
}
.video-card { cursor: pointer; }
.video-thumb {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 4px;
}
.video-thumb::after {
  content: 'IRIS Video';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-family: sans-serif;
  letter-spacing: 1px;
}
.video-thumb img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #FECB11;
  color: #1a1a2e;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.video-card:hover .video-play-btn {
  background: var(--yellow);
  color: var(--dark);
  transform: translate(-50%, -50%) scale(1.07);
}
.video-duration {
  position: absolute;
  right: 10px; bottom: 10px;
  background: rgba(0,0,0,0.75);
  color: var(--white);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 3px;
}
.video-info { padding: 14px 4px 0; }
.video-title { font-size: 15px; color: var(--dark); margin: 0 0 4px; font-weight: 600; }
.video-views { font-size: 12px; color: #999; }

/* 活动网格与卡片 */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.event-card {
  display: flex;
  gap: 20px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.event-card:hover {
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.event-date {
  flex: 0 0 auto;
  width: 76px; height: 76px;
  background: var(--yellow);
  color: var(--dark);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.event-day { font-family: 'DM Serif Display', Georgia, serif; font-size: 30px; line-height: 1; }
.event-month { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: 3px; }
.event-info { flex: 1; }
.event-tag {
  display: inline-block;
  background: var(--bg);
  color: var(--dark);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.event-title { font-size: 18px; color: var(--dark); margin: 0 0 4px; font-weight: 600; }
.event-loc { font-size: 13px; color: #999; }
.event-desc { font-size: 13px; color: var(--text-light); line-height: 1.6; margin: 10px 0 12px; }
.event-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
}
.event-status.upcoming { background: rgba(254,206,5,0.25); color: #8a6d00; }
.event-status.ended { background: #f0f0f0; color: #999; }

/* 视频播放弹窗 */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal.open { display: flex; }
.video-modal-box {
  position: relative;
  width: 100%;
  max-width: 840px;
  background: var(--dark);
  border-radius: 6px;
  padding: 22px;
  z-index: 2;
}
.video-frame { position: relative; padding-top: 56.25%; width: 100%; }
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  border-radius: 4px;
}
.video-modal-box h3 {
  color: var(--white);
  font-size: 16px;
  margin: 16px 0 0;
  font-weight: 500;
}
.video-modal .checkout-close { position: absolute; top: -14px; right: -14px; }

@media (max-width: 768px) {
  .ent-section { padding: 60px 0; }
  .ent-section-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 32px; }
  .ent-section-head h2 { font-size: 28px; }
}

/* ==================== 活动详情页 ==================== */
.ed-main {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.ed-hero {
  background: var(--yellow);
  border-radius: 6px;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  min-height: 420px;
  justify-content: center;
}
.ed-date-big { display: flex; flex-direction: column; align-items: center; }
.ed-day { font-family: 'DM Serif Display', Georgia, serif; font-size: 96px; line-height: 1; color: var(--dark); }
.ed-month { font-family: 'Work Sans', sans-serif; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 4px; color: var(--dark); margin-top: 4px; }
.ed-year { font-size: 14px; color: rgba(0,0,0,0.55); margin-top: 2px; }
.ed-info h1 { font-family: 'DM Serif Display', Georgia, serif; font-size: 36px; margin: 0 0 16px; color: var(--dark); }
.ed-loc { font-size: 16px; color: var(--text-light); margin-bottom: 6px; }
.ed-date-line { font-size: 15px; color: var(--text-light); margin-bottom: 12px; }
.ed-desc { font-size: 15px; line-height: 1.8; color: var(--text); margin: 20px 0 28px; }
.ed-reg { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 16px; }
.ed-register {
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 2px;
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 15px 40px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.ed-register:hover { background: var(--yellow); color: var(--dark); }
.ed-register.registered { background: #e7e7e7; color: #999; cursor: default; }
.ed-reg-hint { font-size: 13px; color: var(--text-light); margin: 0; }
.ed-reg-link { font-size: 13px; font-weight: 600; color: var(--dark); text-decoration: underline; }
.ed-reg-ended { font-size: 13px; color: #999; }

/* ==================== 我的报名页 ==================== */
.myreg-list { display: flex; flex-direction: column; gap: 16px; }
.myreg-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px 26px;
}
.myreg-date {
  flex: 0 0 auto;
  width: 66px; height: 66px;
  background: var(--yellow);
  color: var(--dark);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.myreg-day { font-family: 'DM Serif Display', Georgia, serif; font-size: 26px; line-height: 1; }
.myreg-month { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.myreg-info { flex: 1; }
.myreg-info h3 { margin: 0 0 4px; font-size: 18px; }
.myreg-info h3 a { color: var(--dark); }
.myreg-loc { font-size: 13px; color: #999; }
.myreg-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.myreg-cancel {
  background: none;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: #c0392b;
  font-size: 12px;
  padding: 7px 16px;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
}
.myreg-cancel:hover { background: #fdecea; border-color: #c0392b; }
.myreg-empty { text-align: center; padding: 60px 0; }
.myreg-empty p { font-size: 16px; color: var(--text-light); margin-bottom: 24px; }
.myreg-login { text-align: center; padding: 60px 0; }
.myreg-login .mall-section-title { margin-bottom: 24px; }

/* 账户弹窗：我的报名链接 */
.auth-user { display: flex; flex-direction: column; gap: 14px; padding: 10px 0; }
.auth-user-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-user-top span { font-weight: 600; }
.auth-mylist {
  display: inline-block;
  text-align: center;
  background: var(--yellow);
  color: var(--dark);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 20px;
  text-decoration: none;
}
.auth-mylist:hover { background: var(--dark); color: var(--white); }

.event-card { cursor: pointer; }

@media (max-width: 768px) {
  .ed-main { grid-template-columns: 1fr; gap: 30px; }
  .ed-hero { min-height: 260px; padding: 36px 24px; }
  .ed-info h1 { font-size: 28px; }
  .myreg-card { flex-direction: column; align-items: flex-start; gap: 16px; }
  .myreg-actions { align-items: flex-start; }
}

/* 活动价格 */
.event-price { display: inline-block; font-size: 13px; font-weight: 700; margin: 8px 0 2px; }
.event-price.paid { color: var(--dark); }
.event-price.free { color: #2e7d32; }
.ed-price { font-family: 'DM Serif Display', Georgia, serif; font-size: 26px; margin: 14px 0 4px; }
.ed-price.paid { color: var(--dark); }
.ed-price.free { color: #2e7d32; }

/* ==================== Project 页：How We Work ==================== */
.how-section {
  padding: 96px 0 72px;
  background: var(--white);
}
.how-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  color: var(--dark);
  text-align: center;
  margin-bottom: 12px;
}
.how-sub {
  text-align: center;
  font-size: 15px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.8;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.how-step {
  background: var(--bg);
  border-radius: 8px;
  padding: 32px 28px;
  border-top: 3px solid var(--yellow);
  transition: all 0.3s ease;
}
.how-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
}
.how-num {
  display: inline-block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 30px;
  color: var(--yellow);
  margin-bottom: 14px;
}
.how-step h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 10px;
}
.how-step p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ==================== Project 页：定价折叠区 ==================== */
.pricing-section {
  padding: 96px 0;
  background: var(--bg);
}
.pricing-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  color: var(--dark);
  text-align: center;
  margin-bottom: 12px;
}
.pricing-sub {
  text-align: center;
  font-size: 15px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.pricing-toggle-wrap {
  text-align: center;
  margin-bottom: 40px;
}
.pricing-toggle {
  display: inline-block;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 15px 40px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.pricing-toggle:hover {
  background: var(--yellow);
  color: var(--dark);
}
.pricing-group {
  margin-bottom: 48px;
}
.pricing-group-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--yellow);
  display: inline-block;
}
.pricing-sub-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  margin: 28px 0 14px;
}
.pricing-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.05);
}
.pricing-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 13px;
}
.pricing-table th {
  background: var(--dark);
  color: var(--white);
  font-weight: 600;
  text-align: left;
  padding: 14px 16px;
  white-space: nowrap;
}
.pricing-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.7;
  color: var(--text);
}
.pricing-table tbody tr:hover { background: #fff8e6; }
.pricing-table .pt-name {
  font-weight: 600;
  color: var(--dark);
  min-width: 180px;
}
.pricing-table .pt-price {
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  min-width: 140px;
}
.pricing-note {
  margin-top: 28px;
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
}

@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .how-grid { grid-template-columns: 1fr; }
}

/* ==================== 定价梯度标签 ==================== */
.tier {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: 2px;
  white-space: nowrap;
}
.tier-signature { background: #1a1a1a; color: #FECB11; }
.tier-standard  { background: #f0f0f0; color: #666; }
.tier-entry     { background: #FECB11; color: #1a1a1a; }

/* 服务页 Hero 副标题 */
.page-hero-sub {
  margin: 18px auto 0;
  max-width: 640px;
  font-size: 15px;
  color: var(--dark);
  line-height: 1.8;
  opacity: 0.85;
}

/* 服务页顶部引言（白底） */
.svc-intro {
  background: var(--white);
  padding: 72px 0;
}
.svc-intro-text {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  line-height: 2;
  color: var(--text);
  font-weight: 400;
}

/* 服务页 How can we help you? 区域：白底（不影响首页 philosophy 浅灰底） */
.philosophy-white {
  background: var(--bg);
  border-bottom: 1px solid #e8e8e8;
}

/* ========== About页 商业版图（生态圆环） ========== */
.about-eco {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid #e8e8e8;
}
.about-eco-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.about-eco-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}
.about-eco-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 18px;
}
.about-eco-sub {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
}
.about-eco-ring {
  max-width: 620px;
  margin: 0 auto 50px;
}
.eco-svg { width: 100%; height: auto; display: block; }
.eco-node-num { font-size: 17px; font-weight: 700; fill: #1a1a1a; }
.eco-node-label { font-size: 14px; font-weight: 600; fill: #1a1a1a; }
.eco-center-iris { font-family: 'DM Serif Display', Georgia, serif; font-size: 46px; fill: #1a1a1a; }
.eco-center-group { font-size: 15px; letter-spacing: 7px; fill: #555; }
.eco-center-sub { font-size: 12px; letter-spacing: 2px; fill: #999; text-transform: uppercase; }
.about-eco-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.eco-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
  transition: all 0.3s ease;
}
.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
  border-color: var(--yellow);
}
.eco-card-num {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}
.eco-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin: 10px 0 8px;
}
.eco-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 12px;
}
.eco-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.eco-card-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--dark);
  font-size: 12px;
  font-weight: 500;
}

@media (max-width: 1100px) {
  .about-eco-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .about-eco-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .about-eco-cards { grid-template-columns: 1fr; }
}

/* ========== About页 App产品介绍 ========== */
.about-apps {
  padding: 100px 0;
  background: var(--bg);
}
.about-apps-head {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}
.about-apps-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}
.about-apps-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 18px;
}
.about-apps-sub {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
}
.about-apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.about-app-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 26px;
  transition: all 0.3s ease;
}
.about-app-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
  border-color: var(--yellow);
}
.about-app-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  color: var(--dark);
}
.ico-en { display: inline; }
.ico-zh { display: none; }
html[lang="zh-CN"] .ico-en { display: none; }
html[lang="zh-CN"] .ico-zh { display: inline; }
.about-app-item h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 6px;
}
.about-app-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .about-apps-grid { grid-template-columns: 1fr; }
}

/* =====================================================
 * 会员系统：登录页 / 个人中心 / 收藏按钮
 * ===================================================== */

/* ---------- 登录页 ---------- */
.auth-section {
  padding: 90px 0 110px;
  background: var(--white);
}
.auth-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 40px 44px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.06);
}
.auth-card .auth-tabs {
  margin-bottom: 28px;
}
.auth-card .form-submit { width: 100%; }

/* ---------- 个人中心 ---------- */
.account-section {
  padding: 80px 0 100px;
  background: var(--white);
}
.account-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
.account-side {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 34px 28px;
  text-align: left;
}
.account-avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.account-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 6px;
  word-break: break-word;
}
.account-email {
  font-size: 13px;
  color: var(--text-light);
  word-break: break-all;
  margin-bottom: 22px;
}
.account-logout {
  width: 100%;
  padding: 11px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.account-logout:hover { background: #fdecea; border-color: #c0392b; color: #c0392b; }

.account-main {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  min-height: 420px;
}
.account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  padding-bottom: 0;
}
.account-tab {
  padding: 10px 18px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: all 0.3s ease;
}
.account-tab:hover { color: var(--dark); }
.account-tab.active { color: var(--dark); border-bottom-color: var(--yellow); }

.acc-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin: 16px 0 6px;
}
.acc-form .form-input { margin-bottom: 2px; }
.acc-form .form-submit { margin-top: 20px; }

.acc-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.acc-cart-head h3 { margin: 0; font-family: 'DM Serif Display', Georgia, serif; font-size: 24px; font-weight: 400; }
.acc-cart-total { font-size: 15px; color: var(--text-light); }
.acc-cart-total b { color: var(--dark); }
.acc-cart-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.acc-cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.acc-cart-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}
.acc-cart-info { flex: 1; }
.acc-cart-name { display: block; font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.acc-cart-price { font-size: 13px; color: var(--text-light); }
.acc-cart-sub { font-weight: 700; color: var(--dark); font-size: 15px; }
.acc-checkout { width: 100%; }

.acc-empty {
  text-align: center;
  padding: 60px 0;
  font-size: 16px;
  color: var(--text-light);
}

.acc-order {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
}
.acc-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.acc-order-no { font-weight: 700; color: var(--dark); font-size: 14px; }
.acc-order-items { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 8px; }
.acc-order-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #999;
}
.acc-order-foot b { color: var(--dark); font-size: 15px; }

/* ---------- 收藏按钮 ---------- */
.event-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: #b0a08d;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
}
.event-fav:hover { color: #e34b5a; transform: scale(1.08); }
.event-fav.active { color: #e34b5a; }
.event-card { position: relative; }

.ed-fav { margin-top: 18px; }
.ed-fav-btn {
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: #b0a08d;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.ed-fav-btn:hover { color: #e34b5a; border-color: #e34b5a; }
.ed-fav-btn.active { color: #e34b5a; border-color: #e34b5a; background: #fef3f4; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .account-layout { grid-template-columns: 1fr; }
  .account-side { text-align: left; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
  .account-avatar { margin: 0; flex-shrink: 0; }
  .account-email { margin-bottom: 0; }
  .account-logout { width: auto; margin-left: auto; }
}
@media (max-width: 560px) {
  .auth-card { padding: 28px 22px 32px; }
  .account-main { padding: 22px 16px; }
}

/* =====================================================
 * 登录/注册页美化 v2（品牌感 + 精致表单）
 * ===================================================== */

/* 全局表单基础（补齐之前缺失的定义） */
input.form-input, select.form-input, textarea.form-input {
  width: 100%;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid #e4ded4;
  border-radius: 10px;
  padding: 14px 16px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
input.form-input::placeholder { color: #b9b2a4; }
input.form-input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(254,203,17,0.16);
}

.form-submit {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 28px;
  background: var(--yellow);
  color: var(--dark);
  border: none;
  border-radius: 10px;
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.form-submit:hover {
  background: #555555;
  color: var(--white);
  transform: translateY(-1px);
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin: 16px 0 6px;
}
.form-label:first-of-type { margin-top: 0; }

/* 登录卡片美化 */
.auth-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 44px 48px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.08);
}
.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}
.auth-brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
}
.auth-brand-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  letter-spacing: 1.5px;
  color: var(--dark);
}

/* 分段 tab 控件 */
.auth-tabs {
  display: flex;
  gap: 6px;
  background: var(--bg);
  padding: 5px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.auth-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 11px 12px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.auth-tab:hover { color: var(--dark); }
.auth-tab.active { background: var(--yellow); color: var(--dark); }

.auth-hint {
  font-size: 12px;
  color: var(--text-light);
  margin: 4px 0 0;
}

.auth-card .auth-msg { margin-top: 16px; }
.auth-card .form-submit { margin-top: 6px; }

/* ---------- 精选 / 自营标签 ---------- */
.product-src {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.src-select { background: rgba(85,85,85,0.92); color: #fff; }
.src-original { background: var(--yellow); color: var(--dark); }

.pd-meta-src {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.pd-meta-src.src-select { background: rgba(85,85,85,0.92); color: #fff; }
.pd-meta-src.src-original { background: var(--yellow); color: var(--dark); }

/* ---------- 精选/自营板块筛选 ---------- */
.source-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
}
.all-search + .source-filter, .source-filter + .all-search { margin-top: 0; }
.src-btn {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s ease;
}
.src-btn:hover { border-color: var(--dark); color: var(--dark); }
.src-btn.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}
.src-btn[data-src="original"].active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--dark);
}

/* ---------- PayPal 收款链接按钮 ---------- */
a.form-submit.pp-paylink {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

/* ---------- 结算物流选择 ---------- */
.co-shipping { margin: 10px 0 4px; display: flex; flex-direction: column; gap: 8px; }
.co-ship-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid #e0e0e0; border-radius: 8px;
  cursor: pointer; transition: border-color .15s, background .15s;
}
.co-ship-opt:hover { border-color: #c8a800; }
.co-ship-opt input[type="radio"] { accent-color: #FECB11; width: 16px; height: 16px; flex-shrink: 0; }
.co-ship-opt:has(input:checked) { border-color: #FECB11; background: #fffbe6; }
.co-ship-name { font-weight: 600; font-size: 14px; color: #222; }
.co-ship-desc { font-size: 12px; color: #888; flex: 1; }
.co-ship-fee { font-weight: 700; font-size: 14px; color: #222; white-space: nowrap; }
.acc-order-meta { font-size: 12px; color: #888; padding: 2px 0; }
.acc-order-pay-row {
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
  margin-top: 4px;
  text-align: right;
}
.acc-order-pay-row .acc-pay-btn {
  margin-left: 0;
}
.acc-pay-btn {
  display: inline-block; padding: 4px 14px; background: #FECB11; color: #1a1a1a;
  border-radius: 6px; font-size: 12px; font-weight: 600; text-decoration: none;
  margin-left: auto;
}
.acc-avatar-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.acc-avatar-wrap .account-avatar { margin: 0; }
.acc-avatar {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  background: #f0f0f0; border: 2px solid #FECB11; flex-shrink: 0;
}
.acc-avatar-upload {
  display: inline-block; padding: 8px 16px; background: #fff; border: 1px solid #e0e0e0;
  border-radius: 8px; font-size: 13px; cursor: pointer; color: #333;
  transition: all 0.2s; font-weight: 500;
}
.acc-avatar-upload:hover { background: #FECB11; border-color: #FECB11; color: #1a1a2e; }
.acc-avatar-upload input { display: none; }

/* 订单物流信息 */
.acc-order-tracking {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #f0f7ff;
  border-radius: 8px;
  margin-top: 8px;
  font-size: 13px;
  color: #1976d2;
}
.acc-order-tracking span { flex: 1; }
.acc-copy-btn {
  padding: 4px 12px;
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  margin-left: 10px;
}
.acc-copy-btn:hover { opacity: 0.85; }

/* ===== 页脚艾宝IP ===== */
.footer-ip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 6px;
}
.footer-ip-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.footer-ip-name {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
}

/* ===== 关于我们 - 艾宝IP介绍 ===== */
.about-ip-section {
  padding: 80px 0;
  background: #fff;
}
.about-ip-wrap {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
}
.about-ip-visual {
  flex-shrink: 0;
  text-align: center;
}
.about-ip-visual img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}
.about-ip-visual .ip-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 16px;
  background: #FECB11;
  color: #000;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}
.about-ip-text h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a1a;
}
.about-ip-text .ip-subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.about-ip-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 12px;
}
.about-ip-text .ip-highlight {
  color: #FECB11;
  font-weight: 600;
}
@media (max-width: 768px) {
  .about-ip-wrap {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

/* 页脚版权行logo */
.footer-copyright {
  text-align: center;
}
.footer-copyright-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #FECB11;
  vertical-align: middle;
}

/* 照片墙标题加短分割线 */
.about-gallery-title {
  position: relative;
  padding-top: 24px;
}
.about-gallery-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: #FECB11;
  border-radius: 2px;
}

/* 页脚分割线在aibao上面 */
.footer-ip {
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 8px;
}

/* 页脚明确分割线（在艾宝上面） */
.footer-divider {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 60px;
  height: 1px;
  background: rgba(0,0,0,0.25);
  margin-bottom: 6px;
}

/* 覆盖.footer-ip的border-top，用明确的分割线元素 */
.footer-ip {
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 8px;
}

/* 页脚分割线加深 */
.footer-divider {
  background: rgba(0,0,0,0.25) !important;
}

/* 去掉照片墙标题上面的短分割线 */
.about-gallery-title::before {
  display: none !important;
}
.about-gallery-title {
  padding-top: 0 !important;
}

/* 遇见艾宝板块下面加长分割线，和照片墙分开 */
.about-ip-section {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding-bottom: 60px;
  margin-bottom: 60px;
}

/* 页脚分割线以下内容垂直居中对齐 */
.footer-ip {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-bottom: 10px !important;
}
.footer-ip-logo {
  display: block;
  vertical-align: middle;
}
.footer-ip-name {
  line-height: 1;
  vertical-align: middle;
}
.footer-copyright {
  padding-top: 40px !important;
  margin-bottom: 10px !important;
}

/* 分割线以下内容垂直分布均匀，不靠上 */
.footer-divider {
  margin-bottom: 6px;
}
.footer-ip {
  margin-bottom: 16px;
}
.footer-copyright {
  margin-bottom: 16px;
}

/* 页脚分割线以下内容整体往下移 */
.footer-divider {
  margin-top: 60px !important;
  margin-bottom: 6px !important;
}

/* 遇见艾宝下面：去掉长分割线，改成短黄色线，居中 */
.about-ip-section {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  position: relative;
  padding-bottom: 50px;
  margin-bottom: 50px;
}
.about-ip-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #FECB11;
  border-radius: 2px;
}

/* 修复遇见艾宝分割线位置：确保padding生效，分割线在两个板块之间 */
.about-ip-section {
  padding-bottom: 60px !important;
  margin-bottom: 60px !important;
}
.about-ip-section::after {
  bottom: 0 !important;
}

/* 分割线加长，往下移，间距不变 */
.about-ip-section::after {
  width: 90px !important;
  bottom: -25px !important;
}

/* 账户页面hero区域艾宝logo */
.account-hero-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

/* 分割线三倍长，再往下移 */
.about-ip-section::after {
  width: 270px !important;
  bottom: -45px !important;
}

/* 账户页面logo改小 */
.account-hero-logo {
  width: 130px !important;
  height: 130px !important;
}

/* 账户页面标题旁边的logo */
.account-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.account-title-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* 遇见艾宝和上面板块的距离加大 */
.about-ip-section {
  margin-top: 80px !important;
}

/* 账户页面标题右边的logo，大小130px */
.account-title-logo {
  width: 130px !important;
  height: 130px !important;
}

/* 账户页面logo改成160px */
.account-title-logo {
  width: 160px !important;
  height: 160px !important;
}

/* 账户页面logo 200px，直接靠右 */
.account-title-logo {
  width: 200px !important;
  height: 200px !important;
  margin-left: auto !important;
}

/* 账户页面：标题行占满宽度，标题左、logo右，两边对称 */
.account-hero .hero-content {
  width: 100% !important;
}
.account-title-row {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.account-title-logo {
  margin-left: 0 !important;
}

/* 账户页面：logo在整个黄色区域右边，和标题垂直居中 */
.account-hero .hero-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.account-hero .hero-content {
  width: auto !important;
  flex: 1;
}
.account-hero-image {
  flex-shrink: 0;
  margin-left: 40px;
}
.account-hero-logo {
  width: 200px !important;
  height: 200px !important;
  object-fit: contain;
}

/* 服务页面品牌墙下方间距加大 */
.services-page .brands,
.brands {
  padding-bottom: 80px !important;
  margin-bottom: 0 !important;
}

/* 服务页面品牌墙和下方CTA之间的间距加大 */
section.brands {
  padding-bottom: 120px !important;
}

/* 品牌墙间距再加15px */
section.brands {
  padding-bottom: 135px !important;
}

/* 娱乐页面近期活动下方间距加20px */
.ent-section-alt {
  padding-bottom: calc(80px + 20px) !important;
}

/* 近期活动下方间距再加20px */
.ent-section-alt {
  padding-bottom: calc(80px + 40px) !important;
}

/* 全部视频和全部活动页面下方间距加40px */
.ent-section {
  padding-bottom: 130px !important;
}

/* 全部视频和全部活动页面上方间距加20px */
.ent-section {
  padding-top: 110px !important;
}

/* ========== 艾宝大头贴入口 · 对话气泡 ========== */
.ip-title-row {
  position: relative;
  padding-top: 52px;
}
.pb-bubble {
  position: absolute;
  top: -18px;
  left: 312px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 18px;
  padding: 8px 12px 8px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  max-width: calc(100vw - 48px);
}
/* 气泡尾巴：朝下指向标题 */
.pb-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 282px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid #fff;
}
.pb-bubble-text {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}
.pb-bubble-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FECB11;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform .2s;
  box-shadow: 0 4px 12px rgba(254,203,17,0.4);
}
.pb-bubble:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.16);
}
.pb-bubble:hover .pb-bubble-arrow { transform: translateX(4px); }
@media (max-width: 768px) {
  .ip-title-row { padding-top: 0; flex-direction: column; align-items: flex-start; }
  .pb-bubble { position: static; margin-bottom: 10px; }
}
