body {
    background-color: #F5F5F5;
}

.shop {
    text-align: center;
    padding: 50px 100px;
}

.title-shop>h1 {
    font-family: "extra_bold";
    font-size: 28px;
    color: #2D2D2D;
}

.title-shop>span {
    color: #7A7A7A;
    font-size: 18px;
    font-family: "light";
}

.filter-shop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.filter-shop>:first-child {
    display: flex;
    justify-content: start;
    gap: 20px;
    align-items: center;
}

.filter-shop button {
    background-color: #FFFFFF;
    border: 1px #EAEAEA solid;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    gap: 10px;
}

.filter-shop button span {
    color: #2D2D2D;
    font-size: 14px;
    font-family: "light";
}

.filter-shop button img {
    width: 20px;
}

.filter-shop>:last-child {
    display: flex;
    align-items: center;
    gap: 0;
    width: 30%;
    background-color: #FFFFFF;
    padding: 5px 20px;
    border-radius: 15px;
    border: 1px #EAEAEA solid;
    font-size: 14px;

}

.filter-shop input {
    background-color: transparent;
    border: none;
    outline: none;
    color: #2D2D2D;
    font-size: 12px;
    font-family: "light";
    width: 100%;
    padding-right: 5px;
}

.filter-shop input::placeholder {
    font-size: 12px;
}

.filter-shop img {
    width: 20px;
}

@media screen and (max-width:768px) {
    .shop {
        padding: 20px;
    }

    .filter-shop {
        flex-wrap: wrap;
    }

    .filter-shop>div {
        width: 100%;
    }

    .filter-shop>:last-child {
        width: 100%;
        margin-top: 20px;
    }

    .filter-shop>:first-child {
        justify-content: space-evenly;

    }

    .filter-shop>:first-child>button {
        width: 45%;
    }
}

.content-shop {
    display: flex;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
}


.shop-item {
    background-color: #FFFFFF;
    padding: 20px 30px;
    border-radius: 10px;
    line-height: 30px;
    width: 20%;
    min-width: 250px;
    text-align: center;
    margin: auto;
    position: relative;
}

.shop-item img {
    width: 150px;
}

.shop-item h3 {
    font-family: "bold";
    font-size: 13px;
    color: #2D2D2D;
}

.shop-item p {
    font-family: "medium";
    font-size: 11px;
    color: #2D2D2D;
    opacity: 0.8;
}

.shop-item div {
    display: flex;
    justify-content: space-evenly;
    margin-top: 30px;
    justify-content: space-between;
}

.shop-item div>:last-child {
    font-family: "bold";
    font-size: 15px;
    color: #2D2D2D;
}

.discount-shop {
    color: #7A7A7A;
    text-decoration: line-through;
    font-family: "bold";
    font-size: 14px;
}

.discount-top-shop {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #FFD301;
    border-radius: 5px;
    color: #2D2D2D;
    font-family: "medium";
    font-size: 10px;
    padding: 0px 5px;
}

/* ------------------------------------- cart ---------------------------------- */
.check-cart {
    background-color: #F5F5F5;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    padding: 50px;
}

.alert-cart {
    width: 70%;
    background-color: #EBF0FC;
    margin: 50px auto;
    display: flex;
    padding: 10px 30px;
    border-radius: 20px;
    justify-content: space-between;
}

.alert-cart a {
    color: #4A6BC9;
    font-family: "bold";
}

.alert-cart span {
    color: #2D2D2D;
    font-family: "medium";
}

.show-item-price {
    width: 70%;
}

.show-item-price table {
    width: 100%;
    text-align: right;
}

.show-item-price table thead tr {
    background-color: #FFFFFF;
    border-radius: 20px;
}

.show-item-price table thead tr>:first-child {
    border-radius: 0 20px 20px 0;
}

.show-item-price table thead tr>:last-child {
    border-radius: 20px 0 0 20px;
}

table th,
td {
    padding: 5px 10px;
}

table {
    border-collapse: collapse;
    color: #2D2D2D;
}


.count-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.total-invoice-price {
    padding: 20px;
    border: 1px solid #EAEAEA;
    width: 30%;
    line-height: 40px;
    border-radius: 20px;
    background-color: #FFFFFF;
}

.total-invoice-price p {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-invoice-price p>:first-child {
    color: #7A7A7A;
    font-family: "regular";
    font-size: 13px;
}

.total-invoice-price p>:last-child {
    color: #2D2D2D;
    font-family: "medium";
    font-size: 13px;
}

hr {
    height: 1px;
    color: #EAEAEA;
    opacity: 0.5;
    margin: 20px 0;
}

.total-invoice-price a {
    background-color: #1E3A8A;
    display: block;
    text-align: center;
    padding: 5px 20px;
    border-radius: 20px;
    color: #FFFFFF;
    margin-top: 20px;
}

.total-invoice-price button {
    background-color: #1E3A8A;
    display: block;
    text-align: center;
    padding: 10px 20px;
    border-radius: 20px;
    width: 100%;
    border: none;
    color: #FFFFFF;
    margin-top: 20px;
}

@media screen and (max-width:768px) {
    .alert-cart {
        width: 95%;
        padding: 10px;
        flex-wrap: wrap;
    }

    .check-cart {
        display: flex;
        padding: 20px;
        flex-wrap: wrap;
    }

    .show-item-price {
        width: 100%;
    }

    .total-invoice-price {
        width: 100%;
    }
}

/* ------------------------------ cart_get_address -------------------------- */

.give-address {
    text-align: right;
}

.give-address h1 {
    font-family: "extra_bold";
    color: #2D2D2D;
    font-size: 25px;
}

.give-address>div {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.give-address>div input {
    background-color: #FFFFFF;
    border: 1px solid #EBF0FC;
    width: 46%;
    border-radius: 20px;
    padding: 5px 20px;
}

.give-address>div input.input-a {
    width: 30%;
}

.give-address>div textarea {
    width: 90%;
    resize: none;
    background-color: #FFFFFF;
    border: 1px solid #EBF0FC;
    border-radius: 20px;
    padding: 10px 20px;
}
.give-address>div div {
    width: 100%;
}
.give-address>div div input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
}
@media screen and (max-width:768px) {

    .give-address>div input,
    .give-address>div input.input-a,
    .give-address>div textarea {
        width: 100%;
        padding: 10px;
    }

}


/* ------------------------- finall-pay ------------------------ */
.check-cart .show-item-price {
    width: 100%;
    margin-top: 50px;
}

.pay-status-option {
    width: 100%;
    text-align: center;
}

.pay-status-option img {
    width: 50%;
    margin: 0 auto;

}

.pay-status-option span {
    display: block;
}

.success {
    color: #28A745;
}

.error {
    color: #DC3545;
}