:root {
  --primary: #1877e8;
  --primary-dark: #126bd4;
  --primary-soft: #edf5ff;
}
@font-face {
  font-family: "alibaba";
  src: url("../fonts/alibaba-bold.woff2");
  font-display: swap;
  font-weight: bold;
}
@font-face {
  font-family: "alibaba";
  src: url("../fonts/alibaba-regular.woff2");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: "IRANYekan";
  src: url(../fonts/IRANYekanLight.woff) format("woff");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekan";
  src: url(../fonts/IRANYekanRegular.woff) format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekan";
  src: url(../fonts/IRANYekanMedium.woff) format("woff");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekan";
  src: url(../fonts/IRANYekanBold.woff) format("woff");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekan";
  src: url(../fonts/IRANYekanExtraBold.ttf) format("truetype");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekan";
  src: url(../fonts/IRANYekanBlack.woff) format("woff");
  font-weight: 900;
  font-display: swap;
}

* {
  box-sizing: border-box;
}
html{
  overflow-x: hidden;
}
body {
  margin: 0;
  background: #fff;
  color: #242424;
  font-family: "IRANYekan", "alibaba", Arial;
  direction: rtl;
  font-weight: 400;
}
.img-sprite {
  background: url("../images/sprite.png") no-repeat;
  display: inline-block;
}
.icon-search {
  background-position: -67px -21px;
  width: 20px;
  height: 20px;
}
.icon-account {
  background-position: -73px -2px;
  width: 17px;
  height: 16px;
  margin-left: 3px;
  vertical-align: middle;
}
.icon-loc {
  background-position: -39px -4px;
  width: 18px;
  height: 21px;
  margin-left: 3px;
  vertical-align: middle;
}
.icon-plus {
  background-position: -26px -25px;
  width: 13px;
  height: 13px;
  margin-left: 3px;
  vertical-align: middle;
}
.container {
  max-width: 1024px;
  margin: auto;
}
.topbar {
  padding-bottom: 25px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.brand {
  text-align: center;
}
.brand img {
  display: block;
  margin: auto;
  object-fit: contain;
}
.brand h1 {
  font-size: 16px;
  color: #464646;
  font-weight: bold;
  font-family: "alibaba";
}
.action {
  background-color: rgb(26, 115, 231);
  color: #fff;
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
}
.home-link {
  text-decoration: none;
  color: #707070;
  font-size: 12px;
  font-weight: 500;
}

.search-row {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
}
.search {
  height: 55px;
  flex: 1;
  background: #eceef3;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 16px;
}
.search span {
  font-size: 28px;
  color: #555;
}
.search input {
  border: 0;
  background: none;
  flex: 1;
  font: inherit;
  text-align: right;
  padding: 0 10px;
  color: #284258;
  font-size: 13px;
  font-weight: 600;
}
.search input::placeholder {
  color: #284258;
  font-size: 13px;
  font-weight: 600;
}
.search input::-moz-placeholder {
  color: #284258;
  font-size: 13px;
  font-weight: 600;
}
.search input::-webkit-input-placeholder {
  color: #284258;
  font-size: 13px;
  font-weight: 600;
}
.location {
  width: 185px;
  border: 0;
  border-radius: 10px;
  background: #eceef3;
  font: inherit;
  color: #284258;
  text-align: right;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
}
.category {
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  color: #252525;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 5px;
  border-radius: 12px;
}
.category img {
  height: 79px;
  max-width: 140px;
  object-fit: contain;
}
.category.active {
background: #1a73e742;
  color: #126bd4;
  font-weight: 600;
}
.category-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px 16px;
}
.subcategories {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.3s;
  background: #f6f7fa;
  border-radius: 12px;
  margin-top: 15px;
}
.subcategories.open {
  max-height: 180px;
  opacity: 1;
  padding: 15px;
}
.sub-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sub-head button {
  background: none;
  font-size: 22px;
  cursor: pointer;
}
.sub-list {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.sub-list a {
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  color: #333;
  flex: 1;
}
.sub-list span {
  float: left;
  color: #1877e8;
}
.hero {
  margin: 38px 0 30px;
}
.hero img {
  width: 100%;
  border-radius: 15px;
  display: block;
}
.stores h2 {
  font-size: 24px;
  margin: 0;
  color: #111111;
  font-weight: bold;
  font-family: "alibaba";
}
.stores p {
  margin: 0 0 20px;
  font-family: "alibaba";
  font-size: 18px;
}
.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.store {
  border: 1px solid rgb(194, 194, 194);
  border-radius: 10px;
  color: #111111;
  background: #fff;
  text-decoration: none;
}

.main-store-img {
  height: 128px;
  padding: 12px;
}
.main-store-img > img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}
footer {
  margin-top: 65px;
  background: #ebebeb;
}
.footer-links,
.social,
.copyright {
  max-width: 1024px;
  margin: auto;
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 24px 0;
}
.footer-links a {
  color: #555 !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.social img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}
.copyright {

  justify-content: space-between;
  font-size: 13px;
  color: #555;
}
@media (max-width: 700px) {
  .container {
    padding: 0 16px;
  }
  .category-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .store-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .topbar {
    height: 95px;
  }
  .brand img {
    width: 140px;
  }
  .brand strong {
    font-size: 10px;
  }


  .location {
    width: 100%;
    height: 45px;
    display: flex;
    align-items: center
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 14px;
  }
  .copyright {
  flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 5px;
  }
}

.category-track > .subcategories {
  grid-column: 1/-1;
  margin-top: -12px;
  margin-bottom: 4px;
  min-width: 0;
}
.category-track > .subcategories.open {
  padding: 15px;
  max-height: 220px;
}
.sub-swiper {
  position: relative;
  margin-top: 10px;
  padding: 0 4px;
}
.sub-swiper .swiper-slide {
  width: auto;
}
.sub-swiper .sub-item {
  display: block;
   transition: all 0.2s linear;
  padding: 10px 18px;
  border-radius: 8px;
  color: #333;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.sub-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid #bbb;
  background: #fff;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.sub-next {
  left: 0;
}
.sub-prev {
  right: 0;
}
.sub-nav.swiper-button-disabled {
  display: none;
}
@media (max-width: 700px) {
  .sub-nav {
    display: none;
  }
}
@media (max-width: 700px) {
  .topbar {
    height: auto;
    padding-top: 12px;

    gap: 8px;
  }
  .brand {
    flex: 1;
    min-width: 0;
  }
  .brand img {
    width: 110px;
  }
  .brand strong {
    display: block;
    font-size: 10px;
    line-height: 1.6;
  }
  .action {
    white-space: nowrap;
    font-size: 11px;
    padding: 6px 10px;
    flex-shrink: 0;
  }

  .search {
    height: 46px;
    padding: 0 10px !important;
  }
  .search input {
    min-width: 0;
    padding-left: 0;

  }
  .search-row {
    margin-bottom: 20px;
    gap: 8px;
  }
  .category-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 10px;
  }
  .category {
    min-width: 0;
    width: 100%;
    padding: 4px;
  }
  .category img {
    height: auto;
    width: 100%;
    max-width: 130px;
    aspect-ratio: 3/2;
  }
  .category span {
    font-size: 12px;
    text-align: center;
  }
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .stores h1 {
    font-size: 20px;
  }
}
.sub-head button {
  border: 0;
  width: 28px;
  height: 28px;
  line-height: 1;
}
.sub-swiper::before,
.sub-swiper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36px;
  z-index: 4;
  pointer-events: none;
}
.sub-swiper::before {
  left: 0;
  background: linear-gradient(to right, #f6f7fa, rgba(246, 247, 250, 0));
}
.sub-swiper::after {
  right: 0;
  background: linear-gradient(to left, #f6f7fa, rgba(246, 247, 250, 0));
}
.sub-swiper:has(.sub-next.swiper-button-disabled)::before {
  display: none;
}
.sub-swiper:has(.sub-prev.swiper-button-disabled)::after {
  display: none;
}
.sub-swiper .swiper {
  touch-action: pan-y;
}
@media (max-width: 700px) {
  .sub-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
  }
}
.search-overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 100;
  display: none;
  flex-direction: column;
}
.search-overlay.open {
  display: flex;
}
.so-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 16px 16px;
  border-bottom: 1px solid #e3e4ea;
  max-width: 100%;
}
.so-bar-inner {
  width: 100%;
  max-width: 1024px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.so-input {
  flex: 1;
  height: 48px;
  background: #eceef3;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}
.so-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  outline: 0;
  text-align: right;
}
.so-clear {
  border: 0;
  background: none;
  font-size: 20px;
  cursor: pointer;
  color: #555;
}
.so-close {
  border: 0;
  background: none;
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
  color: #222;
}
.so-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.so-body-inner {
  max-width: 1024px;
  margin: auto;
}
.so-title {
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 14px;
}
.so-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.so-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d9dae2;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 12px;
  color: #222;
  cursor: pointer;
}
.so-chip span {
  color: #777;
}
.so-empty {
  display: block;
  width: 180px;
  margin: 60px auto 0;
  opacity: 0.35;
}
@media (max-width: 700px) {
  .so-bar {
    padding-top: 16px;
  }
  .so-chips {
    gap: 8px;
  }
}
.loc-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.loc-modal.open {
  display: flex;
}
.lm-box {
  background: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 488px;
  height: min(560px, calc(100vh - 32px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.lm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px 16px;
}
.lm-head h3 {
  margin: 0;
  font-size: 16px;
}
.lm-clear {
  border: 0;
  background: none;
  color: var(--primary);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.lm-tabs {
  display: flex;
  padding: 0 32px;
}
.lm-tab {
  flex: 1;
  border: 0;
  border-bottom: 1px solid #e3e4ea;
  background: none;
  font: inherit;
  font-size: 13px;
  padding: 14px 0;
  cursor: pointer;
  color: #555;
}
.lm-tab.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  background: var(--primary-soft);
}
.lm-pane {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.lm-pane[hidden],
.lm-chips[hidden] {
  display: none;
}
.lm-top {
  padding: 20px 32px 10px;
}
.lm-city-search,
.lm-map-search {
  width: 100%;
  height: 40px;
  border: 1px solid #c9cad2;
  border-radius: 6px;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  text-align: right;
  outline: 0;
}
.lm-chips {
  padding: 0 32px 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.lm-chip {
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
}
.lm-chip b {
  margin-right: 6px;
}
.lm-scroll {
  flex: 1;
  overflow-y: auto;
  border-top: 1px solid #e3e4ea;
  padding: 0 32px 16px;
}
.lm-scroll h4 {
  margin: 18px 0 6px;
  font-size: 14px;
}
.lm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  font-size: 13px;
}
.lm-row input {
  display: none;
}
.lm-row i {
  width: 18px;
  height: 18px;
  border: 1px solid #888;
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
}
.lm-row input:checked + i {
  background: var(--primary);
  border-color: var(--primary);
}
.lm-row input:checked + i::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.lm-map-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
}
#lmMap {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.lm-map-search {
  position: absolute;
  top: 8px;
  left: 16px;
  right: 16px;
  width: auto;
  z-index: 500;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.lm-locate {
  position: absolute;
  right: 16px;
  top: 60px;
  z-index: 500;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  font-size: 20px;
}
.lm-radius {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  z-index: 500;
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}
.lm-radius-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #444;
}
.lm-radius-top strong {
  font-size: 20px;
}
.lm-range {
  width: 100%;
  margin: 12px 0 4px;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  direction: ltr;
  background: linear-gradient(to right, var(--primary) var(--p, 10%), #e3e4ea var(--p, 10%));
  outline: 0;
}
.lm-range::-webkit-slider-thumb {
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #888;
  cursor: pointer;
}
.lm-range::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #888;
}
.lm-marks {
  display: flex;
  justify-content: space-between;
  direction: ltr;
  font-size: 13px;
  font-weight: 700;
}
.lm-foot {
  display: flex;
  gap: 16px;
  padding: 12px 16px;
  border-top: 1px solid #e3e4ea;
}
.lm-foot button {
  flex: 1;
  height: 40px;
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
  border: 1px solid #888;
  background: #fff;
}
.lm-foot .lm-ok {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 700;
}
.location {
  cursor: pointer;
}
@media (max-width: 700px) {
  .loc-modal {
    padding: 0;
  }
  .lm-box {
    max-width: none;
    height: 100%;
    border-radius: 0;
  }
  .lm-head,
  .lm-tabs,
  .lm-top,
  .lm-chips,
  .lm-scroll {
    padding-left: 16px;
    padding-right: 16px;
  }
}
.lm-row small {
  margin-right: auto;
  color: #888;
  font-size: 11px;
}
.lm-row i.some::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 7px;
  width: 10px;
  height: 2px;
  background: #fff;
}
.lm-row i.some {
  background: var(--primary);
  border-color: var(--primary);
}
.lm-prov {
  justify-content: flex-start;
}
.lm-prov span {
  flex: 1;
}
.lm-prov em {
  font-style: normal;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-size: 11px;
  min-width: 20px;
  text-align: center;
  padding: 0 6px;
}
.lm-prov em:empty {
  display: none;
}
.lm-prov b {
  color: #777;
  font-size: 18px;
  margin-right: 4px;
}
.lm-back {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #eee;
  background: none;
  font: inherit;
  font-size: 14px;
  padding: 16px 0;
  cursor: pointer;
  text-align: right;
}
.lm-back b {
  font-size: 18px;
  color: #555;
}
.lm-none {
  text-align: center;
  color: #888;
  font-size: 13px;
  padding: 30px 0;
}
.lm-row input:indeterminate + i {
  background: var(--primary);
  border-color: var(--primary);
}
.lm-row input:indeterminate + i::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 7px;
  width: 10px;
  height: 2px;
  background: #fff;
  border: 0;
  transform: none;
}
.lm-row small {
  display: none;
}
.loc-modal.searching .lm-row small {
  display: block;
}
.loc-modal.searching .lm-back,
.loc-modal.searching .lm-allrow {
  display: none;
}
.lm-chips[hidden],
.lm-none[hidden],
.lm-row[hidden],
.lm-view[hidden],
.lm-root[hidden],
.lm-pane[hidden] {
  display: none;
}
.lm-chip {
  color: var(--primary-dark);
}
.lm-foot .lm-ok {
  color: #fff;
}
.hamburger,
.mobile-menu,
.menu-backdrop {
  display: none;
}

