.shop-section {
    margin: 3.25rem 0 5.75rem;
}

.shop-section {
    display: flex;
    justify-content: center;
    list-style: none;
}

.shop-section li:first-child span {
    background: #572D01;
}

.shop-section li:first-child {
    color: #572D01;
    font-weight: 400;

    line-height: 42px;
}

.shop-section li:nth-child(2)::after,
.shop-section li:nth-child(4)::after {
    content: "";
    height: 2px;
    width: 100%;
    display: block;
    border-bottom: 2px dotted #616161;
    transform: translateY(-24px);
}

.shop-section li {
    width: 17%;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    font-weight: 300;
    font-size: 28px;
    line-height: 42px;
    color: #020202;
    gap: .5rem;
}

.shop-section li span {
    background: #E4E4E4;
    padding: 37px;
    display: flex;
    border-radius: 200px;
}

.like-product-sec h5 {
    font-weight: 700;
    font-size: 24px;
    text-align: right;
    color: #572D01;
    margin: 3rem 0 28px;
}

.price-box-cart {
    font-weight: 700;
    font-size: 18px;
    line-height: 120%;
    text-align: center;
    color: #572D01;
    padding: 12px 18px;
    border: 1px solid #572D01;
    border-radius: 0.75rem;
    display: flex;
}

.cart-card {
    display: flex;
    padding: 1rem;
    border: 1px solid #E3E3E3;
    gap: 1.5rem;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgb(0 0 0 / 17%);
}

.cart-card > div {
    width: 100%;
}


.cart-card img {
    border-radius: 14px;

}

.cart-card h5 {
    color: #572D01;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 0.5rem;
}

.cart-card div ul {
    list-style-type: disc;
    list-style-position: inside;
    color: #572D01;

}

.cart-card div li::marker {
    color: #572D01;

}

.cart-card div li {
    font-weight: 400;
    font-size: 12px;
    color: #626262;
    margin-bottom: .75rem;
}

.cart-cards-div {
    width: 60%;
}

