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

body {
    font-family: Arial, sans-serif;
    background: #111;
    color: white;
}

nav {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: #181818;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

main {
    text-align: center;
    padding-top: 150px;
}

h1 {
    font-size: 50px;
    margin-bottom: 15px;
}

p {
    color: #aaa;
    font-size: 20px;
    margin-bottom: 30px;
}

button {
    border: none;
    background: white;
    color: #111;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    opacity: 0.8;
}

.products {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.product-card {
    width: 280px;
    background: #1c1c1c;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
}

.product-image {
    height: 220px;
    background: #333;
    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #aaa;
    margin-bottom: 20px;
}

.product-card h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.price {
    color: #4ade80;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.description {
    font-size: 15px;
    color: #aaa;
    margin-bottom: 20px;
}

.product-card button {
    width: 100%;
}

.cart-item {
    width: 600px;
    max-width: 90%;

    margin: 20px auto;

    padding: 20px;

    background: #1c1c1c;

    border-radius: 10px;

    display: flex;

    justify-content: space-between;

    align-items: center;
}

.cart-item h2 {
    margin-bottom: 8px;
}

.cart-item p {
    margin: 0;
}

.cart-item button {
    background: #ff4444;
    color: white;
}

.cart-total {
    text-align: center;
    margin-top: 40px;
}

.cart-total h2 {
    margin-bottom: 20px;
}

.checkout-container {
    width: 600px;
    max-width: 90%;

    margin: 40px auto;
}

.checkout-section {
    background: #1c1c1c;

    padding: 25px;

    margin-bottom: 20px;

    border-radius: 12px;
}

.checkout-section h2 {
    margin-bottom: 20px;
}

.checkout-section input {
    width: 100%;

    padding: 14px;

    margin-bottom: 12px;

    background: #333;

    border: none;

    border-radius: 7px;

    color: white;

    font-size: 16px;
}

.checkout-section button {
    width: 100%;

    margin-bottom: 10px;
}

#payment-message {
    color: #4ade80;

    margin-top: 10px;
}

.place-order {
    width: 100%;

    padding: 18px;

    font-size: 18px;

    font-weight: bold;
}

/* Contact Section */
.contact-section {
    margin: 60px auto 30px;
    padding: 30px;
    max-width: 700px;
    text-align: center;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.contact-section h2 {
    margin: 0 0 10px;
    color: #00d9ff;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-section p {
    margin: 0 0 20px;
    color: #ccc;
    font-size: 16px;
}

.contact-section strong {
    color: #d6a84f;
}

.email-button {
    display: inline-block;
    padding: 12px 25px;
    background: #00d9ff;
    color: #111;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: 0.2s;
}

.email-button:hover {
    background: #d6a84f;
    color: #111;
    transform: translateY(-2px);
}

/* =========================
   RUST LABS CART
========================= */

#cart-items {
    max-width: 900px;
    margin: 30px auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 25px;

    background: #181818;
    border: 1px solid #333;
    border-radius: 12px;

    padding: 20px;
    margin-bottom: 15px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.35);

    transition: 0.2s;

}

.cart-item:hover {
    border-color: #00d9ff;
    transform: translateY(-2px);
}

.cart-product-image {
    width: 110px;
    height: 110px;

    object-fit: contain;

    background: #101010;
    border: 1px solid #333;
    border-radius: 8px;

    padding: 8px;
}

.cart-product-info {
    flex: 1;
}

.cart-product-info h2 {
    margin: 0 0 8px;

    color: white;
    font-size: 20px;
}

.cart-product-price {
    margin: 0;

    color: #d6a84f;
    font-size: 18px;
    font-weight: bold;
}

.remove-button {
    background: #8f2020;
    color: white;

    border: none;
    border-radius: 6px;

    padding: 10px 16px;

    font-weight: bold;
    cursor: pointer;

    transition: 0.2s;
}

.remove-button:hover {
    background: #c52b2b;
    transform: translateY(-1px);
}

/* Cart Total */

.cart-total {
    max-width: 900px;
    margin: 30px auto 60px;

    padding: 25px;

    background: #181818;
    border: 1px solid #333;
    border-radius: 12px;

    text-align: right;
}

.cart-total h2 {
    margin: 0 0 20px;

    color: white;
}

.cart-total h2 span {
    color: #d6a84f;
}

.cart-total button {
    background: #00d9ff;
    color: #111;

    border: none;
    border-radius: 6px;

    padding: 13px 30px;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;
}

.cart-total button:hover {
    background: #d6a84f;
    transform: translateY(-2px);
}

/* Empty Cart */

.empty-cart {
    text-align: center;

    background: #181818;
    border: 1px solid #333;
    border-radius: 12px;

    padding: 60px 20px;
}

.empty-cart h2 {
    color: white;
    margin-bottom: 10px;
}

.empty-cart p {
    color: #999;
    margin-bottom: 25px;
}

.shop-button {
    display: inline-block;

    background: #00d9ff;
    color: #111;

    padding: 12px 25px;

    border-radius: 6px;

    text-decoration: none;
    font-weight: bold;

    transition: 0.2s;
}

.shop-button:hover {
    background: #d6a84f;
    transform: translateY(-2px);
}

/* Mobile */

@media (max-width: 600px) {

    .cart-item {
        flex-wrap: wrap;
    }

    .cart-product-image {
        width: 90px;
        height: 90px;
    }

    .cart-product-info {
        min-width: 150px;
    }

    .remove-button {
        width: 100%;
    }

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