/* AutoPortal modern frontend layer.
   This file intentionally overrides Delta visuals without changing OsClass behavior. */

:root {
  --ap-ink: #171717;
  --ap-muted: #6f706f;
  --ap-soft: #eef2f4;
  --ap-cream: #f7f2dc;
  --ap-line: #dde4e7;
  --ap-card: #ffffff;
  --ap-accent: #f4b13d;
  --ap-accent-dark: #d89222;
  --ap-search: #f4b13d;
  --ap-search-dark: #d89222;
  --ap-publish: #171717;
  --ap-publish-dark: #000000;
  --ap-blue: #1d1d1b;
  --ap-footer: #20252d;
  --ap-footer-soft: #2a303a;
  --ap-shadow: 0 24px 60px rgba(18, 24, 31, 0.12);
  --ap-shadow-soft: 0 12px 32px rgba(18, 24, 31, 0.08);
}

html {
  background: var(--ap-soft);
}

body {
  background: var(--ap-soft);
  color: var(--ap-ink);
  font-family: "DM Sans", Arial, sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font-family: "DM Sans", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title,
.price {
  font-family: "DM Sans", Arial, sans-serif;
}

body#body-home {
  background: #fff;
}

a {
  color: var(--ap-blue);
}

a:hover {
  color: var(--ap-accent-dark);
}

button,
.btn,
a.btn {
  border: 0;
  border-radius: 8px;
  background: var(--ap-accent);
  color: var(--ap-ink);
  font-weight: 700;
  box-shadow: none;
}

button:not(.btn-loading):hover,
.btn:not(.btn-loading):hover {
  background: var(--ap-accent-dark);
  opacity: 1;
}

input,
select,
textarea {
  border: 1px solid var(--ap-line);
  border-radius: 8px;
  color: var(--ap-ink);
  box-shadow: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(244, 177, 61, 0.86);
  box-shadow: 0 0 0 4px rgba(244, 177, 61, 0.22);
}

.inside,
.inner,
body#body-custom section {
  max-width: 1180px;
}

/* Header */
header {
  background: #fff;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

body#body-home header {
  position: relative;
  background: #fff;
}

header .inside {
  max-width: 1180px;
  position: relative;
  overflow: visible;
}

header .relative1 {
  display: none;
  position: absolute;
  right: 0;
  top: 392px;
  z-index: 20;
  width: auto;
  clear: none;
  padding: 0;
  border-bottom: 0;
}

body#body-home header .relative1 {
  display: block;
}

header .relative1 a {
  color: var(--ap-muted);
  border-right-color: rgba(23, 23, 23, 0.12);
  font-size: 12px;
  line-height: 16px;
  padding: 0 12px;
}

header .relative1 a:hover {
  color: var(--ap-ink);
}

header .relative2 {
  min-height: 105px;
  padding: 20px 0 0 0;
  border: 0;
}

.logo {
  width: 270px;
  height: 86px;
  margin: -8px 0 0 0;
}

.logo img {
  max-height: 100%;
}

header .right {
  height: auto;
  padding: 13px 0 0 0;
}

header .right a {
  color: var(--ap-ink);
  font-size: 14px;
  padding: 11px 0 11px 18px;
}

header .right a.register,
header .right a.login,
header .right a.my-account {
  font-weight: 700;
}

header .right a.publish,
#home-pub a.publish,
#search-pub .subscribe {
  height: 44px;
  margin-left: 24px;
  border-radius: 999px;
  background: var(--ap-publish);
  box-shadow: none;
}

header .right a.publish > span,
#home-pub a.publish > span,
#search-pub .subscribe > span {
  height: 44px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff !important;
}

header .right a.publish svg,
#home-pub a.publish svg,
#search-pub .subscribe svg {
  fill: #fff !important;
}

header .right a.publish:hover,
#home-pub a.publish:hover,
#search-pub .subscribe:hover {
  background: var(--ap-publish-dark);
}

header .right a.publish:hover > span,
#home-pub a.publish:hover > span,
#search-pub .subscribe:hover > span {
  background: transparent;
}

/* Home search as premium hero */
#home-search {
  margin: 0 0 24px 0;
  padding: 2px 0 0 0;
  background: #fff;
}

body#body-home #home-search:before {
  content: none;
  display: none;
}

body#body-home #home-search:after {
  content: none;
  display: none;
}

#home-search .inside > .box {
  padding: 12px;
  margin-bottom: -20px;
  border: 1px solid #e1e6e9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(38, 33, 22, 0.12);
}

#home-search .col {
  padding-right: 12px;
}

#home-search .col > strong {
  margin-bottom: 8px;
  color: var(--ap-ink);
  font-size: 11px;
  line-height: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 800;
}

#home-search .col > strong h1 {
  font-size: 11px;
  line-height: 14px;
  color: var(--ap-ink);
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 800;
}

#home-search input {
  height: 56px;
  border-color: transparent;
  border-radius: 14px;
  background: #eef2f4;
  font-size: 14px;
  padding-top: 17px;
  padding-bottom: 17px;
}

#home-search input:hover {
  border-color: rgba(16, 24, 32, 0.24);
  background: #fff;
}

