:root {
  --mm-primary: #18c8d0;
  --mm-accent: #f86028;
  --mm-yellow: #ffb23f;
  --mm-ink: #171b1f;
  --mm-muted: #65717d;
  --mm-soft: #eefcfd;
  --mm-line: #edf0f3;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: #fff;
  color: var(--mm-ink);
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  font-size: 14px;
  line-height: 1.42857143;
  padding-top: 78px;
}

.container {
  max-width: 1180px;
  width: 100%;
}

.navbar.navbar-default {
  background: rgba(255, 255, 255, .96) !important;
  border: 0 !important;
  box-shadow: 0 8px 30px rgba(31, 41, 51, .08) !important;
  min-height: 70px !important;
}

.navbar-brand {
  height: 70px;
  padding: 17px 15px;
}

.navbar-brand img {
  display: block;
  height: 36px;
  max-width: 180px;
  object-fit: contain;
}

.navbar-default .navbar-nav > li > a {
  color: var(--mm-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  padding-bottom: 24px;
  padding-top: 25px;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: var(--mm-primary);
}

.navbar-toggle {
  border: 0;
  margin-top: 18px;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: var(--mm-ink);
}

.mm-account-nav > li > img {
  margin: 27px 8px 0;
}

.mm-account-toggle {
  align-items: center;
  display: flex !important;
  gap: 6px;
}

#nav_account_li:not(.open) > .dropdown-menu {
  display: none !important;
}

#nav_account_li.open > .dropdown-menu {
  display: block !important;
}

.navbar-search {
  margin-bottom: 0;
  margin-top: 14px;
  padding-left: 8px;
  padding-right: 8px;
}

.navbar-search .form-control,
#small_search_bar .form-control {
  border: 1px solid var(--mm-line) !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 18px rgba(31, 41, 51, .06) !important;
  height: 42px !important;
}

.navbar-search .btn-primary,
#small_search_bar .btn-primary {
  background: var(--mm-accent);
  border-color: var(--mm-accent);
  color: #fff;
  font-weight: 700;
}

#small_search_bar {
  background: #fff;
  border-bottom: 1px solid var(--mm-line);
  margin: -8px -15px 18px;
  padding: 12px 15px 6px;
}

#breadcrumbs .breadcrumb {
  background: transparent;
  margin: 0 0 12px;
  padding: 12px 0 0;
}

#breadcrumbs a {
  color: var(--mm-primary);
  font-weight: 700;
}

#section_top {
  background:
    radial-gradient(circle at top right, rgba(24, 200, 208, .18), transparent 36%),
    linear-gradient(135deg, #fff 0%, var(--mm-soft) 100%);
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(31, 41, 51, .06);
  margin: 8px 0 20px;
  overflow: hidden;
  padding: 24px;
}

#section_top .row {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
}

#section_top .row:before,
#section_top .row:after {
  display: none;
}

#section_top [class*="col-"] {
  float: none;
  padding-left: 0;
  padding-right: 0;
  width: auto;
}

#section_top h1 {
  color: var(--mm-ink);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 8px;
}

#section_top .lead,
#section_top p {
  color: var(--mm-muted);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 0;
}

#section_top .btn {
  background: var(--mm-accent);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(248, 96, 40, .2);
  color: #fff;
  font-weight: 800;
  min-height: 42px;
  padding: 11px 18px;
}

#section_top img {
  max-width: 100%;
}

#section_main,
.section_main {
  padding-bottom: 26px;
}

