/* ==========================================================
   Black Friday Israel – בלאק פריידי ישראל
   Dark site, red accent.
   ========================================================== */
:root {
	--bg: #0B0B0C;
	--surface: #151517;
	--surface-2: #1E1E21;
	--line: #2B2B2F;
	--fg: #F4F2EE;
	--muted: #B4B0A9;
	--muted-2: #8F8B84;
	--accent: #E4002B;
	--accent-text: #FF5A72;
	--paper: #F4F2EE;
	--ink: #0B0B0C;
	--display: 'Rubik', 'Heebo', sans-serif;
	--body: 'Heebo', 'Segoe UI', Arial, sans-serif;
	--r-lg: 28px;
	--r-md: 20px;
	--r-sm: 12px;
	--gap: 16px;
	--pad: clamp(16px, 3.4vw, 64px);
	--maxw: 1680px;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-text); }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 12px; right: 12px; width: auto; height: auto; clip: auto; z-index: 1000; padding: 12px 18px; background: var(--accent); color: #fff; border-radius: 10px; }
.bf-wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); box-sizing: border-box; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--r-sm); font-weight: 800; font-size: 16px; cursor: pointer; text-align: center; transition: transform .15s ease, background-color .15s ease; }
.btn:active { transform: scale(.98); }
.btn-accent, .btn-dark { background: var(--accent); color: #fff; }
.btn-accent:hover, .btn-dark:hover { color: #fff; background: #C20025; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { color: var(--ink); background: #fff; }
.btn-sun { background: var(--accent); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.icon-btn { width: 50px; height: 50px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--accent); color: #fff; font-size: 15px; font-weight: 500; text-align: center; padding: 9px var(--pad); }
.topbar a { color: inherit; }
.topbar-badge { display: inline-block; margin-inline-end: 10px; padding: 1px 10px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .04em; }

.site-header { position: relative; z-index: 50; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; }
.header-inner > .logo, .header-inner > .custom-logo-link, .header-actions { flex-shrink: 0; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--fg); }
.logo:hover { color: var(--fg); }
.logo-mark { width: 50px; height: 50px; border-radius: 12px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: -.02em; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-a { font-family: var(--display); font-weight: 900; font-size: 24px; }
.logo-b { font-weight: 700; font-size: 15px; color: var(--accent-text); margin-top: 4px; }
.custom-logo { max-height: 60px; width: auto; }

.main-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.main-nav .menu { list-style: none; margin: 0; padding: 5px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; max-width: 100%; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.main-nav a { display: block; padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap; color: var(--fg); }
.main-nav a:hover { background: var(--surface-2); color: var(--fg); }
.main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { background: var(--accent); color: #fff; }
.header-actions { display: flex; gap: 8px; }
.menu-toggle { display: none; }
.header-search { border-top: 1px solid var(--line); background: var(--surface); padding-block: 18px; }

.search-form { display: flex; gap: 8px; padding: 8px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); max-width: 760px; }
.header-search .search-form { margin-inline: auto; }
.search-form input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--fg); padding: 0 14px; font-size: 17px; }
.search-form input:focus { outline: none; }
.search-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(228, 0, 43, .3); }

/* ---------- Bento hero ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(300px, auto) minmax(240px, auto); gap: var(--gap); padding-block: 28px 72px; }
.tile { border-radius: var(--r-lg); position: relative; overflow: hidden; }
a.tile { transition: transform .2s ease; }
a.tile:hover { transform: translateY(-3px); }
.tile-hero { grid-column: span 7; grid-row: span 2; background: var(--surface); border: 1px solid var(--line); padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.tile-hero::after { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 6px; background: var(--accent); }
.sticker { position: absolute; top: 44px; left: 40px; transform: rotate(-7deg); padding: 10px 18px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 800; font-size: 18px; box-shadow: 0 10px 30px rgba(228, 0, 43, .35); }
.kicker { margin: 0 0 14px; font-weight: 700; color: var(--accent-text); }
.display { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(56px, 6.4vw, 100px); line-height: .95; letter-spacing: -.02em; }
.lead { margin: 18px 0 0; font-size: 19px; color: var(--muted); max-width: 36em; }

.countdown { display: flex; gap: 10px; margin-top: 26px; direction: rtl; }
.cd-unit { min-width: 92px; padding: 14px 12px 10px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cd-num { font-family: var(--display); font-weight: 900; font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--fg); }
.cd-unit:first-child .cd-num { color: var(--accent-text); }
.cd-label { font-size: 13px; color: var(--muted-2); }
.countdown.is-done { font-family: var(--display); font-weight: 900; font-size: 28px; color: var(--accent-text); }

.hero-search label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.hero-search-row { display: flex; gap: 8px; padding: 8px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.hero-search-row:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(228, 0, 43, .3); }
.hero-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--fg); padding: 0 16px; font-size: 18px; }
.hero-search input:focus { outline: none; }
.hero-search .btn { min-height: 54px; padding: 0 28px; font-size: 17px; }

.tile-five { grid-column: span 5; background: var(--accent); color: #fff; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.tile-five:hover { color: #fff; }
.tile-five-big { font-family: var(--display); font-weight: 900; font-size: clamp(96px, 9.5vw, 160px); line-height: .8; letter-spacing: -.04em; }
.tile-five-text { display: flex; flex-direction: column; gap: 4px; }
.tile-five-text strong { font-size: 26px; font-weight: 800; line-height: 1.2; }
.tile-five-text span { font-weight: 500; opacity: .92; }

.tile-bf { grid-column: span 3; background: var(--paper); color: var(--ink); padding: 30px; display: flex; flex-direction: column; justify-content: space-between; }
.tile-bf:hover { color: var(--ink); }
.tile-bf-label { font-weight: 700; font-size: 16px; }
.tile-bf-date { font-family: var(--display); font-weight: 900; font-size: clamp(64px, 5.8vw, 90px); line-height: .85; color: var(--accent); letter-spacing: -.03em; }
.tile-bf-cta { font-weight: 700; font-size: 15px; }

.tile-cash { grid-column: span 2; background: var(--surface); border: 2px solid var(--accent); color: var(--fg); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.tile-cash:hover { color: var(--fg); background: var(--surface-2); }
.tile-cash .icon { width: 34px; height: 34px; color: var(--accent-text); }
.tile-cash strong { font-size: 20px; font-weight: 800; line-height: 1.25; }

/* ---------- Blocks ---------- */
.block { padding-block: 0 80px; }
.block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; }
.section-title { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(38px, 4vw, 60px); line-height: 1; letter-spacing: -.02em; }
.section-title--sm { font-size: clamp(30px, 3vw, 44px); margin-bottom: 20px; }
.more { font-weight: 700; color: var(--accent-text); white-space: nowrap; }
.more:hover { text-decoration: underline; }
.more--sun { color: #fff; }
.admin-hint { padding: 18px 22px; border: 2px dashed var(--line); border-radius: var(--r-sm); color: var(--muted); }
.admin-hint a { color: var(--accent-text); font-weight: 700; }

/* Coupons */
.coupon-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.coupon { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); display: flex; flex-direction: column; overflow: hidden; transition: border-color .2s ease; }
.coupon:hover { border-color: #45454B; }
.coupon-body { padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 8px; }
.coupon-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.coupon-store { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.3; }
.chip { flex-shrink: 0; padding: 3px 11px; border-radius: 999px; background: rgba(228, 0, 43, .16); color: var(--accent-text); font-size: 13px; font-weight: 700; }
.coupon-line { margin: 0; color: var(--muted); }
.coupon-exp { margin: 0; font-size: 14px; color: var(--muted-2); }
.coupon-foot { margin-top: auto; border-top: 2px dashed var(--line); padding: 16px 24px; position: relative; }
.coupon-foot::before, .coupon-foot::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.coupon-foot::before { right: -11px; }
.coupon-foot::after { left: -11px; }
.code-box { display: flex; gap: 8px; align-items: center; }
.code { flex: 1; min-height: 48px; border: 2px dashed var(--accent); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 18px; font-weight: 700; letter-spacing: .08em; direction: ltr; user-select: all; color: #fff; }
.coupon-single { max-width: 460px; }

/* Categories */
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px var(--gap); }
.cat-card { display: flex; flex-direction: column; gap: 4px; }
.cat-card:hover { color: var(--fg); }
.cat-card-img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--surface); margin-bottom: 12px; }
.cat-card-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--accent); transition: box-shadow .2s ease; }
.cat-card:hover .cat-card-img::after { box-shadow: inset 0 0 0 3px var(--accent); }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover .cat-card-img img { transform: scale(1.04); }
.cat-card-img.is-empty { display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 900; font-size: 110px; line-height: 1; color: var(--accent); border: 1px solid var(--line); }
.cat-card-name { font-size: 21px; font-weight: 800; line-height: 1.3; }
.cat-card-count { font-size: 14px; color: var(--muted-2); }

