* {
  margin: 0;
  padding: 0;
}

:root {
  --num-01: 0.1rem;
  --num-02: 0.2rem;
  --num-03: 0.3rem;
  --num-05: 0.5rem;
  --num-06: 0.6rem;
  --num-08: 0.8rem;
  --num-09: 0.9rem;
  --num-10: 1rem;
  --num-12: 1.2rem;
  --num-15: 1.5rem;
  --num-20: 2rem;
  --num-25: 2.5rem;
  --num-30: 3rem;
}

html,
body,
.map,
#all-map {
  height: 100%;
  width: 100%;
}

.map {
  height: 100vh;
  position: relative;
}

.map-form {
  width: 30rem;
  height: 38rem;
  position: absolute;
  z-index: 1;
  top: 50vh;
  transform: translateY(-50%);
  background-color: #fff;
  left: 5rem;
  padding: var(--num-20);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: auto;
}

.map-form h2 {
  color: #dd1e2c;
}

.map-form-row {
  display: flex;
  justify-content: space-between;
  margin-top: var(--num-10);
  gap: var(--num-08);
}

.map-form-item {
  border: 1px solid #747474;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  font-size: var(--num-10);
  padding: var(--num-10);
  position: relative;
  gap: 0 var(--num-05);
  cursor: pointer;
}

.map-form-select {
  width: calc(45% - var(--num-25));
}

.map-form-input {
  width: calc(55% - var(--num-25));
}

.map-form-prefix-icon img,
.map-form-suffix-icon img {
  width: var(--num-10);
  height: 100%;
  object-fit: contain;
}

.map-form-select::after {
  content: "";
  position: absolute;
  width: var(--num-06);
  height: 100%;
  top: 0;
  right: var(--num-05);
  background-image: url("/themes/llumar/images/stores/assets/icon-arrow.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.map-form-select-content {
  flex: 1;
  font-weight: 500;
}

.map-form-item input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #000;
  font-size: var(--num-10);
  box-sizing: border-box;
  position: relative;
}

.map-form-input .map-form-suffix-icon {
  cursor: pointer;
}

.map-form-channel {
  display: flex;
  justify-content: space-between;
  flex-grow: 1;
  gap: var(--num-05);
}

.map-form-radio,
.map-form-store {
  flex-grow: 1;
  text-align: center;
  padding: var(--num-05);
  border: 1px solid #747474;
  cursor: pointer;
  position: relative;
  font-size: var(--num-10);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-form-radio--checked {
  border: 2px solid #000;
  position: relative;
}

.map-form-radio--checked::after,
.map-store--checked::after {
  content: "";
  background-image: url("/themes/llumar/images/stores/assets/icon-check.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: var(--num-15);
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
}

.map-store-level {
  border: 2px solid #ebeaea;
  padding: var(--num-10);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--num-10);
}

.map-store-level input[type="checkbox"] {
  -webkit-appearance: none;
  width: var(--num-12);
  height: var(--num-12);
  border: 1px solid #ccc;
  cursor: pointer;
  flex: 0 0 var(--num-12);
  position: relative;
}

.map-store-level input[type="checkbox"]:checked::after {
  content: "";
  display: block;
  width: 20%;
  height: 60%;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  position: relative;
  top: 2px;
  left: 6px;
}

.map-store-level-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--num-05);
}

.map-store-level-name {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--num-08);
}

.map-store-level-name img {
  width: auto;
  height: var(--num-15);
  object-fit: contain;
}

.map-store-level-detail {
  color: #dd1e2c;
  font-size: var(--num-10);
  cursor: pointer;
}

.map-store-level-info {
  color: #999999;
  font-size: var(--num-09);
  line-height: var(--num-12);
}

.map-store-content,
.map-result-content-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.map-result-content {
  margin-top: var(--num-10);
  overflow: auto;
  flex: 1;
}

.map-result-content--none {
  font-size: var(--num-10);
}

.map-location-content {
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  overflow: hidden;
  line-height: var(--num-25);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.map-location-address {
  display: flex;
  border-bottom: 1px solid #000;
}

.map-location-address h4:nth-child(1) {
  flex-shrink: 0;
  color: #000;
}

.map-location-address h4 {
  color: #dd1e2c;
}

.map-local-list-content {
  position: relative;
  overflow: auto;
  flex: 1;
  margin: var(--num-10) 0;
}

.map-local-list-content-item {
  width: 100%;
  font-size: var(--num-10);
  border-bottom: 1px solid #ccc;
  cursor: pointer;
}

.map-local-action {
  display: flex;
  width: 70%;
  margin: auto;
  justify-content: space-around;
}

.map-btn--black,
.map-btn--red,
.map-btn--grey {
  color: #fff;
  cursor: pointer;
}

.map-btn--red {
  background: #dd1e2c;
}

.map-btn--black {
  background: #000;
}

.map-btn--grey {
  background: #000;
}

.map-form-store {
  align-items: stretch;
  justify-content: space-evenly;
}

.map-btn-text--yellow {
  color: #ff7200;
  cursor: pointer;
}

.map-local-btn--cancel,
.map-local-btn--confirm {
  font-size: var(--num-12);
  padding: var(--num-01) var(--num-30);
  font-weight: bold;
}

#map-store-type--selected {
  position: relative;
}