#section_main h1,
#section_main h2,
.section_main h1,
.section_main h2 {
  color: var(--mm-ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 18px 0 14px;
}

.dev_grid,
.mm-card-grid,
#section_main .row:has(.dev_cell_tall),
.section_main .row:has(.dev_cell_tall) {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 24px;
}

.dev_grid:before,
.dev_grid:after,
.mm-card-grid:before,
.mm-card-grid:after,
#section_main .row:has(.dev_cell_tall):before,
#section_main .row:has(.dev_cell_tall):after,
.section_main .row:has(.dev_cell_tall):before,
.section_main .row:has(.dev_cell_tall):after {
  display: none;
}

.dev_grid > [class*="col-"],
.mm-card-grid > [class*="col-"],
#section_main .row:has(.dev_cell_tall) > [class*="col-"],
.section_main .row:has(.dev_cell_tall) > [class*="col-"] {
  float: none;
  padding-left: 0;
  padding-right: 0;
  width: auto;
}

.dev_cell_tall {
  background: #fff !important;
  border: 1px solid var(--mm-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 26px rgba(31, 41, 51, .06) !important;
  display: grid;
  grid-template-rows: auto 128px 1fr;
  min-height: 230px;
  overflow: hidden;
  padding: 0;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.dev_cell_tall:hover {
  border-color: rgba(24, 200, 208, .45);
  box-shadow: 0 16px 34px rgba(31, 41, 51, .1);
  transform: translateY(-2px);
}

.dev_cell_price_over {
  background: var(--mm-soft);
  color: var(--mm-primary);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  padding: 11px 10px;
  position: static;
  width: 100%;
}

.dev_cell_price_over a {
  color: var(--mm-primary);
  display: inline-flex;
  text-decoration: none;
}

.dev_cell_tall .image {
  align-items: center;
  background: linear-gradient(180deg, #fff 0%, #f8fbfc 100%);
  display: flex;
  height: 128px !important;
  justify-content: center;
  padding: 14px;
}

.dev_cell_tall .image img {
  height: auto !important;
  max-height: 112px;
  max-width: 100%;
  object-fit: contain;
}

.dev_cell_tall .title {
  color: var(--mm-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  min-height: 54px;
  padding: 12px 12px 14px;
}

.dev_cell_tall .title a {
  color: var(--mm-ink);
  text-decoration: none;
}

.dev_cell_tall .title a:hover,
.dev_cell_tall .title a:focus {
  color: var(--mm-primary);
}

.booktype_cell,
.home_cell,
.big_option,
.panel,
.alert-white,
.filter_form .panel,
.location-item,
#device_info,
.pricing-panel,
.mm-refresh-card {
  background: #fff !important;
  border: 1px solid var(--mm-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 26px rgba(31, 41, 51, .06) !important;
  overflow: hidden;
  padding: 14px;
}

.booktype_cell img,
.home_cell img,
.big_option img,
#device_info img {
  max-height: 116px;
  object-fit: contain;
}

.booktype_cell a,
.home_cell a,
.big_option a {
  color: var(--mm-ink);
  font-weight: 800;
  text-decoration: none;
}

.booktype_cell .price,
.booktype_cell label,
.booktype_cell span[id*="labelprice"] {
  color: var(--mm-accent);
  font-weight: 800;
}

.big_option {
  align-items: center;
  display: grid;
  gap: 12px;
  min-height: 220px;
  text-align: center;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.big_option:hover {
  border-color: rgba(24, 200, 208, .45);
  box-shadow: 0 16px 34px rgba(31, 41, 51, .1);
  transform: translateY(-2px);
}

.big_option img {
  margin: 0 auto;
  max-height: 132px;
}

.big_option .actions {
  color: var(--mm-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.panel {
  border-color: var(--mm-line);
}

.panel > .panel-heading,
.panel-default > .panel-heading,
.panel-info > .panel-heading {
  background: #fff;
  border-color: var(--mm-line);
  color: var(--mm-ink);
  font-weight: 800;
}

.panel > .panel-footer {
  background: #f8fbfc;
  border-color: var(--mm-line);
}

.btn,
.btn-large {
  border-radius: 999px;
  font-weight: 800;
}

.btn-primary,
.btn-info {
  background: var(--mm-primary);
  border-color: var(--mm-primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-info:hover,
.btn-info:focus {
  background: #0faeb7;
  border-color: #0faeb7;
  color: #fff;
}

.btn-warning {
  background: var(--mm-accent);
  border-color: var(--mm-accent);
  color: #fff;
}

.btn-warning:hover,
.btn-warning:focus {
  background: #df4f1c;
  border-color: #df4f1c;
  color: #fff;
}

.buy_form .form-group,
.filter_form .form-group {
  max-width: 100%;
}

.buy_form input[type="text"],
.buy_form textarea,
.filter_form input[type="text"],
.filter_form textarea,
#formListingFilter input[type="text"],
#formListingFilter textarea {
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  box-shadow: none;
  color: var(--mm-ink);
  max-width: 100%;
  padding: 9px 12px;
  width: 100%;
}

.buy_form input[type="text"]:focus,
.buy_form textarea:focus,
.filter_form input[type="text"]:focus,
.filter_form textarea:focus,
#formListingFilter input[type="text"]:focus,
#formListingFilter textarea:focus {
  border-color: var(--mm-primary);
  box-shadow: 0 0 0 4px rgba(24, 200, 208, .14);
  outline: 0;
}

#listingFilterTable {
  display: block;
  margin-bottom: 0 !important;
}

#listingFilterTable tbody,
#listingFilterTable tr,
#listingFilterTable th,
#listingFilterTable td {
  display: block;
}

#listingFilterTable tr {
  border-top: 1px solid var(--mm-line);
  padding: 12px;
}

#listingFilterTable tr:first-child {
  border-top: 0;
}

#listingFilterTable th {
  border: 0 !important;
  color: var(--mm-ink);
  font-size: 12px;
  letter-spacing: 0;
  padding: 0 0 7px !important;
  text-transform: uppercase;
}

#listingFilterTable td {
  border: 0 !important;
  padding: 0 !important;
}

#formListingFilter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#formListingFilter ul li label {
  background: var(--mm-soft);
  border: 1px solid rgba(24, 200, 208, .18);
  border-radius: 999px;
  color: var(--mm-ink);
  cursor: pointer;
  font-weight: 700;
  margin: 0;
  padding: 7px 10px;
}

.location-item {
  margin-bottom: 14px;
}

.location-item .media {
  align-items: flex-start;
  display: flex;
  gap: 12px;
}

.location-item .pull-left {
  float: none !important;
}

.location-item img {
  border: 1px solid var(--mm-line);
  border-radius: 999px;
  height: 54px;
  object-fit: cover;
  width: 54px;
}

.location-item address {
  margin-bottom: 0;
}

.locate-location {
  align-items: center;
  background: var(--mm-soft);
  border: 1px solid rgba(24, 200, 208, .18);
  border-radius: 999px;
  color: var(--mm-primary);
  display: inline-flex;
  font-weight: 800;
  gap: 6px;
  padding: 7px 10px;
}

.listing_section_sep {
  border-color: var(--mm-line);
  margin: 14px 0;
}

#div-ad300x200 {
  text-align: center;
}

