/*
Theme Name: Lecoly
Author: Lecoly
Version: 1.9
*/

body.ll-payment-waiting{
    overflow:hidden;
}

.ll-payment-wait{
    position:fixed;
    inset:0;
    z-index:100000;
    display:grid;
    place-items:center;
    padding:24px;
    background:rgba(247,247,244,.96);
    opacity:0;
    visibility:hidden;
    transition:opacity .2s ease,visibility .2s ease;
}

.ll-payment-wait.is-active{
    opacity:1;
    visibility:visible;
}

.ll-payment-wait__content{
    width:min(440px,100%);
    text-align:center;
}

.ll-payment-wait__spinner{
    width:64px;
    height:64px;
    margin:0 auto 26px;
    border:5px solid #deded9;
    border-top-color:#b94f73;
    border-radius:50%;
    animation:ll-payment-spin .85s linear infinite;
}

.ll-payment-wait__content p{
    margin:0 0 9px;
    color:#a13d61;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
}

.ll-payment-wait__content h2{
    margin:0 0 12px;
    color:#171717;
    font-size:28px;
    line-height:1.2;
    letter-spacing:0;
}

.ll-payment-wait__content span{
    display:block;
    color:#686863;
    font-size:14px;
    line-height:1.6;
}

.ll-payment-result-page.is-waiting{
    visibility:hidden;
}

.ll-global-footer{
    margin-top:56px;
    padding:28px 24px;
    background:#111;
    color:#fff;
}

.ll-global-footer-inner{
    width:min(1180px,100%);
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.ll-global-footer strong,
.ll-global-footer span{
    display:block;
}

.ll-global-footer span{
    margin-top:5px;
    color:rgba(255,255,255,.68);
    font-size:13px;
}

.ll-global-footer nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:10px 18px;
}

.ll-global-footer a{
    color:#fff;
    text-decoration:none;
    font-size:13px;
}

.ll-global-footer a:hover{
    text-decoration:underline;
}

@media(max-width:760px){
    .ll-global-footer-inner{
        align-items:flex-start;
        flex-direction:column;
    }

    .ll-global-footer nav{
        justify-content:flex-start;
    }
}

.ll-payment-result-page{
    min-height:75vh;
    padding:42px 24px 72px;
    background:#f2f2ef;
}

.ll-payment-result{
    width:min(1180px,100%);
    margin:0 auto;
    overflow:hidden;
    border:1px solid #deded9;
    border-radius:8px;
    background:#fff;
    box-shadow:0 24px 70px rgba(20,20,20,.1);
}

.ll-payment-result__hero{
    position:relative;
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:22px;
    align-items:center;
    min-height:220px;
    padding:42px 46px;
    background:#171717;
    color:#fff;
}

.ll-payment-result--approved .ll-payment-result__hero{
    background:#174c38;
}

.ll-payment-result--approved .ll-payment-result__hero::after{
    background:#8fc6a4;
}

.ll-payment-result--approved .ll-payment-result__status{
    color:#a9dbbb;
}

.ll-payment-result--rejected .ll-payment-result__hero{
    background:#5c2529;
}

.ll-payment-result__hero::after{
    content:"";
    position:absolute;
    right:46px;
    bottom:0;
    width:90px;
    height:4px;
    background:#b94f73;
}

.ll-payment-result__hero-copy{
    max-width:690px;
}

.ll-payment-result__signal{
    position:relative;
    width:74px;
    height:74px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.25);
    background:rgba(255,255,255,.08);
}

.ll-payment-result--approved .ll-payment-result__signal::before{
    content:"";
    position:absolute;
    left:25px;
    top:18px;
    width:18px;
    height:30px;
    border-right:4px solid #fff;
    border-bottom:4px solid #fff;
    transform:rotate(45deg);
}

.ll-payment-result--pending .ll-payment-result__signal{
    border:5px solid rgba(255,255,255,.22);
    border-top-color:#d987a4;
    animation:ll-payment-spin .9s linear infinite;
}

.ll-payment-result--rejected .ll-payment-result__signal::before,
.ll-payment-result--rejected .ll-payment-result__signal::after{
    content:"";
    position:absolute;
    left:34px;
    top:18px;
    width:4px;
    height:38px;
    background:#fff;
    transform:rotate(45deg);
}

.ll-payment-result--rejected .ll-payment-result__signal::after{
    transform:rotate(-45deg);
}

.ll-payment-result__status{
    margin:0 0 10px;
    color:#dc8fab;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
}

.ll-payment-result h1{
    margin:0 0 10px;
    color:#fff;
    font-size:38px;
    line-height:1.12;
}

.ll-payment-result__hero .ll-payment-result__message{
    margin:0;
    max-width:610px;
    color:rgba(255,255,255,.7);
    line-height:1.65;
}