#home-search svg.svg-left,
#home-search .query-picker > svg {
  top: 19px;
  color: var(--ap-muted);
}

#home-search svg.svg-right {
  top: 22px;
}

#home-search .col .btn {
  height: 56px;
  border-radius: 14px;
  background: var(--ap-search);
  color: #fff;
  box-shadow: none;
}

#home-search .col .btn:hover {
  background: var(--ap-search-dark);
}

#home-search #location-picker .shower,
.loc-picker .shower,
.cat-picker .shower {
  border-color: var(--ap-line);
  border-radius: 10px;
  box-shadow: var(--ap-shadow-soft);
}

/* Category rail */
#home-cat2 {
  margin: 20px 0 2px 0;
}

#home-cat2 .box {
  margin-bottom: 0;
  padding: 2px 0 0 0;
}

#home-cat2 a {
  width: 128px;
  margin: 0 4px 4px 4px;
  padding: 8px 10px;
  border-radius: 18px;
  color: var(--ap-ink);
  background: #fff;
}

#home-cat2 a > div {
  width: 42px;
  height: 42px;
  margin: 0 auto 7px auto;
  padding: 9px;
  border-radius: 50%;
  background: #eef2f4;
  box-shadow: none;
}

#home-cat2 a:hover {
  background: var(--ap-accent);
  box-shadow: none;
  transform: translateY(-3px);
}

#home-cat2 a:first-child {
  background: var(--ap-accent);
  box-shadow: none;
  transform: translateY(-3px);
}

#home-cat2 a:hover > div {
  transform: scale(1.04);
}

#home-cat2 a:first-child > div {
  transform: scale(1.04);
}

#home-cat2 h3 {
  color: var(--ap-ink);
  font-size: 13px;
  line-height: 16px;
}

/* Home sections */
.home-container {
  padding: 18px 0;
  background: #fff;
}

.home-container.premium {
  padding-top: 18px;
  padding-bottom: 12px;
}

.home-container.bg-gray,
.home-container.favorite {
  background: var(--ap-soft);
}

.home-container.latest {
  padding-top: 20px;
}

.home-container.business {
  padding-top: 16px;
  padding-bottom: 22px;
}

.home-container.promo {
  padding-top: 10px;
  padding-bottom: 18px;
}

.home-container#home-blog {
  padding-top: 18px;
  padding-bottom: 18px;
  margin: 0;
}

body#body-home .home-container + .home-container {
  margin-top: 0;
}

body#body-home .home-container.banner-box {
  padding-top: 8px;
  padding-bottom: 8px;
}

body#body-home .home-container.favorite,
body#body-home .home-container.slider {
  padding-top: 14px;
  padding-bottom: 14px;
}

body#body-home .home-container.business .relative,
body#body-home .home-container.business .bpr-outer-box,
body#body-home .home-container.business .nice-scroll,
body#body-home .home-container #bpr-seller.bpr-block,
body#body-home .home-container #bpr-seller.bpr-block .bpr-inside-all {
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  white-space: normal !important;
}

body#body-home .home-container.business .nice-scroll-left,
body#body-home .home-container.business .nice-scroll-right {
  display: none !important;
}

body#body-home #bpr-seller.bpr-block .bpr-inside-all {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0 !important;
}

body#body-home #bpr-seller.bpr-block .bpr-comp {
  display: block !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: 0;
}

.home-container h2,
.home-container .h2 {
  margin-bottom: 16px;
  color: var(--ap-ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 24px;
  line-height: 44px;
}

.home-container h2:after,
.home-container .h2:after {
  content: "";
  display: block;
  width: 74px;
  height: 6px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--ap-accent);
}

/* Listings */
.prod-wrap {
  width: calc(100% + 20px);
  margin: 0 -10px;
}

.products.grid .simple-prod,
.white .simple-prod {
  width: calc(25% - 20px);
  margin: 0 10px 14px 10px;
  border-radius: 22px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

#premium.products.grid .simple-prod,
#latest.products.grid .simple-prod {
  width: calc(16.666% - 16px);
  margin: 0 8px 14px 8px;
}

#premium.products.grid .simple-prod .data,
#latest.products.grid .simple-prod .data {
  min-height: 142px;
  padding: 12px 4px 8px 4px;
}

#premium.products.grid .simple-prod .price,
#latest.products.grid .simple-prod .price {
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 22px;
  white-space: normal;
  overflow-wrap: anywhere;
}

#premium.products.grid .simple-prod .title,
#latest.products.grid .simple-prod .title {
  height: 36px;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 18px;
  white-space: normal;
  overflow: hidden;
  text-overflow: clip;
}

#premium.products.grid .simple-prod .details,
#latest.products.grid .simple-prod .details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 62px;
  gap: 5px;
  align-items: stretch;
  margin-top: 6px;
}

#premium.products.grid .simple-prod .details > div,
#latest.products.grid .simple-prod .details > div {
  width: auto;
  height: auto;
  min-height: 36px;
  padding: 7px 0 0 0;
}