#div-ad300x200 img {
  height: auto;
  max-width: 100%;
}

.mm-new-listing-page {
  background: linear-gradient(180deg, var(--mm-soft), rgba(238, 252, 253, 0));
  border-radius: 8px;
  margin-bottom: 24px;
  padding: 14px 0 8px;
}

.mm-new-listing-shell {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
}

.mm-listing-side .panel,
.mm-listing-form .panel,
.mm-next-steps {
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(31, 41, 51, .06);
  overflow: hidden;
}

.mm-listing-side .panel-heading,
.mm-listing-form .panel-heading {
  background: #fff;
  border-bottom: 1px solid var(--mm-line);
  padding: 14px 18px;
}

.mm-listing-side .panel-heading h3,
.mm-listing-form .panel-heading h3 {
  color: var(--mm-ink);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
}

.mm-listing-side .panel-body,
.mm-listing-form .panel-body {
  padding: 18px;
}

.mm-listing-side {
  position: sticky;
  top: 88px;
}

.mm-listing-side .panel-body img {
  height: auto;
  max-height: 190px;
  max-width: 100%;
  object-fit: contain;
}

.pricing-panel .panel-heading {
  color: var(--mm-ink);
  font-weight: 800;
}

.pricing-panel .table {
  margin-bottom: 0;
}

.pricing-panel table tr td {
  border-color: var(--mm-line) !important;
  color: var(--mm-ink);
}

.mm-listing-form .col-xs-12.col-sm-9.col-md-8.col-lg-8 {
  float: none;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

.mm-listing-form .field.form-group,
.mm-listing-form #variant_fields .form-group {
  margin-bottom: 16px;
}

.mm-listing-form .control-label {
  color: var(--mm-ink);
  display: block;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 6px;
}

.mm-listing-form .required .control-label:after,
.mm-listing-form .requiredField:after {
  background: rgba(248, 96, 40, .1);
  border-radius: 999px;
  color: var(--mm-orange);
  content: "Required";
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  margin-left: 8px;
  padding: 4px 7px;
  text-transform: uppercase;
  vertical-align: middle;
}

.mm-listing-form .help-block {
  color: var(--mm-muted);
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 8px;
}

.mm-listing-form input[type="text"],
.mm-listing-form textarea,
.mm-listing-form select,
.mm-listing-form .form-control {
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  box-shadow: none;
  color: var(--mm-ink);
  min-height: 42px;
  padding: 9px 11px;
  width: 100%;
}

.mm-listing-form input[type="text"]:focus,
.mm-listing-form textarea:focus,
.mm-listing-form select:focus,
.mm-listing-form .form-control:focus {
  border-color: var(--mm-primary);
  box-shadow: 0 0 0 3px rgba(24, 200, 208, .14);
  outline: 0;
}

.mm-listing-form textarea {
  min-height: 112px;
  resize: vertical;
}

.mm-listing-form #id_ask_price {
  background: #fff;
  border-color: rgba(24, 200, 208, .32);
  color: var(--mm-ink);
  font-size: 28px;
  font-weight: 800;
  max-width: 160px;
  padding-left: 42px;
  position: relative;
  text-align: right;
}

.mm-listing-form #field_ask_price .controls:before {
  color: var(--mm-muted);
  content: "S$";
  font-size: 18px;
  font-weight: 800;
  left: 14px;
  position: absolute;
  top: 10px;
  z-index: 1;
}

