/* cl-jiji v4: stepped masonry (cards overlap neighbours by about three quarters), RELiCON colours */
body.cl-jiji #listGrid:has(.tile-deal){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:0!important;row-gap:0!important;gap:0!important;align-items:start!important;background:#fff;border-radius:14px;overflow:hidden;padding:0!important}body.cl-jiji #listGrid.cl-has-deal{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:0!important;row-gap:0!important;gap:0!important;align-items:start!important;background:#fff;border-radius:14px;overflow:hidden;padding:0!important}
body.cl-jiji #listGrid.clj-m{grid-auto-rows:2px!important}
@media (min-width:760px){body.cl-jiji #listGrid:has(.tile-deal){grid-template-columns:repeat(3,minmax(0,1fr))!important}body.cl-jiji #listGrid.cl-has-deal{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (min-width:1100px){body.cl-jiji #listGrid:has(.tile-deal){grid-template-columns:repeat(4,minmax(0,1fr))!important}body.cl-jiji #listGrid.cl-has-deal{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
body.cl-jiji #listGrid article.tile-deal{position:relative;display:flex!important;flex-direction:column!important;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:auto!important;margin:0!important;padding:10px 10px 14px!important;gap:0!important;border:0!important;border-bottom:1px solid #e8ece9!important;align-self:start!important;box-sizing:border-box!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;cursor:pointer}
body.cl-jiji #listGrid article.tile-deal.clj-r{border-left:1px solid #e8ece9!important}
body.cl-jiji #listGrid article.tile-deal::before,body.cl-jiji #listGrid article.tile-deal::after{display:none!important}
body.cl-jiji #listGrid article.tile-deal .tile-media{flex:none!important;width:100%!important;aspect-ratio:1/1;height:auto!important;margin:0!important;border-radius:12px!important;background:#fff!important;box-shadow:inset 0 0 0 1px rgba(0,0,0,.07);display:block!important;position:relative;overflow:hidden!important}
body.cl-jiji #listGrid article.tile-deal.clj-t .tile-media{aspect-ratio:3/4.4}
body.cl-jiji #listGrid article.tile-deal .tile-media img{position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;padding:4%;box-sizing:border-box;margin:0;border-radius:0!important}
body.cl-jiji #listGrid article.tile-deal.p-cover .tile-media img{object-fit:cover!important;padding:0}
body.cl-jiji #listGrid article.tile-deal .tile-badge{top:8px!important;left:8px!important;padding:3px 8px!important;border-radius:6px!important;background:#d4af37!important;color:#2a1f00!important;font-size:11px!important;font-weight:800!important}
body.cl-jiji #listGrid article.tile-deal .tile-info{display:flex!important;flex-direction:column!important;gap:2px!important;padding:10px 2px 0!important;margin:0!important;background:transparent!important;overflow:visible!important;flex:1 1 auto!important;border-radius:0!important}
body.cl-jiji #listGrid article.tile-deal .p-brand{display:none!important}
body.cl-jiji #listGrid article.tile-deal .p-price{order:1;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:0!important}
body.cl-jiji #listGrid article.tile-deal .p-price strong{color:#16a34a!important;font-size:18px!important;font-weight:700!important;line-height:1.2!important}
body.cl-jiji #listGrid article.tile-deal .p-price s{color:#9aa3a0!important;font-size:12px!important;font-weight:400!important}
body.cl-jiji #listGrid article.tile-deal .tile-title{order:2;margin:2px 0 0!important;color:#1f2623!important;font-size:15px!important;font-weight:400!important;line-height:1.3!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}
body.cl-jiji #listGrid article.tile-deal .p-store{order:3;margin:3px 0 0!important;color:#8a7130!important;font-size:12.5px!important;font-weight:500!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.cl-jiji #listGrid article.tile-deal .own-price{order:4;display:block;color:#9aa3a0!important;font-size:12px!important;line-height:1.2;margin:1px 0 0!important}
body.cl-jiji #listGrid article.tile-deal .deal-go{display:none!important}
body.cl-jiji #listGrid article.tile-deal .tile-info button:not(.deal-go){order:5;align-self:flex-start;width:auto!important;height:auto!important;min-height:0!important;margin:8px 0 0!important;padding:4px 10px!important;border:1px solid #e3e7e4!important;border-radius:99px!important;background:#f6f7f5!important;color:#4a554f!important;font-size:12px!important;font-weight:600!important;line-height:1.3!important;box-shadow:none!important}
body.cl-jiji #listGrid article.tile-deal .r181-earn{order:6;align-self:flex-start;margin:6px 0 0!important;padding:3px 9px!important;border-radius:99px!important;background:#fbf3dc!important;color:#7a5b00!important;font-size:11.5px!important;font-weight:700!important;text-align:left!important;line-height:1.3!important}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) body.cl-jiji #listGrid:has(.tile-deal){background:#151917}html:not([data-theme="light"]) body.cl-jiji #listGrid.cl-has-deal{background:#151917}
 html:not([data-theme="light"]) body.cl-jiji #listGrid article.tile-deal,html:not([data-theme="light"]) body.cl-jiji #listGrid article.tile-deal.clj-r{border-color:#252b28!important}
 html:not([data-theme="light"]) body.cl-jiji #listGrid article.tile-deal .tile-title{color:#e9efec!important}
 html:not([data-theme="light"]) body.cl-jiji #listGrid article.tile-deal .p-price strong{color:#3fcf7b!important}
 html:not([data-theme="light"]) body.cl-jiji #listGrid article.tile-deal .p-store{color:#e2c15a!important}
 html:not([data-theme="light"]) body.cl-jiji #listGrid article.tile-deal .tile-info button:not(.deal-go){background:#1f2522!important;border-color:#2c332f!important;color:#cfd8d3!important}
 html:not([data-theme="light"]) body.cl-jiji #listGrid article.tile-deal .r181-earn{background:rgba(212,175,55,.16)!important;color:#f2d675!important}}
html[data-theme="dark"] body.cl-jiji #listGrid:has(.tile-deal){background:#151917}html[data-theme="dark"] body.cl-jiji #listGrid.cl-has-deal{background:#151917}
html[data-theme="dark"] body.cl-jiji #listGrid article.tile-deal,html[data-theme="dark"] body.cl-jiji #listGrid article.tile-deal.clj-r{border-color:#252b28!important}
html[data-theme="dark"] body.cl-jiji #listGrid article.tile-deal .tile-title{color:#e9efec!important}
html[data-theme="dark"] body.cl-jiji #listGrid article.tile-deal .p-price strong{color:#3fcf7b!important}
html[data-theme="dark"] body.cl-jiji #listGrid article.tile-deal .p-store{color:#e2c15a!important}
html[data-theme="dark"] body.cl-jiji #listGrid article.tile-deal .tile-info button:not(.deal-go){background:#1f2522!important;border-color:#2c332f!important;color:#cfd8d3!important}
html[data-theme="dark"] body.cl-jiji #listGrid article.tile-deal .r181-earn{background:rgba(212,175,55,.16)!important;color:#f2d675!important}
/* clj-full: edge to edge */ body.cl-jiji #listGrid:has(.tile-deal){width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;border-radius:0!important;box-sizing:border-box!important}body.cl-jiji #listGrid.cl-has-deal{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;border-radius:0!important;box-sizing:border-box!important}
body.cl-jiji{overflow-x:hidden}
/* clj-pad: breathing room */ body.cl-jiji #listGrid article.tile-deal{padding:12px 12px 16px!important}
body.cl-jiji #listGrid article.tile-deal .tile-info{padding:10px 4px 0!important}

/* clj-coupons: coupon cards in the same stepped, edge-to-edge layout */
body.cl-jiji #listGrid:has(.tile-coupon){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;align-items:start!important;background:#fff;padding:0!important;width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;border-radius:0!important;box-sizing:border-box!important}body.cl-jiji #listGrid.cl-has-coupon{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;align-items:start!important;background:#fff;padding:0!important;width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;border-radius:0!important;box-sizing:border-box!important}
@media (min-width:760px){body.cl-jiji #listGrid:has(.tile-coupon){grid-template-columns:repeat(3,minmax(0,1fr))!important}body.cl-jiji #listGrid.cl-has-coupon{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (min-width:1100px){body.cl-jiji #listGrid:has(.tile-coupon){grid-template-columns:repeat(4,minmax(0,1fr))!important}body.cl-jiji #listGrid.cl-has-coupon{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
body.cl-jiji #listGrid article.tile-coupon{position:relative;display:flex!important;flex-direction:column!important;gap:3px!important;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:auto!important;margin:0!important;padding:12px 12px 16px!important;border:0!important;border-bottom:1px solid #e8ece9!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;box-sizing:border-box!important;align-self:start!important}
body.cl-jiji #listGrid article.tile-coupon.clj-r{border-left:1px solid #e8ece9!important}
body.cl-jiji #listGrid article.tile-coupon .tile-top{display:block!important;position:relative!important;width:100%!important;height:auto!important;aspect-ratio:1/0.9;margin:0 0 8px!important;padding:0!important;border-radius:12px!important;overflow:hidden!important;background:#f3f4f2!important;box-shadow:inset 0 0 0 1px rgba(0,0,0,.07)}
body.cl-jiji #listGrid article.tile-coupon.clj-t .tile-top{aspect-ratio:1/1.2}
body.cl-jiji #listGrid article.tile-coupon .tile-top .r138-art{position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;height:100%!important;margin:0!important;border-radius:0!important;box-sizing:border-box!important}
body.cl-jiji #listGrid article.tile-coupon .save-heart{position:absolute!important;top:8px!important;right:8px!important;z-index:3!important;width:34px!important;height:34px!important;border-radius:50%!important;background:rgba(255,255,255,.94)!important;color:#1f2623!important;font-size:17px!important;line-height:34px!important;text-align:center!important;box-shadow:0 1px 3px rgba(0,0,0,.15)!important}
body.cl-jiji #listGrid article.tile-coupon .tile-offer{flex:none!important;justify-content:flex-start!important;gap:2px!important;padding:0 4px!important}
body.cl-jiji #listGrid article.tile-coupon .tile-offer strong{color:#16a34a!important;font-size:18px!important;font-weight:700!important;line-height:1.2!important;white-space:normal!important}
body.cl-jiji #listGrid article.tile-coupon .tile-offer small{color:#1f2623!important;font-size:14px!important;line-height:1.3!important;white-space:normal!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}
body.cl-jiji #listGrid article.tile-coupon .tile-code{margin:6px 4px 0!important;width:calc(100% - 8px)!important;height:34px!important;padding:0 10px!important;border:1.5px dashed #d4af37!important;border-radius:9px!important;background:#fbf3dc!important;color:#7a5b00!important;font-size:14px!important;font-weight:700!important;letter-spacing:.03em}
body.cl-jiji #listGrid article.tile-coupon .tile-status{padding:0 4px!important;margin-top:4px!important;color:#8a948f!important;font-size:12px!important;white-space:normal!important}
body.cl-jiji #listGrid article.tile-coupon .tile-status .is-verified{color:#16a34a!important}
body.cl-jiji #listGrid article.tile-coupon .r181-earn{align-self:flex-start;margin:6px 4px 0!important;padding:3px 9px!important;border-radius:99px!important;background:#fbf3dc!important;color:#7a5b00!important;font-size:11.5px!important;font-weight:700!important;text-align:left!important;line-height:1.3!important}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) body.cl-jiji #listGrid:has(.tile-coupon){background:#151917}html:not([data-theme="light"]) body.cl-jiji #listGrid.cl-has-coupon{background:#151917}
 html:not([data-theme="light"]) body.cl-jiji #listGrid article.tile-coupon,html:not([data-theme="light"]) body.cl-jiji #listGrid article.tile-coupon.clj-r{border-color:#252b28!important}
 html:not([data-theme="light"]) body.cl-jiji #listGrid article.tile-coupon .tile-offer small{color:#e9efec!important}
 html:not([data-theme="light"]) body.cl-jiji #listGrid article.tile-coupon .tile-offer strong,html:not([data-theme="light"]) body.cl-jiji #listGrid article.tile-coupon .is-verified{color:#3fcf7b!important}
 html:not([data-theme="light"]) body.cl-jiji #listGrid article.tile-coupon .tile-code,html:not([data-theme="light"]) body.cl-jiji #listGrid article.tile-coupon .r181-earn{background:rgba(212,175,55,.16)!important;color:#f2d675!important}}
html[data-theme="dark"] body.cl-jiji #listGrid:has(.tile-coupon){background:#151917}html[data-theme="dark"] body.cl-jiji #listGrid.cl-has-coupon{background:#151917}
html[data-theme="dark"] body.cl-jiji #listGrid article.tile-coupon,html[data-theme="dark"] body.cl-jiji #listGrid article.tile-coupon.clj-r{border-color:#252b28!important}
html[data-theme="dark"] body.cl-jiji #listGrid article.tile-coupon .tile-offer small{color:#e9efec!important}
html[data-theme="dark"] body.cl-jiji #listGrid article.tile-coupon .tile-offer strong,html[data-theme="dark"] body.cl-jiji #listGrid article.tile-coupon .is-verified{color:#3fcf7b!important}
html[data-theme="dark"] body.cl-jiji #listGrid article.tile-coupon .tile-code,html[data-theme="dark"] body.cl-jiji #listGrid article.tile-coupon .r181-earn{background:rgba(212,175,55,.16)!important;color:#f2d675!important}

/* clj-deals: deal cards (no product photo) in the same layout */
body.cl-jiji #listGrid article.tile-deal .tile-media .r138-art{position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;height:100%!important;margin:0!important;border-radius:0!important;box-sizing:border-box!important}
body.cl-jiji #listGrid article.tile-deal .tile-media .save-heart{position:absolute!important;top:8px!important;right:8px!important;z-index:3!important;width:34px!important;height:34px!important;border-radius:50%!important;background:rgba(255,255,255,.94)!important;color:#1f2623!important;font-size:17px!important;line-height:34px!important;box-shadow:0 1px 3px rgba(0,0,0,.15)!important}
body.cl-jiji #listGrid article.tile-deal .tile-btn{display:none!important}
body.cl-jiji #listGrid article.tile-deal:not(.tile-product) .tile-info>*{order:2}
body.cl-jiji #listGrid article.tile-deal:not(.tile-product) .tile-info>.tile-title{order:1;font-weight:600!important;margin:0 0 2px!important}
body.cl-jiji #listGrid article.tile-deal .tile-info p:not(.p-store):not(.p-brand){margin:2px 0 0!important;color:#8a948f!important;font-size:12px!important;line-height:1.3!important}
body.cl-jiji #listGrid article.tile-deal:not(.tile-product) .tile-info p:first-of-type{color:#8a7130!important;font-weight:500!important;font-size:12.5px!important}
body.cl-jiji #listGrid article.tile-deal>.r181-earn{margin:6px 4px 0!important}
body.cl-jiji #listGrid article.tile-coupon .tile-offer{border:0!important}
body.cl-jiji #listGrid article.tile-coupon .tile-offer::before,body.cl-jiji #listGrid article.tile-coupon .tile-offer::after,body.cl-jiji #listGrid article.tile-coupon .tile-top::after{display:none!important}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) body.cl-jiji #listGrid article.tile-deal:not(.tile-product) .tile-info p:first-of-type{color:#e2c15a!important}}
html[data-theme="dark"] body.cl-jiji #listGrid article.tile-deal:not(.tile-product) .tile-info p:first-of-type{color:#e2c15a!important}

/* clj-hide: products list hidden until the cards are placed */ body.clj-prod #listGrid:not(.clj-shown){visibility:hidden!important}
/* clj-colors: Compare in gold, You earn in green, as on the original cards */
html:root body.cl-jiji #listGrid article.tile-deal.tile-product .tile-info button:not(.deal-go){border:1.5px solid #c9a227!important;background:transparent!important;color:#b08a16!important;font-weight:700!important}
html:root body.cl-jiji #listGrid article.tile-deal.tile-product .r181-earn{background:#0f6b3f!important;color:#fff!important;border-radius:8px!important;padding:4px 10px!important}
@media (prefers-color-scheme:dark){html:root:not([data-theme="light"]) body.cl-jiji #listGrid article.tile-deal.tile-product .tile-info button:not(.deal-go){border-color:#d4af37!important;color:#e2c15a!important;background:transparent!important}
 html:root:not([data-theme="light"]) body.cl-jiji #listGrid article.tile-deal.tile-product .r181-earn{background:#16804a!important;color:#fff!important}}
html:root[data-theme="dark"] body.cl-jiji #listGrid article.tile-deal.tile-product .tile-info button:not(.deal-go){border-color:#d4af37!important;color:#e2c15a!important;background:transparent!important}
html:root[data-theme="dark"] body.cl-jiji #listGrid article.tile-deal.tile-product .r181-earn{background:#16804a!important;color:#fff!important}

/* clj-tile: product cards keep the site's mint tile colour, as separate rounded tiles */
html:root body.cl-jiji #listGrid:has(.tile-product){background:transparent!important;column-gap:8px!important;padding:8px!important}html:root body.cl-jiji #listGrid.cl-has-product{background:transparent!important;column-gap:8px!important;padding:8px!important}
html:root body.cl-jiji #listGrid article.tile-deal.tile-product{background:linear-gradient(180deg,#f2fbf8 0%,#d3efe7 55%,#afdfd3 100%)!important;border:1px solid rgba(201,162,39,.22)!important;border-radius:16px!important;box-shadow:0 1px 3px rgba(0,0,0,.06)!important;padding:8px 8px 14px!important}
@media (prefers-color-scheme:dark){html:root:not([data-theme="light"]) body.cl-jiji #listGrid article.tile-deal.tile-product{background:linear-gradient(180deg,#16211e 0%,#132c26 60%,#0f3a31 100%)!important;border-color:rgba(212,175,55,.22)!important}}
html:root[data-theme="dark"] body.cl-jiji #listGrid article.tile-deal.tile-product{background:linear-gradient(180deg,#16211e 0%,#132c26 60%,#0f3a31 100%)!important;border-color:rgba(212,175,55,.22)!important}
/* relicon-lowend D (20 Nov 2026): "inset" written out (Chromium before 87); grid rules using :has(.tile-deal/.tile-coupon/.tile-product) have a twin with .cl-has-deal/.cl-has-coupon/.cl-has-product, set by cl-old.js only in browsers without :has(). */
