#vendtoncell-form {
    text-align: center;
    padding: 0 0 100px;
}

body:has(#vendtoncell-form) h1 {
    text-align: center;
    padding: 0;
}

#vendtoncell-form .breadcrumbs {
    margin: 0 0 10px;
}

#vendtoncell-form .breadcrumb {
    cursor: pointer;
    transition: 0.3s;
}

#vendtoncell-form .breadcrumb:hover {
    color: #ff9900;
}

#vendtoncell-form h2 {
    font-weight: 800;
    font-size: 40px;
    line-height: 1.1em;
    margin: 0 0 40px;
    padding: 0;
    background: #ff9900;
    background: linear-gradient(to right, #ff9900 0%, #ff9900 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 0 0 50px;
}

#vendtoncell-form .step-buttons button {
    padding: 0;
    margin: 0;
    flex-basis: 100%;
    display: block;
    font-size: 17px;
    color: #555;
    font-weight: 300;
    letter-spacing: .1px;
    font-style: normal;
    padding: 15px 10px;
    border-radius: 30px;
    border: 1px solid #afafaf;
    text-align: center;
    transition: 0.5s ease;
    outline: none;
    box-shadow: none;
    background: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

#vendtoncell-form .step-buttons button:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 105%;
    border-radius: 30px;
    background-color: #ff9900;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: 0.5s ease;
    z-index: -1;
}

#vendtoncell-form .step-buttons button:hover,
#vendtoncell-form .step-buttons .active {
    color: #fff;
    border-color: transparent;
}

#vendtoncell-form .step-buttons button:hover:after,
#vendtoncell-form .step-buttons .active:after {
    width: 105%;
    opacity: 1;
}

#vendtoncell-form .email-container {
    display: flex;
    gap: 20px;
    text-align: left;
    color: #000;
    flex-direction: column;
    align-items: center;
}

#vendtoncell-form .email-text h3 {
    text-align: center;
    margin: 0 0 20px;
    padding: 0;
}

.email-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.email-text li {
    list-style: none;
    position: relative;
    padding-left: 30px;
    margin: 0 0 10px;
}

.email-text li:before {
    content: '✓';
    color: #ff9900;
    font-size: 25px;
    position: absolute;
    left: 0;
}

#vendtoncell-form .email-text {
    flex-grow: 1;
}

#vendtoncell-form .email-form {
    padding: 30px;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    line-height: 1.3;
    color: #9499a8;
    border-radius: 20px;
    width: 420px;
    max-width: 100%;
}

#vendtoncell-form .email-form label {
    display: block;
    margin: 0 0 5px;
    color: #000;
}

#vendtoncell-form .email-form input {
    border-radius: 8px 8px 8px 8px;
    overflow: hidden;
    border-width: 1px;
    border-color: #e8e8e8;
    padding: 16px;
    height: 48px;
    width: 100%;
    display: block;
    margin: 0 0 10px;
}

#vendtoncell-form .email-form p {
    margin: 0 0 10px;
}

#vendtoncell-form .email-form button {
    font-weight: 500;
    color: #fff;
    border-width: 0px;
    border-radius: 8px;
    font-size: 16px;
    background-color: #ff9900;
    display: block;
    width: 100%;
    padding: 12px 20px;
    margin: 20px 0;
    cursor: pointer;
    box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.4);
    transition: 0.3s;
}

#vendtoncell-form .email-form button:hover {
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.4)
}

#offer-price {
    color: #000;
    text-align: center;
    font-size: 25px;
    font-weight: 600;
}

/* Popup */
.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    color: #000;
}

.popup-content {
    background: #fff;
    padding: 50px 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.popup-content h2 {
    font-size: 30px;
    margin: 0 0 15px;
    font-weight: 600;
    background: #ff9900;
    background: linear-gradient(to right, #ff9900 0%, #ff9900 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.popup-content p {
    padding: 0;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 34px;
    cursor: pointer;
    color: #555;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #333;
}

.popup-buttons {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    /* flex-direction: column; */
    gap: 15px;
}

.popup-button {
    flex-grow: 1;
    min-width: 200px;
    flex-basis: 45%;
    line-height: 1.2;
    padding: 15px 20px;
    min-height: 55px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s ease;
    box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.4);
}

.popup-button:hover {
    box-shadow: 0px 2px 25px 0px rgba(0, 0, 0, 0.4);
}

.checkout-button {
    background-color: #ff9900;
    color: #fff;
}

.add-another-device-button {
    background-color: #ff9900;
    color: #fff;
    font-size: 14px;
}

@media (min-width: 600px) {
    #vendtoncell-form .step-buttons button {
        flex-basis: calc(50% - 15px);
    }

    .popup-content {
        padding: 50px;
    }
}

@media (min-width: 768px) {
    #vendtoncell-form h2 {
        font-size: 60px;
    }

    #vendtoncell-form .step-buttons button {
        flex-basis: calc(33.33% - 15px);
    }
}

@media (min-width: 1024px) {
    #vendtoncell-form .step-buttons button {
        flex-basis: calc(25% - 13px);
    }

    #vendtoncell-form #condition-buttons button {
        flex-basis: calc(33.33% - 13px);
    }

    #vendtoncell-form .email-container {
        flex-direction: row;
        align-items: flex-start;
    }

    #vendtoncell-form .email-form {
        min-width: 420px;
    }
}

@media (min-width: 1300px) {
    #vendtoncell-form h2 {
        font-size: 80px;
        margin: 0 0 60px;
    }

    #vendtoncell-form #condition-buttons button {
        flex-basis: calc(16.666% - 13px);
    }
}


