/* 产品目录区块 - 完全样式隔离 */
.mural-manual-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0;
  box-sizing: border-box;
}

.mural-manual-container * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.mural-manual-book-spread {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 20px 60px rgba(0, 0, 0, 0.4),
    0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  position: relative;
  overflow: hidden;
}

/* 书脊中缝效果 */
.mural-manual-book-spread::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  z-index: 15;
  transform: translateX(-50%);
}

.mural-manual-page {
  flex: 1;
  padding: 25px 30px;
  position: relative;
  background: #fefefe;
}

.mural-manual-page-left {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #fefefe 0%, #f8f8f8 100%);
  /* 左页：右侧向中心的凹陷阴影 */
  background-image: linear-gradient(
    to right,
    transparent 0%,
    transparent 85%,
    rgba(0, 0, 0, 0.02) 90%,
    rgba(0, 0, 0, 0.08) 95%,
    rgba(0, 0, 0, 0.15) 98%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

.mural-manual-page-right {
  background: linear-gradient(135deg, #f8f8f8 0%, #fefefe 100%);
  /* 右页：左侧向中心的凹陷阴影 */
  background-image: linear-gradient(
    to left,
    transparent 0%,
    transparent 85%,
    rgba(0, 0, 0, 0.02) 90%,
    rgba(0, 0, 0, 0.08) 95%,
    rgba(0, 0, 0, 0.15) 98%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

/* 添加中缝区域的深度阴影 */
.mural-manual-page-left::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.15) 30%,
    rgba(0, 0, 0, 0.05) 60%,
    transparent 100%
  );
  z-index: 5;
}

.mural-manual-page-right::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.15) 30%,
    rgba(0, 0, 0, 0.05) 60%,
    transparent 100%
  );
  z-index: 5;
}

/* 页眉 */
.mural-manual-page-header {
  font-size: 11px;
  color: #666;
  font-weight: 400;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 10;
}

/* 页面标题链接样式 */
.mural-manual-page-header-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.mural-manual-page-header-link:hover {
  color: #0066cc;
  text-decoration: underline;
}

.mural-manual-page-left .mural-manual-page-header {
  text-align: left;
}

.mural-manual-page-right .mural-manual-page-header {
  text-align: right;
}

/* 左页主图区域 */
.mural-manual-main-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

/* 主图片样式 */
.mural-manual-main-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

/* 用CSS设计场景 */
.mural-manual-room-scene {
  width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(to bottom, #e8e8e8 0%, #d5d5d5 100%);
}

/* 装饰 */
.mural-manual-wall-art {
  position: absolute;
  top: 50px;
  left: 50px;
  right: 50px;
  height: 200px;
  background: linear-gradient(
    135deg,
    #a8c8e1 0%,
    #7fb3d3 25%,
    #d4b896 50%,
    #c9a876 75%,
    #8bb3c7 100%
  );
  border-radius: 8px;
  overflow: hidden;
}

/* 几何图案 */
.mural-manual-wall-art::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      ellipse at 20% 50%,
      rgba(255, 255, 255, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 30%,
      rgba(255, 255, 255, 0.2) 0%,
      transparent 40%
    ),
    linear-gradient(
      45deg,
      transparent 30%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 70%
    );
}

