@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;

}

body {
    font-family: "Libre Caslon Text", serif;
    width: 100%;
    height: 100%;
    text-transform: capitalize;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.checkout_section {
    width: 87%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    /* border: 1px solid red; */
    padding-bottom: 40px;
    margin-top: 20px;
}

.shop_cart {
    width: 70%;
    height: 100%;
    /* border: 1px solid blue; */
}

.payment_info {
    width: 25%;
    height: 600px;
    border: 1px solid green;
    overflow-y: scroll;
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: #22b2f0 #252525;
    /* Firefox */
}

/* Chrome, Edge, Safari */
.payment_info::-webkit-scrollbar {
    width: 8px;
    background: #252525;
}

.payment_info::-webkit-scrollbar-thumb {
    background: #22b2f0;
    border-radius: 8px;
}

.payment_info::-webkit-scrollbar-thumb:hover {
    background: #1689b7;
}

.shop_cart h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.shop_cart .cart_items {
    /* border: 1px solid red; */
    width: 100%;
}

.shop_cart .cart_items table {
    /* border: 1px solid red; */
    width: 100%;
    ;
}



.shop_cart .cart_items table thead tr th {
    /* border: 1px solid rgb(255, 0, 0); */
    font-size: 15px;
    font-weight: 600;
}

.shop_cart .cart_items table tbody {
    overflow: scroll;
    overflow-y: scroll;
    /* height: 300px; */
    width: 100%;
    /* display: flex;
    flex-direction: column; */
}


.shop_cart .cart_items table tbody tr {
    border-bottom: 1px solid rgba(180, 187, 196, 0.349);
}

.shop_cart .cart_items table tbody tr td {
    padding-bottom: 10px;
    padding-top: 10px;
    padding-right: 10px;
    font-size: 16px;
    /* border: 1px solid red; */
}
.header_price,.header_quan,.header_total{
    width: 120px;
    text-align: center;
}
.header_cancel{
    width: 100px;
    text-align: center;
}

.shop_cart .cart_items table tbody tr td input {
    width: 50px;
    text-align: center;
    border: 0;
}

.shop_cart .cart_items table tbody tr td img {
    width: 85px;
    height: 80px;
    object-fit: cover;
    object-position: center;
    padding-right: 10px;
}

.shop_cart .cart_items table tbody tr td form button {
    border: 0;
}

.shop_cart .cart_total_checkout {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* align-items: flex-end; */
    /* border: 1px solid red; */
    margin-top: 30px;
}

.shop_cart .cart_total_checkout h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}



.payment_info {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    /* background-image: url('../images/checkout.jpg'); */
    background-color: #252525;
    background-size: cover;
    background-position: center;
    color: white;
    /* background:linear-gradient(200deg,rgba(0, 0, 0, 0.726),black,black) */
}

.payment_info .details_payemnt {
    width: 90%;
    height: 95%;
    /* border: 1px solid red; */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px
}

.payment_info .details_payemnt .payment_header {
    width: 100%;
    height: 50px;
    /* border: 1px solid red; */
    border-bottom: 1px solid #cccccc94;

}

.payment_info .details_payemnt .payment_header h4 {
    font-size: 28px;
    font-weight: 800;
}

.payment_info .details_payemnt .payment_methods {
    width: 100%;
    height: 100px;
    /* border: 1px solid red; */
    border-bottom: 1px solid #cccccc94;
    margin-top: 20px;
}

.payment_info .details_payemnt .payment_methods div {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.payment_info .details_payemnt .payment_methods span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.836);
}

.payment_info .details_payemnt .payment_methods div button {
    border: 1px solid white;
    border-radius: 25px;
    margin-top: 15px;
    background-color: transparent;
    color: white;
    padding: 5px;
    width: 100%;
}


.credit_card_details {
    width: 100%;
    height: 280px;
    /* border: 1px solid red; */
    /* margin-top: 20px; */
}


.credit_card_details>div {
    width: 100%;
    height: 60px;
    /* border: 1px solid red; */
    border-bottom: 1px solid #cccccc94;
    margin-top: 10px;
}

.credit_card_details div label {
    color: white;
    font-size: 14px;
    width: 100%;
}

.credit_card_details div input {
    color: white;
    font-size: 14px;
    width: 100%;
    background-color: transparent;
    border: 0;
    outline: 0;
}

.credit_card_details div .expiry_date,
.credit_card_details div .cvv {
    display: flex;
    border: 1px solid red;
}

.credit_card_details button {
    display: flex;
    justify-self: center;
    justify-content: center;
    width: 100%;
    height: fit-content;
    color: white;
    background-color: #22b2f0;
    margin: 20px;
    border-radius: 40px;
    outline: 0;
    border: 0;
    padding: 6px;

}

.credit_card_details .priv_terms {
    font-size: 11px;
    font-weight: 100;
    height: fit-content;
    padding-bottom: 10px;
}

.credit_card_details .priv_terms a {
    color: #22b2f0;
}

/* checkout done */






.orders-section {
    width: 100%;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    font-family: Arial, sans-serif;
    background: #f8f9fa;
}

.orders-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.orders-section div {
    width: 90%;
    max-width: 900px;
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-in-out;
}

.orders-section div:hover {
    transform: translateY(-3px);
}

.orders-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #444;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

.orders-section p {
    font-size: 1rem;
    margin: 0.3rem 0;
    color: #555;
}

.orders-section ol {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.orders-section ol li {
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.orders-section ol li:last-child {
    border-bottom: none;
}