#premium.products.grid .simple-prod .details > div > span,
#latest.products.grid .simple-prod .details > div > span {
  font-size: 10px;
  line-height: 12px;
  overflow-wrap: normal;
  word-break: normal;
}

#premium.products.grid .simple-prod .details > div.bt,
#latest.products.grid .simple-prod .details > div.bt {
  padding-top: 3px;
}

#premium.products.grid .simple-prod .details > div.bt a.btn,
#latest.products.grid .simple-prod .details > div.bt a.btn {
  width: 62px;
  height: 34px;
  padding: 6px 4px;
  font-size: 10px;
  line-height: 12px;
  white-space: nowrap;
}

.products.grid .simple-prod:hover,
.white .simple-prod:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(38, 33, 22, 0.11);
}

.products.grid .simple-prod .img-wrap,
.white .simple-prod .img-wrap {
  border-radius: 22px;
  border-bottom: 0;
  background: #f2eee4;
}

.products.grid .simple-prod .img-wrap:after,
.white .simple-prod .img-wrap:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 44%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(16, 24, 32, 0.36), transparent);
}

.products.grid .simple-prod .img-wrap img,
.white .simple-prod .img-wrap img {
  border-radius: 22px;
}

.products.grid .simple-prod:hover .img-wrap img,
.white .simple-prod:hover .img-wrap img {
  transform: scale(1.035);
}

.products.grid .simple-prod .data,
.white .simple-prod .data {
  min-height: 124px;
  padding: 16px 6px 10px 6px;
  border-radius: 0;
  background: #fff;
}

.products.grid .simple-prod .price,
.white .simple-prod .price {
  padding: 0;
  margin-bottom: 7px;
  color: var(--ap-ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 21px;
  line-height: 24px;
  letter-spacing: 0;
}

.products.grid .simple-prod .title,
.white .simple-prod .title {
  height: 20px;
  padding: 0;
  margin-bottom: 8px;
  color: #56524b;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

.simple-prod .details {
  padding: 0;
  margin-top: 8px;
  border-top: 1px solid rgba(16, 24, 32, 0.08);
}

.simple-prod .details > div {
  height: 40px;
  padding: 8px 8px 0 0;
}

.simple-prod .details > div:first-child {
  border-right: 0;
}

.simple-prod .details > div > span {
  color: var(--ap-muted);
  font-size: 11px;
  line-height: 14px;
}

.simple-prod .details > div.bt a.btn {
  height: 34px;
  border-radius: 8px;
  background: var(--ap-ink);
  font-size: 12px;
}

.simple-prod .details > div.bt a.btn:hover {
  background: #000;
}

.products .simple-prod .label,
.white .simple-prod .label {
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--ap-accent);
  color: var(--ap-ink);
  font-weight: 700;
  box-shadow: none;
}

.products .simple-prod .fi_save_favorite,
.white .simple-prod .fi_save_favorite {
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ap-ink);
  box-shadow: 0 8px 16px rgba(16, 24, 32, 0.18);
}

.products .simple-prod .fi_save_favorite i,
.white .simple-prod .fi_save_favorite i {
  line-height: 32px;
}

.products.list .simple-prod {
  padding: 14px;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 12px;
  box-shadow: var(--ap-shadow-soft);
}

.products.list .simple-prod .img-wrap {
  border-radius: 10px;
}

.products.list .simple-prod .img-wrap img {
  border-radius: 10px;
}

.products.list .simple-prod .price {
  color: var(--ap-accent-dark);
  font-family: "DM Sans", Arial, sans-serif;
}

.products.list .simple-prod .title {
  color: var(--ap-ink);
}

/* Blog and promo */
#home-blog .box a,
.home-container .blg-row {
  border-radius: 12px;
  overflow: hidden;
}

#home-pub {
  border: 0;
  border-radius: 16px;
  background: #fff url("../images/home-pub.png") no-repeat 24px 50%;
  background-size: 175px auto;
  color: var(--ap-ink);
  box-shadow: 0 16px 38px rgba(18, 24, 31, 0.08);
  margin-bottom: 4px;
  padding-top: 24px;
  padding-bottom: 24px;
}

#home-pub .info h3,
#home-pub .info div {
  color: var(--ap-ink);
}

#home-pub .info div {
  opacity: 1;
}

/* Search page */
.search #main {
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 22px;
  box-shadow: none;
}

.search #main .titles-top h1 {
  color: var(--ap-ink);
}

#search-items .premiums-block {
  border-radius: 22px;
  background: var(--ap-cream);
}

#search-sort .list-grid a {
  border-radius: 8px;
}

/* Footer */
footer {
  margin-top: 48px;
  padding-top: 0;
  background: var(--ap-footer);
  color: #dce4ea;
}

footer .pub-box-line {
  margin: -42px 0 28px 0;
}

footer .pub-box {
  border-radius: 16px;
  background: var(--ap-accent);
  color: var(--ap-ink);
  box-shadow: var(--ap-shadow);
}

footer .pub-box h3,
footer .pub-box .desc {
  color: var(--ap-ink);
}

footer .pub-box .button a {
  border-radius: 999px;
  background: var(--ap-ink);
  color: #fff;
}

