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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --light-bg: #ecf0f1;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
}

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

/* Header & Navigation */
header {
    background: var(--primary-color);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    sticky: top;
    z-index: 100;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.contact-info {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.contact-info a {
    color: white;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

nav a:hover {
    color: var(--accent-color);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.btn:hover {
    background: #d68910;
    transform: translateY(-2px);
}

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

.btn-primary:hover {
    background: #c0392b;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
}

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

/* Products Section */
.products-section {
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.categories {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 20px;
    background: var(--light-bg);
    border: 2px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

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

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

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

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

.product-image {
    width: 100%;
    height: 200px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--text-light);
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-price {
    font-size: 20px;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 15px;
}

.product-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.product-card a {
    display: block;
    text-align: center;
    background: var(--primary-color);
    color: white;
    padding: 12px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.product-card a:hover {
    background: var(--secondary-color);
}

/* Product Detail Page */
.product-detail {
    padding: 40px 20px;
}

.detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: 8px;
}

.detail-image {
    width: 100%;
    height: 400px;
    background: var(--light-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
}

.detail-info h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.detail-price {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.detail-description {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Bundle Offers */
.bundle-section {
    margin: 30px 0;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
}

.bundle-section h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.bundle-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bundle-option {
    display: flex;
    align-items: center;
    padding: 10px;
    background: white;
    border-radius: 5px;
}

.bundle-option input[type="radio"] {
    margin-right: 15px;
}

.bundle-option label {
    flex: 1;
    cursor: pointer;
}

.bundle-price {
    font-weight: bold;
    color: var(--secondary-color);
}

/* Checkout Form */
.checkout-form {
    margin: 30px 0;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 8px;
}

.checkout-form h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
    font-size: 14px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Thank You Page */
.thank-you {
    padding: 80px 20px;
    text-align: center;
}

.thank-you-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.thank-you h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.thank-you p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.order-details {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    margin: 30px auto;
    text-align: left;
}

.order-details h3 {
    margin-bottom: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
}

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

.footer-section h4 {
    margin-bottom: 15px;
}

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

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

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

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .detail-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .contact-info {
        flex-direction: column;
        gap: 10px;
        font-size: 12px;
    }
}
