

footer {
    background-color: #283779;
    color: #fff;
    padding: 20px 0;
    width: 100%; /* Full width footer */
    text-align: center;
   position: relative; 
   top:240px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1 1 20px;
    margin-bottom: 10px;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.footer-section p {
    color: #ccc;
    font-size: 0.9em;
}

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

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9em;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #555;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

td {
    word-break: break-word;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart-table th, .cart-table td {
    border: 1px solid #5e5a5a;
    padding: 10px;
    text-align: center;
}

.cart-table th {
    background-color: #ded9d9;
}

.total {
    text-align: right;
    font-size: 1.2em;
    margin-top: 20px;
}

/* For tablets and small desktops */
@media (max-width: 800px) {
    .cart-table th, .cart-table td {
        padding: 8px;
    }
    .total {
        font-size: 1.1em;
    }
}

/* For small devices (landscape phones) */
@media (max-width: 600px) {
    .cart-table th, .cart-table td {
        padding: 5px;
        font-size: 0.9em;
    }
    .total {
        font-size: 1em;
    }
}

/* For very small devices (portrait phones) */
@media (max-width: 480px) {
    
    .cart-table th,
    .cart-table td {
        padding: 3px;
        font-size: 0.85em;
    }
    .total {
        font-size: 0.9em;
        padding: 10px 5px;
    }
}



/* For extra small devices */
@media (max-width: 360px) {
    .cart-table th,
    .cart-table td {
        padding: 2px;
        font-size: 0.8em;
    }
    .total {
        font-size: 0.85em;
        padding: 10px 5px;
    }
}