.ll-payment-result .ll-payment-result__checking{
    margin-top:12px;
    color:#dc8fab;
    font-size:13px;
    font-weight:700;
}

.ll-payment-result__order-number{
    min-width:150px;
    padding-left:28px;
    border-left:1px solid rgba(255,255,255,.18);
    text-align:right;
}

.ll-payment-result__order-number span,
.ll-payment-result__order-number strong{
    display:block;
}

.ll-payment-result__order-number span{
    margin-bottom:5px;
    color:rgba(255,255,255,.52);
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
}

.ll-payment-result__order-number strong{
    font-size:22px;
}

.ll-payment-result__body{
    display:grid;
    grid-template-columns:minmax(0,1fr) 350px;
    gap:0;
}

.ll-payment-result__main{
    min-width:0;
    padding:36px 44px 44px;
}

.ll-payment-result__aside{
    padding:36px 32px;
    border-left:1px solid #e6e6e2;
    background:#f8f8f6;
}

.ll-order-progress{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    margin-bottom:38px;
}

.ll-order-progress__item{
    position:relative;
    display:flex;
    align-items:center;
    gap:10px;
    color:#8a8a85;
    font-size:11px;
    font-weight:800;
}

.ll-order-progress__item::after{
    content:"";
    position:absolute;
    left:34px;
    right:8px;
    top:14px;
    height:1px;
    background:#d9d9d5;
}

.ll-order-progress__item:last-child::after{
    display:none;
}

.ll-order-progress__item span{
    position:relative;
    z-index:1;
    width:29px;
    height:29px;
    flex:0 0 auto;
    display:grid;
    place-items:center;
    border:1px solid #cfcfca;
    border-radius:50%;
    background:#fff;
}

.ll-order-progress__item.active{
    color:#255c3b;
}

.ll-order-progress__item.active span{
    border-color:#255c3b;
    background:#255c3b;
    color:#fff;
}

.ll-order-progress__item.completed::after{
    background:#255c3b;
}

.ll-order-progress__item.current span{
    animation:ll-order-current-pulse 2.2s ease-in-out infinite;
}

@keyframes ll-order-current-pulse{
    0%,100%{
        box-shadow:0 0 0 0 rgba(37,92,59,0);
        transform:scale(1);
    }
    50%{
        box-shadow:0 0 0 7px rgba(37,92,59,.12);
        transform:scale(1.04);
    }
}

@media(prefers-reduced-motion:reduce){
    .ll-order-progress__item.current span{
        animation:none;
    }
}

.ll-result-section{
    padding:28px 0;
    border-top:1px solid #e7e7e3;
}

.ll-result-section__heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:18px;
}

.ll-result-section h2{
    margin:0;
    color:#171717;
    font-size:19px;
}

.ll-result-section__heading > strong{
    font-size:18px;
}

.ll-result-products{
    display:grid;
    gap:12px;
}

.ll-result-product{
    display:grid;
    grid-template-columns:64px minmax(0,1fr) auto;
    gap:15px;
    align-items:center;
    padding:12px 0;
}

.ll-result-product__image{
    width:64px;
    height:76px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border:1px solid #e4e4df;
    border-radius:4px;
    background:#f3f3f0;
}

.ll-result-product__image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.ll-result-product__copy strong,
.ll-result-product__copy span{
    display:block;
}

.ll-result-product__copy strong{
    margin-bottom:6px;
    font-size:14px;
}

.ll-result-product__copy span{
    color:#777772;
    font-size:12px;
}

.ll-result-product__price{
    white-space:nowrap;
    font-size:14px;
}

.ll-result-next{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
}

.ll-result-next p{
    max-width:560px;
    margin:8px 0 0;
    color:#6d6d68;
    font-size:13px;
    line-height:1.6;
}

.ll-result-next > i{
    color:#b94f73;
    font-size:30px;
}

.ll-result-eyebrow{
    color:#b94f73;
    font-size:10px;
    font-weight:900;
    text-transform:uppercase;
}

.ll-result-facts{
    display:grid;
    gap:20px;
}

.ll-result-addresses{
    display:grid;
    gap:14px;
    margin-top:22px;
}

.ll-result-address{
    padding:18px;
    border:1px solid #deded9;
    border-radius:6px;
    background:#fff;
}

.ll-result-address__head{
    display:flex;
    align-items:center;
    gap:11px;
    margin-bottom:16px;
    padding-bottom:14px;
    border-bottom:1px solid #ecece8;
}

.ll-result-address__icon{
    width:36px;
    height:36px;
    flex:0 0 auto;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#f0e5e9;
    color:#a33f62;
}

.ll-payment-result--approved .ll-result-address__icon{
    background:#e4f0e8;
    color:#276444;
}

.ll-result-address__head small,
.ll-result-address__head h3{
    display:block;
}