footer .line1 {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  padding-top: 12px;
  padding-bottom: 22px;
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0;
}

footer .line1 .one > span,
footer .line1 .one > strong {
  font-size: 16px;
  line-height: 22px;
}

footer .line2 {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

footer .line2 .box {
  border-right-color: rgba(255, 255, 255, 0.1);
}

footer h4,
footer .line2 .box h4 {
  color: #fff;
}

footer a {
  color: #dce4ea;
}

footer a:hover {
  color: #fff;
}

footer .inside.copyright {
  background: rgba(0, 0, 0, 0.18);
  color: #aab7c2;
}

/* Item detail page */
body#body-item {
  background: #eef1f2;
}

body#body-item header {
  background: #fff;
  box-shadow: none;
}

body#body-item #bread {
  margin: 0;
  padding: 12px 0;
  background: #eef1f2;
}

body#body-item #bread .wrap,
body#body-item #bread ul,
body#body-item #bread a {
  color: #77746c;
}

#listing.inside {
  max-width: 1180px;
  padding-top: 18px;
}

#listing .item {
  width: calc(68% - 18px);
  margin-right: 18px;
}

#listing .side {
  width: 32%;
  margin: 0 0 22px 0;
}

#listing .wbox {
  margin-bottom: 18px;
  padding: 22px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: none;
}

#listing .wbox.imgbox {
  padding: 18px;
}

#listing .item h1 {
  margin-bottom: 14px;
  color: var(--ap-ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 32px;
  line-height: 38px;
  font-weight: 800;
  letter-spacing: 0;
}

#listing .wbox h1 .price,
#listing .item h1 .price {
  float: right;
  margin: 0 0 8px 18px;
  color: #ef4f63;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 24px;
  line-height: 34px;
  font-weight: 800;
}

#listing .item .pre-basic {
  margin-bottom: 18px;
  padding-right: 0;
  color: #77746c;
}

.pre-basic > div:not(.qr-code) {
  margin-right: 8px;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: #f3f5f5;
  color: #62605a;
  font-size: 12px;
  line-height: 16px;
}

.pre-basic > div a {
  color: #62605a;
}

.pre-basic > .qr-code {
  top: 0;
}

.main-data > .img {
  width: calc(100% - 112px);
  border-radius: 20px;
  overflow: hidden;
  background: #f3f5f5;
}

.main-data > .img.noimg {
  width: 100%;
}

.main-data > .img .swiper-container,
.main-data > .img .swiper-slide,
.main-data > .img .swiper-slide img {
  border-radius: 20px;
}

.main-data > .thumbs {
  width: 98px;
}

.main-data > .thumbs li {
  margin-bottom: 8px;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  opacity: 0.62;
}

.main-data > .thumbs li.active,
.main-data > .thumbs li:hover {
  opacity: 1;
}

.main-data > .thumbs li img {
  border: 0;
  border-radius: 14px;
}

.swiper-button {
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border-radius: 50%;
  background: rgba(23, 23, 23, 0.72);
}

.swiper-button i {
  width: 46px;
  line-height: 46px;
}

.swiper-button.swiper-next,
.swiper-button.swiper-prev {
  border-radius: 50%;
}

.swiper-button.swiper-next {
  right: 14px;
}

.swiper-button.swiper-prev {
  left: 14px;
}

#listing .item h2,
#listing #contact h2,
#listing #comment h2,
#listing #about h2,
#listing #user-items h2,
.related h3 {
  margin-bottom: 18px;
  padding-bottom: 0;
  border-bottom: 0;
  color: var(--ap-ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 20px;
  line-height: 26px;
  font-weight: 800;
  text-transform: uppercase;
}

#listing .item h2:after,
#listing #contact h2:after,
#listing #comment h2:after,
#listing #about h2:after,
#listing #user-items h2:after,
.related h3:after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--ap-accent);
}

#listing .item .data .description {
  margin-bottom: 28px;
}

#listing .item .data .description .text {
  color: #4d4a43;
  font-size: 15px;
  line-height: 26px;
}

.custom-fields {
  margin-top: 4px;
}

.custom-fields .list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
}

.custom-fields .field,
.job-detail table tr,
.realestate-details table tr,
.car-detail table tr,
.realestate-details .detail2,
#atr-item li,
#atr-item li.atr-type-checkbox,
#atr-item li.atr-type-select {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f3f5f5;
  list-style: none;
}

.custom-fields .field .name,
.custom-fields .field .value,
.job-detail table tr td:first-child,
.job-detail table tr td:last-child,
.realestate-details table tr td:first-child,
.realestate-details table tr td:last-child,
.car-detail table tr td:first-child,
.car-detail table tr td:last-child,
#atr-item .atr-name,
#atr-item .atr-value {
  float: left;
  width: 100%;
}

.custom-fields .field .name,
#atr-item .atr-name {
  margin-bottom: 3px;
  color: #858179;
  font-size: 11px;
  line-height: 14px;
  text-transform: uppercase;
  font-weight: 700;
}

.custom-fields .field .value,
#atr-item .atr-value {
  color: var(--ap-ink);
  font-size: 14px;
  line-height: 18px;
  font-weight: 800;
}