#map-store-type-num {
  position: absolute;
  width: var(--num-10);
  height: var(--num-10);
  right: calc(var(--num-05) * -1);
  top: calc(var(--num-03) * -1);
  border-radius: 50%;
  background: #dd1e2c;
  color: white;
  font-size: var(--num-05);
  font-weight: bold;
  line-height: var(--num-10);
}

.map-result-item {
  border-bottom: 1px solid #e9e9e9;
  padding: var(--num-10) 0;
  line-height: var(--num-20);
}

.map-result-item-title {
  display: flex;
  align-items: center;
  /* color: #dd1e2c; */
  gap: var(--num-03);
}

.map-result-item-code {
  font-size: var(--num-10);
}

.map-result-item-phone,
.map-result-item-address {
  color: #666666;
  font-size: var(--num-10);
}

.map-result-item-action {
  display: flex;
  justify-content: space-between;
  font-size: var(--num-10);
  margin: var(--num-10) 0;
}

.map-result-item-action .map-btn--red {
  padding: var(--num-02) var(--num-15);
  font-size: var(--num-10);
}

.map-result-item-action-right {
  display: flex;
  justify-content: flex-end;
  gap: var(--num-10);
}

.map-result-item-action-right a {
  text-decoration: none;
}

.map-result-content-list .jy,
.map-result-content-list .ly,
.map-result-content-list .nerv,
.map-result-content-list .zx {
  width: var(--num-12);
  height: var(--num-12);
  object-fit: contain;
  object-position: center;
  display: none;
}

.map-result-content-list .active {
  display: block;
}

.map-modal {
  position: absolute;
  top: 50vh;
  transform: translateY(-50%);
  background: #fff;
  padding: var(--num-20);
}

