* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.top-nav {
    background-color: #1a1a1a;
    padding: 10px 0;
}

.brand-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.brand-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.brand-nav a:hover {
    color: #ff6b6b;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.logo p {
    font-size: 12px;
    color: #666;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
}

.search-box input {
    border: none;
    outline: none;
    padding: 8px 12px;
    font-size: 14px;
    width: 200px;
}

.search-box button {
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #ff6b6b;
}

.cart-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cart-icon:hover {
    background-color: #f5f5f5;
    border-color: #ff6b6b;
}

.cart-icon i {
    font-size: 18px;
}

.cart-icon span {
    font-size: 14px;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #ff6b6b;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=luxury%20cosmetics%20store%20interior%20elegant%20modern%20beauty%20products&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.shop-now-btn {
    background-color: #ff6b6b;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shop-now-btn:hover {
    background-color: #e55555;
    transform: translateY(-2px);
}

.products-section, .trending-section, .best-selling-section {
    padding: 40px 5%;
    margin-bottom: 40px;
}

.products-section h3, .trending-section h3, .best-selling-section h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 15px;
}

.quick-view {
    display: inline-block;
    background-color: #1a1a1a;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quick-view:hover {
    background-color: #ff6b6b;
}

.product-info h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #333;
    height: 40px;
    overflow: hidden;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ff6b6b;
}

.trending-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=luxury%20beauty%20products%20trendy%20cosmetics%20fashion%20beauty&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.trending-section h3, .trending-text h4 {
    color: #fff;
}

.trending-text h4 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.trending-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 30px 5%;
}

.footer-brand-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.footer-brand-nav a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-brand-nav a:hover {
    color: #ff6b6b;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b6b;
}

.copyright {
    text-align: center;
    padding-top: 20px;
}

.copyright p {
    font-size: 12px;
    color: #666;
}

@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .search-box input {
        width: 150px;
    }
    
    .brand-nav, .main-nav, .footer-brand-nav, .footer-links {
        gap: 10px;
    }
    
    .brand-nav a, .main-nav a, .footer-brand-nav a, .footer-links a {
        font-size: 12px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

.product-detail-page {
    padding: 20px 5%;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ff6b6b;
}

.breadcrumb span {
    margin: 0 5px;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
}

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

.thumbnail-gallery {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #ff6b6b;
    transform: scale(1.05);
}

.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-info-section h1 {
    font-size: 1.8rem;
    color: #1a1a1a;
    line-height: 1.4;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-label {
    font-size: 14px;
    color: #666;
}

.product-price #product-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff6b6b;
}

.product-description,
.product-specs {
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
}

.product-description h3,
.product-specs h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.product-description p {
    color: #666;
    line-height: 1.8;
}

.product-specs ul {
    list-style: none;
}

.product-specs li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.product-specs li:last-child {
    border-bottom: none;
}

.product-specs strong {
    color: #333;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-selector label {
    font-weight: bold;
    color: #333;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background-color: #f5f5f5;
    border-color: #ff6b6b;
}

#quantity {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.add-to-cart-btn,
.buy-now-btn {
    flex: 1;
    padding: 15px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn {
    background-color: #1a1a1a;
    color: #fff;
}

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

.buy-now-btn {
    background-color: #ff6b6b;
    color: #fff;
}

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

.product-warranty {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 10px;
}

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

.product-warranty i {
    color: #4CAF50;
}

.related-products {
    margin-top: 40px;
}

.related-products h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .main-image {
        height: 300px;
    }
    
    .product-info-section h1 {
        font-size: 1.5rem;
    }
    
    .product-price #product-price {
        font-size: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
}

.about-page,
.contact-page,
.returns-page {
    padding: 20px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-hero,
.contact-hero,
.returns-hero {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
    margin-bottom: 30px;
    border-radius: 10px;
}

.about-hero h1,
.contact-hero h1,
.returns-hero h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.about-hero p,
.contact-hero p,
.returns-hero p {
    font-size: 1.2rem;
    color: #666;
}

.about-content,
.contact-content,
.returns-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.about-section,
.contact-info,
.contact-form,
.returns-section,
.faq-section {
    margin-bottom: 30px;
}

.about-section:last-child,
.contact-content > div:last-child,
.returns-section:last-child {
    margin-bottom: 0;
}

.about-section h2,
.contact-info h2,
.contact-form h2,
.returns-section h2,
.faq-section h2 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b6b;
}

.about-section h3,
.privacy-section h3,
.contact-item h3,
.faq-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}

.about-section p,
.privacy-section p,
.contact-item p,
.returns-section p,
.faq-item p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.about-section ul,
.privacy-section ul,
.returns-section ul,
.returns-section ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.about-section li,
.privacy-section li,
.returns-section li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 8px;
}

.privacy-section {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-item {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
}

.contact-item i {
    color: #ff6b6b;
    margin-right: 8px;
}

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

.form-group label {
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ff6b6b;
}

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

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background-color: #e55555;
}

.faq-section {
    margin-top: 30px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.returns-section ol {
    list-style-type: decimal;
}

.returns-section strong {
    color: #ff6b6b;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-hero h1,
    .contact-hero h1,
    .returns-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .header-right {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .main-image {
        height: 250px;
    }
    
    .product-info-section h1 {
        font-size: 1.3rem;
    }
}