#plugin-hook,
#plugin-hook * {
  max-width: 100%;
}

body .make-offer-link {
  margin: 0 0 14px 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ap-accent);
  color: var(--ap-ink);
  font-weight: 800;
}

body .make-offer-link:hover {
  background: var(--ap-accent-dark);
}

/* Sidebar as a clean commerce panel */
#listing .side .wbox,
#listing .side > div.data,
#listing .side .safe-block,
#listing .side > div.manage {
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

#listing .side > div.data {
  position: sticky;
  top: 18px;
}

#listing .side h2 {
  margin: 0;
  padding: 18px 20px 10px 20px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--ap-ink);
  font-size: 15px;
  line-height: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

#listing .side h2 .hbtn {
  border: 0;
  border-radius: 999px;
  background: #f1f3f3;
  color: var(--ap-ink);
}

#listing .side .data .price {
  margin: 0;
  padding: 0 20px 16px 20px;
}

#listing .side .data .price > span {
  color: #ef4f63;
  font-size: 32px;
  line-height: 36px;
  font-weight: 900;
  letter-spacing: 0;
}

#seller .user-box {
  padding: 12px 20px 18px 20px;
}

#seller .user-box .wrap {
  padding-left: 62px;
}

#seller .user-box .user-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #e6e8e8;
}

#seller .user-box .user-img img {
  border-radius: 50%;
}

#seller .user-box .name,
#listing .side .line .user-name > strong {
  color: var(--ap-ink);
  font-size: 17px;
  line-height: 21px;
  font-weight: 800;
}

#seller .user-box .counts,
#seller .user-box .times,
#seller .user-box .company,
#listing .side .line .user-name > span {
  color: #77746c;
}

#listing .data .connect,
#listing .data .connect-pre,
#seller .bottom-menu {
  border: 0;
  background: transparent;
}

#listing .data .connect,
#listing .data .connect-pre,
#listing .data .connect-after,
#listing .data .labs,
#listing .data .misc,
#listing .data .map h4,
#listing .side .row,
#listing .side .line {
  padding-left: 20px;
  padding-right: 20px;
}

#listing .side .btn.contact,
#listing .side .btn.other,
#listing .side .btn.oc-start-chat,
#listing .data .connect-pre a.contact,
#listing .data .connect-pre a.contact_public,
#listing #contact #send-message {
  min-height: 44px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ap-ink);
  color: #fff;
  font-weight: 800;
}

#listing .side .btn.contact:hover,
#listing .side .btn.other:hover,
#listing .side .btn.oc-start-chat:hover,
#listing .data .connect-pre a.contact:hover,
#listing .data .connect-pre a.contact_public:hover,
#listing #contact #send-message:hover {
  background: #000;
  color: #fff;
  text-decoration: none;
}

#listing .data .connect-after a {
  border: 0;
  border-radius: 999px;
  background: #f3f5f5;
  color: var(--ap-ink);
  font-weight: 700;
}

#seller .bottom-menu {
  margin-top: 6px;
  color: #4d4a43;
}

#seller .bottom-menu .elem {
  padding: 14px 20px;
  border-top: 1px solid #eef1f2;
}

#seller .bottom-menu .elem i {
  color: var(--ap-accent-dark);
}

#listing .side .safe-block {
  background: #eef2f4;
}

.safe-block .txt {
  color: #4d4a43;
  line-height: 24px;
}

/* Profile, contact and comments */
#about .lb .user-card,
#item-card,
.empty-comment {
  border: 0;
  border-radius: 18px;
  background: #f3f5f5;
  box-shadow: none;
}

#about .image img {
  border-radius: 50%;
}

#about .about-head {
  color: var(--ap-ink);
  font-size: 14px;
}

#about .about,
#about .address {
  color: #4d4a43;
  line-height: 24px;
}

#about .links {
  border-top-color: #eef1f2;
}

#listing #contact .row {
  margin-bottom: 14px;
}

#listing #contact label {
  color: #77746c;
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

#listing #contact input,
#listing #contact textarea {
  border: 0;
  border-radius: 14px;
  background: #f3f5f5;
}

#listing #contact textarea {
  height: 230px;
  padding: 14px;
}

#listing #contact .info {
  color: #858179;
  font-size: 12px;
  line-height: 18px;
}

#comment .comment {
  border-bottom-color: #eef1f2;
}

#comment .image {
  border-radius: 50%;
}

#comment .info h3 {
  color: var(--ap-ink);
}

#comment .button-wrap {
  padding: 8px 0 0 0;
}

#comment #comment_form,
#comment form {
  float: left;
  width: 100%;
}

#comment a.new-comment {
  border-radius: 999px;
  background: var(--ap-accent);
  color: var(--ap-ink);
}

#rel-block {
  margin-top: 22px;
  padding: 42px 0;
  background: #eef1f2;
}

#rel-block .simple-prod,
#rel-user-block .simple-prod {
  width: 220px;
}