.mm-listing-form #field_ask_price .controls {
  position: relative;
}

.mm-listing-form #toggleFormFieldsBlock {
  align-items: center;
  background: var(--mm-soft);
  border: 1px solid rgba(24, 200, 208, .18);
  border-radius: 8px;
  color: var(--mm-ink);
  display: flex;
  flex-wrap: wrap;
  font-weight: 800;
  gap: 8px;
  margin: 0 0 14px;
  padding: 12px 14px;
}

.mm-listing-form #field_crypto {
  background: #fbfeff;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding: 12px;
}

.condition_widget .table,
#accessory_table {
  border: 0;
  margin-bottom: 0;
}

.condition_widget .table td,
#accessory_table td {
  background: #fbfeff;
  border-color: var(--mm-line) !important;
  vertical-align: top;
}

.condition_widget label.radio,
#accessory_table label {
  color: var(--mm-ink);
  font-weight: 800;
}

.condition_widget ul {
  color: var(--mm-muted);
  font-size: 12px;
  line-height: 1.45;
  padding-left: 18px;
}

.mm-upload-panel #FileUpload1 {
  background: #fbfeff;
  border: 1px dashed rgba(24, 200, 208, .55);
  border-radius: 8px;
  cursor: pointer;
  min-height: 54px;
  padding: 14px;
}

.mm-upload-button {
  align-items: center;
  background: var(--mm-primary);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(24, 200, 208, .18);
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  min-height: 42px;
  padding: 10px 18px;
}

.mm-upload-button:hover,
.mm-upload-button:focus {
  background: #0fb6bd;
  color: #fff;
}

.mm-upload-panel .listing_images {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  padding-top: 14px;
}

.mm-upload-panel .listing_image {
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
}

.mm-upload-panel .listing_image img {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.mm-delete-image {
  background: rgba(199, 43, 32, .08);
  border: 0;
  border-radius: 999px;
  color: #c72b20;
  font-weight: 800;
  margin-top: 8px;
  padding: 6px 11px;
}

.mm-delete-image:hover,
.mm-delete-image:focus {
  background: rgba(199, 43, 32, .14);
  color: #9f1f18;
}

.mm-form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 16px;
}

.mm-form-actions .mm-btn-primary {
  background: var(--mm-primary);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(24, 200, 208, .22);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  min-height: 46px;
  padding: 12px 22px;
}

.mm-form-actions .mm-btn-primary:hover,
.mm-form-actions .mm-btn-primary:focus {
  background: #0fb6bd;
  color: #fff;
}

.mm-cancel-action {
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 999px;
  color: var(--mm-ink);
  font-weight: 800;
  min-height: 42px;
  padding: 10px 16px;
}

.mm-cancel-action:hover,
.mm-cancel-action:focus {
  border-color: rgba(24, 200, 208, .4);
  color: var(--mm-primary);
}

.mm-next-steps {
  margin: 16px 0 0;
  padding: 18px;
}

.mm-next-steps h3 {
  color: var(--mm-ink);
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 10px;
}

.mm-next-steps ul {
  color: var(--mm-muted);
  margin-bottom: 0;
  padding-left: 18px;
}

.mm-sell-page {
  background: linear-gradient(180deg, #f7feff 0%, #fff 260px);
  border-radius: 8px;
  padding: 18px 0 8px;
}

.mm-sell-title {
  color: var(--mm-ink);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0 0 16px;
}

.mm-device-card {
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 41, 51, .06);
  margin-bottom: 18px;
  overflow: hidden;
  padding: 16px;
}

.mm-device-media {
  align-items: center;
  background: var(--mm-soft);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 190px;
  padding: 18px;
}

.mm-device-media img {
  height: auto !important;
  max-height: 190px;
  max-width: 100%;
  object-fit: contain;
  width: auto !important;
}

.mm-sell-page .nav-tabs {
  border-bottom: 1px solid var(--mm-line);
}

.mm-sell-page .nav-tabs > li > a {
  border-radius: 8px 8px 0 0;
  color: var(--mm-muted);
  font-weight: 700;
}

.mm-sell-page .nav-tabs > li.active > a,
.mm-sell-page .nav-tabs > li.active > a:hover,
.mm-sell-page .nav-tabs > li.active > a:focus {
  border-color: var(--mm-line) var(--mm-line) #fff;
  color: var(--mm-primary);
}

.mm-sell-page .tab-content {
  padding-top: 10px;
}

.mm-sell-page #past_readings {
  height: 220px !important;
  margin: 0 auto;
  min-width: 150px;
}

.mm-sell-page .table {
  background: #fff;
}

.mm-sell-page .table-bordered,
.mm-sell-page .table-bordered > tbody > tr > td,
.mm-sell-page .table-bordered > tbody > tr > th {
  border-color: var(--mm-line);
}

