.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.logo {
    color: white !important;
    text-decoration: none !important;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo:hover {
    color: white !important;
}

.breadcrumb {
    background-color: #1f2937;
    padding: 1rem 0;
    margin-top: 80px;
    border-bottom: 1px solid #374151;
}

.breadcrumb a {
    color: #4f46e5;
    text-decoration: none;
}

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

.product-detail {
    padding: 2rem 0;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #374151;
}

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

.thumbnail-images {
    display: flex;
    gap: 1rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    object-fit: cover;
    border: 2px solid transparent;
}

.thumbnail.active {
    opacity: 1;
    border-color: #3498db;
}

.thumbnail:hover {
    opacity: 1;
}

.product-info h1 {
    font-size: 2.5rem;
    color: #f9fafb;
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stars {
    color: #f39c12;
    font-size: 1.2rem;
}

.rating-text {
    color: #9ca3af;
    font-size: 0.9rem;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: #10b981;
}

.original-price {
    font-size: 1.2rem;
    color: #6b7280;
    text-decoration: line-through;
}

.discount {
    background-color: #dc2626;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-description,
.product-features {
    margin-bottom: 2rem;
}

.product-description h3,
.product-features h3 {
    color: #f9fafb;
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-description p {
    color: #d1d5db;
    line-height: 1.6;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: 0.5rem 0;
    color: #d1d5db;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.product-options {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.quantity-selector,
.size-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quantity-selector label,
.size-selector label {
    font-weight: 600;
    color: #f9fafb;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    background-color: #4f46e5;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background-color: #4338ca;
}

#quantity-input {
    width: 60px;
    text-align: center;
    padding: 0.5rem;
    border: 1px solid #374151;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #1f2937;
    color: #f9fafb;
}

#size-select {
    padding: 0.8rem;
    border: 1px solid #374151;
    border-radius: 6px;
    font-size: 1rem;
    min-width: 200px;
    background-color: #1f2937;
    color: #f9fafb;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.add-to-cart-btn,
.buy-now-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

.add-to-cart-btn {
    background-color: #4f46e5;
    color: white;
}

.add-to-cart-btn:hover {
    background-color: #4338ca;
}

.buy-now-btn {
    background-color: #10b981;
    color: white;
}

.buy-now-btn:hover {
    background-color: #059669;
}

.product-guarantee {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
}

.guarantee-item .icon {
    font-size: 1.5rem;
}

.product-tabs {
    background-color: #1f2937;
    padding: 2rem 0;
    border-top: 1px solid #374151;
}

.tab-headers {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid #374151;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 1rem;
    color: #9ca3af;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
}

.tab-content {
    background: #111827;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #374151;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    color: #f9fafb;
    margin-bottom: 1rem;
    font-weight: 600;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.nutrition-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
}

.nutrient {
    font-weight: 600;
    color: #f9fafb;
}

.value {
    color: #10b981;
    font-weight: 700;
}

.review {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #374151;
}

.review:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.reviewer {
    font-weight: 600;
    color: #f9fafb;
}

.review .stars {
    color: #f39c12;
}

.review p {
    color: #d1d5db;
    line-height: 1.6;
}

.related-products {
    padding: 2rem 0;
}

.related-products h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #f9fafb;
    font-weight: 600;
}

@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-info h1 {
        font-size: 2rem;
    }
    
    .product-options {
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .tab-headers {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .nutrition-grid {
        grid-template-columns: 1fr;
    }
}