#mmenu {
  height: 58px;
  border-top: 1px solid rgba(16, 24, 32, 0.08);
  border-bottom: 0;
  box-shadow: 0 -10px 25px rgba(13, 31, 45, 0.12);
}

#mmenu a {
  height: 58px;
}

#mmenu a.active > span,
#mmenu a.active > i {
  color: var(--ap-accent-dark);
}

/* Responsive */
@media screen and (max-width: 1080px) {
  body#body-home #home-search:before,
  body#body-home #home-search:after {
    padding-left: 20px;
    padding-right: 20px;
  }

  .products.grid .simple-prod,
  .white .simple-prod {
    width: calc(33.33% - 20px);
  }

  #premium.products.grid .simple-prod,
  #latest.products.grid .simple-prod {
    width: calc(33.33% - 20px);
    margin: 0 10px 14px 10px;
  }

  body#body-home #bpr-seller.bpr-block .bpr-inside-all {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  header {
    background: #fff;
    box-shadow: none;
  }

  body#body-home header {
    display: block;
    padding: 8px 15px 8px 15px;
    background: #fff;
  }

  header .inside {
    width: 100%;
    max-width: 100%;
  }

  header .relative1 {
    display: none;
    position: static;
  }

  header .relative2 {
    min-height: 58px;
    padding: 0;
  }

  header .left {
    float: none;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  header .right {
    display: none !important;
  }

  body#body-item {
    padding-top: 0;
  }

  body#body-item header {
    display: block;
    padding: 12px 15px;
    background: #fff;
  }

  body#body-item #bread {
    display: none;
  }

  #listing.inside {
    padding-top: 0;
  }

  #listing .item,
  #listing .side {
    width: 100%;
    margin: 0 0 14px 0;
  }

  #listing .wbox,
  #listing .wbox.imgbox,
  #listing .side .wbox,
  #listing .side > div.data,
  #listing .side .safe-block {
    border-radius: 0;
    box-shadow: none;
  }

  #listing .wbox.imgbox {
    padding: 0 15px 18px 15px;
    background: #fff;
  }

  #listing .item h1 {
    font-size: 24px;
    line-height: 30px;
  }

  #listing .wbox h1 .price,
  #listing .item h1 .price {
    float: none;
    display: block;
    margin: 0 0 8px 0;
    font-size: 22px;
    line-height: 28px;
  }

  .main-data > .img,
  .main-data > .img.noimg {
    width: 100%;
    border-radius: 18px;
  }

  .main-data > .img .swiper-container,
  .main-data > .img .swiper-slide,
  .main-data > .img .swiper-slide img {
    border-radius: 18px;
  }

  #listing .item .main-data {
    width: 100%;
    margin: 0 0 18px 0;
  }

  #listing .side > div.data {
    position: relative;
    top: auto;
  }

  .custom-fields .list {
    grid-template-columns: 1fr;
  }

  #listing #contact .lb,
  #listing #contact .rb {
    width: 100%;
    padding-left: 0;
  }

  #listing #contact textarea {
    height: 180px;
  }

  #about .lb,
  #about .rb {
    width: 100%;
    padding: 0;
  }

  .logo {
    float: none;
    display: inline-block;
    width: 128px;
    height: 58px;
    margin: 0 auto;
  }

  .logo img {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: block;
    max-width: 128px;
    max-height: 58px;
    margin: 0 auto;
  }

  body#body-home #home-search {
    margin: 0;
    padding: 6px 12px 0 12px;
    background: var(--ap-soft);
  }

  body#body-search #home-search {
    background: #fff;
  }

  body#body-home #home-search:before {
    content: none;
    display: none;
  }

  body#body-home #home-search:after {
    content: none;
    display: none;
  }

  #home-search .inside > .box {
    width: 100%;
    padding: 8px;
    margin-bottom: 0;
    border: 1px solid #e1e6e9;
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
  }

  #home-search .col,
  #home-search .col.c3 {
    width: 100%;
    padding-right: 0;
    margin-bottom: 8px;
  }

  #home-search .col.c4 {
    width: 100%;
    margin-bottom: 0;
  }

  #home-search .col.c1 > strong {
    text-align: left;
  }

  #home-search .col > strong,
  #home-search .col.c2 > strong,
  #home-search .col.c3 > strong {
    display: none;
  }

  #home-search input {
    height: 46px;
    border-radius: 12px;
    font-size: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  #home-search .query-picker > svg,
  #home-search svg.svg-left {
    top: 14px;
  }

  #home-search svg.svg-right {
    top: 17px;
  }

  #home-search .col .btn {
    height: 46px;
    border-radius: 12px;
  }

  #home-cat2 {
    margin-top: 8px;
    margin-bottom: 8px;
    background: var(--ap-soft);
  }

  #home-cat2 .box {
    width: 100%;
    margin: 0;
    padding: 8px 0 2px 0;
  }

  #home-cat2 a,
  #home-cat2 a:first-child,
  #home-cat2 a:last-child {
    width: calc(33.33% - 8px);
    margin: 0 4px 4px 4px;
    padding: 6px 4px;
  }

  .home-container {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .home-container h2,
  .home-container .h2 {
    font-size: 24px;
    line-height: 28px;
  }

  .prod-wrap {
    width: calc(100% + 12px);
    margin: 0 -6px;
  }

  .products.grid .simple-prod,
  .white .simple-prod,
  #public-items.products.grid .simple-prod,
  #search-items .products.grid .simple-prod,
  #premium.products.grid .simple-prod,
  #latest.products.grid .simple-prod,
  .related.products.grid .simple-prod {
    width: calc(50% - 12px);
    margin: 0 6px 10px 6px;
    border-radius: 10px;
  }

  body#body-home #bpr-seller.bpr-block .bpr-inside-all {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .products.grid .simple-prod .data,
  .white .simple-prod .data {
    min-height: 96px;
    padding: 10px 10px 9px 10px;
  }

  #premium.products.grid .simple-prod .data,
  #latest.products.grid .simple-prod .data {
    min-height: 96px;
    padding: 10px 10px 9px 10px;
  }

  .products.grid .simple-prod .price,
  .white .simple-prod .price {
    font-size: 17px;
    line-height: 20px;
  }

  #premium.products.grid .simple-prod .price,
  #latest.products.grid .simple-prod .price {
    font-size: 17px;
    line-height: 20px;
  }

  .products.grid .simple-prod .title,
  .white .simple-prod .title {
    font-size: 13px;
    line-height: 18px;
    height: 18px;
  }

  #premium.products.grid .simple-prod .title,
  #latest.products.grid .simple-prod .title {
    height: 36px;
    font-size: 13px;
    line-height: 18px;
  }

  #premium.products.grid .simple-prod .details,
  #latest.products.grid .simple-prod .details {
    display: none;
  }

  #home-pub {
    padding: 86px 16px 16px 16px;
    background: #fff url("../images/home-pub.png") no-repeat 16px 16px;
    background-size: 150px auto;
  }

  footer {
    margin-top: 48px;
    padding-top: 0;
  }

  footer .pub-box-line {
    margin: -36px 0 20px 0;
  }

  footer .pub-box {
    border-radius: 14px;
  }

  footer .inside.copyright {
    width: calc(100% + 30px);
    max-width: calc(100% + 30px);
  }
}

