:root {
  --width: min(614px, 50vw);
  --item: calc(0.1225 * var(--width));
  --gap37: calc(0.0374 * var(--width));
  --gap94: calc(0.094 * var(--width));
}

@media all and (max-width: 840px) {
  :root {
    --width: 100vw;
  }
}

.item .itemBox {}

.item .itemBox+span {
  word-break: break-all;
  white-space: nowrap;
  overflow: hidden;
}

body {
  margin: 0;
  padding: 0;
  /* background: url(./media/bgc.jpg); */
}

p {
  margin: 8px;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.main-block {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  /* height: 900px; */
  /* margin: 80px auto; */
}

@media all and (max-width: 840px) {
  .main-block {
    display: block;
  }
}

.v3d-block {
  flex: 2;
}


.info-block {
  /* padding: 0 30px; */
  width: var(--width);
  margin-left: 37px;
}

@media all and (max-width: 840px) {
  .info-block {
    margin-left: 0;
  }
}

.title h3,
.title p {
  margin: 0;
  /* 移除默认 margin */
}

.title {
  display: flex;
  padding: 0 20px;
  height: 70px;
  justify-content: space-between;
  align-items: flex-end;
}

.title h3 {
  font-size: 30px;
}

.title p {
  font-size: 14px;
}

@media all and (max-width: 720px) {
  .title {
    display: block;
    margin-top: 20px;
    height: auto;
  }

  .title h3 {
    font-size: 20px;
  }
}

hr {
  border: none;
  height: 1px;
  margin-top: 20px;
  background: #CFCFCF;
}

@media all and (max-width: 840px) {
  hr {
    margin-top: 10px;
    margin-bottom: 0;
  }
}

[class^='row-'] {
  display: flex;
  gap: var(--gap37);
}

.row-one {
  /* justify-content: space-around; */
  gap: var(--gap94);
}

.row-one .item {
  flex: 1;
}

.row-two {
  /* justify-content: space-around; */
}

.row-two .item {
  flex: 1;
}

.column-two {
  gap: var(--gap37);
}

.flex4 {
  width: calc(var(--item) * 4 + var(--gap37) * 3);
}

.flex2 {
  width: calc(var(--item) * 2 + var(--gap37));
}


.item p {
  /* flex: 1; */
  text-align: center;
}

.tit {
  /* flex: 1; */
  display: block;
  text-align: left;
  font-size: 14px;
  color: #000;
  padding: 10px 5px;
  box-sizing: border-box;
}

.itemName {
  display: block;
  font-size: 12px;
  text-align: center;
  color: #4F4F4F;
  padding-top: 15px;
}

.item-info {
  display: flex;
  gap: var(--gap37);
}

.item-info .item {
  flex: none;
}

.item select {
  padding: 0 14px;
  width: 100%;
  height: 30px;
  border: none;
  border-radius: 5px;
  text-align: center;
  background: #F3F3F3;
}

.rightBox {}

.cellBox {
  padding: 0 calc(0.039 * var(--width));
}

.cellBox .item {
  width: var(--item);
}

/* .row-three {
   justify-content: space-between;
 } */

.row-four {
  justify-content: start;
  display: flex;
}

.item .itemBox {
  position: relative;
  margin: 0 auto;
  padding: 50% 0;
  width: 100%;
  height: 0;
  background: #F3F3F3;
  /* #ccc;*/
  border-radius: 5px;
  /* text-align: center; */
  border: 2px solid #F3F3F3;
}

.item .itemBox .imgbox {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}


.item .itemBox img {
  max-width: 70%;
  max-height: 70%;
}

.item .guiti-box {
  /* height: 117px; */
  aspect-ratio: 75 / 117;
  padding: 0;
  height: auto;
}


/* .row-four,
 .row-three {
     width: 100%;
 } */


.guiti-box,
.dingfeng-box,
.lock-box,
.card-box,
.yitong-box,
.dijiao-box {
  box-sizing: border-box;
  cursor: pointer;
}

.dingfeng-box.active,
.guiti-box.active,
.lock-box.active,
.yitong-box.active,
.dijiao-box.active {
  border: 2px solid #3e3e3e;
}

/* .guiti-box::before,
 .men-box::before,
 .dijiao-box::before {
     content: attr(data-content);
 } */
/* .guiti-box:hover,
 .men-box:hover,
 .dijiao-box:hover {
     border-color: #000;
     cursor: pointer;
 } */

.toggle-mode.active {
  border: 2px solid #3e3e3e;
}

.v3d-block {
  position: relative;
}

@media all and (max-width: 840px) {
  .v3d-block {
    height: 50vh;
  }
}

#preloader {
  width: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -100px;
  margin-top: -5px;
}

#preloader #loading_progress {
  /* position: absolute; */
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background-color: #ffffff;
}

#preloader #loading_bar {
  position: relative;
  top: -10px;
  width: 0;
  height: 10px;
  border-radius: 5px;
  background-color: #3e3e3e;
}