/* CSS Document */

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

:root {
--primary: #FF6B35;
--primary-dark: #E05A2B;
--primary-light: #FF9E6D;
--secondary: #4A6572;
--accent: #F9AA33;
--background: #FFF9F5;
--card-bg: #FFFFFF;
--text-dark: #333333;
--text-medium: #666666;
--text-light: #999999;
--divider: #EEEEEE;
--shadow: rgba(0, 0, 0, 0.08);
}

body {
background-color: var(--background);
color: var(--text-dark);
padding-bottom: 70px;
overflow-x: hidden;
}

/* 顶部导航 */
.top-bar {
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
color: white;
padding: 15px;
display: flex;
justify-content: space-between;
align-items: center;
position: sticky;
top: 0;
z-index: 100;
box-shadow: 0 2px 10px var(--shadow);
}

.logo {
font-size: 1.4rem;
font-weight: 700;
display: flex;
align-items: center;
}

.logo-icon {
width: 30px;
height: 30px;
background: white;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary);
margin-right: 10px;
font-weight: bold;
}

.nav-btn {
width: 36px;
height: 36px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.2);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
font-weight: bold;
}

.nav-btn:hover {
background: rgba(255, 255, 255, 0.3);
}

/* 产品详情区域 */
.product-detail-container {
margin: 15px;
border-radius: 16px;
overflow: hidden;
background: var(--card-bg);
box-shadow: 0 3px 10px var(--shadow);
}

.product-hero {
position: relative;
padding: 20px;
text-align: center;
}

.product-image {
width: 100%;
max-width: 280px;
height: 280px;
margin: 0 auto 15px;
background: linear-gradient(135deg, #4A6572, #263238);
display: flex;
align-items: center;
justify-content: center;
color: white;
border-radius: 16px;
font-size: 1.2rem;
font-weight: 500;
}

.product-tag {
position: absolute;
top: 30px;
right: 30px;
background: var(--accent);
color: white;
padding: 5px 12px;
border-radius: 20px;
font-size: 0.85rem;
font-weight: 600;
}

.product-title {
font-size: 1.6rem;
font-weight: 700;
margin-bottom: 10px;
color: var(--text-dark);
line-height: 1.3;
}

.product-subtitle {
font-size: 1rem;
color: var(--text-medium);
margin-bottom: 15px;
}

.product-info {
padding: 0 20px 20px;
}

.price-section {
display: flex;
justify-content: space-between;
align-items: center;
padding-bottom: 15px;

margin-bottom: 15px;
border-bottom: 1px solid var(--divider);
}

.original-price {
font-size: 1.1rem;
color: var(--text-light);
text-decoration: line-through;
}

.current-price {
font-size: 1.8rem;
font-weight: 800;
color: var(--primary);
}

.product-meta {
display: flex;
flex-wrap: wrap;
gap: 15px;
margin-bottom: 20px;
}

.meta-item {
flex: 1;
min-width: 120px;
}

.meta-title {
font-size: 0.85rem;
color: var(--text-light);
margin-bottom: 5px;
}

.meta-value {
font-size: 1.1rem;
font-weight: 600;
color: var(--text-dark);
}

.service-info {
background: #FFF0E6;
padding: 15px;
border-radius: 12px;
margin-bottom: 20px;
}

.info-item {
display: flex;
margin-bottom: 12px;
}

.info-item:last-child {
margin-bottom: 0;
}

.info-title {
font-weight: 600;
color: var(--primary-dark);
min-width: 90px;
}

.info-value {
flex: 1;
color: var(--text-dark);
}

.action-buttons {
display: flex;
gap: 15px;
margin-bottom: 25px;
}

.btn-primary {
flex: 1;
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
color: white;
border: none;
border-radius: 30px;
padding: 14px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
box-shadow: 0 4px 12px rgba(255,107,53,0.3);
transition: all 0.3s ease;
}

.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 15px rgba(255,107,53,0.4);
}

.btn-secondary {
flex: 1;
background: white;
color: var(--primary);
border: 2px solid var(--primary);
border-radius: 30px;
padding: 14px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}

.btn-secondary:hover {
background: #FFF0E6;
transform: translateY(-2px);
}

.detail-section {
margin-top: 25px;
}

.section-title {
font-size: 1.3rem;
color: var(--primary-dark);
font-weight: 700;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 2px solid #FFF0E6;
}

.detail-content {
line-height: 1.8;
color: var(--text-medium);
}

.detail-content p {
margin-bottom: 15px;
}

.feature-list {
list-style: none;
margin: 20px 0;
}

.feature-item {
padding: 12px 15px;
background: #FFF9F2;
border-left: 4px solid var(--primary);
margin-bottom: 10px;
border-radius: 0 8px 8px 0;
}

/* 广告区域 */
.ad-container {
margin: 15px;
display: flex;
flex-direction: column;
gap: 15px;
}

