#content {
    align-items: flex-start;
    padding: 1vh 0.5vw;
    width: 80%;
}

#shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 250px));
    gap: 40px;
    padding: 40px;
    width: 80%;
}

.product-card-shop {
    text-align: center;
    border-radius: 10px;
    backdrop-filter: blur(0px);
    background: rgba(255,255,255,0);
    transition: all 0.3s ease;
}

.product-card-shop img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card-shop:hover {
    transform: translateY(-5px);
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.1);
}

.product-card-shop:hover img {
    transform: scale(1.05);
}

.product-card-shop h2 {
    margin: 10px 0 5px;
    font-size: 1rem;
    font-weight: 300;
}

.product-card-shop p {
    margin: 0;
    font-weight: 500;
}

.product-card-shop a {
    display: inline-block;
    margin-top: 5px;
    font-weight: bold;
    text-decoration: none;
    color: #00aeff;
    transition: color 0.2s ease;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.product-card-shop a:hover {
    color: #555;
}

#categories {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-buttons {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.category-buttons a {
    padding: 8px 16px;
    background-color: #eee;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.category-buttons a:hover {
    background-color: #ddd;
}

.category-buttons a.active {
    background-color: #818181;
    color: #00aeff;
}

.cart-info {
    width: 100%;
    backdrop-filter: blur(24px);
    background: rgba(0,0,0,0.5);
    min-height: 60vh;
    border-radius: 20px;
    box-shadow: 0px 0px 16px 4px rgba(255, 255, 255, 0.05);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 1vh 0.5vw;
}

.cart-info h2 {
    margin-bottom: 1vh;
    font-weight: 300;
    color: #fff;
    width: 100%;
    text-align: left;
    margin-left: 2vw;
}

.cart-products {
    width: 100%;
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.cart-products .product {
    width: 95%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1vh 0.5vw;
    margin-bottom: 1vh;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

.cart-products .product-info {
    width: 80%;
    display: flex;
    align-items: center;
    gap: 1vw;
}

.cart-products .product-info h3 {
    font-size: 1.2rem;
    font-weight: 300;
}

.cart-products .product-info p.price {
    font-size: 1.2rem;
    font-weight: 500;
    color: #00aeff;
}

.cart-products .product img {
    width: 8%;
    height: auto;
    border-radius: 10px;
}

.cart-products .product .product-actions {
    width: 15%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.product-actions button {
    border: none;
    background: none;
    padding: 1vh 0.5vw;
    border-radius: 8px;
}

.product-actions i {
    font-size: 2rem;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.2s ease;
}

.cart-summary {
    width: 100%;
    height: 10vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 1vh 2vw;
}

.cart-summary h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 1vh;
}

.cart-summary .checkout-button {
    width: 100%;
    padding: 1vh 2vw;
    background-color: rgba(0,0,0,0.5);
    color: #00aeff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cart-summary .checkout-button:hover {
    background-color: rgba(255,255,255,0.3);
}

.orders-container {
    max-width: 100%;
    margin: auto;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #eee;
}
.orders-container h1 {
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
}
.order-card {
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.order-card h2 {
    color: #ff0000;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 300;
}
.order-card h2 span {
    font-size: 0.8em;
    color: #bbb;
}
.order-details p {
    margin: 5px 0;
    font-size: 0.95em;
}
.order-details strong {
    color: #fff;
}
.order-products {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #444;
}
.order-products h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.1em;
}
.product-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9em;
}
.product-item span:first-child {
    flex-grow: 1;
}
.no-orders {
    text-align: center;
    font-size: 1.2em;
    color: #bbb;
    padding: 50px 0;
}
.error-message {
    text-align: center;
    color: #ff6666;
    font-size: 1.1em;
    padding: 20px;
    background-color: #3a1a1a;
    border: 1px solid #ff0000;
    border-radius: 5px;
    margin-bottom: 20px;
}

@media only screen and (max-width: 950px) { 
    #content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #categories {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 20px;
    }

    #categories h2 {
        display: none;
    }

    #categories .category-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .orders-container {
        width: 100%;
        margin: auto 0.1vw;
    }

    .order-card h2 {
        font-size: 1.1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-products .product {
        flex-wrap: wrap;
    }

    .product .product-info {
        width: 100%;
    }

    .product .product-actions, .product .product-actions form {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 1vh;
    }

    .cart-products .product .product-info h3, .cart-products .product .product-info p{
        font-size: 100%;
    }

    .product-info img {
        width: 30% !important;
    }
}