/**
* 2007-2026 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2026 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.fmmss2, .fmmss2 * { box-sizing: border-box; }

.fmmss2{
  padding: 22px 16px;
}
.fmmss2__shell{
  max-width: 1200px;
  margin: 0 auto;
}

/* HERO */
.fmmss2-hero{
  border-radius: 18px;
  border: 1px solid rgba(17,24,39,.08);
  background:
    radial-gradient(900px 300px at 15% 0%, rgba(44,102,255,.14), transparent 60%),
    radial-gradient(700px 260px at 90% 30%, rgba(16,185,129,.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  box-shadow: 0 14px 40px rgba(17,24,39,.08);
  padding: 18px;
}

.fmmss2-hero__title{
  font-weight: 900;
  font-size: 20px;
  color: #111827;
}
.fmmss2-hero__hint{
  margin-top: 6px;
  color: #6b7280;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.fmmss2-pill{
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(17,24,39,.06);
  border: 1px solid rgba(17,24,39,.06);
}
.fmmss2-dot{ opacity: .35; }

/* FORM */
.fmmss2-form{ margin-top: 14px; }

.fmmss2-form__field{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(17,24,39,.10);
}

.fmmss2-form__icon{
  font-size: 16px;
  opacity: .7;
}

.fmmss2-form__input{
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  padding: 6px 2px;
  color: #111827;
}

.fmmss2-form__btn{
  border: 1px solid rgba(44,102,255,.35);
  background: linear-gradient(180deg, #2c66ff, #2457e6);
  color: #fff;
  font-weight: 900;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(44,102,255,.22);
}

.fmmss2-form__meta{
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.fmmss2-form__chip{
  font-size: 12px;
  color: #6b7280;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17,24,39,.04);
  border: 1px solid rgba(17,24,39,.06);
}

.fmmss2-form__clear{
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.10);
  color: #111827;
  background: rgba(255,255,255,.9);
}

/* LAYOUT */
.fmmss2-layout{
  margin-top: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* SIDEBAR */
.fmmss2-side{
  width: 280px;
  flex: 0 0 280px;
  position: sticky;
  top: 12px;
  border-radius: 16px;
  border: 1px solid rgba(17,24,39,.08);
  background: #fff;
  box-shadow: 0 10px 26px rgba(17,24,39,.06);
  padding: 12px;
}

.fmmss2-side__title{
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .35px;
  color: #111827;
}
.fmmss2-side__sub{
  margin-top: 4px;
  font-size: 12px;
  color: #6b7280;
}

.fmmss2-cats{
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fmmss2-cat{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(17,24,39,.06);
  background: rgba(17,24,39,.02);
  color: #111827;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.fmmss2-cat:hover{
  transform: translateY(-1px);
  background: rgba(44,102,255,.06);
  border-color: rgba(44,102,255,.20);
}
.fmmss2-cat__name{
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}
.fmmss2-cat__count{
  font-size: 11px;
  font-weight: 950;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(17,24,39,.08);
}

/* MAIN */
.fmmss2-main{
  flex: 1;
  min-width: 0;
}

.fmmss2-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 6px 2px 14px;
  gap: 10px;
}

.fmmss2-head__title{
  font-size: 16px;
  font-weight: 950;
  color: #111827;
}
.fmmss2-head__meta{
  margin-top: 4px;
  font-size: 12px;
  color: #6b7280;
}

.fmmss2-badge{
  font-size: 12px;
  font-weight: 950;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(16,185,129,.10);
  border: 1px solid rgba(16,185,129,.22);
  color: #065f46;
}

/* LIST (cards as rows) */
.fmmss2-list{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.fmmss2-card{
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(17,24,39,.08);
  background: #fff;
  box-shadow: 0 10px 24px rgba(17,24,39,.06);
  text-decoration: none;
  color: inherit;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.fmmss2-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(17,24,39,.10);
  border-color: rgba(44,102,255,.18);
}

.fmmss2-card__media{
  width: 110px;
  flex: 0 0 110px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: rgba(17,24,39,.04);
}

.fmmss2-card__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fmmss2-card__tag{
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 11px;
  font-weight: 950;
  color: #fff;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(17,24,39,.78);
}

.fmmss2-card__body{
  flex: 1;
  min-width: 0;
}

.fmmss2-card__name{
  font-size: 14px;
  font-weight: 950;
  color: #111827;
  line-height: 1.25;
}

.fmmss2-card__desc{
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fmmss2-card__foot{
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.fmmss2-card__price{
  font-size: 14px;
  font-weight: 950;
  color: #111827;
}

.fmmss2-meter{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  white-space: nowrap;
}
.fmmss2-meter__label{
  font-size: 10px;
  font-weight: 950;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .35px;
}
.fmmss2-meter__bar{
  width: 90px;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(17,24,39,.10);
}
.fmmss2-meter__fill{
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #dc2626, #f59e0b, #16a34a);
}
.fmmss2-meter__pct{
  font-size: 11px;
  font-weight: 950;
  color: #111827;
}

.fmmss2-card__cta{
  margin-top: 10px;
  font-size: 12px;
  font-weight: 950;
  color: #2c66ff;
}

/* EMPTY */
.fmmss2-empty{
  margin-top: 14px;
  border: 1px dashed rgba(17,24,39,.18);
  border-radius: 18px;
  padding: 18px;
  background: rgba(17,24,39,.02);
}
.fmmss2-empty__title{
  font-size: 14px;
  font-weight: 950;
  color: #111827;
}
.fmmss2-empty__text{
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
}

/* RESPONSIVE */
@media (max-width: 900px){
  .fmmss2-layout{ flex-direction: column; }
  .fmmss2-side{ width: auto; flex: auto; position: static; }
  .fmmss2-cats{ flex-direction: row; flex-wrap: wrap; }
  .fmmss2-cat{ width: auto; }
  .fmmss2-card{ flex-direction: row; }
}

@media (max-width: 520px){
  .fmmss2-card__media{ width: 92px; flex: 0 0 92px; }
  .fmmss2-meter__bar{ width: 70px; }
}
