/*
Theme Name: Hoobuy Promotional
Description: A clean, modern WordPress theme for Hoobuy promotional landing page with SEO optimization, dynamic FAQ management, and responsive design
Version: 1.1
Author: Hoobuy Team
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #444;
    background-color: #fff;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ff6b6b;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: 2px solid;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: white;
    border-color: white;
    color: #ff6b6b;
}

.btn-primary:hover {
    background-color: transparent;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border-color: white;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: #ff6b6b;
}

/* Product Categories */
.categories {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.categories .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 20px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.category-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 500;
}

.category-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
}

.featured-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    font-weight: 600;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    padding-bottom: 100%; /* 创建正方形比例 */
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.product-image > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image .product-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.product-image .product-icon {
    font-size: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Force products to stay visible - Homepage */
.featured-products .products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 200px !important;
}

.featured-products .product-card {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    height: 100% !important;
    padding: 20px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.featured-products .product-card:hover {
    border-color: #ff6b35 !important;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.2) !important;
    transform: translateY(-2px) !important;
}

.featured-products .product-image {
    width: 100% !important;
    padding-bottom: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    background: #f8f9fa !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.featured-products .product-image > * {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.featured-products .product-image .product-thumbnail {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Force products to stay visible - All Products Page */
.all-products-page .products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    margin-top: 20px !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 200px !important;
}

.all-products-page .product-card {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    height: 100% !important;
    padding: 20px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.all-products-page .product-card:hover {
    border-color: #ff6b35 !important;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.2) !important;
    transform: translateY(-2px) !important;
}

.all-products-page .product-image {
    width: 100% !important;
    padding-bottom: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    background: #f8f9fa !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.all-products-page .product-image > * {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.all-products-page .product-image .product-thumbnail {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Hide WordPress default header div */
#header {
    display: none !important;
}

.page-header {
    background: white;
    padding: 25px 0;
    text-align: center;
    color: #333;
    margin-top: 0;
}

.page-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    text-shadow: none;
}

.page-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0;
    text-shadow: none;
}

.products-filters {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.products-filters .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.filters-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.category-filter {
    position: relative;
    flex: 1;
    max-width: 200px;
}

.category-dropdown-btn {
    background: white;
    border: 2px solid #e9ecef;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: space-between;
}

.category-dropdown-btn:hover {
    border-color: #007bff;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.category-dropdown-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.category-dropdown-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.category-dropdown-btn.loading .dropdown-arrow {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.category-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.category-dropdown.show {
    display: block;
}

.category-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
}

.category-item:hover {
    background: #f8f9fa;
}

.category-item:last-child {
    border-bottom: none;
}

.sorting-options {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.sort-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #666;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 60px;
    white-space: nowrap;
}

.sort-btn:hover {
    border-color: #007bff;
    color: #007bff;
}

.sort-btn.active {
    background: #007bff;
    border-color: #007bff;
    color: white;
}

.products-section {
    padding: 20px 0;
    background: #f8f9fa;
}

.products-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* All Products Page specific grid styles */
.all-products-page .products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px;
    margin-top: 20px;
}

/* Ensure product images display correctly on All Products page */
.all-products-page .product-image {
    width: 100% !important;
    padding-bottom: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    background: #f8f9fa !important;
}

.all-products-page .product-image > * {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.all-products-page .product-image .product-thumbnail {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
}

/* Debug: Force image visibility */
.all-products-page .product-image img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: none !important;
    max-height: none !important;
}

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    padding-bottom: 100%;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.product-image > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image .product-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.product-image .product-icon {
    font-size: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    position: relative;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: #e74c3c;
    line-height: 1;
}

.view-count {
    color: #86868b;
    font-size: 1rem;
    line-height: 1;
}

.eye-icon {
    font-size: 0.8rem;
}

.btn-view-details {
    background: #007bff;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-view-details:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.1rem;
}

.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.pagination li {
    display: inline-block;
}

.pagination a,
.pagination span {
    display: block;
    padding: 10px 15px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    border-color: #007bff;
    color: #007bff;
}

