/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

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

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-height: 400px;
    object-fit: cover;
    object-position: center;
    background-color: #f8f9fa;
}

/* Product Cards */
.product-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
    position: relative;
}

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

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: #f8f9fa;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.product-card .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 15px;
}

.product-card .original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.product-card .sale-price {
    color: #e74c3c;
    font-weight: bold;
}

/* Product Detail Page */
.product-gallery .main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
}

.product-gallery .thumbnail-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.product-gallery .thumbnail-images img:hover,
.product-gallery .thumbnail-images img.active {
    border-color: #667eea;
}

.price-section {
    margin: 20px 0;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.5rem;
    margin-right: 15px;
}

.sale-price {
    color: #e74c3c;
    font-size: 2rem;
    font-weight: bold;
}

.variants-section .variant-btn {
    margin: 5px;
    padding: 8px 15px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.variants-section .variant-btn:hover,
.variants-section .variant-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Cart Page */
.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 20px;
    background: white;
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
    margin-right: 20px;
    background-color: #f8f9fa;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.cart-item-variant {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.cart-item-price {
    font-weight: bold;
    color: #667eea;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity {
    width: 60px;
    padding: 5px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.cart-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    position: sticky;
    top: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.summary-item.total {
    font-weight: bold;
    font-size: 1.3rem;
    color: #667eea;
}

/* Contact Page */
.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item i {
    color: #667eea;
    margin-bottom: 10px;
}

.contact-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

/* Policy Pages */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #667eea;
}

.policy-content p {
    margin-bottom: 15px;
}

.policy-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

/* Footer */
footer {
    margin-top: 50px;
}

footer a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: white;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

.subscribe-form input {
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-image {
        max-height: 300px;
    }
    
    .product-gallery .main-image img {
        height: 300px;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-item img {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cart-item-actions {
        flex-direction: column;
        width: 100%;
    }
}