.ad-banner {
height: 120px;
border-radius: 16px;
background: linear-gradient(135deg, var(--primary-light), var(--accent));
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.2rem;
font-weight: 600;
text-align: center;
padding: 0 20px;
box-shadow: 0 4px 10px var(--shadow);
}

.ad-banner:nth-child(2) {
background: linear-gradient(135deg, #4A6572, #344955);
}

.ad-banner:nth-child(3) {
background: linear-gradient(135deg, #F9AA33, #FFB74D);
}

/* 复制链接按钮 */
.copy-link-container {
margin: 20px 15px;
text-align: center;
}

.copy-link-btn {
background: white;
border: 1px solid var(--primary);
border-radius: 30px;
padding: 12px 25px;
font-size: 1rem;
color: var(--primary);
font-weight: 600;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 8px;
transition: all 0.3s ease;
}

.copy-link-btn:hover {
background: #FFF0E6;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(255,107,53,0.2);
}

.copy-success {
margin-top: 10px;
color: var(--primary);
font-size: 0.9rem;
font-weight: 500;
display: none;
}

/* 联系方式 */
.contact-section {
margin: 15px;
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
border-radius: 16px;
padding: 25px 20px;
text-align: center;
box-shadow: 0 6px 16px var(--shadow);
color: white;
}

.contact-title {
font-size: 1.3rem;
margin-bottom: 20px;
font-weight: 700;
}

.contact-info {
font-size: 1rem;
margin-bottom: 12px;
display: flex;
align-items: center;
justify-content: center;
}

.contact-phone {
font-size: 1.6rem;
font-weight: 800;
margin: 15px 0;
letter-spacing: 1px;
}

.contact-btn {
display: inline-block;
background: white;
color: var(--primary-dark);
padding: 12px 30px;
border-radius: 30px;
font-weight: 700;
text-decoration: none;
margin-top: 10px;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 底部信息 */
.footer {
text-align: center;
padding: 25px 15px 15px;
color: var(--text-light);
font-size: 0.85rem;
line-height: 1.6;
}

.social-icons {
display: flex;
justify-content: center;
gap: 20px;
margin-bottom: 20px;
}

.social-icon {
width: 38px;
height: 38px;
border-radius: 50%;
background: #FFF0E6;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary);
font-size: 1.1rem;
font-weight: bold;
}

/* 底部导航 */
.bottom-nav {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: var(--card-bg);
display: flex;
box-shadow: 0 -4px 12px var(--shadow);
z-index: 100;
padding: 8px 0;
border-top: 1px solid var(--divider);
}

.nav-item {
flex: 1;
text-align: center;
font-size: 0.75rem;
color: var(--text-medium);
text-decoration: none;
display: flex;
flex-direction: column;
align-items: center;
transition: all 0.3s ease;
}

.nav-icon {
width: 26px;
height: 26px;
margin-bottom: 4px;
background: #FFF0E6;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary);
font-size: 1rem;
transition: all 0.3s ease;
font-weight: bold;
}

.nav-item.active {
color: var(--primary-dark);
font-weight: 600;
}

.nav-item.active .nav-icon {
background: linear-gradient(135deg, var(--primary), var(--accent));
color: white;
transform: translateY(-5px);
}

/* 导航菜单 */
.nav-menu {
position: fixed;
top: 0;
right: -300px;
width: 280px;
height: 100%;
background: var(--card-bg);
z-index: 1000;
box-shadow: -5px 0 15px rgba(0,0,0,0.1);
transition: right 0.4s ease;
padding: 70px 20px 20px;
}

.nav-menu.active {
right: 0;
}

.nav-menu h3 {
color: var(--primary-dark);
margin-bottom: 25px;
font-size: 1.4rem;
padding-bottom: 10px;
border-bottom: 2px solid var(--primary-light);
}

.menu-items {
list-style: none;
}

.menu-item {
padding: 16px 0;
border-bottom: 1px solid var(--divider);
}

.menu-item a {
text-decoration: none;
color: var(--text-dark);
font-weight: 500;
display: flex;
align-items: center;
transition: all 0.2s;
}

.menu-item a:hover {
color: var(--primary);
padding-left: 5px;
}

.menu-icon {
width: 28px;
height: 28px;
background: #FFF0E6;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 15px;
color: var(--primary);
font-weight: bold;
}

.overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.5);
z-index: 999;
display: none;
}

.overlay.active {
display: block;
}

.close-btn {
position: absolute;
top: 20px;
right: 20px;
width: 36px;
height: 36px;
border-radius: 50%;
background: #FFF0E6;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: var(--primary);
font-weight: bold;
}

a {
text-decoration: none;
}

/* 面包屑导航样式 */
.breadcrumb {
  padding: 12px 20px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #eaeaea;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.breadcrumb .divider {
  margin: 0 8px;
  color: var(--text-medium);
}

.breadcrumb .current {
  color: var(--text-dark);
  font-weight: 500;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}