* {
  margin: 0;
  padding: 0;
}

:root {
  --num-05: 0.5rem;
  --num-10: 1rem;
  --num-25: 2.5rem;
}

input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #000;
  font-size: 1rem;
  box-sizing: border-box;
  position: relative;
}

h3,p{
  padding: calc(0.5 * var(--num-05)) 0;
}

.store-4s-btn--black,
.store-4s-btn--red,
.store-4s-btn--grey {
  color: #fff;
  cursor: pointer;
  text-align: center;
}

.store-4s-btn--cancel,
.store-4s-btn--confirm {
  font-size: var(--num-10);
  padding: 0 calc(4 * var(--num-05));
  font-weight: bold;
}

.store-4s-btn--red {
  background: #dd1e2c;
}

.store-4s-btn--black {
  background: #000;
}

.store-4s {
  position: relative;
}

.store-4s-title {
  color: #dd1e2c;
  text-align: center;
  margin: var(--num-10);
}

.store-4s-tips {
  color: #a6a6a6;
  text-align: center;
}

.store-4s-content {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: calc(2 * var(--num-10));
  width: 80%;
  margin: var(--num-10) auto;
  max-width: 1600px;
}

.store-4s-form-wrapper {
  height: calc(45rem / 435 * 274);
  width: calc(100% - 50rem);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: auto;
  gap: var(--num-10);
}

.store-4s-img {
  width: 45rem;
}

.store-4s-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.store-4s-row {
  display: flex;
  justify-content: space-between;
  gap: var(--num-05);
}

.store-4s-location-list-wrapper {
  display: none;
  flex-direction: column;
  line-height: var(--num-25);

  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  flex: 1;
}

.store-4s-location-list {
  position: relative;
  overflow: auto;
  flex: 1;
  margin: var(--num-10) 0;
}

.store-4s-result-content {
  display: block;
  flex: 1;
  overflow: auto;
}

.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;
}

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

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

.form-prefix-icon,
.form-suffix-icon {
  width: var(--num-10);
  flex-shrink: 0;
}

.form-prefix-icon img,
.form-suffix-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.form-select::after {
  content: "";
  position: absolute;
  width: var(--num-05);
  height: 100%;
  top: 0;
  right: var(--num-05);
  background-image: url("/themes/llumar/img2023/stores4s/icon-arrow.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transform: translateX(50%);
}

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

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

.store-4s-location-content {
  flex: 1;
  font-weight: 500;
}

.store-4s-location-text {
  display: flex;
  border-bottom: 1px solid #000;
}

.store-4s-location-text h4:not(:first-child) {
  color: #dd1e2c;
}

.store-4s-location-list-item {
  cursor: pointer;
  border-bottom: 1px solid #ccc;
}

.store-4s-location-action {
  display: flex;
  justify-content: center;
  font-size: var(--num-10);
  gap: var(--num-10);
}

.store-4s-result-list {
  flex-direction: column;
}

.result-item {
  padding: calc(1.5 * var(--num-10)) 0;
  border-bottom: 1px solid #e9e9e9;
}

.result-item:hover > h3 {
  color: #dd1e2c;
}

.result-item-address,
.result-item-phone {
  color: #666666;
}

@media screen and (max-width: 799px) {
  :root {
    --num-05: 4px;
    --num-10: 8px;
    --num-25: 20px;
  }

  h1 {
    font-size: calc(2 * var(--num-10));
  }

  h3 {
    font-size: calc(1.17 * var(--num-10));
  }

  p,
  .store-4s-result--none {
    font-size: var(--num-10);
  }

  .store-4s-content {
    flex-direction: column;
    width: 90%;
  }

  .store-4s-form-wrapper {
    height: calc(90vw / 435 * 274);
    width: 100%;
  }

  .store-4s-img {
    width: 100%;
  }
}

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

  .store-4s-form-wrapper {
    height: calc(45rem / 435 * 274);
    width: calc(100% - 50rem);
  }

  .store-4s-img {
    width: 45rem;
  }
}

@media screen and (min-width: 1809px) and (max-width: 2560px) {
  html {
    font-size: 18px !important;
  }
}

@media screen and (min-width: 1651px) and (max-width: 1808px) {
  html {
    font-size: 17px !important;
  }
}

@media screen and (min-width: 1651px) and (max-width: 1768px) {
  html {
    font-size: 16px !important;
  }
}

@media screen and (min-width: 1490px) and (max-width: 1650px) {
  html {
    font-size: 15px !important;
  }
}

@media screen and (min-width: 1280px) and (max-width: 1489px) {
  html {
    font-size: 14px !important;
  }

  .store-4s-content {
    width: 86%;
  }
}

@media screen and (min-width: 1080px) and (max-width: 1279px) {
  html {
    font-size: 13px !important;
  }

  .store-4s-content {
    width: 90%;
  }

  .store-4s-form-wrapper {
    height: calc(40rem / 435 * 274);
    width: calc(100% - 45rem);
  }

  .store-4s-img {
    width: 40rem;
  }
}

@media screen and (min-width: 930px) and (max-width: 1079px) {
  html {
    font-size: 11px !important;
  }

  .store-4s-content {
    width: 90%;
  }

  .store-4s-form-wrapper {
    height: calc(40rem / 435 * 274);
    width: calc(100% - 45rem);
  }

  .store-4s-img {
    width: 40rem !important;
  }
}

@media screen and (min-width: 845px) and (max-width: 929px) {
  html {
    font-size: 10px !important;
  }

  .store-4s-content {
    width: 90%;
  }

  .store-4s-form-wrapper {
    height: calc(40rem / 435 * 274);
    width: calc(100% - 45rem);
  }

  .store-4s-img {
    width: 40rem;
  }
}

@media screen and (min-width: 800px) and (max-width: 844px) {
  html {
    font-size: 9px !important;
  }

  .store-4s-content {
    width: 90%;
  }

  .store-4s-form-wrapper {
    height: calc(40rem / 435 * 274);
    width: calc(100% - 45rem);
  }

  .store-4s-img {
    width: 40rem;
  }
}