.mm-action-card {
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 41, 51, .06);
  margin-bottom: 18px;
  padding: 16px;
}

.mm-action-card .buttons {
  display: grid;
  gap: 10px;
  margin: 0 !important;
}

.mm-sell-page .btn {
  border-radius: 8px;
  font-weight: 700;
}

.mm-sell-page .btn-primary,
.mm-sell-page .btn-info {
  background: var(--mm-primary);
  border-color: var(--mm-primary);
  color: #fff;
}

.mm-sell-page .btn-primary:hover,
.mm-sell-page .btn-primary:focus,
.mm-sell-page .btn-info:hover,
.mm-sell-page .btn-info:focus {
  background: #0faeb7;
  border-color: #0faeb7;
  color: #fff;
}

.mm-sell-page .btn-warning {
  background: var(--mm-orange);
  border-color: var(--mm-orange);
  color: #fff;
}

.mm-sell-page .btn-warning:hover,
.mm-sell-page .btn-warning:focus {
  background: #df4f21;
  border-color: #df4f21;
  color: #fff;
}

.mm-side-panel ul {
  padding-left: 22px;
}

.mm-side-panel li {
  margin-bottom: 8px;
}

.mm-sell-page .alert-warning {
  background: rgba(255, 178, 63, .14);
  border-color: rgba(255, 178, 63, .36);
  border-radius: 8px;
  color: var(--mm-ink);
}

#section_more {
  margin: 18px 0 28px;
}

#section_more .alert-white {
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 41, 51, .06);
  padding: 16px;
}

.mm-list-page #section_top {
  background: linear-gradient(100deg, #fff 0%, #f5fdfe 58%, var(--mm-soft) 100%);
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  margin: 14px 0 16px;
  padding: 22px;
}

.mm-list-page #section_top h1 {
  color: var(--mm-ink);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0;
  padding-top: 0 !important;
}

.mm-list-page #section_main,
.mm-list-page #section_comments,
.mm-list-page #section_more {
  margin-bottom: 18px;
}

.mm-list-page .listing_section_sep {
  border-color: var(--mm-line);
  margin: 14px 0;
}

.mm-list-page .alert-white,
.mm-list-page .panel,
.mm-list-page .filter_form .panel,
.mm-list-page .comments .panel {
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 41, 51, .05);
}

.mm-list-page .panel-default > .panel-heading,
.mm-list-page .panel-info > .panel-heading {
  background: #fff;
  border-color: var(--mm-line);
  color: var(--mm-ink);
  font-weight: 800;
}

.mm-list-page .btn,
.mm-list-page .btn-large {
  border-radius: 999px;
  font-weight: 800;
}

.mm-list-page #device_info {
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 41, 51, .05);
  margin-bottom: 12px;
  padding: 24px;
}

.mm-list-page #device_info img {
  height: auto;
  max-height: 230px;
  max-width: 100%;
  object-fit: contain;
  width: auto !important;
}

.mm-list-page .filter_form {
  margin-bottom: 12px !important;
  margin-top: 10px !important;
}

.mm-list-page .filter_form .panel-heading {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

.mm-list-page .filter_form .btn-toggle {
  color: var(--mm-ink);
  font-weight: 800;
}

.mm-list-page #listingFilterTable {
  display: block;
  margin-bottom: 0 !important;
}

.mm-list-page #listingFilterTable tbody,
.mm-list-page #listingFilterTable tr,
.mm-list-page #listingFilterTable th,
.mm-list-page #listingFilterTable td {
  display: block;
}

.mm-list-page #listingFilterTable tr {
  border-top: 1px solid var(--mm-line);
  padding: 12px;
}

.mm-list-page #listingFilterTable tr:first-child {
  border-top: 0;
}

.mm-list-page #listingFilterTable th {
  border: 0 !important;
  color: var(--mm-ink);
  font-size: 12px;
  letter-spacing: 0;
  padding: 0 0 7px !important;
  text-transform: uppercase;
}

.mm-list-page #listingFilterTable td {
  border: 0 !important;
  padding: 0 !important;
}

.mm-list-page #formListingFilter {
  margin-bottom: 0 !important;
}

.mm-list-page #formListingFilter ul {
  display: flex !important;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

.mm-list-page #formListingFilter ul li {
  display: inline-flex !important;
  margin: 0 !important;
}

.mm-list-page #formListingFilter ul li label {
  background: var(--mm-soft);
  border: 1px solid rgba(24, 200, 208, .18);
  border-radius: 999px;
  color: var(--mm-ink) !important;
  cursor: pointer;
  font-weight: 700 !important;
  margin: 0 !important;
  padding: 7px 10px !important;
}