@media (max-width: 700px) {
  .hamburger {
    display: block;
    border: 0;
    background: var(--primary-soft);
    color: var(--primary-dark);
    border-radius: 10px;
    width: 38px;
    height: 38px;
    font-size: 22px;
    cursor: pointer;
    flex-shrink: 0;
  }
  .topbar .login {
    order: 3;
  }
  .topbar .post {
    order: 2;
  }
  .topbar .brand {
    order: 1;
  }
  .mobile-menu {
    display: flex;
    position: fixed;
    z-index: 301;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100vh;
    background: #fff;
    transform: translateX(105%);
    transition: 0.25s;
    flex-direction: column;
    padding: 20px;
    box-shadow: -8px 0 30px #0002;
    overflow: auto;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
  }
  .mobile-menu-head button {
    border: 0;
    background: none;
    font-size: 26px;
  }
  .mobile-menu > a,
  .mobile-cats-toggle {
    padding: 14px 4px;
    border: 0;
    border-bottom: 1px solid #eee;
    background: none;
    text-align: right;
    font: inherit;
    color: #111;
    text-decoration: none;
  }
  .mobile-cats-toggle {
    display: flex;
    justify-content: space-between;
  }
  .mobile-cats {
    display: none;
  }
  .mobile-cats.open {
    display: block;
  }
  .mobile-cat > button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: #f7f8fb;
    border-bottom: 1px solid #e7e8ed;
    padding: 9px;
    font: inherit;
    text-align: right;
  }
  .mobile-cat img {
    width: 45px;
    height: 40px;
    object-fit: contain;
  }
  .mobile-cat button b {
    margin-right: auto;
  }
  .mobile-sub {
    display: none;
    padding: 6px 52px 8px;
    background: #fbfbfc;
  }
  .mobile-cat.open .mobile-sub {
    display: flex;
    flex-direction: column;
  }
  .mobile-sub a {
    padding: 7px 0;
    color: #555;
    font-size: 12px;
  }
  .menu-backdrop {
    position: fixed;
    inset: 0;
    background: #0006;
    z-index: 300;
  }
  .menu-backdrop.open {
    display: block;
  }
  .menu-lock {
    overflow: hidden;
  }

  .search-row {
    margin-top: 8px;
  }
  .category-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .topbar .login {
    display: none;
  }
  .mobile-account {
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-weight: 700;
  }
  .account-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 19px;
  }
}
.sub-item {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 94px;
  text-align: center;
}
.sub-item img {
  width: 62px;
  height: 52px;
  object-fit: contain;
}
.sub-item span {
color: #252525;
  font-size: 13px;
  font-weight: 600;
  display: block;
}
@media (max-width: 700px) {
  .category-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 7px;
  }
  .category img {
    max-width: 100px;
  }
  .category span {
    font-size: 11px;
  }
  .category-track > .subcategories.open {
    padding: 10px 6px;
  }
  .sub-swiper .swiper-slide {
    width: calc((100% - 20px) / 2.5) !important;
  }
  .sub-item {
    min-height: 90px;
    padding: 7px 3px !important;
  }
  .sub-item img {
    width: 54px;
    height: 48px;
  }
  .sub-item span {
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
}
.category-track > .subcategories {
  grid-column: 1/-1 !important;
}
.sub-image-frame {
  width: 100%;
  aspect-ratio: 2/1;
  overflow: hidden;
  position: relative;
}
.sub-image-frame img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: contain;
  display: block;
}
.sub-item span {
  display: block;
  margin-top: 2px;
  line-height: 1.6;
}
@media screen and (max-width: 767.99px) {
  .search input::placeholder {

  font-size: 12px;
  
}
  .brand-h {
  font-size: 16px;
  color: #464646;
  font-weight: bold;
  font-family: "alibaba";
  text-align: center;
  padding: 0 10px;
}
  .home-link {
    display: none !important;
  }
}
.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  padding-top: 20px;
  column-gap: 12px;
}
.topbar > .brand {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  min-width: 0;
}
.topbar > .d-md-flex {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}
.topbar > .post {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}
@media (max-width: 700px) {
  .topbar > .d-md-flex {
    display: none !important;
  }
  .topbar > .hamburger {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
  .topbar {
    column-gap: 6px;
  }
}

.logo-store {
  border: 1px solid rgb(194, 194, 194);
  border-radius: 18px !important;
  background-color: #fff;
  position: absolute;
  width: 55px !important;
  height: 55px !important;
  z-index: 1;
  padding: 10px;
  box-shadow: 0 4px 10px #888888;
  right: 24px;
  bottom: -16px;
  object-fit: contain !important;
}

.store-name {
  margin-top: 33px;
  padding: 0 10px;
  margin-bottom: 16px;
}
.store-name h2 {
  font-size: 14px;
  color: #111111;
  font-weight: 600;
}
.social a {
  text-decoration: none;
  display: inline-block;
}@media (max-width:700px){
  .search-row{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;flex-wrap:nowrap}
  .search-row .search{flex:1 1 auto;min-width:0}
  .search-row .location{flex:0 0 112px;width:112px;height:46px;white-space:nowrap}
}
.category{transition:opacity .25s}
.category span{transition:font-weight .2s}
.category-track.has-active .category:not(.active){opacity:.35}
.category-track.has-active .category:not(.active):hover{opacity:.7}
.category.active span{font-weight:700}
.category-track > .subcategories {
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), padding 0.45s cubic-bezier(0.22, 1, 0.36, 1), margin 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.category-track > .subcategories.open {
  opacity: 1;
  transform: none;
}
.category-track > .subcategories:not(.open) {
  padding-top: 0;
  padding-bottom: 0;
}
/* closed panel must not leave an extra grid gap, otherwise moving it between rows makes the layout jump */
.category-track { --rg: 30px; }
.category-track > .subcategories:not(.open) { margin-top: calc(-1 * var(--rg)) !important; margin-bottom: 0 !important; }
.category-track > .subcategories.open { margin-top: -12px; }
@media (max-width: 700px) { .category-track { --rg: 16px; } }

/* 3D / raised active category */
.category { transition: opacity .25s, transform .25s, box-shadow .25s, background .25s; }
.category.active {
  background: linear-gradient(145deg, #ffffff 0%, #dbe9fc 100%);
  color: #126bd4;
  transform: translateY(-6px) scale(1.04);
  box-shadow:
    0 12px 22px -6px rgba(18, 107, 212, .45),
    0 4px 0 #9cc0ee,
    inset 0 2px 0 rgba(255, 255, 255, .9),
    inset 0 -3px 6px rgba(18, 107, 212, .15);
}
.category.active img {
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .28));
  transform: translateY(-2px);
  transition: transform .25s, filter .25s;
}

