* {
  padding: 0;
  margin: 0;
}

:root {
  --num-10: 16px;

  --num-01: calc(0.1 * var(--num-10));
  --num-05: calc(0.5 * var(--num-10));
  --num-08: calc(0.8 * var(--num-10));
  --num-12: calc(1.2 * var(--num-10));
  --num-15: calc(1.5 * var(--num-10));
  --num-20: calc(2 * var(--num-10));
  --num-25: calc(2.5 * var(--num-10));
  --num-30: calc(3 * var(--num-10));
}

html,
body {
  height: 100%;
  width: 100%;
}

input,
input::placeholder {
  font-size: var(--num-10);
  border: 0;
  outline: 0;
}

h3 {
  font-size: var(--num-12);
  font-weight: bold;
}

.st {
  position: relative;
  top: 0;
}

.st-banner {
  width: 100%;
  aspect-ratio: 15/2;
  background-image: url("../img/store/banner-store.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

.st-main {
  display: flex;
  justify-content: space-between;
  height: calc(100vh - 25vh);
  position: relative;
  background-color: #fff;
}

.st-btn {
  display: inline-block;
  padding: var(--num-01) var(--num-05);
  font-size: var(--num-10);
  width: calc(6 * var(--num-10));
  text-align: center;
  color: #fff;
  cursor: pointer;
}

.st-float-action-btn-group {
  position: absolute;
  bottom: 5%;
  right: 0;
  display: flex;
  align-items: flex-end;
  color: #fff;
  gap: var(--num-10);
}

.st-float-btn {
  display: none !important;
  padding: var(--num-05);
  aspect-ratio: 1;
  background-color: #fff;
  margin: var(--num-05);
  width: var(--num-30);
  height: var(--num-30);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: var(--num-10);
  cursor: pointer;
}

.st-float-btn img {
  object-fit: contain;
  aspect-ratio: 1;
  width: 60%;
}

.st-btn--linear,
.st-float-btn--linear {
  background: linear-gradient(-90deg, #c82a2c, #183897);
}

.st-btn--black,
.st-btn--red,
.st-btn--gray {
  font-size: var(--num-10);
  padding: calc(var(--num-01) * 3) var(--num-12);
}

.st-btn--black {
  background: #000;
}

.st-btn--red {
  background: #dd1e2c;
}

.st-btn--gray {
  background: #333333;
}

.st-text-linear,
.st-list-item--active h3 {
  background: linear-gradient(
    90deg,
    #183897 27.9541015625%,
    #c82a2c 75.0732421875%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.st-text-linear {
  font-size: var(--num-10);
}

.st-btn-text--red {
  color: #dd1515;
}

.st-btn-close {
  width: var(--num-15);
  height: var(--num-15);
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
}

.st-btn-close img {
  width: 100%;
  object-fit: contain;
}

.st-map-container {
  height: 100%;
  flex: 1;
  position: relative;
  margin-bottom: auto;
}

.st-map {
  height: 100%;
  position: relative;
}

.st-content {
  width: 35%;
  position: relative;
  padding: var(--num-10);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  gap: var(--num-05);
  zoom: 0.8;
}

.st-form-row {
  display: flex;
  gap: var(--num-05);
}

.st-form-item {
  border: 1px solid #747474;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  font-size: var(--num-10);
  padding: var(--num-08) var(--num-05);
  position: relative;
  gap: 0 var(--num-05);
  cursor: pointer;
}

.st-form-select {
  width: calc(60% - var(--num-25));
  padding-right: calc(1.8 * var(--num-10));
}

.st-form-input {
  width: calc(60% - var(--num-25));
}

.st-form-item input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #000;
  box-sizing: border-box;
  position: relative;
  text-overflow: ellipsis;
}

.st-prefix-icon {
  /* margin-right: var(--num-05); */
}

.st-suffix-icon {
  /* margin-left: var(--num-05); */
}

.st-prefix-icon img,
.st-suffix-icon img {
  width: var(--num-08);
  height: 100%;
  object-fit: contain;
}

.st-form-select::after {
  content: "";
  position: absolute;
  width: var(--num-08);
  height: 100%;
  top: 0;
  right: var(--num-05);
  background-image: url("../img/store/arrow-icon.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.st-form-text {
  flex: 1;
}

.st-location-select-container {
  /* display: none; */
  flex: 1;
  /* display: flex; */
  flex-direction: column;
  position: relative;
  overflow: hidden;
  gap: 0;
}

.st-selected-location {
  display: flex;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  padding: var(--num-10) 0;
  margin-bottom: var(--num-10);
}

#st-province,
#st-city {
  color: #dd1e2c;
}

.st-location-select-list {
  font-weight: 500;
  font-size: var(--num-10);
  flex: 1;
  overflow: auto;
}

.st-location-select-list li {
  border-bottom: 1px solid rgba(204, 204, 204, 0.5);
  padding: var(--num-05) 0;
  list-style-type: none;
  cursor: pointer;
}

.st-location-select-action {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: calc(5 * var(--num-10));
  margin: var(--num-10) 0;
}

.st-list {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  gap: var(--num-10);
}

.st-list-intro {
  /* width: 100%; */
  background-image: url("../img/store/xxbgimg.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  padding: var(--num-10);
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: var(--num-10);
  font-weight: bold;
  line-height: var(--num-15);
}

.st-list-intro img {
  height: 100%;
  width: 40%;
  object-fit: contain;
  aspect-ratio: 165/38;
  display: inline-block;
  position: relative;
  top: -var(--num-08);
}

.st-list-content--none {
  font-size: var(--num-10);
}

.st-list-content,
.st-list-content--none {
  position: relative;
  height: 100%;
  overflow: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--num-20);
}

.st-list-item {
  display: flex;
  flex-direction: column;
  gap: var(--num-05);
  font-size: var(--num-10);
  color: #666666;
  cursor: pointer;
  /* margin: var(--num-10) 0; */
  position: relative;
  padding-bottom: var(--num-05);
}

.st-list-item--active {
  position: relative;
}

.st-list-item--active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: calc(-1 * var(--num-05));
  background: linear-gradient(-90deg, #c82a2c, #183897);
}

.st-store-item-name {
  display: flex;
  align-items: baseline;
  gap: var(--num-10);
  font-size: var(--num-12);
  color: #000;
  align-items: center;
}

.st-order-store-name img,
.st-store-item-name img,
.st-store-no img {
  aspect-ratio: 43/10;
  width: calc(8 * var(--num-10));
  object-fit: contain;
  transform: translateY(-8px);
}

.st-list-item p {
  display: flex;
  gap: var(--num-08);
  font-size: var(--num-08);
}

.st-store-distance {
  flex: 1;
  text-align: right;
  color: #b9b9b9;
}

.st-store-action .st-btn--linear {
  background: linear-gradient(90deg, #007dc2, #004b99, #522b8a, #e10012);
}

.st-store-info {
  background-color: #fff;
  position: absolute;
  width: 30%;
  left: 50%;
  top: calc(50% + (100vw * 2 / 15) / 2);
  transform: translate(-50%, -50%);
  padding: var(--num-10);
  z-index: 2;
  scale: 0.8;
  transform-origin: top;
}

.st-store-info .st-btn-close {
  left: calc(99% - var(--num-15) / 2);
  top: 0;
  transform: translateY(-35%);
}

.st-store-info-content {
  display: flex;
  flex-direction: column;
  gap: var(--num-08);
  font-size: var(--num-08);
  /* margin: var(--num-08) 0; */
}

.st-store-info .swiper {
  --swiper-navigation-color: transparent;
  --swiper-pagination-color: #213791;
  --swiper-pagination-bullet-inactive-color: #fff;
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-navigation-size: var(--num-30);
  --swiper-pagination-bullet-size: var(--num-05);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  background-image: url("../img/store/icon-switch.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.swiper-button-prev:after {
  transform: rotate(180deg);
}

.st-swiper {
  height: calc(12 * var(--num-10));
  width: 100%;
}

.st-swiper .swiper-wrapper,
.st-swiper .swiper-slide,
.st-swiper img {
  width: 100%;
  height: 100%;
}

.st-swiper img {
  object-fit: cover;
  object-position: center;
}

.st-store-no,
.st-store-address {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--num-05);
}

.st-store-info p {
  color: #666666;
}

.st-store-info-action {
  display: flex;
  gap: var(--num-10);
}

.st-store-info-action .st-btn {
  font-size: var(--num-08);
  padding: var(--num-05);
  flex: 1;
  padding: calc(3 * var(--num-01));
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--num-01);
}

.st-store-info-action img {
  width: var(--num-08);
  object-fit: contain;
}

.st-store-info-action .st-btn--linear {
  background: linear-gradient(-90deg, #c82a2c, #183897);
}

.st-order {
  position: absolute;
  left: 50%;
  top: calc(50% + (100vw * 2 / 15) / 2);
  transform: translate(-50%, -50%);
  width: 55%;
  background-color: #fff;
  z-index: 5;
  max-width: 900px;
}

.st-order .st-btn-close {
  right: 0;
  top: 0;
  transform: translate(50%, -50%);
}

.st-order-container {
  display: flex;
  justify-content: space-between;
  gap: var(--num-20);
  margin: var(--num-15);
  zoom: 0.7;
}

.st-order-store-info {
  background: #f8f8f8;
  width: 45%;
  display: flex;
  flex-direction: column;
  gap: var(--num-05);
  padding-bottom: var(--num-05);
}

.st-order-store-info > div:first-child {
  height: calc(15 * var(--num-10));
}

.st-order-store-info > div:first-child > img {
  height: 100% !important;
}

.st-order-store-name {
  display: flex;
  gap: var(--num-20);
  align-items: flex-end;
  padding: 0 var(--num-10);
  margin-top: var(--num-08) !important;
  font-size: var(--num-15);
}

.st-order-store-no {
  margin-bottom: var(--num-08) !important;
  font-size: var(--num-10);
  padding: 0 var(--num-10);
}

.st-order-store-detail {
  display: flex;
  gap: var(--num-10);
  flex-wrap: nowrap;
  font-size: var(--num-10);
  padding: 0 var(--num-10);
}

.st-order-store-detail > div {
  display: flex;
}

.st-order-store-detail > div:last-child {
  flex-shrink: 0;
}

.st-order-store-detail > div .st-prefix-icon {
  height: var(--num-10);
  width: var(--num-12);
  flex-shrink: 0;
}

.st-order-store-detail > div > p {
  flex-shrink: 0;
  max-width: 90%;
}

.st-order-navigation {
  cursor: pointer;
}

.st-order-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--num-05);
  justify-content: space-between;
}

.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;
}

.st-order-form .st-form-row {
  margin: 0;
}

.order-form-item {
  display: flex;
  /* flex: 1; */
  gap: var(--num-05);
  align-items: center;
  border-bottom: 1px solid #e4e4e4;
  padding: var(--num-10) 0;
  font-size: var(--num-10);
}

.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 input::placeholder {
  font-size: var(--num-10);
}

.order-form-item .st-prefix-icon {
  color: #cc0e0e;
  position: relative;
}

.order-form-item .st-prefix-icon img {
  width: var(--num-15);
}

.order-form-phone-code-send {
  /* border: 1px solid #e4e4e4; */
  width: 40%;
  padding: var(--num-05) 0;
  text-align: center;
  font-size: var(--num-10);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.order-form-phone-code-send::after {
  content: "";
  z-index: -1;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: #fafafa;
  border: 1px solid #e4e4e4;
  cursor: pointer;
}

.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-01) var(--num-05);
  flex-grow: 1;
  cursor: pointer;
}

