/* ۱.۹.۹۴ قوانین کمپین جمعه سیاه (black-friday-terms.php) */
@font-face{font-family:Vazirmatn;src:url("../fonts/Vazirmatn-Variable.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:Lalezar;src:url("../fonts/Lalezar-Arabic.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
:root { --night: #0b0a0a; --deep: #050404; --tide: #1c1414; --foam: #3a2224; --paper: #f5f1ec; --ink: #161314; --red: #e3202d; --red-deep: #9c0f19; --mute: #b3a7a8;
  --f-display: 'Lalezar', 'Vazirmatn', Tahoma, sans-serif; --f-body: 'Vazirmatn', Tahoma, sans-serif; color-scheme: dark; }
* { box-sizing: border-box; }
html, body { background: var(--night); }
body { margin: 0; color: var(--paper); font: 400 16px/1.95 var(--f-body); direction: rtl; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 860px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.bfm { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; transform: rotate(-6deg); background: radial-gradient(circle at 35% 28%, #ff5d66, var(--red) 55%, var(--red-deep)); box-shadow: 0 0 0 2px var(--night), 0 0 0 3px rgba(227,32,45,.55); }
.bfm img { width: 28px; height: 28px; transform: rotate(6deg); }
.brand b { font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1; }
.bft { font-family: var(--f-display); font-size: 15px; line-height: 1; color: #fff; background: var(--deep); border: 1.5px solid var(--red); padding: 6px 14px 6px 10px; transform: rotate(-3deg); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); }
.back { font-size: 14px; font-weight: 700; text-decoration: none; border: 1px solid var(--foam); border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
.back:hover { border-color: var(--red); }
h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 6vw, 52px); line-height: 1.25; margin: 22px 0 6px; }
.meta { color: var(--mute); font-size: 14px; margin: 0 0 26px; }
.doc { background: var(--paper); color: var(--ink); border-radius: 18px; padding: clamp(20px, 4vw, 40px); box-shadow: 0 40px 80px -50px #000; }
.doc h2 { font-size: 18px; font-weight: 900; margin: 28px 0 10px; display: flex; align-items: center; gap: 10px; }
.doc h2:first-child { margin-top: 0; }
.doc h2 i { font-style: normal; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-size: 13px; flex: none; }
.doc ol { list-style: persian; margin: 0; padding: 0 24px 0 0; display: flex; flex-direction: column; gap: 8px; }
.doc li { padding-right: 4px; }
.doc li::marker { color: var(--red-deep); font-weight: 700; }
.doc b { font-weight: 900; }
.doc .note { margin: 26px 0 0; padding: 14px 16px; border-radius: 12px; background: #fff0f0; color: var(--red-deep); font-size: 14.5px; font-weight: 700; }
.doc .note a { color: inherit; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 60px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 12px; font: 700 16px/1 var(--f-body); text-decoration: none; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -12px rgba(227,32,45,.7); }
.btn-line { border: 1px solid var(--foam); }
footer { border-top: 1px solid var(--foam); padding-block: 22px 40px; font-size: 13px; color: var(--mute); text-align: center; }
@media (max-width: 520px) { .bft { display: none; } .btn { width: 100%; } }
@media print { body { background: #fff; color: #000; } .top .back, .cta, footer { display: none; } .doc { box-shadow: none; padding: 0; } }
