/* ==========================================================
   THE LOLITA LIVING — SPECIAL POPUP v1.2
   ========================================================== */

.tll-special-overlay{
    position:fixed;
    inset:0;
    z-index:999999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;

    background:
        radial-gradient(circle at 50% 30%,rgba(113,67,79,.15),transparent 34%),
        rgba(27,21,19,.66);

    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.tll-special-overlay.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

.tll-special-modal{
    --cream:#f7f3ec;
    --paper:#eee8de;
    --ink:#201a17;
    --muted:#70645d;

    --wine:#71434f;
    --wine-dark:#512c37;
    --wine-deep:#3d2028;

    --olive:#65705b;
    --whatsapp:#1f8f5f;
    --whatsapp-dark:#17744d;

    position:relative;

    display:grid;
    grid-template-columns:280px minmax(0,1fr);

    width:min(920px,100%);
    max-height:min(92vh,780px);

    overflow:auto;

    background:var(--cream);
    color:var(--ink);

    border:1px solid rgba(255,255,255,.36);

    box-shadow:
        0 45px 110px rgba(18,10,12,.34),
        0 3px 16px rgba(18,10,12,.15);

    transform:translateY(22px) scale(.98);

    transition:transform .32s cubic-bezier(.2,.7,.2,1);

    font-family:"DM Sans",Arial,sans-serif;
}

.tll-special-overlay.is-open .tll-special-modal{
    transform:translateY(0) scale(1);
}


/* CLOSE */

.tll-special-close{
    position:absolute;
    z-index:20;

    top:18px;
    right:18px;

    display:flex;
    align-items:center;
    justify-content:center;

    width:42px;
    height:42px;

    padding:0;

    border:1px solid rgba(32,26,23,.09);
    border-radius:50%;

    background:rgba(247,243,236,.9);
    color:var(--ink);

    box-shadow:0 5px 18px rgba(32,26,23,.07);

    cursor:pointer;

    font-family:Arial,sans-serif;
    font-size:27px;
    font-weight:300;
    line-height:1;

    transition:.2s ease;
}

.tll-special-close:hover{
    transform:rotate(8deg);
    background:var(--wine);
    border-color:var(--wine);
    color:#fff;
}


/* ==========================================================
   VISUAL PANEL
   ========================================================== */

.tll-special-visual{
    position:relative;

    min-height:590px;

    overflow:hidden;

    background:
        radial-gradient(circle at 45% 23%,rgba(255,255,255,.14),transparent 22%),
        radial-gradient(circle at 80% 60%,rgba(255,255,255,.08),transparent 26%),
        linear-gradient(155deg,var(--wine) 0%,var(--wine-dark) 50%,var(--wine-deep) 100%);

    color:#fff;
}

.tll-special-visual:before{
    content:"";

    position:absolute;
    inset:18px;

    border:1px solid rgba(255,255,255,.23);

    pointer-events:none;
}

.tll-special-visual:after{
    content:"";

    position:absolute;
    left:-80px;
    bottom:65px;

    width:230px;
    height:230px;

    border:1px solid rgba(255,255,255,.10);
    border-radius:50%;

    box-shadow:
        0 0 0 28px rgba(255,255,255,.025),
        0 0 0 58px rgba(255,255,255,.018);
}


/* SPECIAL BADGE */

.tll-special-badge{
    position:absolute;
    z-index:5;

    top:34px;
    left:34px;

    padding:10px 14px;

    border:1px solid rgba(255,255,255,.48);

    background:rgba(255,255,255,.10);

    color:#fff;

    font-size:9px;
    font-weight:700;
    letter-spacing:2.2px;
    text-transform:uppercase;
}


/* ORBIT */

.tll-special-orbit{
    position:absolute;

    top:100px;
    left:50%;

    width:170px;
    height:170px;

    transform:translateX(-50%);
}

.tll-special-orbit span{
    position:absolute;
    inset:0;

    border:1px solid rgba(255,255,255,.16);
    border-radius:50%;
}

.tll-special-orbit span:nth-child(2){
    inset:24px;
    border-color:rgba(255,255,255,.22);
}

.tll-special-orbit span:nth-child(3){
    inset:54px;
    border-color:rgba(255,255,255,.42);
}


/* HERB ILLUSTRATION */

.tll-special-leaf{
    position:absolute;
    z-index:4;

    top:145px;
    left:50%;

    width:145px;

    transform:translateX(-50%);

    opacity:.92;
}

.tll-special-leaf svg{
    width:100%;
    height:auto;

    overflow:visible;

    fill:none;
    stroke:#f4e8df;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}


/* BOTTOM BRANDING */

.tll-special-visual-bottom{
    position:absolute;
    z-index:4;

    left:34px;
    right:34px;
    bottom:34px;

    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
}

.tll-special-mini{
    max-width:100px;

    color:rgba(255,255,255,.72);

    font-size:8px;
    font-weight:600;
    line-height:1.55;
    letter-spacing:1.6px;
    text-transform:uppercase;
}

.tll-special-number{
    color:#fff;

    font-family:"Italiana",Georgia,serif;
    font-size:50px;
    line-height:.9;
    letter-spacing:-2px;
}


/* ==========================================================
   CONTENT
   ========================================================== */

.tll-special-content{
    position:relative;

    display:flex;
    flex-direction:column;
    justify-content:center;

    padding:62px 64px 54px;
}

.tll-special-eyebrow{
    width:max-content;

    margin:0 0 18px;

    padding:8px 11px;

    background:rgba(113,67,79,.09);
    color:var(--wine);

    font-size:9px;
    font-weight:700;
    letter-spacing:2.1px;
    text-transform:uppercase;
}

.tll-special-content h2{
    max-width:560px;

    margin:0;

    color:var(--ink);

    font-family:"Italiana",Georgia,serif;
    font-size:clamp(48px,5vw,68px);
    font-weight:400;
    line-height:.94;
    letter-spacing:-1.3px;
}

.tll-special-copy{
    max-width:560px;

    margin:23px 0 0;

    color:var(--muted);

    font-size:14px;
    line-height:1.8;
}


/* PRICE */

.tll-special-price-block{
    margin-top:28px;

    padding:22px 0 23px;

    border-top:1px solid rgba(32,26,23,.13);
    border-bottom:1px solid rgba(32,26,23,.13);
}

.tll-special-price-top{
    margin-bottom:8px;

    color:#96877f;

    font-size:8px;
    font-weight:700;
    letter-spacing:1.9px;
    text-transform:uppercase;
}

.tll-special-price-row{
    display:flex;
    align-items:flex-end;
    gap:18px;
}

.tll-special-price{
    color:var(--wine);

    font-family:"Italiana",Georgia,serif;
    font-size:74px;
    line-height:.86;
    letter-spacing:-3px;
}

.tll-special-delivery{
    padding-bottom:7px;

    color:#887a72;

    font-size:9px;
    font-weight:700;
    line-height:1.4;
    letter-spacing:1.05px;
    text-transform:uppercase;
}


/* WHATSAPP CTA */

.tll-special-whatsapp{
    display:flex;
    align-items:center;
    justify-content:center;

    gap:11px;

    width:100%;
    min-height:60px;

    margin-top:28px;
    padding:15px 22px;

    background:var(--whatsapp);
    color:#fff !important;

    box-shadow:
        0 10px 28px rgba(31,143,95,.20);

    text-decoration:none !important;

    font-size:10px;
    font-weight:700;
    letter-spacing:1.2px;
    text-align:center;
    text-transform:uppercase;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.tll-special-whatsapp:hover{
    transform:translateY(-2px);

    background:var(--whatsapp-dark);

    box-shadow:
        0 14px 32px rgba(31,143,95,.28);
}

.tll-special-wa-icon{
    display:flex;

    width:23px;
    height:23px;

    flex:0 0 23px;
}

.tll-special-wa-icon svg{
    display:block;

    width:100%;
    height:100%;

    fill:currentColor;
}

.tll-special-cta-note{
    margin-top:12px;

    color:#a1948c;

    font-size:9px;
    line-height:1.5;
    text-align:center;
}


/* NO NUMBER MESSAGE */

.tll-special-admin-note{
    margin-top:26px;

    padding:16px;

    border:1px solid rgba(113,67,79,.22);

    background:rgba(113,67,79,.06);
    color:var(--wine-dark);

    font-size:12px;
    line-height:1.6;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media(max-width:900px){

    .tll-special-modal{
        grid-template-columns:220px minmax(0,1fr);

        width:min(760px,100%);
    }

    .tll-special-visual{
        min-height:555px;
    }

    .tll-special-content{
        padding:54px 44px 46px;
    }

    .tll-special-content h2{
        font-size:52px;
    }

    .tll-special-price{
        font-size:66px;
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media(max-width:700px){

    .tll-special-overlay{
        align-items:center;
        padding:
            max(10px,env(safe-area-inset-top))
            max(10px,env(safe-area-inset-right))
            max(10px,env(safe-area-inset-bottom))
            max(10px,env(safe-area-inset-left));
    }

    .tll-special-modal{
        display:block;
        width:min(440px,100%);
        max-height:calc(100vh - 20px);
        max-height:calc(100dvh - 20px);
        overflow:auto;
        border-radius:12px;
        overscroll-behavior:contain;
        -webkit-overflow-scrolling:touch;
    }

    .tll-special-visual{
        min-height:0;
        height:104px;
    }

    .tll-special-visual:before{
        inset:8px;
    }

    .tll-special-visual:after{
        left:-52px;
        bottom:-92px;
        width:170px;
        height:170px;
    }

    .tll-special-badge{
        top:17px;
        left:17px;
        padding:7px 10px;
        font-size:7px;
        letter-spacing:1.7px;
    }

    .tll-special-orbit{
        top:-72px;
        left:auto;
        right:38px;
        width:144px;
        height:144px;
        transform:none;
    }

    .tll-special-leaf{
        top:-5px;
        left:auto;
        right:67px;
        width:66px;
        transform:none;
    }

    .tll-special-visual-bottom{
        left:17px;
        right:72px;
        bottom:14px;
    }

    .tll-special-number{
        margin-left:auto;
        font-size:31px;
        letter-spacing:-1px;
    }

    .tll-special-mini{
        display:none;
    }

    .tll-special-close{
        top:12px;
        right:12px;
        width:36px;
        height:36px;
        background:rgba(247,243,236,.94);
        font-size:23px;
    }

    .tll-special-content{
        padding:23px 21px 20px;
    }

    .tll-special-eyebrow{
        margin-bottom:11px;
        padding:6px 8px;
        font-size:7px;
        letter-spacing:1.6px;
    }

    .tll-special-content h2{
        max-width:none;
        padding-right:0;
        font-size:clamp(31px,9.1vw,38px);
        line-height:.98;
        letter-spacing:-.7px;
    }

    .tll-special-copy{
        margin-top:12px;
        font-size:12.5px;
        line-height:1.55;
    }

    .tll-special-price-block{
        margin-top:16px;
        padding:13px 0 14px;
    }

    .tll-special-price-top{
        margin-bottom:6px;
        font-size:7px;
        letter-spacing:1.5px;
    }

    .tll-special-price-row{
        align-items:center;
        gap:13px;
    }

    .tll-special-price{
        font-size:50px;
        line-height:.9;
        letter-spacing:-2px;
    }

    .tll-special-delivery{
        padding-bottom:0;
        font-size:7.5px;
        line-height:1.35;
        letter-spacing:.8px;
    }

    .tll-special-whatsapp{
        min-height:50px;
        margin-top:16px;
        padding:12px 14px;
        gap:9px;
        font-size:8.5px;
        letter-spacing:.9px;
    }

    .tll-special-wa-icon{
        width:20px;
        height:20px;
        flex-basis:20px;
    }

    .tll-special-cta-note{
        margin-top:8px;
        font-size:7.8px;
        line-height:1.4;
    }
}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media(max-width:390px){

    .tll-special-modal{
        width:100%;
        border-radius:10px;
    }

    .tll-special-visual{
        height:90px;
    }

    .tll-special-badge{
        top:14px;
        left:14px;
    }

    .tll-special-orbit{
        right:29px;
    }

    .tll-special-leaf{
        right:56px;
        width:60px;
    }

    .tll-special-visual-bottom{
        left:14px;
        right:63px;
        bottom:11px;
    }

    .tll-special-number{
        font-size:28px;
    }

    .tll-special-close{
        top:9px;
        right:9px;
        width:34px;
        height:34px;
        font-size:22px;
    }

    .tll-special-content{
        padding:19px 17px 17px;
    }

    .tll-special-content h2{
        font-size:clamp(29px,9vw,34px);
    }

    .tll-special-copy{
        margin-top:10px;
        font-size:12px;
    }

    .tll-special-price-block{
        margin-top:13px;
        padding:11px 0 12px;
    }

    .tll-special-price{
        font-size:45px;
    }

    .tll-special-whatsapp{
        min-height:47px;
        margin-top:13px;
        padding:11px 10px;
        font-size:8px;
    }
}


/* ==========================================================
   SHORT MOBILE SCREENS
   ========================================================== */

@media(max-width:700px) and (max-height:700px) and (orientation:portrait){

    .tll-special-visual{
        height:76px;
    }

    .tll-special-orbit{
        display:none;
    }

    .tll-special-leaf{
        top:-13px;
        right:60px;
        width:54px;
    }

    .tll-special-badge{
        top:13px;
        left:14px;
    }

    .tll-special-visual-bottom{
        bottom:8px;
    }

    .tll-special-number{
        font-size:25px;
    }

    .tll-special-close{
        top:8px;
        right:8px;
        width:32px;
        height:32px;
        font-size:21px;
    }

    .tll-special-content{
        padding:16px 17px 15px;
    }

    .tll-special-eyebrow{
        margin-bottom:8px;
    }

    .tll-special-content h2{
        font-size:clamp(27px,8.2vw,32px);
    }

    .tll-special-copy{
        margin-top:8px;
        font-size:11.5px;
        line-height:1.45;
    }

    .tll-special-price-block{
        margin-top:10px;
        padding:9px 0 10px;
    }

    .tll-special-price-top{
        margin-bottom:4px;
    }

    .tll-special-price{
        font-size:41px;
    }

    .tll-special-whatsapp{
        min-height:44px;
        margin-top:10px;
        padding:9px 10px;
    }

    .tll-special-cta-note{
        display:none;
    }
}


/* ==========================================================
   MOBILE LANDSCAPE
   ========================================================== */

@media(max-width:700px) and (max-height:520px) and (orientation:landscape){

    .tll-special-overlay{
        padding:8px;
    }

    .tll-special-modal{
        display:grid;
        grid-template-columns:138px minmax(0,1fr);
        width:min(650px,100%);
        max-height:calc(100vh - 16px);
        max-height:calc(100dvh - 16px);
        border-radius:10px;
    }

    .tll-special-visual{
        height:auto;
        min-height:0;
    }

    .tll-special-visual:before{
        inset:8px;
    }

    .tll-special-badge{
        top:16px;
        left:16px;
    }

    .tll-special-orbit{
        display:block;
        top:74px;
        left:50%;
        right:auto;
        width:112px;
        height:112px;
        transform:translateX(-50%);
    }

    .tll-special-leaf{
        top:101px;
        left:50%;
        right:auto;
        width:72px;
        transform:translateX(-50%);
    }

    .tll-special-visual-bottom{
        left:16px;
        right:16px;
        bottom:15px;
    }

    .tll-special-number{
        font-size:28px;
    }

    .tll-special-close{
        top:10px;
        right:10px;
        width:32px;
        height:32px;
        font-size:21px;
    }

    .tll-special-content{
        justify-content:flex-start;
        padding:19px 42px 17px 23px;
    }

    .tll-special-eyebrow{
        margin-bottom:7px;
        padding:5px 7px;
    }

    .tll-special-content h2{
        font-size:29px;
        line-height:.98;
    }

    .tll-special-copy{
        margin-top:7px;
        font-size:11px;
        line-height:1.4;
    }

    .tll-special-price-block{
        margin-top:9px;
        padding:8px 0 9px;
    }

    .tll-special-price-top{
        margin-bottom:3px;
    }

    .tll-special-price{
        font-size:39px;
    }

    .tll-special-delivery{
        font-size:7px;
    }

    .tll-special-whatsapp{
        min-height:42px;
        margin-top:9px;
        padding:8px 10px;
    }

    .tll-special-cta-note{
        display:none;
    }
}


@media(prefers-reduced-motion:reduce){

    .tll-special-overlay,
    .tll-special-modal,
    .tll-special-close,
    .tll-special-whatsapp{
        transition:none !important;
    }
}
