/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 70px;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero-image {
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
}

.about-image {
    max-height: 400px;
    object-fit: contain;
    border-radius: 10px;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.product-image {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background-color: #f8f9fa;
    padding: 10px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #28a745;
}

.product-original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Product Detail Page */
.main-product-image {
    width: 100%;
    height: 500px;
    object-fit: contain;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.thumbnail-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background-color: #f8f9fa;
    border-radius: 5px;
    cursor: pointer;
    transition: border 0.3s ease;
    padding: 5px;
}

.thumbnail-image:hover,
.thumbnail-image.active {
    border: 3px solid #667eea;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

/* Cart Page */
.cart-item {
    border-bottom: 1px solid #dee2e6;
    padding: 20px 0;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.quantity-input {
    width: 60px;
    text-align: center;
}

/* Footer */
footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #667eea !important;
}

/* Navigation */
.navbar-brand {
    font-weight: bold;
    font-size: 1.3rem;
}

.nav-link {
    font-weight: 500;
}

.nav-link.active {
    color: #667eea !important;
}

/* Buttons */
.btn-primary {
    background-color: #667eea;
    border-color: #667eea;
}

.btn-primary:hover {
    background-color: #5568d3;
    border-color: #5568d3;
}

/* Form Styles */
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Policy Pages */
.policy-content {
    line-height: 1.8;
}

.policy-content h2 {
    color: #667eea;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content h3 {
    color: #764ba2;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-image {
        max-height: 300px;
    }
    
    .main-product-image {
        height: 350px;
    }
    
    .about-image {
        max-height: 300px;
    }
}

/* Badge */
.badge {
    font-size: 0.8rem;
}

/* Section spacing */
section {
    position: relative;
}

/* Loading spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}
