/* The brand of Ofertops on top of Finder 1.4.1 (docs/18, section 6.4; docs/09, section 5.1). It is loaded after theme.min.css. */
/* Only what the web, the panel and the app share. What belongs to the public cards goes to Front.Ui; what belongs to the panel, to its own admin.css. */

:root {
  --of-purple: #52138c;
  --of-pink: #f52578;
  --of-pink-dark: #de1867;
  --of-gray: #4b5563;
  --of-bg-normal: #f4f4f7;
  --of-bg-buena: #eee4f8;
  --of-bg-oferton: #fde4ee;
}

/* The brand line on top of every page, like the stripe of the images of the posts. */
.brand-line { height: 4px; background: linear-gradient(90deg, var(--of-purple), var(--of-pink)); }
.navbar-brand img { height: 34px; width: auto; }

/* Level colours, as in the images of the posts (doc 09, section 5). */
.bg-level-normal { background-color: var(--of-gray) !important; color: #fff; }
.bg-level-buena { background-color: var(--of-purple) !important; color: #fff; }
.bg-level-oferton { background-color: var(--of-pink-dark) !important; color: #fff; }
.text-level-normal { color: var(--of-gray) !important; }
.text-level-buena { color: var(--of-purple) !important; }
.text-level-oferton { color: var(--of-pink-dark) !important; }

/* Prices and stores, the same in a card, in a row of the panel and in a detail. */
.price-now { color: var(--of-purple); font-size: 1.6rem; font-weight: 800; line-height: 1; }
.price-before { color: #9691a4; text-decoration: line-through; font-size: .9rem; }
.price-before-label { color: #9691a4; font-size: .72rem; }
.saving { color: var(--of-purple); font-weight: 700; font-size: .85rem; }
.store-logo { height: 16px; width: auto; }

/* Filters. */
.filter-chip { display: inline-flex; align-items: center; gap: .35rem; background: #f5f4f8; border-radius: 2rem; padding: .3rem .75rem; font-size: .8rem; margin: 0 .35rem .5rem 0; color: #454056; }
.filter-chip .fi-x { font-size: .6rem; }

/* Dots and soft badges, shared by the web and the panel. */
.dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; }
.badge-soft { font-weight: 600; font-size: .72rem; border-radius: 1rem; padding: .3rem .6rem; }
.badge-soft-success { background: #e3f6ec; color: #0b7a3e; }
.badge-soft-warning { background: #fff4de; color: #9a5b00; }
.badge-soft-danger { background: #fde8e8; color: #b42318; }
.badge-soft-info { background: #e7f0ff; color: #1d4ed8; }
.badge-soft-purple { background: #f1e7fb; color: var(--of-purple); }
.badge-soft-gray { background: #f1f0f5; color: #454056; }
