/* =========================================
   MOTTOMARKET APP HOMEPAGE CSS
   mobile-first
   ========================================= */

:root{
  --mm-bg: #f5f7fb;
  --mm-card: #ffffff;
  --mm-text: #0f172a;
  --mm-muted: #64748b;
  --mm-line: #dbe4ee;
  --mm-primary: #ff453a;
  --mm-primary-dark: #e53935;
  --mm-navy: #0b1530;
  --mm-success: #16a34a;
  --mm-warning: #ffcb3d;
  --mm-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
  --mm-radius: 22px;
  --mm-radius-sm: 16px;
}

/* =========================================
   BASE
   ========================================= */

.app-home{
  background: var(--mm-bg);
  color: var(--mm-text);
  padding-bottom: 92px;
}

.app-home *{
  box-sizing: border-box;
}

.app-home a{
  text-decoration: none;
}

.app-home img{
  max-width: 100%;
  display: block;
}

.app-home .container,
.app-home .container-fluid{
  padding-left: 14px !important;
  padding-right: 14px !important;
}

.app-home .row{
  --bs-gutter-x: 14px;
}

.app-home .btn:focus,
.app-home .form-control:focus,
.app-home .form-select:focus{
  box-shadow: none;
  outline: none;
}

/* =========================================
   HERO / SEARCH SECTION
   ========================================= */

.search-section{
  position: relative;
  overflow: hidden;
  padding: 12px 0 16px;
  min-height: auto;
  background-color: #dfe6ee;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 0 0 24px 24px;
  z-index: 1;
}

.search-section::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,21,48,.24) 0%, rgba(11,21,48,.34) 40%, rgba(11,21,48,.48) 100%);
  z-index: 1;
}

.search-section .bg-overlay{
  display: none !important;
}

.search-section .container-fluid{
  position: relative;
  z-index: 3;
}

.search-section h1{
  color: #fff !important;
  font-size: clamp(28px, 7vw, 38px);
  line-height: 1.06;
  font-weight: 900;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 14px rgba(0,0,0,.18);
}

.search-section p{
  color: rgba(255,255,255,.93) !important;
  font-size: 14px;
  line-height: 1.45;
  max-width: 720px;
  margin: 0 auto 12px;
  text-shadow: 0 1px 8px rgba(0,0,0,.14);
}

/* =========================================
   PROMO
   ========================================= */

.hero-promo{
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto 14px;
  padding: 12px 14px 12px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-promo__brand{
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.05;
}

.hero-promo__brand strong{
  font-size: 15px;
  font-weight: 900;
  color: #101828;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-promo__brand span{
  font-size: 12px;
  color: #667085;
  font-weight: 700;
}

.hero-promo__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}

.hero-promo__cta:hover{
  color: #111827;
  background: #f8fafc;
}

/* =========================================
   SEARCH CARD
   ========================================= */

.glass-form-container,
.glass-form-container--hero{
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(223, 230, 238, .95);
  box-shadow:
    0 16px 42px rgba(15, 23, 42, 0.12),
    0 4px 14px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.glass-form-container::after,
.glass-form-container--hero::after{
  display: none !important;
}

/* =========================================
   TYPE TABS
   ========================================= */

.home-top-tabs{
  margin-bottom: 14px;
}

.home-top-tabs-inner{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}

.home-top-tab{
  appearance: none;
  border: 1px solid #e4ebf3;
  background: #f8fafc;
  color: #1e293b;
  min-height: 74px;
  border-radius: 18px;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-direction: row;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  transition: .18s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

.home-top-tab:hover{
  background: #f1f5f9;
}

.home-top-tab.active{
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--mm-primary), var(--mm-primary-dark));
  box-shadow: 0 10px 22px rgba(255, 69, 58, 0.24);
}

.home-top-tab__icon{
  font-size: 18px;
  line-height: 1;
  flex: 0 0 auto;
}

.home-top-tab span:last-child{
  font-size: 13px;
  line-height: 1.15;
  font-weight: 800;
}

/* =========================================
   FORM GRID
   ========================================= */