.mm-list-page #formListingFilter input[type="checkbox"],
.mm-list-page #formListingFilter input[type="radio"] {
  margin-right: 5px;
}

.mm-list-page .listing_preview {
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(31, 41, 51, .05);
  cursor: pointer;
  margin-bottom: 10px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  white-space: normal;
}

.mm-list-page .listing_preview:hover {
  border-color: rgba(24, 200, 208, .35);
  box-shadow: 0 14px 30px rgba(31, 41, 51, .09);
  transform: translateY(-1px);
}

.mm-list-page .listing_preview .inner {
  padding: 14px;
}

.mm-list-page .mm-listing-card {
  align-items: flex-start;
  display: grid;
  gap: 14px;
  grid-template-columns: 54px minmax(0, 1fr);
}

.mm-list-page .mm-seller-avatar {
  display: block;
  width: 54px;
}

.mm-list-page .listing_preview .price {
  color: var(--mm-orange);
  display: inline-block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.mm-list-page .listing_preview .seller_img {
  border: 1px solid var(--mm-line);
  border-radius: 999px;
  height: 50px;
  object-fit: cover;
  width: 50px;
}

.mm-list-page .mm-listing-main {
  min-width: 0;
}

.mm-list-page .mm-listing-top {
  align-items: flex-start;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(120px, .7fr) minmax(170px, 1.3fr);
}

.mm-list-page .mm-price-block,
.mm-list-page .mm-seller-block {
  min-width: 0;
}

.mm-list-page .mm-seller-block {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  justify-content: flex-end;
  text-align: right;
}

.mm-list-page .mm-seller-block .seller_info {
  color: var(--mm-ink);
  flex-basis: 100%;
  font-size: 14px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mm-list-page .listing_preview .condition,
.mm-list-page .listing_preview .storage,
.mm-list-page .listing_preview .seller_info,
.mm-list-page .listing_preview .ship_from {
  color: var(--mm-muted);
  font-size: 13px;
  font-weight: 600;
}

.mm-list-page .mm-listing-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.mm-list-page .mm-listing-meta > span {
  background: #f8fafb;
  border: 1px solid var(--mm-line);
  border-radius: 999px;
  color: var(--mm-ink);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  min-height: 28px;
  padding: 6px 10px;
}

.mm-list-page .mm-color-meta {
  align-items: center;
  gap: 5px;
}

.mm-list-page .mm-listing-bottom {
  align-items: center;
  border-top: 1px solid var(--mm-line);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 10px;
  padding-top: 10px;
}

.mm-list-page .mm-headline {
  min-width: 0;
}

.mm-list-page .mm-headline a,
.mm-list-page .listing_preview .more_area a {
  color: var(--mm-ink);
  font-weight: 800;
  white-space: normal;
}

.mm-list-page .mm-key-image {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  min-height: 0;
}

.mm-list-page .mm-key-image img {
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  height: 54px;
  max-width: 70px;
  object-fit: cover;
}

.mm-list-page .color_box {
  border: 1px solid rgba(31, 41, 51, .15);
  border-radius: 999px;
  display: inline-block;
  flex: 0 0 14px;
  height: 14px;
  margin-right: 5px;
  vertical-align: middle;
  width: 14px;
}

.mm-list-page .pricing-panel table tr:first-child td {
  background-color: #f8fafb !important;
  font-weight: 800;
}

.mm-list-page #past_readings {
  height: 220px !important;
  margin: 0 auto;
  min-width: 150px;
}

@media (min-width: 768px) and (max-width: 991px) {
  #navbar-collapse-content {
    overflow: visible !important;
  }

  #nav_account_li .dropdown-menu {
    left: auto;
    position: absolute;
    right: 0;
  }

  .dev_grid,
  .mm-card-grid,
  #section_main .row:has(.dev_cell_tall),
  .section_main .row:has(.dev_cell_tall) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mm-listing-side {
    position: static;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 70px;
  }

  .navbar-brand {
    height: 62px;
    padding: 16px 15px;
  }

  .navbar-brand img {
    height: 30px;
  }

  .navbar-default .navbar-collapse {
    background: #fff;
    border: 0;
    box-shadow: 0 14px 30px rgba(31, 41, 51, .1);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .navbar-default .navbar-nav > li > a {
    padding-bottom: 12px;
    padding-top: 12px;
  }

  .mm-account-nav {
    margin-bottom: 8px;
    margin-top: 0;
  }

  .mm-account-nav > li > img {
    margin: 12px 15px 4px;
  }

  #nav_account_li .dropdown-menu {
    background: #f8fbfc;
    border: 1px solid var(--mm-line);
    border-radius: 8px;
    box-shadow: none;
    margin: 0 15px 10px;
    position: static;
    width: auto;
  }

  .navbar-search {
    margin: 0;
    padding: 0 15px 12px;
  }

  #section_top {
    margin-top: 0;
    padding: 18px;
  }

  #section_top .row {
    grid-template-columns: 1fr;
  }

  #section_top h1 {
    font-size: 28px;
  }

  .dev_grid,
  .mm-card-grid,
  #section_main .row:has(.dev_cell_tall),
  .section_main .row:has(.dev_cell_tall) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mm-new-listing-page {
    border-radius: 0;
    margin-left: -15px;
    margin-right: -15px;
    padding: 10px 15px;
  }

  .mm-new-listing-shell {
    display: block;
  }

  .mm-listing-side {
    position: static;
  }

  .mm-listing-side .panel-body,
  .mm-listing-form .panel-body {
    padding: 14px;
  }

  .condition_widget .table,
  .condition_widget tbody,
  .condition_widget tr,
  .condition_widget td {
    display: block;
    width: 100% !important;
  }

  .condition_widget td {
    margin-bottom: 8px;
  }

  .mm-listing-form #field_crypto table,
  .mm-listing-form #field_crypto tbody,
  .mm-listing-form #field_crypto tr,
  .mm-listing-form #field_crypto td {
    display: block;
    width: 100%;
  }

  .mm-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mm-form-actions .btn {
    width: 100%;
  }

  .mm-sell-title {
    font-size: 25px;
  }

  .mm-device-card {
    padding: 12px;
  }

  .mm-device-media {
    margin-bottom: 14px;
    min-height: 150px;
  }

  .mm-sell-page #tabs_device img {
    display: none;
  }

  #section_more .col-md-4 {
    margin-bottom: 12px;
  }
}