@media screen and (max-width: 490px) {
  body#body-home #home-search:before {
    font-size: 30px;
    line-height: 34px;
  }

  #home-cat2 a,
  #home-cat2 a:first-child,
  #home-cat2 a:last-child {
    width: calc(50% - 8px);
  }

  .products.grid .simple-prod .details,
  .white .simple-prod .details {
    display: none;
  }

  .products.grid .simple-prod .data,
  .white .simple-prod .data {
    min-height: 78px;
  }

  #premium.products.grid .simple-prod .data,
  #latest.products.grid .simple-prod .data {
    min-height: 78px;
  }

  body#body-home #bpr-seller.bpr-block .bpr-inside-all {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  body#body-home,
  body#body-search {
    padding-top: 58px !important;
  }

  body#body-home header {
    position: relative;
    z-index: 1;
  }

  body#body-home #mmenu {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    height: 58px !important;
    z-index: 9990 !important;
    background: #fff !important;
    box-shadow: 0 8px 18px rgba(13, 31, 45, 0.08) !important;
    border-top: 0 !important;
    border-bottom: 1px solid rgba(16, 24, 32, 0.08) !important;
  }

  body#body-home #home-search,
  body#body-search #home-search {
    position: relative;
    z-index: 1;
  }

  body#body-search #home-search {
    margin-top: 0 !important;
  }

  body#body-home #home-search input,
  body#body-search #home-search input {
    position: relative;
    z-index: 3;
  }

  body#body-search #home-search .inside > .box {
    position: relative;
    z-index: 2;
  }

  .prod-wrap {
    width: calc(100% + 8px) !important;
    margin: 0 -4px !important;
  }

  .products.grid .simple-prod,
  .white .simple-prod,
  #public-items.products.grid .simple-prod,
  #search-items .products.grid .simple-prod,
  #premium.products.grid .simple-prod,
  #latest.products.grid .simple-prod,
  .related.products.grid .simple-prod,
  #rel-block .simple-prod,
  #rel-user-block .simple-prod {
    width: calc(25% - 8px) !important;
    margin: 0 4px 10px 4px !important;
    border-radius: 8px !important;
  }

  .products.grid .simple-prod .img-wrap,
  .white .simple-prod .img-wrap,
  .products.grid .simple-prod .img-wrap img,
  .white .simple-prod .img-wrap img {
    border-radius: 8px !important;
  }

  .products.grid .simple-prod .data,
  .white .simple-prod .data,
  #premium.products.grid .simple-prod .data,
  #latest.products.grid .simple-prod .data {
    min-height: 54px !important;
    padding: 5px 2px 4px 2px !important;
  }

  .products.grid .simple-prod .price,
  .white .simple-prod .price,
  #premium.products.grid .simple-prod .price,
  #latest.products.grid .simple-prod .price {
    margin-bottom: 2px !important;
    font-size: 11px !important;
    line-height: 13px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .products.grid .simple-prod .title,
  .white .simple-prod .title,
  #premium.products.grid .simple-prod .title,
  #latest.products.grid .simple-prod .title {
    height: 22px !important;
    margin-bottom: 0 !important;
    font-size: 9px !important;
    line-height: 11px !important;
    white-space: normal !important;
    overflow: hidden !important;
  }

  .products.grid .simple-prod .details,
  .white .simple-prod .details,
  #premium.products.grid .simple-prod .details,
  #latest.products.grid .simple-prod .details {
    display: none !important;
  }

  .products .simple-prod .label,
  .white .simple-prod .label {
    top: 5px !important;
    left: 5px !important;
    padding: 3px 5px !important;
    font-size: 8px !important;
    line-height: 10px !important;
  }

  body#body-home .home-container.business .bpr-outer-box,
  body#body-home .home-container.business .nice-scroll,
  body#body-home .home-container #bpr-seller.bpr-block,
  body#body-home .home-container #bpr-seller.bpr-block .bpr-inside-all {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    white-space: normal !important;
  }

  body#body-home #bpr-seller.bpr-block .bpr-inside-all {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 0 !important;
  }

  body#body-home #bpr-seller.bpr-block .bpr-comp {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  body#body-home #bpr-seller.bpr-block .bpr-comp .bpr-name,
  body#body-home #bpr-seller.bpr-block .bpr-comp .bpr-loc,
  body#body-home #bpr-seller.bpr-block .bpr-comp .bpr-labels {
    font-size: 9px !important;
    line-height: 11px !important;
  }

  body#body-home #bpr-seller.bpr-block .bpr-comp .bpr-labels > div {
    margin: 0 1px !important;
    font-size: 8px !important;
    line-height: 10px !important;
  }
}

