/* Everything is scoped under #pl-lucky-root so the plugin is theme-independent. */
#pl-lucky-root[hidden],#pl-lucky-root [hidden]{display:none!important}
#pl-lucky-root,#pl-lucky-root *{box-sizing:border-box}
#pl-lucky-root{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:stretch;justify-content:flex-end;overflow:auto;isolation:isolate;color:#2c241e;font-family:Arial,Helvetica,sans-serif;line-height:1.45;animation:plpop-appear .45s ease both}
@keyframes plpop-appear{from{opacity:0}to{opacity:1}}
#pl-lucky-root .plpop__art{position:absolute;inset:0;background:#e6dac9 center/cover no-repeat;z-index:-3}
#pl-lucky-root .plpop__veil{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(246,238,225,.06) 0%,rgba(247,240,226,.12) 48%,rgba(244,239,229,.86) 64%,rgba(244,239,229,.98) 100%)}
#pl-lucky-root .plpop__panel{width:46%;max-width:730px;min-width:430px;min-height:100%;padding:clamp(55px,9vh,110px) clamp(28px,5.3vw,95px) 34px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;outline:none;position:relative}
#pl-lucky-root .plpop__close{position:absolute;right:clamp(16px,2.5vw,40px);top:24px;border:1px solid rgba(44,36,30,.25);background:#fbf8f2;color:#2c241e;width:40px;height:40px;display:grid;place-items:center;border-radius:100%;font:28px/1 Arial,sans-serif;cursor:pointer;z-index:4}
#pl-lucky-root .plpop__brand{font:500 clamp(1.28rem,2.5vw,2rem)/1.3 Georgia,'Times New Roman',serif;letter-spacing:.25em;color:#5b4638;white-space:nowrap;margin-bottom:30px}
#pl-lucky-root .plpop__brand span{font:italic 400 .44em Georgia,'Times New Roman',serif;display:block;letter-spacing:.14em;margin-top:5px}
#pl-lucky-root .plpop__eyebrow{font-size:11px;letter-spacing:.2em;text-transform:uppercase;font-weight:bold;color:var(--plpop-accent,#7e8069);margin-bottom:16px}
#pl-lucky-root h2{font:400 clamp(2rem,3.25vw,3.6rem)/1.07 Georgia,'Times New Roman',serif;letter-spacing:-.025em;color:#2c241e;margin:0 0 16px}
#pl-lucky-root p{margin:0}
#pl-lucky-root .plpop__description{font-size:clamp(13px,1.1vw,16px);max-width:420px;margin:0 auto 26px;color:#5b4638}
#pl-lucky-root .plpop__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:min(100%,410px);margin:10px auto 20px}
#pl-lucky-root .plpop__card{aspect-ratio: .79;position:relative;padding:0;border:1px solid #b8aa98;border-radius:10px;background:#fbf8f2;color:#7e8069;cursor:pointer;box-shadow:0 5px 12px rgba(44,36,30,.04);transition:transform .18s ease,border-color .2s ease,background .25s ease;font:normal 2.8rem Georgia,serif;overflow:hidden}
#pl-lucky-root .plpop__card:not(:disabled):hover{transform:translateY(-4px);border-color:#5b4638}
#pl-lucky-root .plpop__card:focus-visible,#pl-lucky-root button:focus-visible,#pl-lucky-root input:focus-visible{outline:3px solid #b38a58;outline-offset:3px}
#pl-lucky-root .plpop__card-front{display:none;color:#fff;font:400 clamp(.66rem,1.18vw,.94rem)/1.3 Georgia,serif;padding:9px;overflow-wrap:break-word}
#pl-lucky-root .plpop__card.is-flipped{background:var(--plpop-accent,#7e8069);border-color:var(--plpop-accent,#7e8069);transform:rotateY(360deg)}
#pl-lucky-root .plpop__card.is-flipped .plpop__card-back{display:none}
#pl-lucky-root .plpop__card.is-flipped .plpop__card-front{display:grid;place-items:center;height:100%;width:100%}
#pl-lucky-root .plpop__count{font-size:12px;letter-spacing:.06em;color:#655649}
#pl-lucky-root .plpop__gift{font:normal 4rem/1 Georgia,serif;color:#b38a58;margin:7px 0 22px}
#pl-lucky-root .plpop__reward{font:400 clamp(1.4rem,2vw,2rem)/1.2 Georgia,serif;color:var(--plpop-accent,#7e8069);margin:2px 0 24px}
#pl-lucky-root #plpop-form{display:grid;width:min(100%,400px);gap:14px;text-align:left}
#pl-lucky-root .plpop__label{display:block;font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#5b4638;margin-bottom:-8px}
#pl-lucky-root #plpop-email{height:54px;width:100%;padding:14px 17px;background:#fff;border:1px solid #d9cfc1;border-radius:2px;font:15px Arial,sans-serif;color:#2c241e}
#pl-lucky-root .plpop__check{display:flex;align-items:flex-start;gap:9px;font:12px/1.4 Arial,sans-serif;color:#5b4638;cursor:pointer}
#pl-lucky-root .plpop__check input{flex:none;margin-top:2px;accent-color:var(--plpop-accent,#7e8069)}
#pl-lucky-root .plpop__check a{text-decoration:underline}
#pl-lucky-root .plpop__submit,#pl-lucky-root .plpop__done{background:#5b4638;color:white;border:1px solid #5b4638;padding:15px 24px;min-height:52px;font:600 12px Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;cursor:pointer}
#pl-lucky-root .plpop__submit:disabled{opacity:.6;cursor:wait}
#pl-lucky-root .plpop__error{font-size:13px;color:#a33131}
#pl-lucky-root .plpop__complete p{font-size:15px;max-width:420px;margin:14px auto 25px}
#pl-lucky-root .plpop__footer{color:#817568;font:italic 13px Georgia,serif;margin-top:35px}
body.plpop-scroll-locked{overflow:hidden!important}
@media(max-width:900px){#pl-lucky-root .plpop__panel{width:57%;min-width:0;padding-inline:28px}#pl-lucky-root .plpop__veil{background:linear-gradient(90deg,rgba(244,239,229,.25),rgba(244,239,229,.95) 57%)}}
@media(max-width:650px){#pl-lucky-root{align-items:flex-start}#pl-lucky-root .plpop__panel{width:100%;max-width:none;min-height:100dvh;padding:72px 24px 30px;background:rgba(244,239,229,.91)}#pl-lucky-root .plpop__art{background-position:35% center}#pl-lucky-root .plpop__veil{background:rgba(244,239,229,.18)}#pl-lucky-root .plpop__brand{margin-bottom:25px}#pl-lucky-root .plpop__cards{max-width:340px;gap:9px}#pl-lucky-root .plpop__card{font-size:2.1rem}#pl-lucky-root h2{font-size:clamp(2rem,8vw,2.8rem)}#pl-lucky-root .plpop__footer{margin-top:27px}}
@media(prefers-reduced-motion:reduce){#pl-lucky-root,#pl-lucky-root .plpop__card{animation:none!important;transition:none!important}}





form#plpop-form {
    margin: auto;
}

/* Popup brand logo */
.plpop__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.plpop__brand .plpop__logo {
    width: 180px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 767px) {
    .plpop__brand .plpop__logo {
        width: 170px;
    }
}


/* Floating offer tab */
.plpop-floating-tab {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);

    z-index: 99998;

    background: #7e8069;
    color: #fffaf0;

    border: 1px solid #b8a58b;
    border-left: 0;
    border-radius: 0 15px 15px 0;

    width: 48px;
    min-height: 165px;
    padding: 16px 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;

    cursor: pointer;
    box-shadow: 2px 5px 18px rgba(44, 38, 30, 0.15);

    transition: background 0.3s, width 0.3s;
}

.plpop-floating-tab[hidden] {
    display: none !important;
}

.plpop-floating-tab:hover {
    background: #686a54;
    width: 54px;
}

.plpop-floating-tab__icon {
    font-size: 22px;
    line-height: 1;
}

.plpop-floating-tab__text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .plpop-floating-tab {
        width: 40px;
        min-height: 140px;
        padding: 12px 7px;
    }

    .plpop-floating-tab__text {
        font-size: 10px;
    }
}





















