/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 图片优化样式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 懒加载图片样式 */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.lazy-image.loaded {
    opacity: 1;
}

/* 低质量图片占位符 (LQIP) */
.lazy-image.placeholder {
    filter: blur(10px);
    transform: scale(1.1);
}

/* 响应式图片容器 */
.responsive-image-container {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.responsive-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 产品图片优化 */
.product-image {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(45deg, #f5f5f5 25%, #e0e0e0 25%, #e0e0e0 50%, #f5f5f5 50%, #f5f5f5 75%, #e0e0e0 75%);
    background-size: 40px 40px;
    position: relative;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-image:hover img {
    transform: scale(1.05);
}

/* 图片加载动画 */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2563eb;
    font-size: 24px;
    font-weight: 700;
}

.logo-link i {
    margin-right: 10px;
    font-size: 28px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-search, .btn-cart, .btn-login, .btn-register {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-search {
    background: #f3f4f6;
    color: #4b5563;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    width: 200px;
    transition: width 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #2563eb;
    width: 250px;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.search-result-item {
    padding: 10px 15px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover {
    background: #f9fafb;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-weight: 500;
    color: #111827;
    margin-bottom: 2px;
    line-height: 1.4;
}

.search-result-name mark {
    background: #fef08a;
    color: #92400e;
    padding: 0 2px;
    border-radius: 2px;
}

.search-result-price {
    color: #2563eb;
    font-weight: 600;
}

.search-result-category {
    font-size: 12px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 10px;
}

.search-highlight {
    background: #fef08a;
    color: #92400e;
    padding: 0 2px;
    border-radius: 2px;
}

.search-result-name .search-highlight,
.search-result-category .search-highlight {
    background: #fef08a;
    color: #92400e;
    padding: 0 2px;
    border-radius: 2px;
}

.no-results {
    padding: 15px;
    text-align: center;
    color: #6b7280;
}

.btn-cart {
    position: relative;
    background: #2563eb;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-count {
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    position: absolute;
    top: -5px;
    right: -5px;
}

.btn-login {
    background: transparent;
    color: #4b5563;
    border: 1px solid #d1d5db;
}

.btn-register {
    background: #2563eb;
    color: white;
}

/* User menu - shown when logged in */
.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 8px;
}
.user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4b5563;
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.btn-logout {
    padding: 6px 14px;
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
.btn-logout:hover {
    background: #fecaca;
    border-color: #fca5a5;
}
/* Language Switcher */
.btn-lang {
    padding: 6px 12px;
    background: #f0f4ff;
    color: #667eea;
    border: 1px solid #d0d9ff;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-lang:hover {
    background: #e0e8ff;
    border-color: #667eea;
    transform: translateY(-1px);
}
/* Compare button on product cards */
.btn-compare-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e0e0e0;
    color: #999;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.btn-compare-sm:hover {
    border-color: #667eea;
    color: #667eea;
    background: #f0f4ff;
}
.btn-compare-sm.in-compare {
    border-color: #27ae60;
    color: #27ae60;
    background: #e8f5e9;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #4b5563;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 80px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.highlight {
    color: #fbbf24;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-hero {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s;
}

.btn-hero:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #fbbf24;
    color: #1e40af;
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-badge {
    background: rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: #6b7280;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.product-image {
    height: 200px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #9ca3af;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f2937;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 15px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    color: #fbbf24;
}

.btn-add-to-cart {
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-add-to-cart:hover {
    background: #1d4ed8;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 48px;
    color: #2563eb;
    margin-bottom: 20px;
}

.category-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f2937;
}

.category-desc {
    color: #6b7280;
}

/* Payment System */
.payment-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.payment-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.payment-icon {
    font-size: 40px;
    color: #2563eb;
    margin-bottom: 20px;
}

.payment-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f2937;
}

.payment-desc {
    color: #6b7280;
    margin-bottom: 20px;
}

.payment-list {
    list-style: none;
}

.payment-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b5563;
}

.payment-list i {
    color: #10b981;
}

.security-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.security-item {
    background: white;
    padding: 15px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Returns System */
.returns-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1f2937;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.policy-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.policy-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f2937;
}

.returns-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    background: #2563eb;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #1d4ed8;
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 2000;
}

.cart-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
}

.cart-items {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    color: #9ca3af;
    padding: 40px 0;
}

.empty-cart i {
    font-size: 48px;
    margin-bottom: 15px;
}

.cart-summary {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-checkout:hover {
    background: #0da271;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo-link {
    color: white;
    margin-bottom: 15px;
}

.footer-desc {
    color: #9ca3af;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.link-group {
    min-width: 150px;
}

.link-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.footer-link {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #9ca3af;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: white;
    font-size: 20px;
    transition: color 0.3s;
}

.social-link:hover {
    color: #2563eb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-actions {
        display: none;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cart-modal {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
    }
}

/* Product Detail Page Styles */
.product-detail-section {
    padding: 40px 0;
    background: #fff;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #333;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: #2563eb;
}

.thumbnail.active {
    border-color: #2563eb;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-detail h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1f2937;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.rating-large {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #fbbf24;
    font-size: 18px;
}

.rating-score {
    font-weight: 600;
    color: #1f2937;
}

.review-count {
    color: #6b7280;
}

.product-sku {
    color: #6b7280;
    font-size: 14px;
}

.product-price-large {
    margin-bottom: 25px;
}

.product-price-large .price {
    font-size: 36px;
    font-weight: 700;
    color: #2563eb;
}

.tax-info {
    font-size: 14px;
    color: #6b7280;
    margin-left: 10px;
}

.product-description {
    margin-bottom: 25px;
    line-height: 1.8;
    color: #4b5563;
}

.key-features {
    margin-bottom: 30px;
}

.key-features h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.key-features h3 i {
    color: #fbbf24;
}

.key-features ul {
    list-style: none;
    padding: 0;
}

.key-features li {
    padding: 8px 0;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 10px;
}

.key-features li i {
    color: #10b981;
    font-size: 14px;
}

.add-to-cart-section {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
}

.btn-quantity {
    width: 40px;
    height: 48px;
    background: #f9fafb;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    transition: background 0.3s ease;
}

.btn-quantity:hover {
    background: #e5e7eb;
}

#product-quantity {
    width: 60px;
    height: 48px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    background: #fff;
}

.btn-add-to-cart-large {
    flex: 1;
    min-width: 200px;
    height: 48px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s ease;
}

.btn-add-to-cart-large:hover {
    background: #1d4ed8;
}

.btn-wishlist {
    height: 48px;
    padding: 0 20px;
    background: #fff;
    color: #4b5563;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-wishlist:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-action {
    padding: 10px 15px;
    background: #f9fafb;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background: #e5e7eb;
}

/* Product Tabs */
.product-tabs {
    margin-bottom: 40px;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 25px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn:hover {
    color: #2563eb;
}

.tab-btn.active {
    color: #2563eb;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #2563eb;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Specifications Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 15px 0;
}

.spec-key {
    width: 30%;
    font-weight: 600;
    color: #1f2937;
}

.spec-value {
    color: #4b5563;
}

/* Reviews */
.reviews-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
    padding: 30px;
    background: #f9fafb;
    border-radius: 12px;
}

.average-rating {
    text-align: center;
}

.rating-number {
    font-size: 48px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.stars-large {
    font-size: 24px;
    color: #fbbf24;
    margin-bottom: 10px;
}

.total-reviews {
    color: #6b7280;
}

.rating-distribution {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-bar span:first-child {
    width: 60px;
    color: #6b7280;
}

.bar-container {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #fbbf24;
}

.rating-bar span:last-child {
    width: 40px;
    text-align: right;
    color: #6b7280;
}

.review-form {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
}

.review-form h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.star-rating-input {
    display: flex;
    gap: 5px;
}

.star-rating-input i {
    font-size: 24px;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.2s ease;
}

.star-rating-input i.hover,
.star-rating-input i.fas {
    color: #fbbf24;
}

.review-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    resize: vertical;
    margin-bottom: 20px;
}

.review-form textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.btn-submit-review {
    padding: 12px 30px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit-review:hover {
    background: #1d4ed8;
}

/* Shipping & FAQ */
.shipping-info,
.return-info,
.faq-item {
    margin-bottom: 30px;
    padding: 25px;
    background: #f9fafb;
    border-radius: 12px;
}

.shipping-info h3,
.return-info h3,
.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shipping-info h3 i,
.return-info h3 i {
    color: #2563eb;
}

.shipping-info ul,
.return-info ul {
    list-style: none;
    padding: 0;
}

.shipping-info li,
.return-info li {
    padding: 8px 0;
    color: #4b5563;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.shipping-info li::before,
.return-info li::before {
    content: '•';
    color: #2563eb;
    font-weight: bold;
}

.faq-item p {
    color: #4b5563;
    line-height: 1.8;
}

/* Related Products */
.related-products {
    margin-top: 40px;
}

.related-products h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-products .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 3000;
    animation: slideIn 0.3s ease;
}

.notification.success {
    background: #10b981;
}

.notification.error {
    background: #ef4444;
}

.notification.info {
    background: #3b82f6;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Responsive Design for Product Detail */
@media (max-width: 768px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-info-detail h1 {
        font-size: 24px;
    }
    
    .product-price-large .price {
        font-size: 28px;
    }
    
    .add-to-cart-section {
        flex-direction: column;
    }
    
    .btn-add-to-cart-large {
        min-width: 100%;
    }
    
    .reviews-summary {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tab-buttons {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .related-products .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .product-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .image-thumbnails {
        justify-content: center;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .related-products .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Messages */
.form-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.form-message-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.form-message-info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Wishlist Badge in Navbar */
.btn-wishlist-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    color: #ef4444;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-wishlist-nav:hover {
    background: #fef2f2;
    border-color: #fecaca;
    transform: scale(1.05);
}

.btn-wishlist-nav i {
    font-size: 18px;
}

.wishlist-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(239,68,68,0.3);
}

/* Wishlist Section */
.wishlist-section {
    min-height: 60vh;
    background: #f8f9fa;
}

/* Wishlist Grid */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Wishlist Item Actions */
.wishlist-item-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.wishlist-item-actions .btn-add-to-cart {
    flex: 1;
    padding: 10px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.wishlist-item-actions .btn-add-to-cart:hover {
    background: #1d4ed8;
}

.wishlist-remove-btn {
    padding: 10px 14px;
    background: #fff;
    color: #ef4444;
    border: 1px solid #fecaca;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wishlist-remove-btn:hover {
    background: #fef2f2;
    border-color: #fca5a5;
}

/* Empty Wishlist */
.empty-wishlist {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #6b7280;
}

.empty-wishlist i {
    font-size: 72px;
    margin-bottom: 20px;
    color: #fca5a5;
    animation: heartPulse 2s ease-in-out infinite;
}

.empty-wishlist h3 {
    font-size: 24px;
    color: #374151;
    margin-bottom: 10px;
}

.empty-wishlist p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #9ca3af;
}

.btn-browse-products {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
}

.btn-browse-products:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* Wishlist Button States */
.btn-wishlist.wishlisted {
    background: #fef2f2;
    border-color: #fecaca;
    color: #ef4444;
}

.btn-wishlist.wishlisted:hover {
    background: #ffe4e4;
}

/* Heart Bounce Animation */
.wishlist-bounce {
    animation: heartBounce 0.6s ease;
}

@keyframes heartBounce {
    0% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(0.9); }
    45% { transform: scale(1.2); }
    60% { transform: scale(0.95); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes heartPulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

/* Wishlist Notification */
.notification.wishlist-notification {
    background: #ef4444;
}

/* Product Category on cards */
.product-category {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive for wishlist */
@media (max-width: 768px) {
    .wishlist-item-actions {
        flex-direction: column;
    }
    .empty-wishlist i {
        font-size: 56px;
    }
    .empty-wishlist h3 {
        font-size: 20px;
    }
}

/* Returns Section */
.returns-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7f0 100%);
}

.returns-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.return-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.return-form .form-group {
    margin-bottom: 20px;
}

.return-form .form-group.full-width {
    grid-column: 1 / -1;
}

.return-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.return-form input,
.return-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #f9fafb;
    box-sizing: border-box;
}

.return-form input:focus,
.return-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
    background: white;
}

.btn-submit-return {
    width: 100%;
    padding: 14px 28px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit-return:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16,185,129,0.3);
}

.btn-submit-return:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .return-form .form-row {
        grid-template-columns: 1fr;
    }
    .returns-container {
        padding: 24px;
    }
}

/* ===== Order History Page Styles ===== */
.orders-section {
    background: #f8f9fa;
    min-height: 60vh;
}

/* Filter Buttons */
.order-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 22px;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    background: white;
    color: #4b5563;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.filter-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.filter-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}

/* Order List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Order Card */
.order-card {
    background: white;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.order-id {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    color: #1f2937;
    font-family: monospace;
}

.order-id i {
    color: #2563eb;
    font-size: 16px;
}

.order-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.order-status-badge.large {
    padding: 8px 18px;
    font-size: 14px;
}

.order-card-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    flex-wrap: wrap;
    gap: 10px;
}

.order-card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-card-date,
.order-card-items {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
}

.order-card-date i,
.order-card-items i {
    color: #9ca3af;
    width: 16px;
}

.order-card-total {
    text-align: right;
}

.total-label {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.total-value {
    font-size: 22px;
    font-weight: 700;
    color: #2563eb;
}

.order-card-footer {
    padding: 12px 24px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: flex-end;
}

.btn-view-detail {
    padding: 8px 20px;
    background: transparent;
    color: #2563eb;
    border: 1.5px solid #2563eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-view-detail:hover {
    background: #2563eb;
    color: white;
}

/* Empty State */
.empty-orders {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.empty-orders i {
    font-size: 64px;
    color: #d1d5db;
    margin-bottom: 20px;
}

.empty-orders h3 {
    font-size: 24px;
    color: #1f2937;
    margin-bottom: 10px;
}

.empty-orders p {
    color: #6b7280;
    margin-bottom: 25px;
    font-size: 15px;
}

.btn-empty-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-empty-shop:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37,99,235,0.3);
}

/* Order Detail Modal */
.order-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.order-modal-overlay.open {
    display: flex;
}

.order-modal {
    background: white;
    border-radius: 18px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.order-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    font-size: 22px;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
    line-height: 1;
}

.order-modal-close:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.order-modal-body {
    padding: 36px 36px 32px;
}

/* Detail Header */
.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.detail-header-left h3 {
    font-size: 22px;
    color: #1f2937;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-header-left h3 i {
    color: #2563eb;
}

.detail-order-id {
    display: block;
    font-family: monospace;
    font-size: 16px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 4px;
}

.detail-date {
    font-size: 14px;
    color: #6b7280;
}

.detail-date i {
    margin-right: 5px;
}

/* Order Progress */
.order-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #d1d5db;
    z-index: 0;
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.completed::after {
    background: #10b981;
}

.progress-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    z-index: 1;
    position: relative;
}

.progress-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    text-align: center;
}

