* {
    margin: 0;
    padding: 0;
    font-family: system-ui;
}

body {
    background-color: var(--background);
}
.cart-container {
    display: flex;
    flex-direction: column;
    margin-top:5px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px var(--card);
    background: var(--background);
}

.cart-items th, .cart-items td {
    border: 2px solid #ccc;
    background-color: var(--card);
    padding: 10px;
    border-radius: 10px;
    border-color: var(--header-footer-color);
    text-align: center;
    vertical-align: middle;
    color: var(--header-footer-color);
}

tbody tr:hover {
    background: linear-gradient(135deg, var(--high-text-button), var(--low-text-button));
    transition: background 0.3s ease;
}

tbody tr:hover td {
    background: transparent; 
}

.cart-items tr {
    width: 100%;
    display: flex;
    border-radius: 10px;
    justify-content: space-between;
    background-color: var(--card);
    margin-bottom: 5px;
    font-weight: 500;
}

.item-name {
    width: 200px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.item-date{
	width:185px;
	display: flex;
    justify-content: center;
    align-items: center;
}
.item-price, .item-total-price, .item-qty {
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.delete-action {
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.delete-item {
	width:90px;
	border: 0.5px solid grey;
    background-color: var(--high-text-button);
    padding: 2px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--header-footer-color);
    transition: background-color 0.3s ease, box-shadow 0.1s ease;
}

.delete-item:hover {
    background-color: #FF4F4F;
    border: 1px solid #FF4F4F;
}

.order-now {
	width:90px;
	border: 0.5px solid grey;
    background-color: var(--low-text-button);
    padding: 2px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--header-footer-color);
    transition: background-color 0.3s ease, box-shadow 0.1s ease;
}

.add-more:hover {
    background-color: #00A6C2;
    border: 1px solid #00A6C2;
}

.product-img {
    height: 50px;
    width: 50px;
    padding: 5px;
    object-fit: contain;
}

.cart-owner {
	width : 95%;
	margin : 0px auto;
	margin-top : 10px;
    max-width: 100%;
    background: linear-gradient(135deg, var(--high-text-button), var(--low-text-button));
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-left: 18px;
    padding-right: 18px;
    font-size: 28px;
    color: var(--header-footer-color);
}

.cart-address {
	width : 95%;
	margin : 0px auto;
	margin-bottom : 10px;
    background: linear-gradient(135deg, var(--high-text-button), var(--low-text-button));
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding-left: 18px;
    padding-right: 18px;
    font-size: 22px;
    color: var(--header-footer-color);
}

h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--base-text);
}

.checkout {
    width: 25%;
    text-align: left;
    float: right;
}

.button {
    display: flex;
    justify-content: center;
    padding: 50px 0px;
    gap: 20px;
}

.button #continue-button {
    padding: 10px 20px;
    outline: none;
    border: 1px solid grey;
    border-radius: 10px;
    background-color: var(--low-text-button);
    color: var(--base-text);
    transition: 0.5s ease;
}

.button #order-button {
    padding: 10px 20px;
    outline: none;
    border: 1px solid grey;
    border-radius: 10px;
    background-color: var(--high-text-button);
    color: var(--base-text);
    transition: 0.5s ease;
}
.error {
	display: flex;
	flex-direction: column;
	margin: 20px auto;
	justify-content: center;
	align-items: center;
}

.error h1, .error h2 {
	color: var(--high-text-button);
}

#empty-msg {
	color: var(--high-text-button);
	margin-bottom: 20px;
	text-align: center;
}
