[hidden] { display: none !important; }

:root {
    --ink: #10211b;
    --muted: #5d6b64;
    --line: #e3ebe6;
    --bg: #f4f7f5;
    --card: #ffffff;
    --pine: #0c2e24;
    --leaf: #12875a;
    --mint: #e7f6ee;
    --shadow: 0 18px 40px rgba(16, 33, 27, .06);
    --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
    --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

body {
    background: var(--bg) !important;
    color: var(--ink);
    font-family: var(--sans);
    overflow-x: hidden;
}

h1, h2, .lx-offer-title { font-family: var(--serif); letter-spacing: -0.03em; }
a { color: var(--leaf); }
a:hover { color: var(--pine); }

.lx-top {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(244, 247, 245, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    box-shadow: inset 0 -1px 0 rgba(12, 46, 36, .08);
}
.lx-top-bar { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.lx-logo {
    display: inline-flex;
    align-items: center;
    background: transparent;
    flex: 0 0 auto;
}
.lx-logo img { height: 27px; width: auto; display: block; }
.lx-search { flex: 1; position: relative; max-width: 560px; }
.lx-search input {
    width: 100%;
    height: 48px;
    border: 0;
    background: #fff;
    border-radius: 14px;
    padding: 0 16px 0 44px;
    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink);
    box-shadow: 0 0 0 1px var(--line);
}
.lx-search input:focus { outline: none; box-shadow: 0 0 0 2px var(--leaf); }
.lx-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #8aa097; }
.lx-cats { display: flex; gap: 2px; overflow-x: auto; padding-bottom: 12px; }
.lx-cats a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 560;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 999px;
}
.lx-cats a:hover { background: #fff; color: var(--pine); }
.lx-menu-btn {
    display: none;
    margin-left: auto;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    border: 0;
    background: #fff;
    box-shadow: 0 0 0 1px var(--line);
    font-weight: 680;
    font-family: var(--sans);
}
.lx-menu-panel { padding: 4px 0 14px; }
.lx-menu-panel a {
    display: block;
    padding: 12px 2px;
    color: var(--ink);
    font-weight: 560;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
}

.lx-stage {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 36px;
    align-items: end;
    padding: 42px 0 10px;
}
.lx-eyebrow {
    margin: 0 0 10px;
    color: var(--leaf);
    font-weight: 680;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.lx-stage h1 {
    margin: 0;
    font-size: 64px;
    line-height: .95;
    font-weight: 680;
    max-width: 9ch;
}
.lx-stage p { color: var(--muted); font-size: 18px; max-width: 36ch; }
.lx-stage-card {
    background: var(--pine);
    color: #fff;
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 24px 50px rgba(12, 46, 36, .18);
}
.lx-stage-card p { color: #d5e7de; margin: 0 0 14px; }
.lx-stage-card .lx-search { max-width: none; width: 100%; }
.lx-stage-card .lx-search input { height: 54px; }

.lx-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 36px 0 14px; }
.lx-section-head h2, .lx-block h2 { margin: 0; font-size: 32px; font-weight: 680; }
.lx-section-head a { font-weight: 680; text-decoration: none; }

.lx-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.lx-store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.lx-store-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-height: 138px;
    padding: 14px 8px;
    background: transparent;
    border-radius: 18px;
    color: var(--ink);
    text-align: center;
    text-decoration: none;
    font-weight: 680;
}
.lx-store-card:hover { background: #fff; color: var(--ink); text-decoration: none; transform: translateY(-2px); }
.lx-logo-well {
    width: 74px; height: 74px; border-radius: 22px; background: #fff;
    box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
}
.lx-logo-well img { width: 52px; height: 52px; object-fit: contain; }
.lx-store-card small { color: var(--leaf); font-weight: 680; }

.lx-deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.lx-deal {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 12px;
    background: #fff;
    border-radius: 22px;
    color: var(--ink);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform .18s ease;
}
.lx-deal:hover { color: var(--ink); text-decoration: none; transform: translateY(-2px); }
.lx-deal-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 168px;
    border-radius: 16px;
    background: var(--bg);
}
.lx-deal-media img { width: 78%; height: 132px; object-fit: contain; }
.lx-deal-media > span {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--pine);
    color: #fff;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 680;
}
.lx-deal-brand {
    color: var(--muted);
    font-size: 12px;
    font-weight: 680;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.lx-deal-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
    font-weight: 560;
    line-height: 1.3;
}
.lx-deal-price { font-weight: 680; }
.lx-deal-price s { margin-left: 6px; color: var(--muted); font-weight: 560; font-size: 13px; }

.lx-cat-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.lx-cat-card {
    display: flex; align-items: baseline; gap: 8px;
    background: #fff; border-radius: 999px; padding: 10px 14px;
    color: var(--ink); text-decoration: none; font-weight: 680;
    box-shadow: 0 0 0 1px var(--line);
}
.lx-cat-card:hover { box-shadow: 0 0 0 1px var(--pine); color: var(--ink); text-decoration: none; }
.lx-cat-card small { color: var(--muted); font-weight: 560; }

.lx-catalog { max-width: 880px; }
.lx-offer-list, .lx-card-grid { display: grid; gap: 12px; }
.lx-offer {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr) 160px;
    gap: 16px;
    align-items: center;
    background: #fff;
    border-radius: 22px;
    padding: 14px;
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}
.lx-offer:hover { transform: translateY(-2px); box-shadow: 0 22px 40px rgba(16, 33, 27, .1); }
.lx-offer.is-expired { background: #f7f6f3; box-shadow: none; }
.lx-offer.is-expired:hover { transform: none; }
.lx-save {
    min-height: 92px;
    border-radius: 16px;
    background: var(--mint);
    color: var(--pine);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; line-height: 1;
}
.lx-offer--coupon_code .lx-save { background: var(--pine); color: #fff; }
.lx-offer.is-expired .lx-save { background: #eceae4; color: #7a756d; }
.lx-save strong { font-family: var(--serif); font-size: 26px; font-weight: 680; }
.lx-save span { margin-top: 4px; font-size: 11px; font-weight: 680; letter-spacing: .08em; }
.lx-kicker { margin: 0 0 4px; color: var(--muted); font-size: 11px; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; }
.lx-offer-title { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 680; }
.lx-store-label { margin: 4px 0 0; color: var(--leaf); font-weight: 680; font-size: 13px; }
.lx-store-label a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.lx-meta { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 8px 0 0; padding: 0; }
.lx-meta li { background: var(--bg); border-radius: 999px; padding: 3px 8px; font-size: 12px; font-weight: 560; color: #3f4a44; }
.lx-status { margin: 8px 0 0; font-size: 13px; font-weight: 680; }
.lx-status--verified { color: var(--leaf); }
.lx-status--failed { color: #9a3412; }
.lx-status--expired { color: #7a756d; }
.lx-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 46px; padding: 0 16px; border-radius: 14px;
    font-family: var(--sans); font-weight: 680; text-decoration: none; border: 0;
    transition: transform .12s ease, background .12s ease;
}
.lx-btn:hover { transform: translateY(-1px); text-decoration: none; }
.lx-btn:active { transform: translateY(0); }
.lx-btn-code, .lx-btn-shop { background: var(--pine); color: #fff; width: 100%; }
.lx-btn-code:hover, .lx-btn-shop:hover { background: #071c16; color: #fff; }
.lx-btn-deal { background: #fff; color: var(--pine); box-shadow: inset 0 0 0 1.5px var(--pine); width: 100%; }
.lx-btn-deal:hover { background: var(--mint); color: var(--pine); }
.lx-expired-label { color: #7a756d; font-weight: 680; }
.lx-offer-foot { grid-column: 1 / -1; }
.lx-toggle { border: 0; background: transparent; color: var(--leaf); font-weight: 680; padding: 0; font-family: var(--sans); }
.lx-details { color: #3f4a44; font-size: 14px; padding-top: 8px; }
.lx-faq .lx-toggle { width: 100%; text-align: left; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink); }
.lx-faq h3 { margin: 0; font-size: 18px; font-family: var(--sans); letter-spacing: 0; }

.lx-page { padding: 22px 0 64px; }
.lx-sheet { max-width: 880px; margin: 28px auto; background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.lx-sheet h1, .lx-sheet h2, .lx-sheet h5 { font-family: var(--serif); }
.lx-sheet .form-control, .lx-sheet input, .lx-sheet textarea {
    border-radius: 12px; border: 1px solid var(--line); min-height: 44px; padding: 8px 12px;
}
.lx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.lx-crumbs a { font-weight: 680; text-decoration: none; }
.lx-merchant {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}
.lx-merchant img, .lx-mark, .lx-merchant > .lx-letter {
    width: 84px; height: 84px; object-fit: contain; background: #fff; border-radius: 24px; padding: 8px; box-shadow: var(--shadow);
}
.lx-mark, .lx-merchant > .lx-letter { display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 32px; color: var(--pine); }
.lx-merchant > .lx-letter { padding: 0; background: var(--mint); }
.lx-merchant h1 { margin: 0; font-size: 48px; line-height: 1; font-weight: 680; }
.lx-count { display: inline-block; margin: 8px 0 0; background: var(--mint); color: var(--pine); font-weight: 680; border-radius: 999px; padding: 4px 10px; }
.lx-intro { margin: 10px 0 0; color: #3f4a44; max-width: 62ch; }
.lx-filters { display: flex; gap: 8px; overflow-x: auto; margin: 8px 0 16px; }
.lx-filter {
    border: 0; background: transparent; color: var(--muted); font-family: var(--sans); font-weight: 680;
    min-height: 40px; padding: 0 4px; border-bottom: 2px solid transparent; border-radius: 0; white-space: nowrap;
}
.lx-filter.is-active { color: var(--pine); border-bottom-color: var(--leaf); }
.lx-info { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.lx-panel h2 { font-size: 26px; margin: 0 0 10px; }
.lx-panel li { margin-bottom: 8px; }
.lx-note, .lx-empty { color: var(--muted); }
.lx-parent { margin-top: 22px; font-weight: 680; }
.lx-featured { margin-top: 28px; overflow: hidden; }
.lx-featured .swiper-banner { height: 180px; border-radius: 24px; overflow: hidden; }
.lx-verified-list a { display: block; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 680; }
.lx-verified-list small { display: block; color: var(--muted); font-weight: 560; }
.lx-tested { list-style: none; margin: 0; padding: 0; }
.lx-tested li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.lx-tested a { color: var(--ink); font-weight: 680; text-decoration: none; }

.lx-home .show-more, .lx-chip-link {
    display: inline-flex; margin-top: 12px; min-height: 42px; align-items: center; padding: 0 14px;
    border-radius: 999px; background: #fff; color: var(--pine); font-weight: 680; text-decoration: none; box-shadow: var(--shadow);
}
.lx-toast {
    position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
    background: var(--pine); color: #fff; border-radius: 999px; padding: 10px 16px; z-index: 2000; font-weight: 680;
}
.lx-lightbox { position: fixed; inset: 0; background: rgba(7, 22, 18, .72); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.lx-lightbox img { max-width: 100%; border-radius: 12px; }
.lx-lightbox-close { position: absolute; top: 16px; right: 16px; }
.ui-autocomplete { z-index: 2000; background: #fff; border: 0; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; max-width: 420px; }
.ui-autocomplete li { list-style: none; }
.ui-autocomplete .lx-suggest { display: flex; align-items: center; gap: 10px; padding: 8px 10px; color: var(--ink); }
.ui-autocomplete .lx-suggest img { width: 36px; height: 36px; object-fit: contain; }
.ui-autocomplete .lx-suggest small { display: block; color: var(--muted); }
.lx-letter {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    background: var(--mint); color: var(--pine); font-family: var(--serif); font-weight: 680;
    line-height: 1; text-transform: uppercase;
}
.ui-autocomplete .lx-suggest .lx-letter { width: 36px; height: 36px; border-radius: 10px; font-size: 18px; }
.lx-logo-well .lx-letter { width: 52px; height: 52px; border-radius: 16px; font-size: 26px; }
.img-box .lx-letter { width: 64px; height: 64px; margin: 10px auto; border-radius: 16px; font-size: 28px; }

.lx-footer { background: var(--pine); color: #d7e6de; margin-top: 48px; padding: 36px 0 18px; }
.lx-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.lx-footer h2 { color: #fff; font-family: var(--sans); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.lx-footer ul { list-style: none; margin: 0; padding: 0; }
.lx-footer li { margin-bottom: 8px; }
.lx-footer a { color: #d7e6de; text-decoration: none; }
.lx-footer a:hover { color: #fff; }
.lx-footer p { color: #b7c9c0; }
.lx-footer .lx-logo { background: #fff; border-radius: 10px; padding: 6px 10px; }
.lx-footer .lx-logo img { height: 22px; }
.lx-news { display: flex; gap: 8px; }
.lx-news input { flex: 1; height: 44px; border: 0; border-radius: 12px; padding: 0 12px; }
.lx-news button { background: #fff; color: var(--pine); border: 0; border-radius: 12px; padding: 0 14px; font-weight: 680; }
.lx-social { display: flex; gap: 12px; font-size: 18px; }
.lx-copy { margin-top: 22px; color: #8eaaa0; font-size: 13px; }
.lx-ad { display: flex; justify-content: center; margin-bottom: 12px; }
.lx-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.lx-pills a { background: #fff; color: var(--pine); text-decoration: none; border-radius: 999px; padding: 8px 12px; font-weight: 680; }

@media (max-width: 991px) {
    .lx-cats { display: none; }
    .lx-menu-btn { display: inline-flex; align-items: center; }
    .lx-stage { grid-template-columns: 1fr; gap: 18px; padding-top: 24px; }
    .lx-stage h1 { font-size: 46px; max-width: none; }
    .lx-merchant { grid-template-columns: 72px minmax(0, 1fr); }
    .lx-merchant h1 { font-size: 34px; }
    .lx-head-actions { grid-column: 1 / -1; }
    .lx-info { grid-template-columns: 1fr; }
    .lx-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .lx-top-bar { flex-wrap: wrap; min-height: 64px; }
    .lx-search { order: 3; flex: 1 0 100%; max-width: none; }
    .lx-offer { grid-template-columns: 84px minmax(0, 1fr); }
    .lx-offer-cta { grid-column: 1 / -1; }
    .lx-footer-grid { grid-template-columns: 1fr; }
    .lx-stage h1 { font-size: 40px; }
    #couponModal .title { font-size: 24px; }
    #couponModal .coupon-code-box { font-size: 18px; }
}

#couponModal .modal-dialog {
    position: relative;
    top: 0;
    transform: none !important;
    width: min(460px, calc(100% - 32px));
    max-width: 460px;
    margin: 10vh auto;
}
#couponModal .modal-content {
    border: 0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(16, 33, 27, .18);
    overflow: hidden;
}
#couponModal .modal-body { padding: 28px 24px 22px; text-align: center; }
#couponModal .lx-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--bg);
    color: var(--ink);
    font-size: 24px;
    line-height: 1;
    opacity: 1;
    z-index: 2;
}
#couponModal .lx-modal-store {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
#couponModal .lx-modal-store p {
    margin: 0;
    color: var(--leaf);
    font-size: 13px;
    font-weight: 680;
    letter-spacing: .04em;
    text-transform: uppercase;
}
#couponModal img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--line);
}
#couponModal .title {
    margin: 14px 0 0;
    color: var(--ink);
    opacity: 1;
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}
#couponModal .lx-modal-note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
}
#couponModal .coupon-code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0 0;
    padding: 8px 8px 8px 16px;
    border: 1.5px dashed var(--pine);
    border-radius: 14px;
    background: var(--mint);
    color: var(--pine);
    font-size: 22px;
    font-weight: 680;
    letter-spacing: .04em;
    white-space: normal;
    overflow: visible;
}
#couponModal .coupon-text { min-width: 0; overflow-wrap: anywhere; }
#couponModal .copy-code {
    float: none;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: var(--pine);
    color: #fff;
    font-family: var(--sans);
    font-weight: 680;
}
#couponModal a.lx-btn {
    width: 100%;
    margin-top: 16px;
    color: #fff;
    font-size: 15px;
}
#couponModal .report {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 14px;
}
#couponModal .vote-link {
    margin-left: 6px;
    padding: 4px 12px;
    border: 0;
    border-radius: 999px;
    background: var(--mint);
    color: var(--pine);
    font-family: var(--sans);
    font-weight: 680;
}
#couponModal .vote-link.no { background: var(--bg); color: var(--ink); }
#couponModal .subscribe {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    background: transparent;
    text-align: left;
}
#couponModal .subscribe p { margin: 0 0 8px; color: var(--ink); font-size: 14px; font-weight: 680; }
#couponModal .subscribe-error { min-height: 0; color: var(--leaf); font-weight: 560; }
#couponModal .lx-modal-sub-row { display: flex; gap: 8px; }
#couponModal .subscriber-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--line);
    padding: 0 12px;
    font-family: var(--sans);
    color: var(--ink);
}
#couponModal .subscribe-button {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 14px;
    border: 0;
    border-radius: 12px;
    background: var(--pine);
    color: #fff;
    font-family: var(--sans);
    font-weight: 680;
}
