/* Product Page Styles */
.product-page {
    padding-bottom: 0;
    background-color: #0a0a14;
    background-image: linear-gradient(135deg, #0a0a14 0%, #1a1a2e 50%, #0a0a14 100%);
    position: relative;
    overflow: hidden;
}

.product-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="none" stroke="rgba(100,100,255,0.1)" stroke-width="1" d="M0,50 L100,50 M50,0 L50,100 M0,0 L100,100 M0,100 L100,0" /></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

/* Banner Styles */
.page-banner {
    position: relative;
    width: 100%;
    height: 300px;
    background: linear-gradient(90deg, #3023AE 0%, #7042DB 50%, #C86DD7 100%);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="none" stroke="rgba(255,255,255,0.15)" stroke-width="1" d="M0,0 L100,100 M0,20 L80,100 M20,0 L100,80 M0,40 L60,100 M40,0 L100,60 M0,60 L40,100 M60,0 L100,40 M0,80 L20,100 M80,0 L100,20" /></svg>');
}

.page-banner .banner-content {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

/* Breadcrumb Styles */
.breadcrumb-container {
    padding: 15px 0;
    background: linear-gradient(90deg, #16161f 0%, #232342 100%);
    border-bottom: 1px solid rgba(100, 100, 255, 0.2);
    position: relative;
    z-index: 1;
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: inline-block;
    margin-right: 5px;
    color: #a0a0ff;
}

.breadcrumb li:after {
    content: '>';
    margin-left: 5px;
    color: #7878b5;
}

.breadcrumb li:last-child:after {
    display: none;
}

.breadcrumb a {
    color: #a0a0ff;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #ffffff;
}

/* Section Title Styles */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #e0e0ff;
    text-shadow: 0 0 10px rgba(100, 100, 255, 0.3);
}

.title-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3023AE, #C86DD7);
    margin: 0 auto;
}

/* Product Section Styles */
.product-section {
    padding: 60px 0 0;
    background: linear-gradient(135deg, #121225 0%, #1d1d35 100%);
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

/* Product Categories */
.product-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.product-categories .category-item {
    padding: 12px 25px;
    margin: 0 10px 15px;
    background: rgba(30, 30, 60, 0.6);
    border: 1px solid rgba(100, 100, 255, 0.2);
    border-radius: 30px;
    color: #a0a0ff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.product-categories .category-item:hover {
    background: rgba(112, 66, 219, 0.2);
    border-color: #7042DB;
    transform: translateY(-2px);
}

.product-categories .category-item.active {
    background: linear-gradient(90deg, #3023AE, #7042DB);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(48, 35, 174, 0.3);
}

/* Product Type Title */
.product-type-title {
    margin-bottom: 30px;
    text-align: left;
}

.product-type-title h3 {
    font-size: 24px;
    font-weight: 600;
    color: #e0e0ff;
    margin: 0;
    padding-left: 15px;
    border-left: 4px solid #7042DB;
    text-shadow: 0 0 10px rgba(100, 100, 255, 0.2);
}

/* Product List */
.product-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px 60px;
}

.product-item {
    flex: 0 0 calc(25% - 30px);
    margin: 0 15px 40px;
    background: rgba(30, 30, 60, 0.6);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 100, 255, 0.1);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(100, 100, 255, 0.2);
}

.product-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%; /* 1:1 Aspect Ratio */
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.product-badge.new {
    background: linear-gradient(135deg, #3023AE, #7042DB);
    color: #fff;
    box-shadow: 0 5px 10px rgba(48, 35, 174, 0.3);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.product-info h4 a {
    color: #e0e0ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-info h4 a:hover {
    color: #7042DB;
}

/* Pagination */
.pagination-container {
    margin: 0 0 60px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pagination li {
    margin: 0 5px;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(30, 30, 60, 0.6);
    border: 1px solid rgba(100, 100, 255, 0.2);
    border-radius: 20px;
    color: #a0a0ff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination li a:hover {
    background: rgba(112, 66, 219, 0.2);
    border-color: #7042DB;
}

.pagination li.active span {
    background: linear-gradient(90deg, #3023AE, #7042DB);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(48, 35, 174, 0.3);
}

/* Product Detail Page Styles */
.product-detail-page .product-detail-section {
    padding: 60px 0;
}

/* Product Basic Info */
.product-basic-info {
    display: flex;
    margin-bottom: 60px;
    background: rgba(30, 30, 60, 0.4);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(100, 100, 255, 0.1);
    border: 1px solid rgba(100, 100, 255, 0.1);
}

/* Product Gallery */
.product-gallery {
    flex: 0 0 50%;
    padding: 30px;
    background: rgba(20, 20, 40, 0.4);
}

.product-main-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(15, 15, 30, 0.6);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.product-main-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    cursor: zoom-in;
}

.product-thumbnails {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.thumbnail {
    flex: 0 0 calc(20% - 10px);
    margin: 0 5px 10px;
    padding-top: calc(20% - 10px);
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(15, 15, 30, 0.6);
    border: 1px solid rgba(100, 100, 255, 0.1);
    transition: all 0.3s ease;
}

.thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.thumbnail.active {
    border: 2px solid #7042DB;
    box-shadow: 0 0 10px rgba(112, 66, 219, 0.5);
}

/* Product Info Details */
.product-info-details {
    flex: 0 0 50%;
    padding: 30px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #e0e0ff;
    margin: 0 0 10px;
    text-shadow: 0 0 10px rgba(100, 100, 255, 0.3);
}

.product-subtitle {
    font-size: 18px;
    color: #a0a0ff;
    margin-bottom: 20px;
    font-weight: 500;
}

.product-description {
    color: #d0d0ff;
    line-height: 1.6;
    margin-bottom: 30px;
}

.product-features {
    margin-bottom: 30px;
}

.product-features h3 {
    font-size: 20px;
    font-weight: 600;
    color: #e0e0ff;
    margin: 0 0 15px;
    padding-left: 15px;
    border-left: 3px solid #7042DB;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #d0d0ff;
    line-height: 1.5;
}

.feature-list li:before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3023AE, #7042DB);
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: linear-gradient(90deg, #3023AE, #7042DB);
    color: #fff;
    border: none;
    box-shadow: 0 5px 15px rgba(48, 35, 174, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(48, 35, 174, 0.4);
}

.btn-outline {
    background: transparent;
    color: #a0a0ff;
    border: 1px solid rgba(100, 100, 255, 0.3);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(112, 66, 219, 0.1);
    border-color: #7042DB;
    color: #e0e0ff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(48, 35, 174, 0.2);
}

/* 创建新的按钮样式，避免与common.css中的btn样式冲突 */
.gradient-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: linear-gradient(90deg, #3023AE, #7042DB);
    color: #fff;
    border: none;
    box-shadow: 0 5px 15px rgba(48, 35, 174, 0.3);
    height: auto;
    line-height: normal;
}

.gradient-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(90deg, #4033BE, #8052EB);
    box-shadow: 0 8px 20px rgba(48, 35, 174, 0.4);
}

/* 移除之前的按钮样式 */
.product-detail-page .btn-text,
.inner-message .btn-text,
.product-actions .btn-text,
.btn-text {
    display: none;
}

/* Product Specs */
.product-specs {
    margin-bottom: 60px;
    padding: 40px;
    background: rgba(30, 30, 60, 0.4);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(100, 100, 255, 0.1);
    border: 1px solid rgba(100, 100, 255, 0.1);
}

.specs-content {
    color: #d0d0ff;
    line-height: 1.6;
}

.specs-content h3 {
    font-size: 22px;
    color: #e0e0ff;
    margin: 30px 0 15px;
    padding-left: 15px;
    border-left: 3px solid #7042DB;
}

.specs-content h3:first-child {
    margin-top: 0;
}

.specs-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.specs-content table th,
.specs-content table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(100, 100, 255, 0.1);
}

.specs-content table th {
    color: #e0e0ff;
    font-weight: 600;
    background: rgba(20, 20, 40, 0.4);
}

.specs-content table tr:nth-child(even) {
    background: rgba(20, 20, 40, 0.2);
}

.specs-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

/* Related Products */
.related-products {
    margin-bottom: 60px;
}

.related-products .product-list {
    margin-bottom: 0;
}

.related-products .product-item {
    flex: 0 0 calc(25% - 30px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .related-products .product-item {
        flex: 0 0 calc(33.333% - 30px);
    }
}

@media (max-width: 992px) {
    .product-basic-info {
        flex-direction: column;
    }
    
    .product-gallery,
    .product-info-details {
        flex: 0 0 100%;
    }
    
    .product-title {
        font-size: 28px;
    }
    
    .related-products .product-item {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .product-specs {
        padding: 30px 20px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .thumbnail {
        flex: 0 0 calc(25% - 10px);
        padding-top: calc(25% - 10px);
    }
}

@media (max-width: 576px) {
    .product-gallery {
        padding: 20px;
    }
    
    .product-info-details {
        padding: 20px;
    }
    
    .related-products .product-item {
        flex: 0 0 calc(100% - 30px);
    }
    
    .thumbnail {
        flex: 0 0 calc(33.333% - 10px);
        padding-top: calc(33.333% - 10px);
    }
} 