.map-modal-close {
  position: absolute;
  right: calc(var(--num-05) * -1);
  top: calc(var(--num-05) * -1);
  width: var(--num-20);
  height: var(--num-20);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.map-store-info .map-modal-close {
  background-image: url("/themes/llumar/images/stores/assets/icon-close-black.png");
}

.map-order .map-modal-close,
.map-vx .map-modal-close {
  background-image: url("/themes/llumar/images/stores/assets/icon-close-red.png");
}

.map-store-info {
  /* height: 35rem; */
  /* max-height: 36rem; */
  width: 20rem;
  left: 40rem;
  /* width: 320px; */
  /* left: 640px; */
}

.map-store-info .store-info-swiper {
  --swiper-navigation-color: transparent !important;
  --swiper-pagination-color: #e4141c !important;
  --swiper-pagination-bullet-inactive-color: #fff !important;
  --swiper-pagination-bullet-inactive-opacity: 1 !important;
  --swiper-navigation-size: 64px !important;
}

.map-swiper-pagination {
  position: absolute;
  z-index: 10;
  text-align: center;
}

.map-swiper-pagination > .swiper-pagination-bullet {
  background: #fff;
  opacity: 1;
}

.map-swiper-pagination > .swiper-pagination-bullet-active {
  background: #e4141c;
}

/* .store-info-swiper .swiper-button-next:after,
.store-info-swiper .swiper-button-prev:after {
  background-image: url("/themes/llumar/images/stores/assets/icon-switch.png") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
}

.store-info-swiper .swiper-button-prev:after {
  transform: rotate(180deg) !important;
} */

.store-info-swiper .swiper-button-next,
.store-info-swiper .swiper-button-prev {
  background-image: url("/themes/llumar/images/stores/assets/icon-switch.png") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
}

.store-info-swiper .swiper-button-prev {
  transform: rotate(180deg) !important;
}

.store-info-swiper {
  height: 12rem;
  /* height: 192px; */
  margin-bottom: var(--num-10);
  position: relative;
  overflow: hidden;
}

.store-info-swiper .swiper-wrapper,
.store-info-swiper .swiper-slide,
.store-info-swiper img {
  width: 100%;
  height: 100%;
}

.store-info-swiper img {
  object-fit: cover;
  object-position: center;
}

.store-info-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.store-info-type {
  display: inline-block;
  color: #e4141c;
  margin: var(--num-10) 0;
  font-size: var(--num-09);
  font-weight: bold;
}

.store-info-type-btn {
  display: flex;
  width: max-content;
  padding: var(--num-01) var(--num-05);
  border: 1px solid;
  border-image: linear-gradient(90deg, #ec2727, #f6801f) 1 1;
  align-items: center;
  gap: var(--num-05);
}

.store-info-type img {
  height: var(--num-10);
  object-fit: contain;
}

.map-store-info p {
  color: #666666;
  font-size: var(--num-09);
  line-height: var(--num-20);
}

.store-info-tech {
  display: flex;
  margin: var(--num-10) 0;
  justify-content: space-around;
  align-items: stretch;
  font-size: var(--num-08);
  text-align: center;
}

.store-info-tech-item img {
  height: var(--num-30);
  object-fit: contain;
}

.store-info-contact {
  background: #fbfafa;
  border: 1px solid #dedede;
  padding: var(--num-05);
}

.store-info-action {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: var(--num-10);
  text-align: center;
  margin-top: var(--num-10);
}

.store-info-action .map-btn--grey,
.store-info-action .map-btn--red {
  padding: var(--num-05) 0;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--num-05);
}

.store-info-action img {
  height: var(--num-10);
  object-fit: contain;
}

.store-info-add-manager {
  cursor: pointer;
  font-size: var(--num-09);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.map-order {
  margin: auto;
  width: 50rem;
  z-index: 1;
  left: 50vw;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: var(--num-10);
  max-height: 30rem;
}

.map-order-content,
.map-order-form {
  flex: 1;
}

.map-order-content {
  background: #f8f8f8;
}

.order-content-cover {
  width: 100%;
  height: auto;
  max-height: 50%;
  object-fit: cover;
}

.order-content-info {
  padding: var(--num-10);
}

.order-content-info-no {
  font-size: var(--num-09);
  margin: var(--num-10) 0;
}

.order-content-info-phone,
.order-content-info-address {
  display: flex;
  align-items: center;
  gap: var(--num-05);
  font-size: var(--num-08);
  line-height: var(--num-20);
  color: #333333;
}

.order-content-info-phone img,
.order-content-info-address img {
  height: var(--num-10);
  object-fit: contain;
}

.map-order-content a {
  text-decoration: none;
}

.map-btn-text--red {
  color: #dd1515;
  cursor: pointer;
}

.order-form-subtitle {
  display: flex;
  gap: var(--num-05);
  align-items: flex-end;
}

.order-form-subtitle p {
  font-size: var(--num-08);
}

.order-required-symbol {
  color: #ff3333;
}

.order-content-info-navigate {
  display: flex;
  gap: var(--num-03);
  align-items: center;
  flex-shrink: 0
}

.map-order-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: var(--num-10);
}

.order-form-row {
  display: flex;
  gap: var(--num-10);
}

.order-form-item {
  display: flex;
  /* flex: 1; */
  gap: var(--num-05);
  align-items: center;
  border-bottom: 1px solid #e4e4e4;
  padding-bottom: var(--num-05);
  font-size: var(--num-08);
}

.order-form-item input {
  border: 0;
  outline: 0;
  color: #000;
  font-size: var(--num-10);
  box-sizing: border-box;
  position: relative;
  width: 100%;
}

.order-form-phonecode-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--num-05);
  align-items: stretch;
}

.order-form-phonecode-input input {
  flex: 1;
  width: auto;
  align-items: stretch;
  justify-content: space-between;
}

.order-form-item input[type="checkbox"] {
  -webkit-appearance: none;
  width: var(--num-12);
  height: var(--num-12);
  border: 1px solid #cc0e0e;
  cursor: pointer;
  flex: 0 0 var(--num-12);
  position: relative;
  background-color: #cc0e0e;
}

.order-form-item input[type="checkbox"]:checked::after {
  content: "";
  display: block;
  width: 20%;
  height: 60%;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  position: relative;
  top: 2px;
  left: 6px;
}

.order-form-item p {
  font-size: var(--num-08);
}

.order-form-btn {
  text-align: center;
  padding: var(--num-05) 0;
}

.map-form-item input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #000;
  font-size: var(--num-10);
  box-sizing: border-box;
  position: relative;
}

.order-form-item input::placeholder {
  font-size: var(--num-08);
}

.order-form-item .map-form-prefix-icon {
  color: #cc0e0e;
  position: relative;
}

.order-form-item .map-form-prefix-icon img {
  width: var(--num-15);
}

.order-form-phone-code-send {
  background: #fafafa;
  border: 1px solid #e4e4e4;
  width: 40%;
  padding: var(--num-05) 0;
  text-align: center;
  font-size: var(--num-08);
}

.order-form-film {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
  gap: var(--num-08);
  font-size: var(--num-10);
  text-align: center;
}

.order-form-film-radio {
  border: 2px solid #cdcdcd;
  position: relative;
  padding: var(--num-02) var(--num-06);
  flex-grow: 1;
  cursor: pointer;
}

