/* checkbox */
.form-check-label:before, .form-radio-label:before, .tabbed .tabs .tab>label:before {
    height: 16px;
    width: 16px;
    content: " ";
    background-image: url('../img/radio.svg');
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
    left: 0;
    position: absolute;
    top: 2px;
}

.form-check-label:before{
    background-image: url('../img/checkbox.svg');
    height: 17px;
}

.form-check,
.form-radio {
    padding-left: 0;
    position: relative;
}

.form-check-newsletter{
    margin-top: 40px;
}

.form-group-password .password-info-text{
    color: #A52B44;
    margin-top: 16px;
    font-size: 14px;
    line-height: 18px;
}

.form-group.form-group-password label{
    color: #A52B44;
}
.form-group.form-group-password:focus-within label,
.form-group.form-group-password:has(input:not(:placeholder-shown)) label,
.form-group.form-group-password:has(input:valid) label,
.form-group.form-group-password:has(input:-webkit-autofill) label{
    color: #67676a;
}

.form-group.form-group-password:focus-within .password-info-text,
.form-group.form-group-password:has(input:not(:placeholder-shown)) .password-info-text,
.form-group.form-group-password:has(input:valid) .password-info-text,
.form-group.form-group-password:has(input:-webkit-autofill) .password-info-text{
    color: #67676a;
}

.privacy-text-outer-wrap p{
    margin-bottom: 16px;
}

.privacy-text-outer-wrap a{
    color: black;
}