@media (max-width: 420px) {
  .dev_grid,
  .mm-card-grid,
  #section_main .row:has(.dev_cell_tall),
  .section_main .row:has(.dev_cell_tall) {
    gap: 10px;
  }

  .dev_cell_tall {
    min-height: 214px;
  }

  .dev_cell_tall .image {
    height: 112px !important;
    padding: 10px;
  }

  .dev_cell_tall .image img {
    max-height: 96px;
  }

  .dev_cell_tall .title {
    font-size: 13px;
    padding: 10px;
  }
}

/* My Buying refreshed account UI */
.mm-buying-page {
  --mm-teal: #18c8d0;
  --mm-orange: #f86028;
  --mm-ink: #171b1f;
  --mm-muted: #65717f;
  --mm-line: #edf0f3;
  color: var(--mm-ink);
  font-family: Inter, Arial, sans-serif;
}

.mm-buying-page > .row {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 280px;
}

.mm-buying-page > .row:before,
.mm-buying-page > .row:after {
  display: none;
}

.mm-buying-page > .row > .col-md-8,
.mm-buying-page > .row > .col-md-4 {
  float: none;
  padding-left: 0;
  padding-right: 0;
  width: auto;
}

.mm-buying-page #tab_active {
  display: none;
}

.mm-buying-hero {
  align-items: center;
  background: linear-gradient(135deg, #eefcfd 0%, #fff 68%);
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 27, 31, .07);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 22px 24px;
}

#section_main.mm-buying-page .mm-buying-hero h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  margin: 6px 0 8px;
}

#section_main.mm-buying-page .mm-buying-hero p,
#section_main.mm-buying-page .mm-section-title p {
  color: var(--mm-muted);
  margin: 0;
}