.progress-step.active .progress-label {
    color: #1f2937;
    font-weight: 600;
}

.progress-step.completed .progress-label {
    color: #059669;
}

.order-cancelled-badge {
    background: #fee2e2;
    color: #dc3545;
    padding: 12px 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 24px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Detail Sections */
.detail-section {
    margin-bottom: 24px;
}

.detail-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.detail-section h4 i {
    color: #2563eb;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Items Table */
.detail-items-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.detail-items-table th {
    text-align: left;
    padding: 10px 12px;
    background: #f9fafb;
    color: #6b7280;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-items-table td {
    padding: 12px;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
}

.detail-item-name {
    font-weight: 500;
    color: #1f2937;
}

.detail-item-price,
.detail-item-subtotal {
    font-family: monospace;
    font-weight: 500;
}

.detail-item-qty {
    text-align: center;
}

.detail-items-table th:last-child,
.detail-items-table td:last-child {
    text-align: right;
}

.detail-items-table th:nth-child(3),
.detail-items-table td:nth-child(3) {
    text-align: center;
}

/* Info Blocks */
.detail-info-block {
    padding: 14px;
    background: #f9fafb;
    border-radius: 10px;
}

.detail-info-block p {
    margin-bottom: 6px;
    font-size: 14px;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-info-block p:last-child {
    margin-bottom: 0;
}

.detail-info-block p i {
    width: 16px;
    color: #9ca3af;
}

.detail-method {
    font-size: 13px;
    color: #6b7280;
}

/* Totals */
.detail-totals {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 8px;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #4b5563;
}

.totals-row.total-final {
    border-top: 2px solid #e5e7eb;
    margin-top: 8px;
    padding-top: 14px;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

/* Responsive */
@media (max-width: 768px) {
    .order-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .order-card-body {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-card-total {
        text-align: left;
        width: 100%;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .order-modal-body {
        padding: 24px 20px 20px;
    }
    
    .detail-items-table {
        font-size: 13px;
    }
    
    .detail-items-table th,
    .detail-items-table td {
        padding: 8px 6px;
    }
    
    .order-progress {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .progress-step {
        flex: 0 0 auto;
        min-width: 60px;
    }
    
    .progress-step::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .order-filters {
        gap: 6px;
    }
    
    .filter-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .order-card-header,
    .order-card-body,
    .order-card-footer {
        padding: 14px 16px;
    }
    
    .order-id {
        font-size: 13px;
    }
    
    .total-value {
        font-size: 18px;
    }
}

/* ============================================================
   About Page Styles
   ============================================================ */

/* About Hero */
.about-hero {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.about-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Our Story */
.about-story {
    padding: 80px 0;
    background: white;
}

.about-story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-story-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.about-story-content h2 i {
    color: #2563eb;
    margin-right: 10px;
}

.about-story-content p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 16px;
}

.about-story-image {
    text-align: center;
    font-size: 180px;
    color: #2563eb;
    opacity: 0.15;
}

/* Mission / Vision / Values */
.about-mvv {
    padding: 80px 0;
    background: #f8f9fa;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mvv-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.mvv-card:hover {
    transform: translateY(-5px);
}

.mvv-card-icon {
    font-size: 48px;
    color: #2563eb;
    margin-bottom: 20px;
}

.mvv-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.mvv-card p {
    color: #4b5563;
    line-height: 1.7;
}

/* Team Section */
.about-team {
    padding: 80px 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-avatar {
    font-size: 64px;
    color: #2563eb;
    margin-bottom: 15px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f0fe;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.team-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.team-role {
    color: #2563eb;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.team-bio {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

/* Stats Section */
.about-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
}

.stats-header {
    text-align: center;
    margin-bottom: 50px;
}

.stats-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stats-header p {
    font-size: 18px;
    opacity: 0.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.8;
}

/* ============================================================
   Contact Page Styles
   ============================================================ */

.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-form-wrapper h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.contact-form-wrapper > p {
    color: #6b7280;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.contact-form label .required {
    color: #ef4444;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #f9fafb;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
    background: white;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-contact-submit {
    width: 100%;
    padding: 14px 28px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
}

.btn-contact-submit:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37,99,235,0.3);
}

/* Contact Info Cards */
.contact-info-wrapper h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.contact-info-wrapper > p {
    color: #6b7280;
    margin-bottom: 30px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.contact-info-card:hover {
    transform: translateX(5px);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: #e8f0fe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #2563eb;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.contact-info-text p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

/* Map Area */
.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.contact-map iframe {
    width: 100%;
    height: 250px;
    border: none;
    display: block;
}

/* ============================================================
   FAQ Page Styles
   ============================================================ */

.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
    min-height: 60vh;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-category-title i {
    color: #2563eb;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    text-align: left;
    font-family: inherit;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question .faq-arrow {
    font-size: 14px;
    color: #6b7280;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.open .faq-question .faq-arrow {
    transform: rotate(180deg);
    color: #2563eb;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 18px;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 15px;
    margin: 0;
}

/* ============================================================
   About/Contact/FAQ Shared Responsive
   ============================================================ */

@media (max-width: 768px) {
    .about-hero-title {
        font-size: 32px;
    }
    .about-story-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-story-image {
        font-size: 120px;
    }
    .mvv-grid {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-number {
        font-size: 36px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .faq-question {
        font-size: 14px;
        padding: 14px 18px;
    }
    .faq-item.open .faq-answer {
        padding: 0 18px 14px;
    }
}

/* ============================================================
   Enhanced Mobile Optimization
   ============================================================ */

/* Small devices (phones, < 768px) */
@media (max-width: 767px) {
    .container {
        padding: 0 12px;
    }

    /* Navbar */
    .nav-container {
        padding: 10px 12px;
    }
    .nav-list {
        gap: 0;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 10px 0;
        z-index: 999;
        display: none;
    }
    .nav-list.active {
        display: flex;
    }
    .nav-list .nav-item {
        width: 100%;
    }
    .nav-list .nav-link {
        padding: 12px 20px;
        font-size: 15px;
    }
    .search-container {
        width: 100%;
    }
    .search-input {
        width: 100%;
        font-size: 16px; /* prevent iOS zoom */
    }
    .search-input:focus {
        width: 100%;
    }
    .nav-toggle {
        display: block !important;
        background: none;
        border: none;
        font-size: 24px;
        padding: 8px;
        cursor: pointer;
        color: #333;
    }

    /* Hero */
    .hero-title {
        font-size: 28px !important;
    }
    .hero-subtitle {
        font-size: 16px !important;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    /* Section titles */
    .section-title {
        font-size: 24px !important;
    }

    /* Product grid - 2 columns on mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    .product-card {
        border-radius: 8px;
    }
    .product-card .product-image {
        aspect-ratio: 1/1;
        min-height: 140px;
    }
    .product-card .product-info {
        padding: 10px 8px;
    }
    .product-card .product-name {
        font-size: 13px;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .product-card .product-price {
        font-size: 15px;
    }
    .product-card .product-rating {
        font-size: 12px;
    }
    .product-card .btn-add-to-cart {
        font-size: 12px;
        padding: 6px 10px;
        width: 100%;
    }
    .product-card .product-category {
        font-size: 10px;
        padding: 2px 6px;
    }

    /* Quick view button hidden on mobile (replaced by tap on card) */
    .product-card .btn-quick-view {
        display: none;
    }

    /* Cart modal - full screen on mobile */
    .cart-modal {
        width: 100%;
        max-width: 100%;
    }
    .cart-content .cart-header {
        padding: 14px 16px;
    }
    .cart-content .cart-items {
        padding: 14px 16px;
    }
    .cart-content .cart-summary {
        padding: 14px 16px;
    }
    .cart-item {
        gap: 10px;
        padding: 10px 0;
    }
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
    .cart-item-name {
        font-size: 14px;
    }
    .cart-item-price {
        font-size: 13px;
    }

    /* Category cards */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    .category-card {
        padding: 20px 12px;
    }
    .category-icon {
        font-size: 32px;
    }
    .category-name {
        font-size: 14px;
    }

    /* Features section */
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
    .feature-card {
        padding: 20px 16px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    .footer-content {
        flex-direction: column;
        gap: 24px;
    }
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
    .link-group {
        min-width: auto;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .footer-desc {
        max-width: 100%;
    }

    /* Buttons - larger touch targets */
    .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    button, .btn, a.btn, input[type="submit"] {
        min-height: 44px;
    }
    .btn-cart, .btn-login, .btn-register {
        padding: 8px 12px;
        font-size: 13px;
    }
    .logo-link {
        font-size: 20px;
    }
    .logo-link i {
        font-size: 24px;
    }

    /* About page mobile */
    .about-hero {
        padding: 40px 0;
    }
    .about-hero-title {
        font-size: 28px !important;
    }
    .about-hero-subtitle {
        font-size: 16px;
    }
    .about-story {
        padding: 40px 0;
    }
    .about-story-content h2 {
        font-size: 24px;
    }
    .about-mvv {
        padding: 40px 0;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .stat-card {
        padding: 20px 12px;
    }
    .stat-number {
        font-size: 28px;
    }
    .stat-label {
        font-size: 13px;
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .team-member {
        padding: 16px;
    }

    /* Contact page mobile */
    .contact-section {
        padding: 40px 0;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .contact-form-wrapper {
        padding: 20px;
    }
    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* prevent iOS zoom */
        padding: 12px 14px;
    }
    .contact-info-card {
        padding: 20px;
    }

    /* Payment page mobile */
    .payment-section {
        padding: 20px 0;
    }
    .payment-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .payment-form-card,
    .order-summary-card {
        padding: 20px;
    }
    .payment-form-card h2,
    .order-summary-card h2 {
        font-size: 20px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* prevent iOS zoom */
        padding: 12px 14px;
    }
    .submit-btn {
        min-height: 50px;
        font-size: 16px;
    }

    /* Order history mobile */
    .order-history-section {
        padding: 20px 0;
    }
    .order-card {
        margin-bottom: 12px;
    }
    .order-card-header,
    .order-card-body,
    .order-card-footer {
        padding: 12px 14px;
    }
    .order-card-body {
        flex-direction: column;
        gap: 8px;
    }
    .order-items-preview {
        width: 100%;
    }

    /* Wishlist mobile */
    .wishlist-section {
        padding: 20px 0;
    }
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    /* Product detail mobile */
    .product-detail-section {
        padding: 20px 0;
    }
    .product-detail-container {
        gap: 20px;
    }
    .product-info-detail h1 {
        font-size: 22px;
    }
    .product-price-large .price {
        font-size: 26px;
    }
    .specs-grid {
        grid-template-columns: 1fr;
    }

    /* Review section */
    .review-card {
        padding: 14px;
    }
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    /* Modal dialogs */
    .modal-content {
        width: 92%;
        margin: 40px auto;
        padding: 24px 16px;
    }
    .order-detail-modal .modal-content {
        padding: 0;
    }

    /* Notifications */
    .notification {
        width: calc(100% - 24px);
        left: 12px;
        right: 12px;
        top: 12px;
    }

    /* Tabs */
    .tab-buttons {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 8px;
    }
    .tab-buttons::-webkit-scrollbar {
        display: none;
    }
    .tab-btn {
        white-space: nowrap;
        padding: 10px 14px;
        font-size: 13px;
        flex-shrink: 0;
    }

    /* Accordion / FAQ */
    .faq-question {
        font-size: 14px;
        padding: 14px 16px;
        min-height: 44px;
    }
}

/* Extra small devices (<= 400px) */
@media (max-width: 400px) {
    .products-grid {
        grid-template-columns: 1fr !important;
    }
    .wishlist-grid {
        grid-template-columns: 1fr !important;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 24px !important;
    }
    .product-card .product-name {
        font-size: 12px;
    }
    .product-card .product-price {
        font-size: 14px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
    }
    .product-card:active {
        transform: scale(0.98);
    }
    .product-card .product-image:hover img {
        transform: none;
    }
    .product-card .product-image:active img {
        transform: scale(1.02);
    }
    .btn:hover {
        transform: none;
    }
    .btn:active {
        transform: scale(0.97);
    }
    .category-card:hover {
        transform: none;
    }
    .category-card:active {
        transform: scale(0.97);
    }
    .mvv-card:hover {
        transform: none;
    }
    .mvv-card:active {
        transform: translateY(-2px);
    }
    .feature-card:hover {
        transform: none;
    }
    .feature-card:active {
        transform: scale(0.98);
    }
}

/* ============================================================
   Deal Section & Badge Styles
   ============================================================ */

.deals-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 50px 0;
}

.deals-section .section-title {
    color: #fff !important;
}

.deals-section .section-title i {
    color: #ff6b6b;
    animation: flame 1.5s ease-in-out infinite alternate;
}

@keyframes flame {
    0% { transform: scale(1); color: #ff6b6b; }
    100% { transform: scale(1.2); color: #ffa502; }
}

.deals-section .section-subtitle {
    color: rgba(255,255,255,0.7) !important;
}

.deal-card {
    border: 1px solid rgba(255,255,255,0.1) !important;
    background: rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.deal-card .product-title,
.deal-card .product-category,
.deal-card .product-price {
    color: #fff !important;
}

.deal-card .original-price {
    text-decoration: line-through;
    color: rgba(255,255,255,0.5);
    margin-right: 8px;
    font-size: 0.9em;
}

.badge {
    position: absolute;
    top: 10px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
    z-index: 10;
}

.badge-new {
    left: 10px;
    background: #00b894;
    color: #fff;
}

.badge-sale {
    right: 10px;
    background: #ff6b6b;
    color: #fff;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.deal-card .product-image {
    position: relative;
    overflow: hidden;
}

/* ============================================================
   Blog Page Styles
   ============================================================ */

.blog-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.blog-hero-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.blog-hero-search {
    max-width: 700px;
    margin: 0 auto;
}

.blog-search-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.blog-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 16px;
}

.blog-search-input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

.blog-search-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.blog-search-input:focus {
    border-color: #3498db;
    background: rgba(255,255,255,0.15);
}

.blog-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.blog-tab {
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    background: transparent;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.blog-tab:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.blog-tab.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

/* Blog Posts Grid */
.blog-posts {
    padding: 60px 0;
    background: #f9fafb;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.blog-card-body {
    padding: 20px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
}

.blog-meta span i {
    margin-right: 4px;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-read-more {
    color: #3498db;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.blog-read-more:hover {
    gap: 8px;
    color: #2176bd;
}

.blog-read-more i {
    font-size: 12px;
    transition: transform 0.3s;
}

.blog-read-more:hover i {
    transform: translateX(4px);
}

/* No results */
.blog-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #6b7280;
}

.blog-no-results i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #d1d5db;
}

.blog-no-results h3 {
    font-size: 20px;
    color: #374151;
    margin-bottom: 8px;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-btn:hover {
    border-color: #3498db;
    color: #3498db;
}

.pagination-btn.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

/* Newsletter */
.blog-newsletter {
    padding: 60px 0;
    background: white;
}

.newsletter-card {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
}

.newsletter-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.newsletter-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.newsletter-text {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.newsletter-input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
}

.newsletter-btn {
    padding: 14px 28px;
    background: #1f2937;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #111827;
}

.newsletter-disclaimer {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

/* Blog Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.blog-modal-content {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
    border-radius: 16px;
}

.blog-modal-header {
    padding: 0 0 20px;
}

.blog-modal-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

.blog-modal-header .blog-category-badge {
    position: relative;
    top: auto;
    left: auto;
    display: inline-block;
    margin: 20px 24px 0;
}

.blog-modal-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #6b7280;
    padding: 10px 24px 0;
}

.blog-modal-meta i {
    margin-right: 6px;
}

.blog-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    padding: 12px 24px 0;
    line-height: 1.3;
}

.blog-modal-body {
    padding: 0 24px 30px;
}

.blog-modal-body h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 24px 0 12px;
}

.blog-modal-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 20px 0 8px;
}

.blog-modal-body p {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 12px;
}

.blog-modal-body .blog-summary {
    background: #f0fdf4;
    border-left: 3px solid #10b981;
    padding: 16px 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-modal-body .blog-summary strong {
    color: #059669;
}

/* Blog mobile */
@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .blog-hero {
        padding: 40px 0;
    }
    .blog-hero-title {
        font-size: 26px;
    }
    .blog-hero-subtitle {
        font-size: 15px;
    }
    .blog-card-image {
        height: 160px;
    }
    .blog-card-body {
        padding: 14px;
    }
    .blog-title {
        font-size: 15px;
    }
    .blog-excerpt {
        font-size: 13px;
    }
    .blog-meta {
        flex-direction: column;
        gap: 4px;
        font-size: 12px;
    }
    .blog-modal-title {
        font-size: 22px;
        padding: 10px 16px 0;
    }
    .blog-modal-body {
        padding: 0 16px 20px;
    }
    .blog-modal-image {
        max-height: 250px;
    }
    .newsletter-card {
        padding: 30px 20px;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-btn {
        width: 100%;
    }
    .blog-category-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .blog-category-tabs::-webkit-scrollbar {
        display: none;
    }
    .blog-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 400px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================================================
   Page Load Animation & Scroll Transition Effects
   ================================================================== */

/* --- Skeleton Loading Screen --- */
.skeleton-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.skeleton-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.skeleton-logo {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin-bottom: 20px;
    animation: skeletonPulse 1.5s ease-in-out infinite;
}
.skeleton-bar {
    width: 200px;
    height: 12px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 6px;
    margin: 6px 0;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}
.skeleton-bar:nth-child(3) { width: 160px; }
.skeleton-bar:nth-child(4) { width: 140px; }
@keyframes skeletonPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}
@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --- Scroll-triggered Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
/* Variants */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}
/* Delays for staggered animations */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* --- Fade-in page transition for body --- */
body.page-loaded .hero-title,
body.page-loaded .hero-subtitle,
body.page-loaded .hero-buttons,
body.page-loaded .hero-features {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}
body.page-loaded .hero-title { animation-delay: 0.1s; }
body.page-loaded .hero-subtitle { animation-delay: 0.3s; }
body.page-loaded .hero-buttons { animation-delay: 0.5s; }
body.page-loaded .hero-features { animation-delay: 0.7s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Staggered card appearance --- */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-children.revealed > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.revealed > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children.revealed > *:nth-child(8) { transition-delay: 0.4s; }
.stagger-children.revealed > *:nth-child(9) { transition-delay: 0.45s; }
.stagger-children.revealed > *:nth-child(10) { transition-delay: 0.5s; }
.stagger-children.revealed > *:nth-child(11) { transition-delay: 0.55s; }
.stagger-children.revealed > *:nth-child(12) { transition-delay: 0.6s; }
.stagger-children.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* --- Hover lift effect for cards --- */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* --- Button micro-interactions --- */
.btn-pulse {
    animation: btnPulse 2s ease-in-out infinite;
}
@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(102, 126, 234, 0); }
}

/* --- Counter number animation --- */
.count-up {
    display: inline-block;
    transition: all 0.3s ease;
}

/* --- Smooth scroll for anchor links --- */
html {
    scroll-behavior: smooth;
}

/* --- Cart icon bounce on add --- */
@keyframes cartBounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.4); }
    50% { transform: scale(0.9); }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.cart-bounce {
    animation: cartBounce 0.5s ease;
}

/* --- Wishlist heart pop --- */
@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); color: #e74c3c; }
    100% { transform: scale(1); }
}
.heart-pop {
    animation: heartPop 0.4s ease;
}

/* --- Toast notification slide-in --- */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99998;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: #333;
    color: white;
    padding: 14px 22px;
    border-radius: 10px;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastIn 0.4s ease forwards;
    min-width: 250px;
    max-width: 400px;
}
.toast.success { background: #27ae60; }
.toast.error { background: #e74c3c; }
.toast.info { background: #3498db; }
.toast .toast-icon { font-size: 1.1rem; }
.toast.out {
    animation: toastOut 0.3s ease forwards;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100px); }
}

/* --- Loading spinner for AJAX operations --- */
.spinner-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.8);
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.spinner-overlay.active {
    opacity: 1;
    visibility: visible;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e0e0e0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Page enter transition (fade) --- */
.page-enter {
    animation: pageFadeIn 0.4s ease;
}
@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Mobile nav slide-in --- */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.nav-menu.active {
    animation: slideDown 0.3s ease;
}
}