.home-search-compact{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-search-row,
.home-search-row--second{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.home-search-col{
  min-width: 0;
}

.form-group-glass{
  position: relative;
}

.form-icon{
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  z-index: 3;
  color: #8a99b2;
  font-size: 14px;
  pointer-events: none;
}

.form-group-glass .form-control,
.form-group-glass .select2-container--default .select2-selection--single,
.home-search-btn,
.home-more-btn{
  min-height: 52px;
  border-radius: 16px !important;
}

.form-group-glass .form-control{
  border: 1px solid #d7e1ec;
  background: #f8fafc;
  color: #0f172a;
  font-size: 16px;
  font-weight: 600;
  padding-left: 42px;
  padding-right: 14px;
}

.form-group-glass .form-control::placeholder{
  color: #64748b;
  font-weight: 500;
}

.form-group-glass .form-control:focus{
  border-color: #c7d5e4;
  background: #fff;
}

.form-group-glass select.form-control{
  padding-right: 36px;
}

/* =========================================
   SELECT2 FIXES
   ========================================= */

.select2-container{
  width: 100% !important;
}

.select2-container--default .select2-selection--single{
  height: 52px !important;
  border: 1px solid #d7e1ec !important;
  background: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  padding-left: 30px !important;
  padding-right: 36px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height: 50px !important;
  color: #0f172a !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow{
  height: 50px !important;
  right: 10px !important;
}

.select2-dropdown{
  border: 1px solid #d7e1ec !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 30px rgba(15,23,42,.12);
}

.select2-results__option{
  padding: 10px 12px !important;
  font-size: 15px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected]{
  background: var(--mm-navy) !important;
}

/* =========================================
   SUBTABS
   ========================================= */

#transportTabsWrap,
#partsTabsWrap{
  margin-top: 6px;
}

.ao-transport-tabs{
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: none;
}

.ao-transport-tabs::-webkit-scrollbar{
  display: none;
}

.ao-transport-tab{
  flex: 0 0 auto;
  width: 190px;
  min-height: 74px;
  border: 1px solid #e4ebf3;
  background: #f8fafc;
  color: #1e293b;
  border-radius: 18px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  transition: .18s ease;
}

.ao-transport-tab.active{
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #16213d, #0b1530);
  box-shadow: 0 10px 22px rgba(11,21,48,.18);
}

.ao-transport-ico{
  font-size: 22px;
  line-height: 1;
  flex: 0 0 auto;
}

.ao-transport-label{
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
}

.ao-transport-sub{
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.15;
  color: #6b7280;
}

.ao-transport-tab.active .ao-transport-sub{
  color: rgba(255,255,255,.82);
}

.ao-help-note{
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: #64748b;
  padding: 0 2px;
}

/* =========================================
   ACTION BUTTONS
   ========================================= */

.home-search-actions{
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.home-search-btn{
  width: 100%;
  border: none !important;
  background: linear-gradient(135deg, var(--mm-primary), var(--mm-primary-dark)) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(255, 69, 58, 0.24);
}

.home-search-btn:hover{
  background: linear-gradient(135deg, var(--mm-primary), var(--mm-primary-dark)) !important;
  color: #fff !important;
}

.home-more-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100%;
  border: 1px solid #d7e1ec !important;
  background: #fff !important;
  color: #0f172a !important;
  font-size: 14px;
  font-weight: 800;
  padding: 0 16px;
}

.home-more-btn:hover{
  background: #f8fafc !important;
  color: #0f172a !important;
}

/* =========================================
   CATEGORY CHIPS
   ========================================= */

.category-links-home{
  margin-top: 14px;
}

.chips-row{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 8px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  scrollbar-width: none;
}

.chips-row::-webkit-scrollbar{
  display: none;
}

.chips-row a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e4ebf3;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.chips-row a:hover{
  color: #0f172a;
  background: #f1f5f9;
}

.chips-row a.btn-parts-translucent{
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--mm-primary), var(--mm-primary-dark));
}

/* =========================================
   RESULTS
   ========================================= */

.front-results{
  padding: 16px 0 28px;
}

.front-results .container{
  max-width: 100%;
}

.section-kicker{
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7c8aa8;
}

.section-heading{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--mm-navy);
  font-size: 20px;
  line-height: 1.1;
  font-weight: 900;
}

.section-sub{
  display: none;
}

.app-home .d-flex.justify-content-between.align-items-end.mb-2{
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 10px;
}

.app-home .btn.btn-sm.btn-outline-light{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 999px;
  padding: 0 14px;
  border: 1px solid #d7e1ec !important;
  background: #fff !important;
  color: #0f172a !important;
  font-size: 13px;
  font-weight: 800;
}

/* =========================================
   GRID / CARDS
   ========================================= */

.fp-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.fp-card{
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.fp-photo{
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e8eef5;
}

.fp-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fp-body{
  padding: 12px;
}

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

.fp-type{
  font-size: 11px;
  font-weight: 900;
  color: #64748b;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.fp-price{
  font-size: 18px;
  font-weight: 900;
  color: var(--mm-navy);
  white-space: nowrap;
}

.fp-title{
  margin-bottom: 8px;
}

.fp-title a{
  color: #0f172a;
  font-size: 15px;
  line-height: 1.28;
  font-weight: 900;
}

.fp-title a:hover{
  color: #0f172a;
}

.fp-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
  font-size: 12px;
  color: #5f6f8e;
}