.pagination .current {
    background: #007bff;
    border-color: #007bff;
    color: white;
}



/* Product Slider Styles */
.product-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-slider .slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-slider .slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-slider .slider-image.active {
    opacity: 1;
    position: relative;
}

.product-slider .slider-prev,
.product-slider .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    transition: background 0.3s ease;
}

.product-slider .slider-prev:hover,
.product-slider .slider-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.product-slider .slider-prev {
    left: 10px;
}

.product-slider .slider-next {
    right: 10px;
}

.product-slider .slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.product-slider .slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.product-slider .slider-dots .dot.active {
    background: rgba(255, 255, 255, 1);
}

.product-slider .slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    min-height: 2.8em;
    flex: 1;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 15px;
    line-height: 1;
}

.btn-view {
    background-color: #ff6b6b;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    width: 100%;
}

.btn-view:hover {
    background-color: #ff5252;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    transition: background-color 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.8;
}

.faq-answer p {
    margin: 0;
    line-height: 1.8;
}

.faq-answer p:not(:last-child) {
    margin-bottom: 10px;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #ff6b6b;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.faq-question:hover .faq-toggle {
    transform: scale(1.2);
}

/* Articles Section */
.articles {
    padding: 80px 0;
}

.articles-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.articles-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 30px !important;
    margin-top: 50px !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 200px !important;
}

.article-card {
    background: white !important;
    border-radius: 10px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    transition: transform 0.3s ease !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 200px !important;
}

.article-card:hover {
    transform: translateY(-5px) !important;
}

.article-content {
    padding: 25px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.article-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
    /* Two lines with ellipsis */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4 !important;
    max-height: calc(1.4em * 2) !important; /* 2 lines */
    word-break: break-word !important;
}

