/* Modül B — Sidebar Sıcak Fırsatlar widget + mobile inline strip */
.sfw-root {
  --tam-blue: #007ee7;
  --tam-blue-dark: #0466bd;
  --ink: #191c1e;
  --muted: #5a6470;
  --plat: #7c8794;
  --card: #fff;
  --line: #e6ebf0;
  --save-bg: #c8f08a;
  --save-ink: #2e4f00;
  --free-bg: #1f9d55;
  --soon-bg: #fff1e0;
  --soon-ink: #b25e14;
  --urgent-bg: #fde5e2;
  --urgent-ink: #c2331f;
}

.sfw {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(20, 40, 60, .06);
  margin-bottom: 16px;
}

.sfw__head {
  padding: 15px 16px 12px;
  border-bottom: 2px solid var(--tam-blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sfw__head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #12324e;
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.1;
}

.sfw__head .all {
  font-size: 12px;
  font-weight: 800;
  color: var(--tam-blue);
  text-decoration: none;
  white-space: nowrap;
}

.sfw__head .all:hover {
  color: var(--tam-blue-dark);
  text-decoration: none;
}

.sfw__row {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid #eef2f6;
  text-decoration: none;
  color: inherit;
}

.sfw__row:last-of-type {
  border-bottom: 0;
}

.sfw__row:hover {
  background: #f9fbfd;
  text-decoration: none;
  color: inherit;
}

.sfw__row:focus-visible {
  outline: 2px solid var(--tam-blue);
  outline-offset: -2px;
}

.sfw__ico {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
  overflow: visible;
}

.sfw__ico img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
}

.sfw__tag {
  position: absolute;
  top: -7px;
  left: -7px;
  background: var(--save-bg);
  color: var(--save-ink);
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
  z-index: 1;
  line-height: 1.3;
}

.sfw__tag--free {
  background: var(--free-bg);
  color: #fff;
}

.sfw__mid {
  flex: 1;
  min-width: 0;
}

.sfw__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--ink);
}

.sfw__time {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--soon-ink);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.sfw__time--urgent {
  color: var(--urgent-ink);
}

.sfw__price {
  flex: 0 0 auto;
  text-align: right;
  padding-left: 4px;
}

.sfw__now {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--tam-blue);
  line-height: 1;
}

.sfw__old {
  font-size: 12px;
  color: #9aa5b1;
  text-decoration: line-through;
}

.sfw__foot {
  padding: 6px 16px 14px;
}

.sfw__all {
  display: block;
  text-align: center;
  color: var(--tam-blue);
  font-weight: 800;
  font-size: 13px;
  padding: 10px;
  text-decoration: none;
}

.sfw__all:hover {
  color: var(--tam-blue-dark);
  text-decoration: none;
}

@media (max-width: 991px) {
  .sfw--desktop {
    display: none !important;
  }
}
