.payup.demo1 {
    max-width: 100%;
    width: 100%;
}

.owncontainer {
    max-width: 1065px;
    margin: 0 auto;
    padding-inline: 15px;
}

.payup .field select,
.payup .field input:not([type="checkbox"], [type="number"]) {
    width: 100%;
    height: 46px;
    border-radius: 24px;
    outline: none;
    border: 1px solid #000;
    padding-inline: 21px;
    margin-bottom: 26px;
    font-size: 16px;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.payup .select-arrow {
    position: relative;
}

.payup .select-arrow svg {
    position: absolute;
    right: 2%;
    top: 12px;
}

.payup .field.information {
    display: flex;
    gap: 19px;
    align-items: center;
    padding-left: 21px;
}

.payup .field.information input {
    width: 20px;
    accent-color: #000;
    height: 20px;
}

.payup .field:not(.information) label {
    display: block;
    padding-inline: 21px;
    margin-bottom: 11px;
}

.yourdetails {
    margin-top: 33px;
}


.slider-container {
    text-align: center;
    font-family: Arial, sans-serif;
    margin-bottom: 36px;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    background: #000;
    outline: none;
    transition: opacity .15s ease-in-out;
    border-radius: 4px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 25px;
    background: #000;
    border-radius: 50%;
    cursor: pointer;
}

.slider-values {
    display: flex;
    justify-content: space-between;
    margin-top: 17px;
}

button.payup-button {
    background: #000000;
    border: 0;
    color: #fff;
    font-size: 18px;
    width: 100%;
    border-radius: 12px;
    height: 60px;
    cursor: pointer;
    margin-top: 48px;
}

.pay-buttons button {
    height: 60px;
    border-radius: 12px;
    background: transparent;
    width: 100%;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pay-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 11px;
    margin-bottom: 50px;
}

.pay-buttons button.apple-par {
    background: #000;
}

.payup input::-webkit-outer-spin-button,
.payup input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.payup .invoiceamount {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 216px;
    height: 46px;
    border-radius: 24px;
    outline: none;
    border: 1px solid #000;
    padding-inline: 11px;
}

.payup .invoiceamount input {
    border: 0;
    width: inherit;
    outline: none;
    height: 36px;
    font-size: 18px;
    max-width: 150px;
    margin: 0 auto;
    text-align: center;
    font-family: 'AR One Sans';
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.invoiceamount-field.field {
    margin-top: 15px;
    margin-bottom: 60px;
}

.payup .field input::placeholder {
    font-weight: 600;
    color: #DEDCDC;
    font-family: 'AR One Sans';
}

.paynow-title h2 {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 30px;
    margin-top: 50px;
}

.payup.demo2 .fields-set {
    width: 100%;
    margin: 0 auto;
}

.payup:not(.demo1) .field.information {
    margin-top: 14px;
}

.payup:not(.demo1) button.payup-button {
    margin-top: 37px;
}

.payup .details-title h2 {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 23px;
}

.payup .details-title.your-details h2 {
    margin-bottom: 23px;
}

.payup.demo3 .yourdetails {
    gap: 20px;
}

.payup.demo3 .fields-set {
    width: 100%;
}

.payup .field.information label {
    cursor: pointer;
}

.payup img,
.payup video {
    max-width: 100%;
    height: auto;
}


.payup .invoiceamount-field.field label {
    margin-bottom: 18px;
}

.payup-right-image img {
    width: 100%;
}

.payup .error {
    font-size: 12px;
    color: red;
    margin-top: -20px;
}

.select-arrow svg {
    z-index: -1;
}

.select-arrow select {
    cursor: pointer;
}



@media screen and (min-width:992px) {
    .payup-image img {
        width: 100%;
        max-height: 200px;
    }

    .payup .fields-set {
        width: 50%;
    }

    .yourdetails {
        display: flex;
        justify-content: space-between;
        gap: 50px;
    }

    .payup .field select,
    .payup .field input:not([type="checkbox"], [type="number"]) {
        max-width: 474px;
    }

    .payup .select-arrow {
        max-width: 474px;
    }

    button.payup-button {
        max-width: 500px;
    }

    .pay-buttons {
        max-width: 474px;
    }

    .payup.demo2 .fields-set {
        max-width: 474px;
    }

    .payup.demo3 .fields-set {
        max-width: 474px;
    }

    .slider-container {
        max-width: 429px;
        margin-left: 17px;
    }

    .slider-values span:nth-child(3) {
        margin-left: 20px;
    }
}

.payment-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.payup-button {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    min-width: 200px;
}

.payup-button:hover {
    background: #333;
}

@supports not (-webkit-appearance: -apple-pay-button) {
    .apple-pay-button {
        display: none;
    }
}

/* Shipping Styles */
.shipping-details {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.details-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.details-title h2 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
}

.same-as-billing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 23px;
}

.same-as-billing input[type="checkbox"] {
    margin: 0;
}

.shipping-fields {
    transition: opacity 0.3s ease, height 0.3s ease;
}

.shipping-fields.hidden {
    opacity: 0;
    height: 0;
    overflow: hidden;
}

@media screen and (max-width: 992px) {

    .payup .field select,
    .payup .field input:not([type="checkbox"], [type="number"]) {
        width: 94%;
    }
    .payup .select-arrow svg {
        right: 7%;
    }
}