.order-form-film-radio::after {
  content: "";
  background-image: url("../img/store/icon-uncheck.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: var(--num-15);
  width: 100%;
  height: 100%;
  position: absolute;
  right: -1px;
  top: 1px;
}

.order-form-film-radio--checked {
  border: 2px solid;
  border-image: linear-gradient(90deg, #183897, #c82a2c) 2 2;
  position: relative;
}

.order-form-film-radio--checked::after {
  content: "";
  background-image: url("../img/store/icon-check.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: var(--num-15);
  width: 100%;
  height: 100%;
  position: absolute;
  right: -1px;
  top: 1px;
}

.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%;
}

.st-order-btn {
  width: 100%;
  font-size: var(--num-12);
  padding: 10px 0;
}

.st-order-pc {
  font-size: var(--num-20);
}

.st-modal-mask {
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 2;
}

.st-loading {
  /* display: none; */
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translate(0, -50%);
  text-align: center;
}

.st-loading img {
  width: var(--num-20);
  aspect-ratio: 1;
  object-fit: contain;
  margin: auto;
}

.st-order-mobile,
.st-list-content--none,
.st-location-select-container,
.st-store-info,
.st-order,
.st-modal-mask {
  display: none;
}

@media screen and (max-width: 768px) {
  :root {
    --num-10: 16px;
  }

  .st {
    position: relative;
    top: 40px;
  }

  .st-banner {
    aspect-ratio: 250/89;
  }

  .st-loading {
    width: 100% !important;
    top: calc(50% + 5vh);
    margin: 0 !important;
  }

  .st-main {
    display: block;
    height: auto;
    /* flex-direction: column; */
  }

  .st-content {
    width: 100%;
    height: 70vh;
    padding: var(--num-15);
  }

  .st-form-select {
    width: 40%;
  }

  .st-form-input {
    flex: 1;
  }

  .st-map-container {
    position: relative;
    height: 50vh;
    width: 100%;
    margin-bottom: 0.475rem;
  }

  #st-map {
    width: 100%;
    height: 100%;
  }

  .st-text-linear {
    font-size: var(--num-08);
  }

  .st-form {
    width: auto;
    height: auto;
    position: relative;
    transform: none;
    max-height: 50%;
    top: 0;
    left: 0;
    right: 0;
  }

  .st-store-info {
    z-index: 3;
    top: 50%;
    left: 5vw;
    width: 90vw;
    transform: translate(0, -50%);
  }

  .st-store-info {
    transform-origin: center;
  }

  .st-store-info-content > div {
    /* margin: var(--num-10) 0; */
  }

  .st-store-no > div {
    width: 40%;
  }

  .st-store-no img {
    width: 100%;
    object-fit: contain;
  }

  .st-order-mobile {
    display: block;
  }

  .st-order-pc {
    display: none;
  }

  .st-order {
    background: #fff;
    width: 90vw;
    height: 80vh;
    width: 90vw;
    /* overflow-x: hidden; */
    /* overflow-y: auto; */
    top: 50%;
    left: 5vw;
    transform: translateY(-50%);
  }

  .order-form-item {
    padding: var(--num-05) 0;
  }

  .order-content-cover {
    max-height: calc(20 * var(--num-10));
  }

  .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: 5px;
  }

  .st-order-store-info {
    width: 100%;
  }

  .st-order h2 {
    text-align: center;
    font-weight: bold;
  }

  .st-order-container {
    flex-direction: column;
    gap: var(--num-05);
    overflow: auto;
    height: calc(100% - var(--num-20));
  }

  .order-form-subtitle {
    justify-content: space-between;
  }

  .order-form-phone-code-send {
    height: 100%;
  }

  .st-order-form {
    margin: var(--num-08);
  }

  .order-form-item input::placeholder {
    font-size: var(--num-08);
  }

  .order-form-film-radio {
    padding: var(--num-01);
  }
  .order-form-phonecode-input {
    align-items: center;
  }
}

@media screen and (min-width: 1921px) and (max-width: 2560px) {
  :root {
    --num-10: 22px;
  }
}

@media screen and (min-width: 1651px) and (max-width: 1920px) {
  :root {
    --num-10: 20px;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1650px) {
  :root {
    --num-10: 18px;
  }
}

/* @media screen and (min-width: 1281px) and (max-width: 1440px) {
  :root {
    --num-10: 16px;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1280px) {
  :root {
    --num-10: 15px;
  }
} */

@media screen and (min-width: 769px) and (max-width: 1024px) {
  :root {
    --num-10: 14px;
  }
}