.checkout-cart {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkout-cart-price {
    padding: 1.5rem;
    border: 1px solid #572D01;
    border-radius: .825rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkout-cart-price p {
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    color: #572D01;
}

.checkout-cart-price p span {
    color: #3B3B3B;
    font-weight: 500;

}

.checkout-cart-price p:nth-child(3) span {
    font-weight: 700;
}

.checkout-cart-price button {
    margin-top: 1rem;
    border: 0;
    font-weight: 700;
    font-size: 18px;
    line-height: 120%;
    border-radius: 0.75rem;
    justify-content: center;
}

.cart-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.empty-cart-box {
    border: 1px solid #BABABA;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 2rem;
    padding: 4rem;
    gap: 1.5rem;
    background: #EFEFEF;
    margin-bottom: 12rem;
}

.empty-cart-box h5 {
    font-weight: 700;
    font-size: 32px;
    line-height: 36px;
    color: #572D01;
}

.empty-cart-box p {
    color: #572D01;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
}

/*order-completion*/

.order-completion .shop-section li:nth-child(3) span {
    background: #572D01;
}

.order-completion .shop-section li:nth-child(3) span svg {
    stroke: #fff;
}

.order-completion .shop-section li:nth-child(3) span svg path {
    fill: #fff;

}

.order-completion .shop-section li:nth-child(3) {
    color: #572D01;
    font-weight: 400;

    line-height: 42px;
}

.order-completion .cart-cards-div {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.back-to-cart {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    border: 1px solid #D4D4D4;
    padding: 1.5rem;
    color: #572D01;
    font-weight: 700;
    font-size: 26px;
    line-height: 48px;
    text-decoration: none;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgb(0 0 0 / 17%);
}

.describe-order {
    display: flex;
    flex-direction: column;
    border: 1px solid #D4D4D4;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgb(0 0 0 / 17%);
}

.describe-order h6 {
    font-weight: 700;
    font-size: 32px;
    line-height: 48px;
    color: #572D01;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #8F8F8F80;
}

.describe-order textarea {
    border: 0;
    font-weight: 400;
    font-size: 20px;
    line-height: 36px;
    color: #6C6C6C;
}

.no-address-sec {
    border: 1px solid #572D01;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgb(0 0 0 / 17%);
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
}

.address-section {
    border: 1px solid #572D01;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgb(0 0 0 / 17%);
    gap: 1.5rem;
}

.address-section ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style: none;
}

.address-section ul li {
    font-weight: 300;
    font-size: 24px;
    line-height: 32px;
    color: #1D1D1D;

}

.address-section h6 {
    font-weight: 700;
    font-size: 32px;
    line-height: 48px;
    gap: 0.5rem;
    border-bottom: 1px solid #46464680;
    padding-bottom: 1.5rem;
    display: flex;
}

.no-address-sec p {
    color: #572D01;
    font-weight: 500;
    font-size: 32px;
    line-height: 28px;
}

.address-section button {
    display: flex;
    float: left;
    align-items: center;
    gap: 0.5rem;
}

.no-address-sec button ,
.address-section button{
    padding: 14px 78px;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #572D01;
    border-radius: 0.75rem;
    background: #fff;
    border: 2px solid #572D01;
    cursor: pointer;
}

/*checkout*/
.checkout .shop-section li:nth-child(3) span,
.checkout .shop-section li:nth-child(5) span {
    background: #572D01;
}

.checkout .shop-section li:nth-child(3) span svg,
.checkout .shop-section li:nth-child(5) span svg {
    stroke: #fff;
}

.checkout .shop-section li:nth-child(3) span svg path,
.checkout .shop-section li:nth-child(5) span svg path {
    fill: #fff;
}

.checkout .shop-section li:nth-child(3),
.checkout .shop-section li:nth-child(5) {
    color: #572D01;
    font-weight: 400;

    line-height: 42px;
}

.checkout-box {
    display: flex;
    flex-direction: column;
    border: 1px solid #D9D9D9;
    background: #ffffff;
    gap: 2rem;
    box-shadow: 0 8px 24px rgb(0 0 0 / 17%);
    padding: 1.5rem 2rem;
    border-radius: 1.75rem;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 63px 0;
    min-width: 70%;
}

.checkout-box span {
    display: flex;
    padding: 68px;
    border-radius: 50%;
    background: #59C672;

}

.checkout-error span {
    transform: rotate(180deg);
    background: #EE5050;

}

.checkout-box p {
    font-weight: 700;
    font-size: 32px;
    line-height: 48px;
}

.checkout-box p:nth-child(3) a {
    color: #572D01;
    text-decoration: none;
}

.checkout-box p:nth-child(3) {
    color: #6B6B6B;
}

.checkout-error .main-btn {
    width: 100%;
    justify-content: center;
    max-width: 60%;
}

.checkout .shop-section {
    margin: 3.25rem 0 0;
}

.full-cart {
    margin-bottom: 12rem;
}


.price-cart-div .quantity-box {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
}

.price-cart-div .btn {
    border: none;
    background: none;
    font-size: 26px;
    cursor: pointer;
    color: #572D01;
}

.price-cart-div .count {
    background: #572D01;
    color: #fff;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.price-cart-div {
    flex-direction: column;
    justify-content: end;
    gap: 0.5rem;
}

.price-cart-div .overlay {
    position: fixed;
    inset: 0;
    background: rgb(204 204 204 / 50%);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Popup */
.price-cart-div .popup {
    background: #572D01;
    color: #fff;
    width: 90%;
    max-width: 360px;
    padding: 25px 20px 30px;
    border-radius: 18px;
    text-align: center;
    position: relative;
}

.price-cart-div .close {
    position: absolute;
    top: 12px;
    left: 12px;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

/* Icon */
.price-cart-div .icon {
    width: 60px;
    height: 60px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 15px;
}

.price-cart-div .popup h3 {
    margin-bottom: 10px;
}

.price-cart-div .popup p {
    font-size: 14px;
    line-height: 1.8;
}

/* Buttons */
.price-cart-div .actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.price-cart-div .actions button {
    flex: 1;
    padding: 10px 0;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.price-cart-div .cancel {
    background: #fff;
    color: #333;
}

.price-cart-div .delete {
    background: #e60000;
    color: #fff;
}
.discount-box input {
    border: 1px solid #572D01;
    border-radius: 12px;
    font-weight: 300;
    font-size: 24px;
    line-height: 36px;
    text-align: right;
    padding: 0.75rem;
    width: 60%;
    outline: none;
}

.discount-box button {
    width: 35%;
    background: #F5EFE6;
    border-radius: 12px;
    border: 1px solid #572D01;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    color: #4E5052;
    padding: 0.75rem;
}

.discount-box {
    display: flex;
    justify-content: space-between;
}



.address-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

.address-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 100%;
    max-width: 600px;
    background: #fff;
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 1000;
    padding: 28px;
}

/* وقتی فعال شد */
.address-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.address-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.popup-title {
    font-weight: 400;
    font-size: 28px;
    line-height: 42px;
    text-align: right;
    color: #572D01;
}

.popup-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.popup-form .row {
    display: flex;
    gap: 10px;
}

.popup-form .field {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    gap: 0.75rem;
}

.popup-form .field label{
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    color: #572D01;
}

.popup-form input,
.popup-form select,
.popup-form textarea {
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.popup-form textarea {
    resize: none;
    height: 80px;
}

.submit-btn {
    width: 100%;
    background: #6b3e00;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
}