/* Final action/color overrides */
header .right a.publish,
#home-pub a.publish,
#search-pub .subscribe,
footer .pub-box .button a,
.mobile-post,
.mobile-item,
a.alert-notify,
#listing .side .btn.contact,
#listing .side .btn.other,
#listing .side .btn.oc-start-chat,
#listing .data .connect-pre a.contact,
#listing .data .connect-pre a.contact_public,
#listing #contact #send-message {
  background: var(--ap-publish) !important;
  color: #fff !important;
}

header .right a.publish:hover,
#home-pub a.publish:hover,
#search-pub .subscribe:hover,
footer .pub-box .button a:hover,
.mobile-post:hover,
.mobile-item:hover,
a.alert-notify:hover,
#listing .side .btn.contact:hover,
#listing .side .btn.other:hover,
#listing .side .btn.oc-start-chat:hover,
#listing .data .connect-pre a.contact:hover,
#listing .data .connect-pre a.contact_public:hover,
#listing #contact #send-message:hover {
  background: var(--ap-publish-dark) !important;
  color: #fff !important;
}

#home-search .col .btn,
.simple-prod .details > div.bt a.btn,
.products.list .simple-prod .action .bt a,
#comment a.new-comment,
button,
.btn,
a.btn {
  background: var(--ap-search) !important;
  color: var(--ap-ink) !important;
}

#home-search .col .btn:hover,
.simple-prod .details > div.bt a.btn:hover,
.products.list .simple-prod .action .bt a:hover,
#comment a.new-comment:hover,
button:not(.btn-loading):hover,
.btn:not(.btn-loading):hover,
a.btn:not(.btn-loading):hover {
  background: var(--ap-search-dark) !important;
  color: var(--ap-ink) !important;
}

#home-cat2 a > div {
  width: 58px !important;
  height: 58px !important;
  padding: 12px !important;
  overflow: visible !important;
}

#home-cat2 a > div > img {
  max-width: 34px !important;
  max-height: 34px !important;
}

#home-cat2 a > div > i {
  font-size: 28px !important;
  line-height: 34px !important;
}

header .right a.publish,
header .right a.publish.btn,
#home-pub a.publish,
#home-pub a.publish.btn,
#search-pub .subscribe,
footer .pub-box .button a,
.mobile-post,
.mobile-item {
  background: var(--ap-publish) !important;
  color: #fff !important;
}

header .right a.publish > span,
#home-pub a.publish > span,
#search-pub .subscribe > span {
  color: #fff !important;
}

/* Cookie notice */
.cc-cookies,
.cc-cookies-error {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  padding: 10px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px 10px !important;
  text-align: center !important;
  font-family: "DM Sans", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 20px !important;
  color: var(--ap-ink) !important;
}

.cc-cookies a,
.cc-cookies-error a {
  margin: 0 !important;
  color: #6f8f2d !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.cc-cookies a.cc-cookie-accept,
.cc-cookies a.cc-cookie-decline,
.cc-cookies-error a.cc-cookie-accept,
.cc-cookies-error a.cc-cookie-decline {
  min-width: 92px !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--ap-accent) !important;
  color: var(--ap-ink) !important;
  font-size: 13px !important;
  line-height: 16px !important;
  font-weight: 800 !important;
}

.cc-cookies a.cc-cookie-decline,
.cc-cookies-error a.cc-cookie-decline {
  background: var(--ap-publish) !important;
  color: #fff !important;
}