.fp-meta span,
.fp-foot span{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fp-foot{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid #eef2f7;
  font-size: 12px;
  color: #6e7b95;
}

.fp-badges{
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fp-badge{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.fp-badge--featured{
  background: var(--mm-warning);
  color: #3c2b00;
}

.fp-brand{
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
}

.fp-brand a{
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(11,21,48,.72);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.dealer-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  margin-bottom: 8px;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  background: #fff;
}

.dealer-badge img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.list-wm{
  position: absolute;
  z-index: 1;
  max-width: 72px;
  max-height: 72px;
  pointer-events: none;
}

.list-wm.bl{ left:10px; bottom:10px; }
.list-wm.br{ right:10px; bottom:10px; }
.list-wm.tl{ left:10px; top:10px; }
.list-wm.tr{ right:10px; top:10px; }
.list-wm.center{ left:50%; top:50%; transform:translate(-50%,-50%); }

.ribbon-biz-mini{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  padding: 6px 8px;
  border-radius: 999px;
  background: #0b1530;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

/* =========================================
   ADS BOX
   ========================================= */

.fp-ad{
  margin: 0 0 18px;
}

.fp-ad-box{
  padding: 14px;
  border: 1px solid #edf1f7;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(11,21,48,.05);
}

.fp-ad-label{
  display: inline-block;
  margin-bottom: 8px;
  color: #7b8ba8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* =========================================
   EMPTY STATES
   ========================================= */

.fp-ad-box.p-4.text-center{
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
}

/* =========================================
   TABLET  ≥768px
   ========================================= */

@media (min-width: 768px){
  .app-home{
    padding-bottom: 28px;
  }

  .search-section{
    padding: 18px 0 22px;
  }

  .search-section h1{
    font-size: clamp(34px, 4vw, 48px);
  }

  .search-section p{
    font-size: 15px;
  }

  .hero-promo{
    margin-bottom: 16px;
  }

  .glass-form-container,
  .glass-form-container--hero{
    padding: 16px;
  }

  .home-top-tabs-inner{
    grid-template-columns: repeat(4, minmax(0,1fr));
  }

  .home-search-row,
  .home-search-row--second{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .home-more-btn{
    min-width: 240px;
  }

  .chips-row{
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
  }

  .section-sub{
    display: inline;
    font-size: 13px;
    font-weight: 800;
    color: #70809f;
  }

  .app-home .d-flex.justify-content-between.align-items-end.mb-2{
    flex-direction: row;
    align-items: flex-end !important;
  }

  .fp-grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
  }

  .fp-foot{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
}

/* =========================================
   DESKTOP  ≥1200px
   ========================================= */

@media (min-width: 1200px){
  .search-section{
    padding: 26px 0 28px;
  }

  /* PROMO — centriran unutar containera, ne beži desno */
  .hero-promo{
    position: relative;
    left: auto;
    right: auto;
    float: none;
    max-width: 560px;
    margin: 0 auto 16px;
  }

  .glass-form-container,
  .glass-form-container--hero{
    max-width: 1120px;
    padding: 18px;
  }

  .home-top-tabs-inner{
    grid-template-columns: repeat(8, minmax(0,1fr));
  }

  .home-top-tab{
    min-height: 84px;
    flex-direction: column;
    gap: 7px;
  }

  .home-top-tab__icon{
    font-size: 22px;
  }

  .home-search-row{
    grid-template-columns: 1.1fr 1.1fr .9fr .9fr;
  }

  .home-search-row--second{
    grid-template-columns: 1fr 1fr 1fr .9fr;
  }

  .home-search-btn{
    height: 52px;
  }

  .front-results .container{
    max-width: 1320px;
  }

  .fp-grid{
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .fp-title{
    min-height: 44px;
  }
}

/* =========================================
   MOBILE  ≤767px
   ========================================= */

@media (max-width: 767px){

  .search-section{
    padding: 14px 0 18px;
    border-radius: 0 0 22px 22px;
  }

  .search-section h1{
    font-size: clamp(22px, 5.5vw, 30px);
    margin-bottom: 6px;
  }

  .search-section p{
    font-size: 13.5px;
    margin-bottom: 10px;
  }

  /* Promo — puna širina, kompaktniji */
  .hero-promo{
    max-width: 100%;
    padding: 11px 14px;
    border-radius: 16px;
    gap: 10px;
    margin-bottom: 12px;
  }

  .hero-promo__brand{
    flex: 1 1 auto;
    min-width: 0;
  }

  .hero-promo__cta{
    flex: 0 0 auto;
    min-width: 100px;
    height: 40px;
    font-size: 13px;
    padding: 0 14px;
  }

  /* Glass form */
  .glass-form-container,
  .glass-form-container--hero{
    padding: 12px;
    border-radius: 20px;
  }

  /* Type tabs — 2 kolone */
  .home-top-tabs-inner{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
  }

  .home-top-tab{
    min-height: 68px;
    border-radius: 16px;
    padding: 9px 10px;
    gap: 7px;
  }

  .home-top-tab__icon{
    font-size: 17px;
  }

  .home-top-tab span:last-child{
    font-size: 12px;
  }

  /* Transport subtabs */
  .ao-transport-tab{
    width: 155px;
    min-height: 68px;
    border-radius: 14px;
    padding: 10px 12px;
  }

  .ao-transport-ico{
    font-size: 20px;
  }

  .ao-transport-label{
    font-size: 12px;
  }

  .ao-transport-sub{
    font-size: 10px;
  }

  /* Form fields */
  .home-search-row,
  .home-search-row--second{
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .form-group-glass .form-control{
    min-height: 50px;
    font-size: 15px;
  }

  .select2-container--default .select2-selection--single{
    height: 50px !important;
  }

  .select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 48px !important;
    font-size: 15px !important;
  }

  .select2-container--default .select2-selection--single .select2-selection__arrow{
    height: 48px !important;
  }

  .home-search-btn{
    min-height: 50px;
    font-size: 15px;
    letter-spacing: 0.01em;
  }

  .home-more-btn{
    min-height: 48px;
    font-size: 14px;
    width: 100%;
  }

  /* Chips */
  .chips-row{
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    gap: 7px;
  }

  .chips-row a{
    min-height: 36px;
    padding: 0 13px;
    font-size: 12.5px;
  }

  /* Results */
  .front-results{
    padding: 14px 0 24px;
  }

  .section-kicker{
    font-size: 10.5px;
    margin-bottom: 6px;
  }

  .section-heading{
    font-size: 18px;
    gap: 7px;
    margin-bottom: 6px;
  }

  .app-home .d-flex.justify-content-between.align-items-end.mb-2{
    flex-direction: row;
    align-items: center !important;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 10px !important;
  }

  .app-home .btn.btn-sm.btn-outline-light{
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Cards */
  .fp-grid{
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }

  .fp-card{
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07);
  }

  .fp-photo{
    aspect-ratio: 16 / 9;
  }

  .fp-body{
    padding: 11px 12px 12px;
  }

  .fp-top{
    margin-bottom: 6px;
  }

  .fp-price{
    font-size: 17px;
  }

  .fp-title{
    min-height: auto;
    margin-bottom: 7px;
  }

  .fp-title a{
    font-size: 14.5px;
    line-height: 1.3;
  }

  .fp-meta{
    gap: 6px 10px;
    margin-bottom: 9px;
    font-size: 11.5px;
  }

  .fp-foot{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px;
    padding-top: 9px;
    font-size: 11.5px;
  }

  .fp-badge{
    min-height: 25px;
    padding: 0 9px;
    font-size: 10.5px;
  }

  .dealer-badge{
    width: 36px;
    height: 36px;
    border-radius: 10px;
    margin-bottom: 6px;
  }

  .ribbon-biz-mini{
    font-size: 9.5px;
    padding: 5px 8px;
  }

  .fp-ad-box{
    padding: 12px;
    border-radius: 16px;
  }
}

/* =========================================
   VERY SMALL  ≤390px
   ========================================= */

@media (max-width: 390px){
  .search-section{
    padding-top: 10px;
    border-radius: 0 0 20px 20px;
  }

  .search-section h1{
    font-size: 21px;
  }

  .search-section p{
    font-size: 12.5px;
  }

  .hero-promo{
    padding: 10px 12px;
    border-radius: 14px;
  }

  .hero-promo__brand strong{
    font-size: 14px;
  }

  .hero-promo__brand span{
    font-size: 11px;
  }

  .hero-promo__cta{
    min-width: 90px;
    height: 38px;
    font-size: 12.5px;
    padding: 0 12px;
  }

  .glass-form-container,
  .glass-form-container--hero{
    padding: 10px;
    border-radius: 18px;
  }

  .home-top-tab{
    min-height: 62px;
    padding: 8px 8px;
  }

  .home-top-tab__icon{
    font-size: 16px;
  }

  .home-top-tab span:last-child{
    font-size: 11px;
  }

  .section-heading{
    font-size: 17px;
  }

  .fp-price{
    font-size: 16px;
  }

  .fp-title a{
    font-size: 14px;
  }
}