.order-form-film-radio::after {
  content: "";
  background-image: url("/themes/llumar/images/stores/assets/icon-uncheck.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: var(--num-15);
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0px;
  top: 0px;
}

.order-form-film-radio--checked {
  border: 2px solid #000;
  position: relative;
}

.order-form-film-radio--checked::after {
  content: "";
  background-image: url("/themes/llumar/images/stores/assets/icon-check.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: var(--num-15);
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0px;
  top: 0px;
}

.order-form-item select {
  width: 100%;
  border: 0;
  outline: 0;
  color: #000;
  box-sizing: border-box;
  font-size: var(--num-10);
}

.order-form-car,
.order-form-time {
  width: 50%;
}

#order-car {
  width: 100%;
}

.map-vx {
  /* width: 15rem; */
  width: 240px;
  left: 50vw;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.map-vx h3,
.map-vx h4 {
  text-align: center;
}

.map-vx p {
  list-style: var(--num-15);
  font-size: var(--num-08);
}

.map-modal-mask {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  background-color: #000;
  opacity: 0.8;
  z-index: 1;
}

.map-success-tip,
.map-error-tip {
  /* width: 15rem; */
  width: 240px;
  left: 50vw;
  transform: translate(-50%, -50%);
  z-index: 1;
}

#location-address {
  display: none;
}

.map-result-content {
  display: none;
}

#map-store {
  display: none;
}

.map-store-info {
  display: none;
}

.map-order {
  display: none;
}

.map-vx {
  display: none;
}

.map-modal-mask {
  display: none;
}

.map-order-mobile {
  display: none;
}

.map-form-loading {
  display: none;
}

@media screen and (max-width: 799px) {
  :root {
    --num-01: 0.8px;
    --num-02: 1.6px;
    --num-03: 2.4px;
    --num-05: 4px;
    --num-06: 4.8px;
    --num-08: 6.4px;
    --num-09: 7.2px;
    --num-10: 8px;
    --num-12: 9.6px;
    --num-15: 12px;
    --num-20: 16px;
    --num-25: 20px;
    --num-30: 24px;
  }

  body {
    font-size: var(--num-10);
    /* font-size: unset !important; */
  }

  .map {
    display: flex;
    flex-direction: column;
  }

  #all-map {
    flex: 1;
  }

  .map h2 {
    font-size: var(--num-15);
  }

  .map h3 {
    font-size: var(--num-12);
  }

  .map-form {
    width: auto;
    height: auto;
    position: relative;
    transform: none;
    max-height: 50%;
    top: 0;
    left: 0;
    right: 0;
  }

  .map-form h2 {
    text-align: center;
  }

  .map-store-info {
    z-index: 1;
    transform: translate(-50%, -50%);
    width: 60vw;
    left: 50%;
    transform: translate(-50%);
  }

  .map-form-store {
    max-width: 60px;
  }

  .map-modal {
    top: 10vh;
  }

  .store-info-swiper {
    /* height: 15rem; */
    height: 120px;
  }

  .map-order-mobile {
    display: block;
  }

  .map-order-pc {
    display: none;
  }

  .map-order {
    flex-direction: column;
    background: #fff;
    max-height: unset;
    width: 70vw;
    z-index: 2;
  }

  .order-content-cover {
    /* max-height: 20rem; */
    max-height: 160px;
  }

  .order-form-film-radio--checked {
    border-width: 1px;
  }
  .order-form-film-radio {
    border-width: 1px;
  }

  .order-form-item input[type="checkbox"]:checked::after {
    top: 0;
    left: 2px;
  }

  .map-order h2 {
    text-align: center;
  }

  .map-form {
    width: calc(100% - 2 * var(--num-20));
    height: 40vh;
  }

  .map-store-level input[type="checkbox"]:checked::after {
    border-width: 0 1px 1px 0;
    top: 1px;
    left: 3px;
  }

  .store-info-swiper {
    height: 192px;
  }

  .map-order {
    width: 70vw;
    max-height: 80vh;
    top: 40vh;
  }
}

@media screen and (min-width: 2561px){
  html,body {
    font-size: 22px !important;
  }
}

@media screen and (min-width: 1921px) and (max-width: 2560px) {
  html,body {
    font-size: 20px !important;
  }
}

@media screen and (min-width: 1651px) and (max-width: 1920px) {
  html,body {
    font-size: 18px !important;
  }
}

@media screen and (min-width: 1441px) and (max-width: 1650px) {
  html,body {
    font-size: 16px !important;
  }
}

@media screen and (min-width: 1281px) and (max-width: 1440px) {
  html,body {
    font-size: 14px !important;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1280px) {
  html,body {
    font-size: 12px !important;
  }
}

@media screen and (min-width: 800px) and (max-width: 1024px) {
  html,body {
    font-size: 11px !important;
  }
}