/* stronger 3D active category */
.category.active {
  background: linear-gradient(160deg, #ffffff 0%, #bcd7fa 100%);
  border: 2px solid #5b9bea;
  transform: translateY(-10px) scale(1.08);
  box-shadow:
    0 22px 30px -8px rgba(18, 107, 212, .6),
    0 8px 0 #5b9bea,
    0 8px 0 2px #3f82d6,
    inset 0 3px 0 #fff,
    inset 0 -6px 10px rgba(18, 107, 212, .25);
  z-index: 2;
  position: relative;
}
.category.active img {
  filter: drop-shadow(0 12px 10px rgba(0, 0, 0, .4));
  transform: translateY(-4px) scale(1.05);
}
.category.active span { color: #0b57b0; text-shadow: 0 1px 0 #fff; }

/* live 3D active category */
.category-track { perspective: 900px; }
.category { transform-style: preserve-3d; position: relative; }
.category.active {
  background: linear-gradient(160deg, #3d8bfd 0%, #0b57d0 100%);
  border: 0;
  border-radius: 16px;
  color: #fff;
  opacity: 1 !important;
  padding: 10px 8px 12px;
  transform: translateY(-12px) scale(1.1) rotateX(8deg);
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 5px #0b57d0,
    0 10px 0 #083f99,
    0 26px 32px -6px rgba(11, 87, 208, .65),
    inset 0 3px 0 rgba(255, 255, 255, .55),
    inset 0 -8px 14px rgba(0, 0, 0, .25);
  animation: catFloat 2.4s ease-in-out infinite;
}
.category.active span {
  color: #fff;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .35);
}
.category.active img {
  filter: drop-shadow(0 14px 10px rgba(0, 0, 0, .45));
  transform: translateZ(40px) scale(1.12);
}
.category.active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  background-size: 250% 100%;
  animation: catShine 2.8s linear infinite;
  pointer-events: none;
}
@keyframes catFloat {
  0%, 100% { transform: translateY(-12px) scale(1.1) rotateX(8deg); }
  50%      { transform: translateY(-18px) scale(1.12) rotateX(8deg); }
}
@keyframes catShine {
  from { background-position: 150% 0; }
  to   { background-position: -100% 0; }
}

/* give the lifted active category room so it does not touch the top */
.category-track { padding: 22px 6px 14px; }
.category.active {
  transform: translateY(-4px) scale(1.05) rotateX(6deg);
  animation: catFloat2 2.4s ease-in-out infinite;
}
@keyframes catFloat2 {
  0%, 100% { transform: translateY(-4px) scale(1.05) rotateX(6deg); }
  50%      { transform: translateY(-8px) scale(1.06) rotateX(6deg); }
}

/* 3D sub-category images */
.subcategories.open { padding-top: 18px; padding-bottom: 20px; max-height: 220px; }
.sub-swiper { perspective: 800px; }
.sub-image-frame { overflow: visible; }
.sub-item img {
  filter: drop-shadow(0 6px 4px rgba(0, 0, 0, .3)) drop-shadow(0 2px 0 rgba(0, 0, 0, .12));
  transform: translateY(-2px);
  transition: transform .25s, filter .25s;
}
.sub-item:hover img {
  transform: translateY(-8px) scale(1.15) rotateX(8deg);
  filter: drop-shadow(0 14px 8px rgba(0, 0, 0, .38));
}
.sub-item:active img {
  transform: translateY(0) scale(1.02);
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .3));
}