/* Stores – full-bleed red band */
.stores { background: var(--accent); color: #fff; padding-block: 60px; margin-bottom: 80px; }
.stores .section-title { color: #fff; }
.store-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.store { min-height: 96px; border-radius: 18px; background: var(--ink); padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; transition: transform .2s ease; }
.store:hover { color: #fff; transform: translateY(-2px); }
.store-text { display: flex; flex-direction: column; gap: 2px; }
.store-text strong { font-size: 22px; font-weight: 800; }
.store-text span { font-size: 14px; color: var(--muted); }
.store .icon { color: var(--accent-text); flex-shrink: 0; }

/* Magazine & post cards */
.mag-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.mag-side { display: flex; flex-direction: column; gap: var(--gap); }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s ease; }
.post-card:hover { color: var(--fg); border-color: var(--accent); }
.post-card-img { display: block; background: var(--surface-2); aspect-ratio: 16 / 10; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-text { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.post-card-date { font-size: 14px; color: var(--muted-2); }
.post-card-title { font-size: 20px; font-weight: 800; line-height: 1.35; }
.post-card--large .post-card-title { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; }
.post-card--large .post-card-text { padding: 28px; }
.post-card--row { flex-direction: row; align-items: center; flex: 1; padding: 16px; gap: 18px; }
.post-card--row .post-card-img { width: 128px; flex-shrink: 0; aspect-ratio: 4 / 3; border-radius: 14px; }
.post-card--row .post-card-text { padding: 0; }
.post-card--row .post-card-title { font-size: 19px; }

/* ---------- Inner pages ---------- */
.page-wrap { padding-block: 36px 80px; }
.page-wrap.narrow { max-width: 900px; }
.page-head { margin-bottom: 32px; }
.store-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.post-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.empty { color: var(--muted); }
.empty .search-form { margin-top: 16px; }
.pagination { margin-top: 40px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.page-numbers { min-width: 48px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }

.article { padding-block: 36px 80px; }
.article-head, .entry, .article-img, .comments { max-width: 760px; margin-inline: auto; }
.article-meta { margin: 0 0 12px; color: var(--muted-2); font-size: 15px; display: flex; gap: 10px; }
.article-meta a { color: var(--accent-text); font-weight: 700; }
.article-title { margin: 0 0 28px; font-family: var(--display); font-weight: 900; font-size: clamp(34px, 4vw, 54px); line-height: 1.1; letter-spacing: -.015em; }
.article-img { max-width: 1000px; margin-bottom: 36px; }
.article-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); }
.entry { font-size: 19px; line-height: 1.8; color: #E6E3DE; }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: 30px; line-height: 1.25; margin-top: 1.8em; color: var(--fg); }
.entry h3 { font-size: 23px; line-height: 1.3; margin-top: 1.5em; color: var(--fg); }
.entry a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.entry img { border-radius: var(--r-sm); }
.entry blockquote { margin-inline: 0; padding: 20px 24px; border-radius: var(--r-sm); background: var(--surface); border-inline-start: 4px solid var(--accent); font-weight: 500; }
.entry ul, .entry ol { padding-inline-start: 1.3em; }
.entry table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry th, .entry td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; }
.entry th { background: var(--surface); }
.related { margin: 72px 0 0; }
.comments { margin-top: 64px; }
.comment-list { list-style: none; padding: 0; }
.comments input[type="text"], .comments input[type="email"], .comments input[type="url"], .comments textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--fg); }
.comments .submit { min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--r-sm); background: var(--accent); color: #fff; font-weight: 800; cursor: pointer; }
.notfound { text-align: center; }
.notfound .display { font-size: clamp(120px, 20vw, 220px); color: var(--accent); }
.notfound .search-form { margin: 24px auto; }

/* ---------- Single post with sidebar ---------- */
.single-layout.has-sidebar { display: grid; grid-template-columns: 340px minmax(0, 1fr); grid-template-areas: "side main"; gap: 56px; align-items: start; max-width: min(var(--maxw), calc(340px + 56px + 1000px + 2 * var(--pad))); }
.single-layout.has-sidebar .single-main { grid-area: main; }
.single-layout.has-sidebar .single-sidebar { grid-area: side; padding-block: 36px 80px; }
.single-layout.has-sidebar .article-head,
.single-layout.has-sidebar .article-img,
.single-layout.has-sidebar .comments { max-width: 1000px; margin-inline: 0; }
.single-layout.has-sidebar .entry { max-width: 820px; margin-inline: 0; }
.sidebar-inner { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }
.admin-bar .sidebar-inner { top: 56px; }
.side-box { border-radius: var(--r-md); padding: 24px; }
.side-nl { background: var(--accent); color: #fff; }
.side-nl-title { margin: 0 0 8px; font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1.05; color: #fff; }
.side-nl-text { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .88); }
.side-nl .edignl-lead { display: none; }
.side-nl .edignl-row { flex-direction: column; }
.side-nl .edignl-row input { flex: none; width: 100%; background: #fff; border-color: #fff; color: var(--ink); }
.side-nl .edignl-btn { width: 100%; background: var(--ink); color: #fff; }
.side-nl .edignl-consent { color: rgba(255, 255, 255, .9); }
.side-nl .edignl-consent input { accent-color: var(--ink); }
.side-nl .edignl-msg { color: #fff; }
.side-posts { background: var(--surface); border: 1px solid var(--line); }
.side-title { margin: 0 0 12px; font-size: 20px; font-weight: 800; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li + li { border-top: 1px solid var(--line); }
.side-list a { display: flex; gap: 12px; align-items: center; padding-block: 12px; }
.side-list a:hover { color: var(--fg); }
.side-list a:hover .side-post-title { color: var(--accent-text); }
.side-thumb { width: 64px; height: 64px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.side-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.side-post-title { font-size: 15px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-date { font-size: 13px; color: var(--muted-2); }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: var(--muted); border-top: 6px solid var(--accent); padding-block: 64px 32px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: #fff; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; flex-wrap: wrap; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 440px; }
.footer-brand p { margin: 0; }
.footer-top .newsletter, .footer-top .edignl-form { flex: 0 1 460px; }
.footer-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 32px; }
.footer-title { margin: 0 0 16px; font-size: 17px; font-weight: 800; color: #fff; }
.footer-title a { color: #fff; }
.footer-title a:hover { color: var(--accent-text); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.45; }
.footer-col li a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.footer-more { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--accent-text) !important; }
.footer-more:hover { text-decoration: underline; }
.newsletter label { display: block; margin-bottom: 8px; color: #fff; font-size: 14px; font-weight: 500; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; height: 50px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: #fff; padding: 0 16px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-bottom p a { color: var(--accent-text); }
.legal ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 20px; flex-wrap: wrap; }

/* ---------- EDigital Newsletter on this dark theme ---------- */
.on-dark .edignl-form { color: #fff; }
.on-dark .edignl-lead { color: #fff; font-size: 18px; }
.on-dark .edignl-row input { background: var(--surface); border-color: var(--line); color: #fff; }
.on-dark .edignl-row input::placeholder { color: var(--muted-2); }
.on-dark .edignl-btn { background: var(--accent); color: #fff; font-weight: 800; }
.on-dark .edignl-consent { color: var(--muted); }
.on-dark .edignl-msg { color: #fff; }
.on-dark .edignl-msg.is-error { color: var(--accent-text); }
.edignl-dialog { background: var(--surface) !important; color: var(--fg) !important; border: 1px solid var(--line); }
.edignl-dialog::before { background: repeating-linear-gradient(90deg, var(--accent) 0 18px, transparent 18px 30px) !important; }
.edignl-dialog .edignl-title { color: #fff; font-family: var(--display); font-weight: 900; }
.edignl-dialog .edignl-text, .edignl-dialog .edignl-consent { color: var(--muted) !important; }
.edignl-dialog .edignl-close { background: var(--surface-2); color: #fff; }
.edignl-dialog .edignl-row input { background: var(--bg); border-color: var(--line); color: #fff; }
.edignl-dialog .edignl-msg { color: #fff; }
.edignl-dialog .edignl-msg.is-error { color: var(--accent-text); }
.edignl-overlay { background: rgba(0, 0, 0, .72) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.main-nav a { padding: 9px 14px; }
	.coupon-grid, .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bento { grid-template-rows: auto; }
	.tile-hero { grid-column: 1 / -1; grid-row: auto; }
	.tile-five { grid-column: span 12; flex-direction: row; align-items: flex-end; }
	.tile-bf, .tile-cash { grid-column: span 6; min-height: 200px; }
	.single-layout.has-sidebar { grid-template-columns: 300px minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 900px) {
	.menu-toggle { display: inline-flex; }
	.main-nav { position: absolute; top: 100%; inset-inline: var(--pad); display: none; }
	.main-nav.is-open { display: block; }
	.main-nav .menu { flex-direction: column; flex-wrap: nowrap; border-radius: var(--r-md); padding: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
	.main-nav a { padding: 14px 18px; font-size: 17px; }
	.logo-mark { width: 44px; height: 44px; font-size: 19px; }
	.logo-a { font-size: 21px; }
	.icon-btn { width: 46px; height: 46px; }
	.mag-grid { grid-template-columns: 1fr; }
	.post-grid, .post-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.single-layout.has-sidebar { display: block; }
	.single-layout.has-sidebar .single-sidebar { padding-top: 0; }
	.single-layout.has-sidebar .article-head,
	.single-layout.has-sidebar .entry,
	.single-layout.has-sidebar .article-img { margin-inline: auto; }
	.sidebar-inner { position: static; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.topbar { font-size: 13px; }
	.header-inner { padding-block: 12px; }
	.bento { padding-block: 16px 44px; gap: 10px; }
	.tile { border-radius: 22px; }
	.tile-hero { padding: 26px 20px; gap: 24px; }
	.sticker { position: static; align-self: flex-start; margin-bottom: -8px; font-size: 14px; padding: 6px 12px; }
	.display { font-size: 50px; }
	.countdown { gap: 6px; margin-top: 20px; }
	.cd-unit { min-width: 0; flex: 1; padding: 10px 4px 8px; border-radius: 12px; }
	.cd-num { font-size: 30px; }
	.cd-label { font-size: 12px; }
	.lead { font-size: 16px; }
	.hero-search .btn { min-height: 48px; padding: 0 16px; font-size: 15px; }
	.tile-five { padding: 22px; flex-direction: column; align-items: flex-start; }
	.tile-five-big { font-size: 96px; }
	.tile-five-text strong { font-size: 21px; }
	.tile-bf, .tile-cash { min-height: 160px; padding: 20px; }
	.tile-bf-date { font-size: 56px; }
	.section-title { font-size: 36px; }
	.block-head { flex-wrap: wrap; }
	.block { padding-bottom: 52px; }
	.coupon-grid, .store-grid, .post-grid, .post-grid--3 { grid-template-columns: 1fr; }
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
	.cat-card-img { border-radius: 16px; margin-bottom: 6px; }
	.cat-card-name { font-size: 17px; }
	.stores { padding-block: 40px; margin-bottom: 52px; }
	.post-card--row .post-card-img { width: 92px; }
	.post-card--row .post-card-title { font-size: 16px; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.footer-top { padding-bottom: 28px; margin-bottom: 28px; }
	.footer-top .newsletter, .footer-top .edignl-form { flex-basis: 100%; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
	.entry { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
	a.tile:hover, .store:hover, .cat-card:hover .cat-card-img img { transform: none; }
}
.site-footer .logo, .site-footer .logo:hover { color: #fff; }

/* ---------- Back to top (left side, site colour) ---------- */
.to-top { position: fixed; left: 24px; bottom: 24px; z-index: 900; width: 52px; height: 52px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 26px rgba(0, 0, 0, .28); transition: transform .2s ease, filter .2s ease; }
.to-top[hidden] { display: none; }
.to-top:hover { transform: translateY(-3px); filter: brightness(1.1); }
.to-top:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (max-width: 640px) { .to-top { left: 16px; bottom: 16px; width: 48px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .to-top:hover { transform: none; } }