.ll-result-address__head small{
    margin-bottom:3px;
    color:#888883;
    font-size:9px;
    font-weight:900;
    text-transform:uppercase;
}

.ll-result-address__head h3{
    margin:0;
    color:#1d1d1b;
    font-size:14px;
}

.ll-result-address__name{
    display:block;
    margin-bottom:9px;
    color:#222;
    font-size:13px;
}

.ll-result-address address{
    display:grid;
    gap:3px;
    color:#666661;
    font-size:12px;
    font-style:normal;
    line-height:1.5;
}

.ll-result-address > p{
    display:flex;
    align-items:center;
    gap:7px;
    margin:13px 0 0;
    padding-top:12px;
    border-top:1px solid #ecece8;
    color:#555550;
    font-size:11px;
    overflow-wrap:anywhere;
}

.ll-result-facts > div{
    padding-bottom:18px;
    border-bottom:1px solid #dfdfda;
}

.ll-result-facts span,
.ll-result-facts strong{
    display:block;
}

.ll-result-facts span{
    margin-bottom:7px;
    color:#777772;
    font-size:10px;
    font-weight:900;
    text-transform:uppercase;
}

.ll-result-facts strong{
    color:#222;
    font-size:13px;
    line-height:1.55;
}

.ll-result-facts address{
    font-style:normal;
}

.ll-payment-result__actions{
    display:grid;
    gap:10px;
    margin-top:28px;
}

.ll-payment-installments{
    min-width:0;
    margin-top:18px;
    padding:14px 16px;
    overflow:hidden;
    border:1px solid #deded9;
    border-radius:6px;
    background:#f8f8f6;
}

.ll-payment-installments > div,
.ll-payment-installments table{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
}

.ll-payment-installments table{
    margin:0 !important;
    border:0 !important;
    table-layout:fixed;
}

.ll-payment-installments th,
.ll-payment-installments td{
    width:auto !important;
    padding:10px 0 !important;
    border:0 !important;
    border-bottom:1px solid #ecece8 !important;
    background:transparent !important;
    color:#222 !important;
    font-size:12px !important;
    line-height:1.45 !important;
    overflow-wrap:anywhere;
    text-align:left !important;
    vertical-align:top;
}

.ll-payment-installments th{
    width:48% !important;
    padding-right:12px !important;
    color:#777772 !important;
    font-weight:800 !important;
}

.ll-payment-installments tr:last-child th,
.ll-payment-installments tr:last-child td{
    border-bottom:0 !important;
}

.ll-payment-result__actions .button{
    display:inline-flex;
    min-height:48px;
    align-items:center;
    justify-content:center;
    padding:0 20px;
    border:1px solid #171717;
    border-radius:4px;
    background:#171717;
    color:#fff;
    font-weight:700;
    text-decoration:none;
}

.ll-payment-result__actions .button.alt{
    background:transparent;
    color:#171717;
}

.ll-payment-result__link{
    padding:9px 4px;
    color:#555550;
    font-weight:700;
    text-align:center;
}

.ll-payment-result .ll-payment-result__help{
    margin:22px 0 0;
    padding-top:18px;
    border-top:1px solid #dfdfda;
    color:#6d4444;
    font-size:13px;
    line-height:1.55;
}

@keyframes ll-payment-spin{
    to{transform:rotate(360deg);}
}

@media(max-width:900px){
    .ll-payment-result__body{
        grid-template-columns:1fr;
    }

    .ll-payment-result__aside{
        border-top:1px solid #e6e6e2;
        border-left:0;
    }
}

@media(max-width:640px){
    .ll-payment-result-page{
        padding:18px 12px 42px;
    }

    .ll-payment-result__hero{
        grid-template-columns:1fr;
        min-height:0;
        padding:30px 22px;
    }

    .ll-payment-result__signal{
        width:62px;
        height:62px;
    }

    .ll-payment-result--approved .ll-payment-result__signal::before{
        left:21px;
        top:14px;
    }

    .ll-payment-result__order-number{
        padding:18px 0 0;
        border-top:1px solid rgba(255,255,255,.18);
        border-left:0;
        text-align:left;
    }

    .ll-payment-result h1{
        font-size:30px;
    }

    .ll-payment-result__main,
    .ll-payment-result__aside{
        padding:26px 20px;
    }

    .ll-order-progress__item{
        align-items:flex-start;
        flex-direction:column;
        gap:7px;
    }

    .ll-order-progress__item::after{
        left:29px;
        right:4px;
    }

    .ll-result-product{
        grid-template-columns:54px minmax(0,1fr);
    }

    .ll-result-product__image{
        width:54px;
        height:66px;
    }

    .ll-result-product__price{
        grid-column:2;
    }

    .ll-result-next{
        align-items:flex-start;
    }
}
