/*
 * =====================================================================
 *  FLASH ENDİRİM — SAYT CSS (bütün siniflər "lfm-fl-" ilə başlayır)
 *  Yer: /modules/flash/assets/flash.css
 *  Rəng: narıncı → qırmızı "alov" qradiyenti (endirim hissi), brend yaşılı ilə uyğun.
 * =====================================================================
 */
/* ---------- Kart nişanı (geri sayır) ---------- */
.lfm-fl-badge { background: linear-gradient(135deg, #f97316, #e11d48); color: #fff; font-variant-numeric: tabular-nums; text-transform: none; letter-spacing: 0; }
.lfm-fl-badge.is-over { display: none; }

/* ---------- Elan səhifəsi zolağı ---------- */
.lfm-fl-strip { margin: 12px 0 4px; padding: 11px 13px 12px; border-radius: 16px; color: #fff; background: linear-gradient(110deg, #f97316 0%, #ea580c 45%, #e11d48 100%); box-shadow: 0 14px 28px -18px rgba(225, 29, 72, .8); }
.lfm-fl-strip.is-over { display: none; }
.lfm-fl-strip-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lfm-fl-strip-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; }
.lfm-fl-strip-tag b { padding: 1px 7px; border-radius: 8px; background: rgba(255, 255, 255, .22); }
.lfm-fl-strip-time { text-align: right; line-height: 1.1; }
.lfm-fl-strip-time small { display: block; font-size: 10.5px; font-weight: 700; opacity: .85; text-transform: uppercase; letter-spacing: .05em; }
.lfm-fl-strip-time b { font-size: 19px; font-weight: 900; font-variant-numeric: tabular-nums; }
.lfm-fl-strip-bar { display: block; height: 5px; margin-top: 9px; border-radius: 999px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.lfm-fl-strip-bar i { display: block; height: 100%; border-radius: inherit; background: #fff; transition: width 1s linear; }
.lfm-fl-owner { background: #fff7ed !important; border-color: #fdba74 !important; color: #c2410c !important; }

/* ---------- Ana səhifə ---------- */
.lfm-fl-home { background: linear-gradient(180deg, #fff7ed 0%, #fff 140px); border-color: #fed7aa; }
.lfm-fl-ic { background: linear-gradient(135deg, #f97316, #e11d48) !important; color: #fff !important; }
.lfm-fl-soon { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 8px; background: #111827; color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; }

/* ---------- Səhifə ---------- */
.lfm-fl-hero { position: relative; overflow: hidden; border-radius: 28px; padding: 28px 22px; color: #fff;
    background: radial-gradient(70% 120% at 100% 0%, #fb923c 0%, transparent 60%), linear-gradient(120deg, #ea580c 0%, #e11d48 70%, #9f1239 100%); box-shadow: 0 26px 50px -30px rgba(190, 18, 60, .9); }
@media (min-width: 768px) { .lfm-fl-hero { padding: 40px 44px; } }
.lfm-fl-hero::before { content: ''; position: absolute; right: 8%; bottom: -60px; width: 220px; height: 220px; background: rgba(255, 255, 255, .08); clip-path: polygon(55% 0, 15% 55%, 45% 55%, 35% 100%, 85% 40%, 55% 40%); }
.lfm-fl-hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 900px) { .lfm-fl-hero-in { flex-direction: row; align-items: center; justify-content: space-between; } }
.lfm-fl-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 11.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.lfm-fl-hero h1 { margin: 14px 0 8px; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.05; font-weight: 900; letter-spacing: -.025em; }
.lfm-fl-hero p { color: rgba(255, 255, 255, .86); font-size: 15px; line-height: 1.55; }
.lfm-fl-hero-side { display: flex; gap: 10px; flex-wrap: wrap; }
.lfm-fl-big, .lfm-fl-next { padding: 14px 18px; border-radius: 20px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); }
.lfm-fl-big small, .lfm-fl-next small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }
.lfm-fl-big b { display: block; font-size: 44px; line-height: 1; font-weight: 900; letter-spacing: -.03em; margin-top: 4px; }
.lfm-fl-next b { display: block; font-size: 28px; line-height: 1.1; font-weight: 900; font-variant-numeric: tabular-nums; margin-top: 6px; }
.lfm-fl-sorts { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.lfm-fl-sorts::-webkit-scrollbar { display: none; }
.lfm-fl-sorts a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid #eef0f3; font-size: 13.5px; font-weight: 800; color: #4b5563; transition: all .15s; }
.lfm-fl-sorts a:hover { color: #ea580c; border-color: #fed7aa; }
.lfm-fl-sorts a.is-active { background: linear-gradient(135deg, #f97316, #e11d48); border-color: transparent; color: #fff; }
.lfm-fl-pager { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; color: #4b5563; }
.lfm-fl-pager a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 12px; background: #fff; border: 1px solid #e5e7eb; }
.lfm-fl-sell { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 24px; background: #111827; color: #fff; }
@media (min-width: 768px) { .lfm-fl-sell { flex-direction: row; align-items: center; padding: 24px 28px; } }
.lfm-fl-sell-ic { flex: none; display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 18px; background: linear-gradient(135deg, #f97316, #e11d48); }
.lfm-fl-sell h2 { font-size: 18px; font-weight: 900; }
.lfm-fl-sell p { margin-top: 3px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.lfm-fl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 16px; font-weight: 900; font-size: 15px; color: #fff; background: linear-gradient(135deg, #f97316, #e11d48); box-shadow: 0 14px 26px -14px rgba(225, 29, 72, .9); transition: transform .12s, filter .15s; white-space: nowrap; }
.lfm-fl-btn:hover { filter: brightness(1.06); }
.lfm-fl-btn:active { transform: scale(.98); }
.lfm-fl-btn:disabled { opacity: .6; }

/* ---------- Kabinet ---------- */
.lfm-fl-myhead { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 28px; color: #fff; background: linear-gradient(120deg, #ea580c, #e11d48); box-shadow: 0 20px 40px -26px rgba(190, 18, 60, .9); }
@media (min-width: 768px) { .lfm-fl-myhead { flex-direction: row; align-items: center; justify-content: space-between; padding: 26px 28px; } }
.lfm-fl-myhead h1 { display: flex; align-items: center; gap: 8px; font-size: clamp(22px, 3vw, 30px); font-weight: 900; }
.lfm-fl-myhead p { margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.lfm-fl-bal { flex: none; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); }
.lfm-fl-bal small { font-size: 11px; font-weight: 800; text-transform: uppercase; opacity: .8; }
.lfm-fl-bal b { grid-row: 2; font-size: 22px; font-weight: 900; }
.lfm-fl-bal a { grid-row: 1 / span 2; grid-column: 2; display: inline-flex; align-items: center; gap: 4px; padding: 9px 12px; border-radius: 12px; background: #fff; color: #c2410c; font-weight: 800; font-size: 13px; }
.lfm-fl-form { display: grid; gap: 16px; }
@media (min-width: 900px) { .lfm-fl-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
.lfm-fl-full { grid-column: 1 / -1; }
.lfm-fl-f label, .lfm-fl-f legend { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; color: #374151; }
.lfm-fl-f small { display: block; margin-top: 6px; font-size: 12.5px; color: #6b7280; font-variant-numeric: tabular-nums; }
.lfm-fl-err { margin-top: 5px; font-size: 12.5px; font-weight: 700; color: #e11d48; }
.lfm-fl-pricebox { position: relative; }
.lfm-fl-pricebox .lf-input { font-size: 20px; font-weight: 900; padding-right: 86px; }
.lfm-fl-pct { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 5px 10px; border-radius: 10px; background: linear-gradient(135deg, #f97316, #e11d48); color: #fff; font-weight: 900; font-size: 14px; }
.lfm-fl-pct.is-bad { background: #9ca3af; }
.lfm-fl-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.lfm-fl-chips button { padding: 8px 4px; border-radius: 11px; background: #fff7ed; border: 1px solid #fed7aa; color: #c2410c; font-weight: 800; font-size: 13px; transition: all .12s; }
.lfm-fl-chips button:hover { background: #ffedd5; }
.lfm-fl-days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .lfm-fl-days { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lfm-fl-days label { margin: 0; cursor: pointer; }
.lfm-fl-days input { position: absolute; opacity: 0; pointer-events: none; }
.lfm-fl-days span { position: relative; display: flex; flex-direction: column; align-items: center; padding: 12px 6px; border-radius: 16px; border: 1.5px solid #e5e7eb; background: #fff; transition: all .15s; }
.lfm-fl-days b { font-size: 14px; font-weight: 900; color: #111827; }
.lfm-fl-days em { font-style: normal; font-size: 13px; font-weight: 700; color: #6b7280; margin-top: 2px; }
.lfm-fl-days i { position: absolute; top: -8px; right: -4px; padding: 1px 6px; border-radius: 7px; background: #16a34a; color: #fff; font-style: normal; font-size: 10.5px; font-weight: 900; }
.lfm-fl-days input:checked + span { border-color: #f97316; background: #fff7ed; box-shadow: 0 0 0 3px rgba(249, 115, 22, .12); }
.lfm-fl-days input:checked + span em { color: #c2410c; }
.lfm-fl-days input:focus-visible + span { outline: 2px solid #f97316; outline-offset: 2px; }
.lfm-fl-sum { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px dashed #fed7aa; }
@media (min-width: 640px) { .lfm-fl-sum { flex-direction: row; align-items: center; justify-content: space-between; } }
.lfm-fl-sum p { font-size: 15px; color: #374151; }
.lfm-fl-sum p b { font-size: 22px; font-weight: 900; color: #111827; }
.lfm-fl-sum small { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; color: #e11d48; font-weight: 700; font-size: 12.5px; }
.lfm-fl-count { display: inline-flex; min-width: 24px; justify-content: center; padding: 1px 7px; border-radius: 999px; background: #ffedd5; color: #c2410c; font-size: 12px; }
.lfm-fl-list { display: grid; gap: 8px; }
.lfm-fl-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; border: 1px solid #f3f4f6; }
.lfm-fl-list li.is-hot { border-color: #fecdd3; background: #fff1f2; }
.lfm-fl-list img { width: 64px; height: 64px; flex: none; border-radius: 14px; object-fit: cover; background: #f3f4f6; }
.lfm-fl-prices { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.lfm-fl-prices del { font-size: 12.5px; color: #9ca3af; }
.lfm-fl-prices b { font-size: 17px; font-weight: 900; color: #e11d48; }
.lfm-fl-prices em { font-style: normal; padding: 0 6px; border-radius: 6px; background: #ffe4e6; color: #be123c; font-size: 12px; font-weight: 900; }
.lfm-fl-meta { display: flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 12.5px; color: #6b7280; font-variant-numeric: tabular-nums; }
.lfm-fl-acts { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lfm-fl-upd { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid #e5e7eb; background: #fff; }
.lfm-fl-upd input { width: 84px; height: 34px; padding: 0 8px; border-radius: 9px; border: 0; background: #f9fafb; font-weight: 800; outline: none; }
.lfm-fl-upd button { height: 34px; padding: 0 12px; border-radius: 9px; background: #111827; color: #fff; font-size: 12.5px; font-weight: 800; }
.lfm-fl-stop { height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid #fecdd3; background: #fff1f2; color: #be123c; font-size: 13px; font-weight: 800; }
.lfm-fl-stop.is-armed { background: #e11d48; color: #fff; }
.lfm-fl-table { width: 100%; font-size: 13.5px; border-collapse: collapse; }
.lfm-fl-table th { padding: 8px 10px; text-align: left; font-size: 11px; font-weight: 800; text-transform: uppercase; color: #9ca3af; border-bottom: 1px solid #f3f4f6; }
.lfm-fl-table td { padding: 10px; border-bottom: 1px solid #f9fafb; white-space: nowrap; }
.lfm-fl-r { display: inline-flex; padding: 1px 8px; border-radius: 7px; font-size: 12px; font-weight: 800; }
.lfm-fl-r.is-gray { background: #f3f4f6; color: #4b5563; }
.lfm-fl-r.is-amber { background: #fef3c7; color: #92400e; }
.lfm-fl-r.is-red { background: #ffe4e6; color: #9f1239; }
@media (prefers-reduced-motion: reduce) { .lfm-fl-strip-bar i { transition: none; } }
