.product-image{
    object-fit: cover;
    width: 100%;
    height: auto;
    max-height: 150px;
    max-width: 150px;
    border-radius: 8px;
}
.product-name{
    font-size: 22px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-content{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}
.product-price{
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0;
}
.buyer-info{
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.buyer-title{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0;
}
.buyer-form{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.buy-for{
    display: flex;
    align-items: center;
    justify-content: space-between;
    h6{
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 0;
    }
}
.buy-switch {
    position: relative;
    width: 45px;
    height: 20px;
}

.buy-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 25px;
    transition: 0.4s;
}

.slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 1px;
    bottom: 1px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #10EF00;
}

input:checked + .slider::before {
    transform: translateX(25px);
}

.input-detail{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.label-field{
    width: 100%;
    color: #000000;
    font-size: 14px;
    font-weight: 500;
}
.input-field{
    width: 100%;
    padding: 8px 16px;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    border: 1px solid #D6D6D6;
    border-radius: 8px;
}
.buy-note{
    display: none;
}
.receiver-info{
    margin-top: 40px;
    display: none;
}
.receiver-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
.receiver-title{
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 0;
}
.add-receiver-btn{
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #F1641E;
    padding: 2px 10px;
    border-radius: 20px;
    cursor: pointer;
}
.add-receiver-text{
    font-size: 16px;
    font-weight: 500;
    color: #F1641E;
}
.excel-upload{
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    background: #F1641E;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
}
.tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: -50px;
    left: -30px;
    width: 140%;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 4px;
    transition: opacity 0.3s;
    font-size: 12px;
}

.excel-upload:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
.upload-excel-text{
    color: white;
    font-size: 16px;
    font-weight: 500;
}
.example-excel{
    display: flex;
    justify-content: right;
    margin-bottom: 20px;
    .download-link{
        text-decoration: underline;
        color: #F1641E;
        text-align: right;
        font-weight: 600;
        font-size: 15px;
        border: none;
        background: unset;
    }
    .download-link:hover{
        color: #cf4500;
    }
}
.list-receiver {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 10px;
    margin-top: 5px;
}

.receiver-item {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.receiver-phone {
    width: 60%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #D6D6D6;
    border-radius: 8px;
}

.receiver-number {
    width: 50px;
    text-align: center;
    padding: 8px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #D6D6D6;
    border-radius: 8px;
}
.receiver-number::-webkit-outer-spin-button,
.receiver-number::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.receiver-number[type=number] {
    -moz-appearance: textfield;
}

#receiver-number {
    -moz-appearance: textfield;
}

#receiver-number::-webkit-outer-spin-button,
#receiver-number::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.trash-icon{
    cursor: pointer;
}

.receiver-payment{
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-button{
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F1641E;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    .payment-total{
        font-size: 20px;
        font-weight: 500;
    }
    p{
        margin-bottom: 0;
        font-size: 16px;
        font-weight: 500;
        color: white;
        text-wrap-mode: nowrap;
    }
    i{
        color: white;
    }
}
.ordinal-number{
    font-size: 16px;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .product-image-col{
        padding-right: 0 !important;
    }
    .product-image{
        max-height: 120px;
        max-width: 120px;
    }
    .product-content{
        gap: 5px;
    }
    .product-name{
        font-size: 16px;
    }
    .product-price{
        font-size: 14px;
    }
    .buyer-info{
        margin-top: 15px;
        gap: 15px;
    }
    .buyer-title{
        font-size: 16px;
    }
    .buyer-form{
        gap: 10px;
    }
    .label-field{
        font-weight: 400;
    }
    .input-field{
        font-size: 14px;
        padding: 8px;
    }
    .buy-for {
        h6 {
            font-size: 16px;
        }
    }
    .receiver-payment {
        margin-top: 20px;
    }
    .payment-button{
        padding: 4px 16px;
        p{
            font-size: 14px;
        }
        i{
            font-size: 14px;
        }
    }
    .receiver-info{
        margin-top: 20px;
    }
    .receiver-title{
        font-size: 16px;
    }
    .add-receiver-text{
        font-size: 14px;
    }
    .excel-upload{
        padding: 4px 16px;
    }
    .excel-icon{
        width: 16px;
        height: 16px;
    }
    .upload-excel-text{
        font-size: 14px;
    }
    .list-receiver{
        grid-template-columns: repeat(2, 1fr);
        column-gap: 15px;
    }
    .receiver-number {
        width: 40px;
        padding: 8px 4px;
    }
}

@media screen and (max-width: 575px) {
    .excel-upload{
        padding: 4px 8px;
    }
    .list-receiver{
        grid-template-columns: repeat(1, 1fr);
    }
    .payment-button{
        padding: 4px 8px;
    }
    .wrap-mobile{
        flex-wrap: wrap;
        gap: 10px;
    }
}
