/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

body {
    background-color: white;
}



/* CART LAYOUT */
.custom-cart {
    display: flex;
    gap: 30px;
    padding: 40px;
}

/* LEFT SIDE */
.cart-left {
    flex: 2;
}

/* ITEM CARD */
.cart-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.cart-img img {
    width: 120px;
    border-radius: 8px;
}

.cart-details {
    flex: 1;
    margin-left: 20px;
}

.cart-details h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.cart-details a {
    text-decoration: none;
    color: #111;
}

.price {
    font-size: 16px;
    margin-bottom: 10px;
}

.quantity input {
    width: 60px;
    padding: 5px;
}

/* REMOVE BUTTON */
.cart-remove a {
    font-size: 22px;
    text-decoration: none;
    color: #999;
}

.cart-remove a:hover {
    color: #000;
}

/* RIGHT SIDE */
.cart-right {
    flex: 1;
}

/* SUMMARY BOX */
.summary-box {
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 10px;
    position: sticky;
    top: 20px;
}

.summary-box h3 {
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-row.total {
    font-weight: bold;
    font-size: 18px;
    margin-top: 15px;
}

/* COUPON */
.coupon-box {
    display: flex;
    margin-top: 20px;
}

.coupon-box input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
}

.coupon-box button {
    padding: 10px 15px;
    border: none;
    background: #000;
    color: #fff;
    cursor: pointer;
}

/* CHECKOUT BUTTON */
.checkout-btn {
    display: block;
    text-align: center;
    margin-top: 20px;
    padding: 12px;
    background: #f4b400;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
}

.checkout-btn:hover {
    opacity: 0.9;
}

/* UPDATE BUTTON */
.update-cart {
    margin-top: 20px;
    padding: 10px 15px;
}


#coupon-message {
    margin-top: 10px;
    font-size: 14px;
}

.success {
    color: green;
}

.error {
    color: red;
}

.remove-coupon a {
    color: red;
    font-size: 14px;
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
}

.login-warning {
    margin-top: 20px;
    text-align: center;
}

.login-warning a {
    display: block;
    padding: 12px;
    background: #f4b400;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
}

.login-warning a:hover {
    opacity: 0.9;
}



/* Adress CSS  */

.the-five-address {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.the-five-title {
    font-size: 22px;
    margin-bottom: 20px;
}

.the-five-fields-wrapper {
    display: grid;
    gap: 15px;
}

.the-five-fields input,
.the-five-fields select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.the-five-btn {
    margin-top: 20px;
    padding: 12px 20px;
    background: #f4b400;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}



.the-five-address-wrapper {
    max-width: 800px;
    margin: auto;
}

.the-five-address-wrapper h2 {
    margin-bottom: 20px;
}

.the-five-address-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.the-five-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    background: #fafafa;
}

.the-five-card.active {
    border-color: #f4b400;
}

.the-five-card .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tag {
    border: 1px solid #f4b400;
    padding: 5px 12px;
    border-radius: 8px;
}

.default-badge {
    border: 1px solid #f4b400;
    padding: 5px 12px;
    border-radius: 8px;
}

.actions button,
.actions a {
    margin-left: 8px;
    background: #eee;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
}

.body {
    margin-top: 15px;
    line-height: 1.6;
}

.set-default {
    margin-top: 10px;
    border: 1px solid #000;
    padding: 6px 12px;
    background: transparent;
    cursor: pointer;
}

.add-new {
    display: inline-block;
    margin-top: 20px;
    padding: 12px;
    background: #ddd;
    border-radius: 10px;
    text-decoration: none;
}