.article-excerpt {
    color: #666 !important;
    margin-bottom: 20px !important;
    line-height: 1.6 !important;
    /* Two lines with ellipsis */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-height: calc(1.6em * 2) !important; /* 2 lines */
    word-break: break-word !important;
    white-space: normal !important;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.article-date {
    color: #999;
}

.read-more {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #333 !important;
    color: white !important;
    padding: 40px 0 !important;
    text-align: center !important;
}

.footer-content {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    text-align: center !important;
    display: block !important;
}

.footer-content p {
    margin: 0 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

.footer-links {
    margin-top: 20px !important;
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    align-items: center !important;
}

.footer-links a {
    color: white !important;
    text-decoration: none !important;
    margin: 0 !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    transition: background-color 0.3s ease !important;
    display: inline-block !important;
}

.footer-links a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    text-decoration: none !important;
}

/* Floating Action Button */
/* Floating Action Buttons Container */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.fab {
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.fab svg {
    width: 24px;
    height: 24px;
}

/* Individual button colors */
.fab-telegram {
    background: linear-gradient(135deg, #0088cc, #229ED9);
}

.fab-telegram:hover {
    background: linear-gradient(135deg, #006699, #0088cc);
}

.fab-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.fab-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
}

.fab-discord {
    background: linear-gradient(135deg, #5865F2, #7289DA);
}

.fab-discord:hover {
    background: linear-gradient(135deg, #4752C4, #5865F2);
}

.fab-yupoo {
    background: linear-gradient(135deg, #FF6B6B, #FF5252);
}

.fab-yupoo:hover {
    background: linear-gradient(135deg, #E74C3C, #FF6B6B);
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .filters-row {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .sorting-options {
        justify-content: center;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Mobile header styles */
    .header {
        padding: 15px 0;
    }
    
    .header-container {
        padding: 0 15px;
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 1001;
        padding: 20px;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
        margin-top: 60px;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-menu a {
        font-size: 18px;
        padding: 10px 0;
        display: block;
        border-bottom: 1px solid #f0f0f0;
    }
    
    /* Body scroll lock when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Mobile hero styles */
    .hero {
        padding: 40px 0;
        margin-top: 0;
    }
    
    .hero-container {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        max-width: 200px;
        width: 100%;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .filters-row {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }
    
    .category-filter {
        flex: 0 0 auto;
        max-width: 140px;
        min-width: 120px;
    }
    
    .category-dropdown-btn {
        min-width: auto;
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .sorting-options {
        flex-direction: row;
        gap: 5px;
        flex: 1;
        justify-content: flex-end;
    }
    
    .sort-btn {
        padding: 10px 10px;
        font-size: 0.75rem;
        min-width: auto;
        flex: 0 0 auto;
    }
    
    .page-header {
        padding: 20px 0;
    }
    
    .page-header .container,
    .products-filters .container,
    .products-section .container {
        padding: 0 15px;
    }
    
    /* All Products Page responsive grid */
    .all-products-page .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
    
    .products-filters {
        padding: 18px 0;
    }
    
    .products-section {
        padding: 18px 0;
    }
    
    .category-dropdown-btn {
        min-width: auto;
        padding: 10px 12px;
    }
    
    .sorting-options {
        flex-wrap: nowrap;
        gap: 5px;
    }
    
    .sort-btn {
        flex: 0 0 auto;
        min-width: auto;
        padding: 10px 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }
    
    .footer-links {
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        justify-content: center !important;
    }
    
    .footer-links a {
        display: inline-block !important;
        width: auto !important;
        text-align: center !important;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .fab-container {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .fab {
        width: 50px;
        height: 50px;
    }
    
    .fab svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .categories,
    .featured-products,
    .faq,
    .articles {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .categories .section-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 0.9rem;
    }
    
    .filters-row {
        flex-direction: row;
        gap: 8px;
        align-items: center;
    }
    
    .category-filter {
        flex: 0 0 auto;
        max-width: 110px;
        min-width: 100px;
    }
    
    .category-dropdown-btn {
        min-width: auto;
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    
    .sorting-options {
        flex-direction: row;
        gap: 4px;
        flex: 1;
        justify-content: flex-end;
    }
    
    .sort-btn {
        padding: 8px 8px;
        font-size: 0.7rem;
        min-width: auto;
        flex: 0 0 auto;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* All Products Page mobile header styles */
    .all-products-page .header {
        padding: 15px 0;
    }
    
    .all-products-page .header-container {
        padding: 0 15px;
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }
    
    .all-products-page .mobile-menu-toggle {
        display: flex;
    }
    
    .all-products-page .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 1001;
        padding: 20px;
        gap: 0;
    }
    
    .all-products-page .nav-menu.active {
        left: 0;
    }
    
    .all-products-page .nav-menu ul {
        flex-direction: column;
        gap: 20px;
        margin-top: 60px;
    }
    
    .all-products-page .nav-menu li {
        margin: 0;
    }
    
    .all-products-page .nav-menu a {
        font-size: 18px;
        padding: 10px 0;
        display: block;
        border-bottom: 1px solid #f0f0f0;
    }
    
    /* All Products Page mobile hero styles */
    .all-products-page .page-header {
        padding: 20px 0;
        margin-top: 0;
    }
    
    .all-products-page .page-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 10px;
    }
    
    .all-products-page .page-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .page-header {
        padding: 15px 0;
    }
    
    .page-header .container,
    .products-filters .container,
    .products-section .container {
        padding: 0 10px;
    }
    
    /* All Products Page mobile grid */
    .all-products-page .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .products-filters {
        padding: 15px 0;
    }
    
    .products-section {
        padding: 15px 0;
    }
    
    .category-dropdown-btn {
        min-width: auto;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .sort-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .product-card {
        margin-bottom: 15px;
    }
    
    .product-name {
        font-size: 1rem;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
    
    .btn-view-details {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .products-grid {
        gap: 12px;
    }
    
    .product-image {
        padding-bottom: 100%;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .view-count {
        font-size: 0.8rem;
    }
    
    .footer {
        padding: 30px 0 !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        text-align: center !important;
    }
    
    .footer-content p {
        margin-bottom: 15px !important;
        font-size: 0.9rem;
    }
    
    .footer-links {
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        justify-content: center !important;
        margin-top: 15px !important;
    }
    
    .footer-links a {
        display: inline-block !important;
        width: auto !important;
        text-align: center !important;
        padding: 6px 12px !important;
        font-size: 0.9rem;
    }
}

/* Product Detail Page Styles */
.product-detail-page {
    padding: 20px 0;
    background: #fff;
}

.product-detail-page .container {
    max-width: 1200px !important;
    margin: 0 auto;
    padding: 0 20px;
}

/* Product Detail Content Wrapper */
.product-detail-wrapper {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin: 20px auto;
    padding: 30px;
}

.breadcrumb {
    background: #f8f8f8;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 30px;
}

.breadcrumb a {
    color: #007cba;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    margin-top: 20px;
}

/* Product Images */
.product-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.main-image {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    position: relative;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Zoom Icon - 放大镜图标按钮 */
.zoom-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
    color: #333;
}

.zoom-icon:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: scale(1.1);
}

.zoom-icon svg {
    width: 22px;
    height: 22px;
}

/* Zoom Modal - 放大图片模态框 */
.zoom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

.zoom-modal-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoomed-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.no-image {
    color: #666;
    font-size: 18px;
}

.image-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    justify-content: center;
}

.thumbnail-item {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    flex-shrink: 0;
}

.thumbnail-item.active {
    border-color: #ff6b35;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.no-thumbnail {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #666;
    font-size: 12px;
    border-radius: 6px;
}

/* Product Info */
.product-info {
    color: #1d1d1f;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-left: 0;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    line-height: 1.2;
}

.product-price-views {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: #e74c3c;
}

.product-views {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 14px;
}

.views-icon {
    font-size: 16px;
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-buy {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.btn-buy:hover {
    background: #e55a2b;
    border-color: #e55a2b;
}

.btn-weidian,
.btn-collection,
.btn-share {
    background: white;
    color: #ff6b35;
    border-color: #ff6b35;
}

.btn-weidian:hover,
.btn-collection:hover,
.btn-share:hover {
    background: #ff6b35;
    color: white;
}

.btn-icon {
    font-size: 16px;
}


/* Product Detail Page Responsive Design */
@media (max-width: 768px) {
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .main-image {
        max-width: 100%;
    }
    
    .product-detail-page .container {
        padding: 0 20px;
    }
    
    .product-detail-wrapper {
        margin: 15px auto;
        padding: 20px;
    }
    
    .product-images {
        padding: 15px;
    }
    
    .breadcrumb {
        padding: 12px 16px;
        margin-bottom: 20px;
    }
    
    .product-info {
        padding-left: 0;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
    
    .action-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .action-buttons .btn {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .image-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
}

@media (max-width: 480px) {
    .product-detail-page {
        padding: 10px 0;
    }
    
    .product-detail-page .container {
        padding: 0 15px;
    }
    
    .product-detail-wrapper {
        margin: 10px auto;
        padding: 15px;
    }
    
    .product-images {
        padding: 10px;
    }
    
    .breadcrumb {
        padding: 10px 12px;
        margin-bottom: 15px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-price {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .action-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .action-buttons .btn {
        padding: 9px 8px;
        font-size: 0.8rem;
    }
    
    .image-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    
    .thumbnail-item {
        min-height: 60px;
    }
    
}

/* Featured Products Mobile Responsive */
@media (max-width: 768px) {
    .featured-products .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .featured-products .product-card {
        padding: 15px !important;
    }
    
    .featured-products .product-name {
        font-size: 0.9rem !important;
        margin-bottom: 10px !important;
    }
    
    .featured-products .product-price-row {
        margin-bottom: 10px !important;
    }
    
    .featured-products .product-price {
        font-size: 0.9rem !important;
    }
    
    .featured-products .view-count {
        font-size: 0.8rem !important;
    }
    
    .featured-products .btn-view {
        padding: 8px 16px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .featured-products .products-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .featured-products .product-card {
        padding: 12px !important;
    }
    
    .featured-products .product-name {
        font-size: 0.85rem !important;
        margin-bottom: 8px !important;
    }
    
    .featured-products .product-price-row {
        margin-bottom: 8px !important;
    }
    
    .featured-products .product-price {
        font-size: 0.85rem !important;
    }
    
    .featured-products .view-count {
        font-size: 0.75rem !important;
    }
    
    .featured-products .btn-view {
        padding: 6px 12px !important;
        font-size: 0.85rem !important;
    }
}

/* Related Products */
.related-products {
    margin-top: 50px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 30px;
}

.related-products-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 40px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-product-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px !important;
}

.related-product-card:hover {
    border-color: #ff6b35;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.2);
    transform: translateY(-2px);
}

.related-product-image {
    width: 100%;
    aspect-ratio: 1;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-product-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-product-card:hover .related-product-thumbnail {
    transform: scale(1.05);
}

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

.related-product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    min-height: 2.8em;
    flex: 1;
}

.related-product-name a {
    color: inherit;
    text-decoration: none;
}

.related-product-name a:hover {
    color: #ff6b35;
}

.related-product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
}

.related-product-price {
    font-size: 1rem;
    font-weight: 700;
    color: #e74c3c;
    line-height: 1;
}

.related-product-views {
    color: #86868b;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-related-buy {
    background-color: #ff6b35;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
}

.btn-related-buy:hover {
    background-color: #e55a2b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.no-image {
    color: #666;
    font-size: 18px;
}

/* Related Products Responsive */
@media (max-width: 768px) {
    .related-products {
        padding: 25px 20px;
    }
    
    .related-products-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .related-product-info {
        padding: 15px;
    }
    
    .related-product-name {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .related-product-price-row {
        margin-bottom: 10px;
    }
    
    .related-product-price {
        font-size: 0.9rem;
    }
    
    .related-product-views {
        font-size: 0.9rem;
    }
    
    .btn-related-buy {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .related-products {
        padding: 20px 15px;
    }
    
    .related-products-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .related-product-info {
        padding: 12px;
    }
    
    .related-product-name {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .related-product-price-row {
        margin-bottom: 8px;
    }
    
    .related-product-price {
        font-size: 0.85rem;
    }
    
    .related-product-views {
        font-size: 0.85rem;
    }
    
    .btn-related-buy {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* Platform Advantages Section */
.platform-advantages {
    padding: 80px 0;
    background: #f8f9fa;
}

.platform-advantages-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.platform-advantages .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 20px;
}

.platform-advantages .section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.advantage-item {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.advantage-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 15px;
}

.advantage-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Platform Advantages Responsive */
@media (max-width: 768px) {
    .platform-advantages {
        padding: 60px 0;
    }
    
    .platform-advantages-container {
        padding: 0 15px;
    }
    
    .platform-advantages .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .platform-advantages .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .advantage-item {
        padding: 30px 20px;
    }
    
    .advantage-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .advantage-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .advantage-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .platform-advantages {
        padding: 40px 0;
    }
    
    .platform-advantages .section-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .platform-advantages .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage-item {
        padding: 25px 15px;
    }
    
    .advantage-icon {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .advantage-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .advantage-description {
        font-size: 0.9rem;
    }
}

/* Brands Section */
.brands {
    padding: 80px 0;
    background: #ffffff;
}

.brands-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.brands .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 20px;
}

.brands .section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.brand-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #ff6b35;
}

.brand-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px auto;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.no-brand-image {
    color: #999;
    font-size: 0.9rem;
}

.brand-info {
    text-align: center;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 15px;
}

.brand-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 3em;
}

.brand-website {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.brand-website:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    text-decoration: none;
    color: white;
}

/* Brands Responsive */
@media (max-width: 768px) {
    .brands {
        padding: 60px 0;
    }
    
    .brands-container {
        padding: 0 15px;
    }
    
    .brands .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .brands .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .brand-card {
        padding: 25px 20px;
    }
    
    .brand-image {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
    }
    
    .brand-name {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .brand-description {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .brand-website {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .brands {
        padding: 40px 0;
    }
    
    .brands .section-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .brands .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .brand-card {
        padding: 20px 15px;
    }
    
    .brand-image {
        width: 80px;
        height: 80px;
        margin-bottom: 12px;
    }
    
    .brand-name {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .brand-description {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .brand-website {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* Product Details Section */
.product-details-section {
    margin-top: 50px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 30px;
}

.product-details-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 40px;
}

.product-details-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.product-details-content h1,
.product-details-content h2,
.product-details-content h3,
.product-details-content h4,
.product-details-content h5,
.product-details-content h6 {
    color: #1d1d1f;
    margin-top: 20px;
    margin-bottom: 10px;
}

.product-details-content h1 { font-size: 1.5rem; }
.product-details-content h2 { font-size: 1.3rem; }
.product-details-content h3 { font-size: 1.2rem; }

.product-details-content ul,
.product-details-content ol {
    margin: 15px 0;
    padding-left: 20px;
}

.product-details-content li {
    margin: 5px 0;
}

.product-details-content p {
    margin: 15px 0;
}

.product-details-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.product-details-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.product-details-content th,
.product-details-content td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.product-details-content th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Reviews Section */
.reviews-section {
    margin-top: 50px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 30px;
}

.reviews-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 30px;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 10px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.review-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 8px 0;
}

.review-rating {
    font-size: 1.2rem;
    color: #ffc107;
}

.review-date {
    font-size: 0.9rem;
    color: #6c757d;
    white-space: nowrap;
}

.review-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.review-content p {
    margin: 10px 0;
}

.review-images {
    margin-top: 15px;
}

.review-image {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Product Details & Reviews Responsive */
@media (max-width: 768px) {
    .product-details-section,
    .reviews-section {
        padding: 25px 20px;
    }
    
    .product-details-title,
    .reviews-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .review-date {
        white-space: normal;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .reviewer-name {
        font-size: 1rem;
    }
    
    .review-rating {
        font-size: 1.1rem;
    }
    
    .review-content {
        font-size: 0.95rem;
    }
    
    .review-image {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .product-details-section,
    .reviews-section {
        padding: 20px 15px;
    }
    
    .product-details-title,
    .reviews-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .review-card {
        padding: 15px;
    }
    
    .reviewer-name {
        font-size: 0.95rem;
    }
    
    .review-rating {
        font-size: 1rem;
    }
    
    .review-content {
        font-size: 0.9rem;
    }
    
    .review-image {
        max-width: 120px;
    }
}

/* Reviews Title - restored original style */
.reviews-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 30px;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 10px;
}

.no-reviews {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    padding: 40px 20px;
}

/* Review Modal */
.review-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.review-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #ff6b35;
    color: white;
    border-radius: 12px 12px 0 0;
}

.review-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.review-modal-close {
    color: white;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.review-modal-close:hover {
    transform: scale(1.2);
}

#addReviewForm {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1d1d1f;
    font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="file"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-help {
    margin: 5px 0 0 0;
    font-size: 0.875rem;
    color: #666;
}

/* Star Rating Input */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.star-rating-input input[type="radio"] {
    display: none;
}

.star-rating-input label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input[type="radio"]:checked ~ label {
    color: #ffc107;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-cancel,
.btn-submit {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: #6c757d;
    color: white;
}

.btn-cancel:hover {
    background: #5a6268;
}

.btn-submit {
    background: #ff6b35;
    color: white;
}

.btn-submit:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Form Message */
.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Review Modal Responsive */
@media (max-width: 768px) {
    .reviews-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .review-modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .review-modal-header {
        padding: 15px 20px;
    }
    
    .review-modal-header h3 {
        font-size: 1.2rem;
    }
    
    #addReviewForm {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-cancel,
    .btn-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .reviews-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .review-modal-header {
        padding: 12px 15px;
    }
    
    .review-modal-header h3 {
        font-size: 1.1rem;
    }
    
    #addReviewForm {
        padding: 15px;
    }
    
    .star-rating-input label {
        font-size: 1.5rem;
    }
}