/* active category: image pops out above the card */
.category-track { padding-top: 48px; }
.category.active { overflow: visible; padding-top: 6px; }
.category.active img {
  position: relative;
  z-index: 3;
  margin-bottom: -30px;
  transform: translateY(-34px) translateZ(40px) scale(1.15);
  filter: drop-shadow(0 16px 10px rgba(0, 0, 0, .45));
}
.category.active::after { z-index: 1; }
@media (max-width: 700px) {
  .category-track { padding-top: 38px; }
  .category.active img { margin-bottom: -22px; transform: translateY(-26px) translateZ(40px) scale(1.12); }
}

/* active category: no card, only the 3D image itself */
.category.active {
  background: none;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  padding: 5px;
  transform: none;
  animation: none;
  color: #126bd4;
}
.category.active::after { display: none; }
.category.active span { color: #126bd4; text-shadow: none; font-weight: 800; }
.category.active img {
  margin-bottom: 0;
  transform: translateY(-8px) scale(1.15) rotateX(8deg);
  filter: drop-shadow(0 14px 8px rgba(0, 0, 0, .4));
  animation: imgFloat 2.4s ease-in-out infinite;
}
@keyframes imgFloat {
  0%, 100% { transform: translateY(-8px) scale(1.15) rotateX(8deg); }
  50%      { transform: translateY(-14px) scale(1.17) rotateX(8deg); }
}
.category-track { padding-top: 28px; }
@media (max-width: 700px) {
  .category.active img { margin-bottom: 0; transform: translateY(-6px) scale(1.12) rotateX(8deg); }
  .category-track { padding-top: 22px; }
}

/* bigger sub-category images (frame sets the size, the img fills it) */
.sub-image-frame { width: 104px; height: 88px; aspect-ratio: auto; margin: 0 auto; }
.sub-item { min-height: 140px; gap: 8px; }
.sub-item span { font-size: 13px; }
.subcategories.open { max-height: 280px; }
.category-track > .subcategories.open { max-height: 280px; }
@media (max-width: 700px) {
  .sub-image-frame { width: 84px; height: 72px; }
  .sub-item { min-height: 120px; }
  .sub-swiper .swiper-slide { width: calc((100% - 20px) / 2.3) !important; }
  .subcategories.open, .category-track > .subcategories.open { max-height: 250px; }
}

/* larger sub-category images */
.sub-image-frame { width: 140px; height: 120px; }
.sub-item { min-height: 175px; }
.subcategories.open, .category-track > .subcategories.open { max-height: 330px; }
@media (max-width: 700px) {
  .sub-image-frame { width: 104px; height: 90px; }
  .sub-item { min-height: 145px; }
  .sub-swiper .swiper-slide { width: calc((100% - 20px) / 2.5) !important; }
  .subcategories.open, .category-track > .subcategories.open { max-height: 290px; }
}

/* crisp images: no scale / 3D transforms (they rasterize the layer and blur it when zoomed) */
.category-track, .sub-swiper { perspective: none; }
.category { transform-style: flat; }
.category.active img {
  transform: translateY(-8px);
  animation: imgFloatCrisp 2.4s ease-in-out infinite;
}
@keyframes imgFloatCrisp {
  0%, 100% { transform: translateY(-6px); }
  50%      { transform: translateY(-12px); }
}
.sub-item img, .sub-item:hover img, .sub-item:active img { transform: none; }
.sub-item:hover img { transform: translateY(-6px); }
.sub-item:active img { transform: translateY(0); }
.sub-image-frame img { image-rendering: auto; backface-visibility: hidden; }