/* 沙发 */
.mural-manual-sofa {
  position: absolute;
  bottom: 80px;
  left: 80px;
  right: 80px;
  height: 120px;
  background: linear-gradient(to bottom, #b8b8b8 0%, #a0a0a0 100%);
  border-radius: 12px 12px 4px 4px;
}

.mural-manual-sofa::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 20px;
  right: 20px;
  height: 40px;
  background: linear-gradient(to bottom, #c5c5c5 0%, #b0b0b0 100%);
  border-radius: 8px;
}

/* 茶几 */
.mural-manual-coffee-table {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 40px;
  background: linear-gradient(to bottom, #f5f5f5 0%, #e0e0e0 100%);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 台灯 */
.mural-manual-lamp {
  position: absolute;
  bottom: 120px;
  width: 20px;
  height: 60px;
  background: linear-gradient(to bottom, #ddd 0%, #bbb 100%);
  border-radius: 2px;
}

.mural-manual-lamp-left {
  left: 60px;
}

.mural-manual-lamp-right {
  right: 60px;
}

.mural-manual-lamp::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -10px;
  width: 40px;
  height: 20px;
  background: linear-gradient(to bottom, #f8f8f8 0%, #e8e8e8 100%);
  border-radius: 50%;
}

/* 页码 */
.luxury-series-page-number-area {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.luxury-series-page-right .luxury-series-page-number-area {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}

.luxury-series-page-number-area::before,
.luxury-series-page-number-area::after {
  content: "";
  width: min(8vw, 60px);
  height: 1px;
  background: #ccc;
}

.luxury-series-page-number-area::before {
  margin-right: min(2vw, 15px);
}

.luxury-series-page-number-area::after {
  margin-left: min(2vw, 15px);
}

.luxury-series-page-number {
  font-size: 14px;
  color: #999;
  font-weight: 300;
}

/* 目录部分 */
.mural-manual-contents-section {
  position: relative;
  margin-bottom: 15px;
  z-index: 10;
}

.mural-manual-contents-title {
  font-size: 16px;
  color: #333;
  margin-bottom: 6px;
  font-weight: 500;
}



.mural-manual-contents-subtitle {
  font-size: 22px;
  color: #777;
  margin-bottom: 16px;
  font-weight: 600;
}

.mural-manual-contents-list {
  list-style: none;
}

.mural-manual-contents-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.mural-manual-contents-item:hover {
  background: rgba(0, 0, 0, 0.02);
  padding-left: 6px;
  border-bottom-color: #ddd;
}

.mural-manual-contents-item:last-child {
  border-bottom: none;
}

.mural-manual-item-title {
  font-size: 13px;
  color: #333;
  font-weight: 400;
  line-height: 1.4;
}

.mural-manual-item-page {
  font-size: 13px;
  color: #999;
  font-weight: 300;
  min-width: 25px;
  text-align: right;
}

.mural-manual-contents-item:hover .mural-manual-item-title {
  color: #0066cc;
}

.mural-manual-contents-item:hover .mural-manual-item-page {
  color: #0066cc;
}

/* 点击效果 */
.mural-manual-contents-item:active {
  transform: translateX(2px);
}

/* 有链接的目录项样式 */
.mural-manual-contents-item[data-link]:not([data-link=""]) {
  transition: all 0.3s ease;
}

.mural-manual-contents-item[data-link]:not([data-link=""]):hover {
  background-color: #e6f3ff !important;
  transform: translateX(3px);
}

.mural-manual-contents-item[data-link]:not([data-link=""]):hover
  .mural-manual-item-title {
  color: #0056b3 !important;
}

/* 链接图标动画 */
.mural-manual-contents-item[data-link]:not([data-link=""]):hover
  .mural-manual-item-title
  span {
  animation: mural-manual-linkBounce 0.6s ease-in-out;
}

@keyframes mural-manual-linkBounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* 加载动画 */
@keyframes mural-manual-fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mural-manual-book-spread {
  animation: mural-manual-fadeIn 0.8s ease-out;
}

/* 移动端适配 - 小于750px改为上下布局 */
@media (max-width: 750px) {
  .mural-manual-container {
    min-height: auto;
    padding: 0;
    background-image: none;
  }

  .mural-manual-page-header {
    margin-bottom: 15px;
  }

  .mural-manual-book-spread {
    overflow: visible;
    flex-direction: column;
    width: 100%;
    height: auto;
    gap: 12px;
    box-shadow: none;
  }

  .mural-manual-main-visual {
    margin-bottom: 35px;
  }

  .mural-manual-page {
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .mural-manual-page-left {
    background: none;
  }

  .mural-manual-page-right {
    background: none;
  }

  /* 移动端阴影效果调整 */
  .mural-manual-page-left::after {
    content: none;
    background: none;
  }

  .mural-manual-page-right::after {
    content: none;
  }
}


/* 大屏幕优化 */
@media (min-width: 960px) {
  .mural-manual-book-spread {
    min-height: 700px;
  }
}

@media (min-width: 1200px) {
  .mural-manual-container {
    width: 90vw;
    margin-left: calc(50% - 45vw);
    margin-right: calc(50% - 45vw);
  }
}