.privacy-text{
    font-size: 11px;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"],
.form-radio input[type="checkbox"],
.form-radio input[type="radio"]{
    display: none;
}

.form-check-label, .form-radio-label, .tabbed .tabs .tab>label {
    line-height: 20px;
    color: black;
    padding-left: 24px;
    font-size: 16px;
    font-weight: 300;
}

.form-check-input:checked~.form-check-label:after, .form-radio-input:checked~.form-radio-label:after {
    height: 16px;
    width: 16px;
    content: " ";
    background-image: url('../img/radio-checked.svg');
    background-repeat: no-repeat;
    background-size: cover;
    border: none;
    left: 0;
    position: absolute;
    top: 2px;
}

.form-check-input:checked~.form-check-label:after{
    background-image: url('../img/checkbox-checked.svg');
    height: 17px;
}

.form-check-input:checked~.form-check-label:before, .form-radio-input:checked~.form-radio-label:before, .form-radio-input:checked~.form-radio-label:before, .form-radio-input:checked~.form-radio-label:before, .tabbed .tabs .tab>.form-check-input:checked~label:before, .tabbed .tabs .tab>.form-radio-input:checked~label:before {
    background: transparent;
    border: transparent;
}
/* Auth and stepper styles extracted from inline CSS in templates/Pages/email.php */

body{
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Container */
#plenigoLogin.auth { display:block;  }
#plenigoLogin.auth * { box-sizing: border-box; }

#plenigoLogin{
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

/* Title */
.auth__title {
  text-align: center;
  margin-bottom: 24px;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  font-family: 'Bauer Bodoni', 'Bodoni', 'Times New Roman', serif;
  letter-spacing: 0;
}

/* Stepper */
.stepper {
    display: block;
    width: 100%;
    max-width: 440px;
    max-width: 200px;
    margin: 8px auto 8px;
    padding-top: 80px;
    padding-bottom: 50px;
}
.stepper__list {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}
.stepper__item {
    display: flex;
    align-items: center;
    color: #111;
    flex: 1 1 auto;
}
.stepper__item:last-child {
    flex: 0 0 auto;
}
.stepper__circle {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #111;
    border-radius: 50%;
    font-weight: 600;
}
.stepper__item--active .stepper__circle {
    background: #000;
    border-color: #000;
    color: #fff;
}
.stepper__line {
    display: inline-block;
    flex: 1 1 auto;
    width: auto;
    height: 1px;
    background: #000;
}

.stepper__item.stepper__item--completed .stepper__circle{
    background-color: #369659;
    border-color: #369659;
}

.stepper__item .stepper__line.green{
    background-color: #369659;
}

@media (max-width: 767px) {
    .stepper {
        padding-top: 40px;
        padding-bottom: 20px;
    }
}

/* Form */
.form-group { margin: 0; }
.form-group input{margin: 0;}
/* .input.input--large { width:100%; padding:14px 16px; border:1px solid #ddd; border-radius:6px; font-size:16px; }
.input.input--large:focus { outline:none; border-color:#111; box-shadow:0 0 0 2px rgba(17,17,17,.08); } */
.actions { margin-top: 40px; }
.button.button--primary {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    letter-spacing: 1.68px;
    text-transform: uppercase;
    background-color: black;
    color: white;
    min-height: 44px;
    border: 1px solid black;
    white-space: normal;
}
.button--block { width:100%; display:block; }

/* Small screens */
@media (max-width: 480px) {
  .stepper__line { width:auto; }
  .auth__title { font-size: 28px; }
}

form{
    margin-bottom: 0;
}

.payment-wrap{
    margin-top: 16px;
    text-align: center;
}

.form-group{
    position: relative;
}

.form-group input:not([type="checkbox"]){
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;

    background-clip: padding-box;
    background-color: #fff;
    border: 1px solid transparent;
    border-bottom-color: #e8e8e8;
    color: #000;
    display: block;
    font-size: 14px;
    font-weight: 500;
    height: 55px;
    line-height: 17px;
    padding: 27px 3px 9px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    width: 100%;
    border-radius: 0;
}

.form-group label{
    color: #67676a;
    cursor: text;
    font-size: 14px;
    font-weight: 300;
    line-height: 17px;
    margin-bottom: 0;
    padding-left: 4px;
    position: absolute;
    top: 28px;
    transition: all .2s;
    white-space: nowrap;
}

.form-group input:focus{
    border: 0;
    border-bottom: 1px solid #e8e8e8;
    border-radius: 0;
    box-shadow: none;
}

.form-group:focus-within label{
    font-size: 12px;
    line-height: 15px;
    padding-left: 1px;
    top: 0;
    white-space: break-spaces;
}

/* Hide placeholder while label floats to avoid overlap */
.form-group input::placeholder { color: transparent; }
.form-group input::-webkit-input-placeholder { color: transparent; }

/* Also raise label when the input has content or is autofilled */
.form-group:has(input:not(:placeholder-shown)) label,
.form-group:has(input:valid) label,
.form-group:has(input:-webkit-autofill) label{
    font-size: 12px;
    line-height: 15px;
    padding-left: 1px;
    top: 0;
    white-space: break-spaces;
}

/* Float label for selects when a value is chosen */
.form-group:has(select:required:valid) label,
.form-group:has(select:not(:placeholder-shown)) label{
    font-size: 12px;
    line-height: 15px;
    padding-left: 1px;
    top: 0;
    white-space: break-spaces;
}

/* Hide placeholder-like option text when label floats (if using placeholder-shown pattern) */
.form-group:has(select:required:valid) select::-ms-value { color: inherit; }

/* Hide placeholder in all floating-label states (filled/valid/autofilled) */
.form-group:has(input:not(:placeholder-shown)) input::placeholder,
.form-group:has(input:valid) input::placeholder,
.form-group:has(input:-webkit-autofill) input::placeholder{ color: transparent; }
.form-group:has(input:not(:placeholder-shown)) input::-webkit-input-placeholder,
.form-group:has(input:valid) input::-webkit-input-placeholder,
.form-group:has(input:-webkit-autofill) input::-webkit-input-placeholder{ color: transparent; }


.auth--finalize .form-group{
    margin-bottom: 16px;
}

.form-group-radios{
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
}

.main{
    padding-bottom: 50px;
}

@media (max-width: 767px) {
    .top-nav-title img{
        width: 130px;
        height: auto;
    }

    .top-nav-title{
        width: 140px;
    }

    .top-nav .menu{
        display: block;
        text-align: right;
        width: calc(100% - 140px);
    }

    .top-nav .menu-item{
        background: transparent;
        color: black;
        text-decoration: underline;
        border: none;
        display: inline-block;
        padding: 0;
        text-align: right;
        font-size: 12px;
        margin-left: 8px;
    }

    .top-nav{
        align-items: flex-start;
    }
}

main{
    min-height: calc(100vh - 310px);
}

footer{
    background-color: black;
    color: white;
    padding-top: 60px;
    padding-bottom: 60px;
}

footer a,
footer a:hover{
    color: inherit;
}

footer .inner-footer{
    max-width: 960px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

footer .footer-top-row,
footer .footer-bottom-row{
    display: flex;
    justify-content: space-between;
}

footer .footer-top-row{
    margin-bottom: 32px;
    align-items: flex-end;
}

footer .footer-bottom-row .left-wrap{
    color: #BBB;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

footer .social svg{
    display: block;
    width: 20px;
}

footer .links-wrap{
    display: flex;
    align-items: center;
    gap: 24px;
}

footer .links-wrap.social{
    gap: 12px;
}

@media (max-width: 767px) {
    footer .footer-top-row {
        display: block;
    }

    footer .footer-top-row .left-wrap{
        margin-bottom: 32px;
    }

    footer .footer-bottom-row{
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    footer .footer-bottom-row .left-wrap,
    footer .footer-bottom-row .right-wrap{
        width: 100%;
    }

    footer .links-wrap:not(.social),
    footer .links-wrap:not(.social) a{
        display: block;
    }

    footer .links-wrap:not(.social) a:not(:last-of-type){
        margin-bottom: 16px;
    }

    footer .links-wrap.social{
        gap: 16px;
        margin-bottom: 10px;
    }
}

/* success page */
a.button.button--primary{
    color: white;
    line-height: 3.8rem;
}

#success-page .flex-wrap{
    display: flex;
    gap: 30px;
    justify-content: space-between;
    max-width: 970px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px){
    #success-page .flex-wrap{
        display: block;
    }

    #success-page .right-col{
        margin-top: 50px;
    }
}

#success-page .order-details{
    border-radius: 8px;
    background-color: #F5F5F5;
    padding: 32px;
    color: black;
    max-width: 360px;
}

#success-page .order-details .section-title {
    font-weight: bold;
    margin-bottom: 16px;
    margin-top: 0;
}

#success-page .order-details .section-title:not(:first-child) {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #BBB;
}

#success-page .order-details .detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

#success-page .order-details .detail-row:last-of-type{
    margin-bottom: 0;
}

#success-page .order-details .detail-label {
    text-align: left;
    white-space: nowrap;
}

#success-page .order-details .detail-label-bold{
    font-weight: bold;
}

#success-page .order-details .detail-value {
    font-weight: bold;
    text-align: right;
}

#success-page .order-details .products-section .detail-label{
    white-space: normal;
}

#success-page .order-details .detail-value.price{
    white-space: nowrap;
}

#success-page .order-details .summary-section {
    border-top: 1px solid #BBB;
    padding-top: 16px;
    margin-top: 16px;
}

#success-page .confirmation-icon{
    width: 40px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
}

#success-page .button{
    display: inline-block;
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
}

#success-page h1{
    text-align: left;
}