.mm-kicker {
  color: var(--mm-teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mm-buying-total {
  align-items: center;
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(31, 41, 51, .05);
  display: flex;
  flex-direction: column;
  min-width: 118px;
  padding: 14px;
}

.mm-total-number {
  color: var(--mm-orange);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.mm-total-label {
  color: var(--mm-muted);
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
  text-transform: uppercase;
}

.mm-buying-sections {
  display: grid;
  gap: 14px;
}

.mm-buying-section,
.mm-side-card {
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(31, 41, 51, .05);
}

.mm-buying-section {
  padding: 14px;
}

.mm-buying-section-head,
.mm-section-title,
.mm-section-actions,
.mm-buying-filterbar,
.mm-filter-chips,
.mm-filter-controls {
  align-items: center;
  display: flex;
  gap: 10px;
}

.mm-buying-section-head {
  justify-content: space-between;
  margin-bottom: 12px;
}

.mm-section-icon {
  align-items: center;
  background: #eefcfd;
  border-radius: 50%;
  color: var(--mm-teal);
  display: inline-flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

#section_main.mm-buying-page .mm-section-title h2,
#section_main.mm-buying-page .mm-side-card h3 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.mm-buying-filterbar {
  background: #f8fbfc;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 8px;
}

.mm-kind-filter,
.mm-page-button {
  align-items: center;
  border: 1px solid var(--mm-line);
  background: #fff;
  border-radius: 999px;
  color: var(--mm-ink);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
}

.mm-kind-filter {
  padding: 0 14px;
}

.mm-kind-filter.is-active {
  background: var(--mm-teal);
  border-color: var(--mm-teal);
  color: #fff;
  box-shadow: 0 8px 20px rgba(24, 200, 208, .2);
}

.mm-page-button {
  width: 42px;
}

.mm-page-button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.mm-page-status {
  color: var(--mm-muted);
  font-size: 12px;
  font-weight: 800;
  min-width: 72px;
  text-align: center;
}

.mm-filter-controls {
  flex: 1;
  justify-content: flex-end;
}

.mm-buying-search,
.mm-buying-sort {
  border: 1px solid var(--mm-line);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(31, 41, 51, .06);
  color: var(--mm-ink);
  font-weight: 600;
  height: 42px;
  max-width: 210px;
  padding: 0 14px;
}

.mm-buying-search:focus,
.mm-buying-sort:focus {
  border-color: var(--mm-teal);
  box-shadow: 0 0 0 3px rgba(24, 200, 208, .16);
  outline: none;
}

.mm-buying-items {
  display: grid;
  gap: 10px;
}

.mm-buying-card {
  align-items: center;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  padding: 12px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.mm-buying-card:hover {
  border-color: rgba(24, 200, 208, .42);
  box-shadow: 0 12px 28px rgba(31, 41, 51, .08);
  transform: translateY(-1px);
}

.mm-card-icon {
  align-items: center;
  background: #eefcfd;
  border-radius: 50%;
  color: var(--mm-teal);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.mm-card-main {
  min-width: 0;
}

.mm-card-title {
  color: var(--mm-ink);
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.mm-card-title:hover,
.mm-card-meta a:hover,
.mm-account-menu-card .list-group-item:hover {
  color: #c72b20;
  text-decoration: none;
}

.mm-card-meta {
  color: var(--mm-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 600;
  gap: 6px 12px;
  margin-top: 6px;
}

.mm-card-meta i {
  color: var(--mm-teal);
  margin-right: 4px;
}

.mm-card-side {
  text-align: right;
}

.mm-card-price {
  color: var(--mm-orange);
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.mm-card-date {
  color: var(--mm-muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
}

.mm-section-empty {
  background: #f8fbfc;
  border: 1px dashed var(--mm-line);
  border-radius: 8px;
  color: var(--mm-muted);
  display: none;
  font-weight: 700;
  padding: 14px;
  text-align: center;
}

.mm-buying-section.is-empty .mm-section-empty {
  display: block;
}

.mm-empty-message {
  display: block;
  margin-bottom: 12px;
}

.mm-account-layout {
  align-items: flex-start;
}

.mm-side-card {
  margin-bottom: 14px;
  padding: 14px;
}

.mm-side-card h3 {
  margin-bottom: 10px;
}

.mm-account-menu-card .list-group {
  margin-bottom: 0;
}

.mm-account-menu-card .list-group-item {
  border-color: var(--mm-line);
  color: var(--mm-ink);
  font-weight: 700;
}

.mm-account-menu-card .list-group-item i {
  color: var(--mm-teal);
  margin-right: 8px;
  width: 16px;
}

.mm-account-menu-card .list-group-item.active,
.mm-account-menu-card .list-group-item.active:hover {
  background: var(--mm-teal);
  border-color: var(--mm-teal);
  color: #fff;
}

.mm-account-menu-card .list-group-item.active i {
  color: #fff;
}

@media (max-width: 991px) {
  .mm-buying-page > .row {
    grid-template-columns: 1fr;
  }

  .mm-buying-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .mm-buying-total {
    align-items: flex-start;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .mm-buying-hero {
    margin-left: -15px;
    margin-right: -15px;
    padding: 18px 16px;
  }

  #section_main.mm-buying-page .mm-buying-hero h1 {
    font-size: 28px;
  }

  .mm-buying-section {
    margin-left: -15px;
    margin-right: -15px;
    padding: 12px;
  }

  .mm-buying-section-head,
  .mm-buying-filterbar,
  .mm-filter-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .mm-section-title,
  .mm-section-actions,
  .mm-filter-chips {
    width: 100%;
  }

  .mm-section-actions {
    justify-content: space-between;
  }

  .mm-filter-chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .mm-kind-filter,
  .mm-buying-search,
  .mm-buying-sort {
    max-width: none;
    width: 100%;
  }

  .mm-buying-card {
    align-items: flex-start;
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .mm-card-icon {
    height: 40px;
    width: 40px;
  }

  .mm-card-side {
    grid-column: 2;
    text-align: left;
  }
}
