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

:root {
    --primary-color: #d4af37;
    --secondary-color: #2c2c2c;
    --accent-color: #e8c468;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.logo a {
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.cart-icon {
    width: 20px;
    height: 20px;
}

.cart-count {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: bold;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    transition: 0.3s;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/public/images/products/luxury_cosmetics_bea_aecd68de.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.about {
    padding: 5rem 0;
    background: var(--light-bg);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.feature svg {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.featured-products, .catalog {
    padding: 5rem 0;
}

.featured-products h2, .catalog h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--secondary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    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 8px 16px rgba(0,0,0,0.15);
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

.product-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

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

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

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-warning {
    background: var(--warning-color);
    color: var(--white);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-info h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.product-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.product-rating {
    margin: 1rem 0;
}

.star {
    color: #ddd;
    font-size: 1.2rem;
}

.star.filled {
    color: var(--primary-color);
}

.rating-count {
    color: #666;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.text-center {
    text-align: center;
}

.page-header {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.catalog-filters {
    margin-bottom: 3rem;
}

.catalog-filters h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--white);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

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

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

.product-gallery .main-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-details h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.product-rating-large {
    margin: 1rem 0;
}

.product-rating-large .star {
    font-size: 1.5rem;
}

.rating-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 2rem 0;
    color: #555;
}

.product-price-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.price-label {
    font-size: 1rem;
    color: #666;
}

.product-price-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-top: 0.5rem;
}

.product-stock {
    margin: 1rem 0;
}

.stock-status {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
}

.in-stock {
    background: #d1fae5;
    color: var(--success-color);
}

.low-stock {
    background: #fef3c7;
    color: var(--warning-color);
}

.out-stock {
    background: #fee2e2;
    color: var(--error-color);
}

.product-actions {
    margin: 2rem 0;
}

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

.quantity-selector label {
    font-weight: 600;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    background: var(--white);
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

#quantity {
    width: 80px;
    height: 40px;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.product-features {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.product-features h3 {
    margin-bottom: 1rem;
}

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

.product-features li {
    padding: 0.5rem 0;
    color: #555;
}

.product-reviews {
    margin-top: 4rem;
}

.product-reviews h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.reviews-list {
    display: grid;
    gap: 1.5rem;
}

.review-item {
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
}

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

.review-rating {
    display: flex;
    gap: 2px;
}

.review-comment {
    margin: 1rem 0;
    color: #555;
}

.review-date {
    font-size: 0.85rem;
    color: #999;
}

.related-products {
    margin-top: 4rem;
}

.related-products h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.cart-items h2 {
    margin-bottom: 2rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.cart-item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cart-item-category {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.cart-item-price {
    font-weight: 600;
    margin-top: 0.5rem;
}

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

.cart-item-quantity input {
    width: 50px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 0.25rem;
}

.cart-item-subtotal {
    font-size: 1.3rem;
    font-weight: 700;
}

.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--error-color);
    transition: transform 0.2s;
}

.cart-item-remove:hover {
    transform: scale(1.1);
}

.cart-summary {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    height: fit-content;
}

.cart-summary h2 {
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-total {
    font-size: 1.3rem;
    font-weight: 700;
    border-top: 2px solid var(--secondary-color);
    margin-top: 1rem;
    padding-top: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.empty-cart {
    text-align: center;
    padding: 4rem 0;
}

.empty-cart svg {
    color: #ccc;
    margin-bottom: 1rem;
}

.empty-cart h2 {
    margin: 1rem 0;
}

.thank-you {
    padding: 4rem 0;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.success-icon {
    margin-bottom: 2rem;
}

.thank-you-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.lead {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
}

.order-summary {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: left;
}

.order-summary h3 {
    margin-bottom: 1.5rem;
}

.order-info {
    margin-bottom: 2rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-row .label {
    font-weight: 600;
}

.order-items {
    margin: 1.5rem 0;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.order-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.item-details {
    flex: 1;
}

.item-details h5 {
    margin-bottom: 0.25rem;
}

.item-total {
    font-weight: 700;
}

.order-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--secondary-color);
}

.total-amount {
    color: var(--primary-color);
}

.next-steps {
    margin: 2rem 0;
    text-align: left;
}

.next-steps ul {
    list-style: none;
    margin-top: 1rem;
}

.next-steps li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.site-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-section svg {
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 3;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }

    .cart-item-quantity, .cart-item-subtotal, .cart-item-remove {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .thank-you-actions {
        flex-direction: column;
    }
}
