.Home {
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(207, 202, 189, 1));

  :global {

    .modelTxtBox {
      z-index: 10;
      opacity: 0;
      pointer-events: none;
      transition: opacity .3s;
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
    }

    .activeTxtBox {
      opacity: 1;
      pointer-events: auto;
    }


    .title {
      width: 100%;
      height: 90px;
      background-color: #a7191e;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;

      .logo {
        width: 215px;

        &>img {
          width: 100%;
        }
      }
    }

    .mainBox {
      width: 1400px;
      margin: 10px auto 50px;
      height: calc(100% - 170px);
      position: relative;



      .screenBox {
        border-radius: 0 0 3px 3px;
        border-top: 6px solid #D9D9D9;
        box-shadow: 0px 0px 5px 3px #ccc;
        padding: 10px 24px;

        .search {
          position: absolute;
          right: 0px;
          top: -75px;
          width: 300px;
          height: 30px;

          .searchBtn {
            position: absolute;
            top: 0;
            left: 0;
            cursor: pointer;
            width: 30px;
            height: 30px;
            z-index: 2;
          }

          .searchClear {
            position: absolute;
            top: 0;
            right: 0;
            cursor: pointer;
            width: 30px;
            height: 30px;
            z-index: 2;
            display: flex;
            justify-content: center;
            align-items: center;
          }
        }
      }

      .sortBox {
        background-color: #F8F8F8;
        font-size: 18px;
        position: relative;
        transition: height .3s;
        overflow: hidden;
        padding-bottom: 4px;

        &::before {
          position: absolute;
          content: "";
          bottom: 1px;
          left: 0;
          width: 100%;
          height: 2px;
          background-color: rgba(217, 217, 217, 1);
        }

        .xian {
          position: absolute;
          left: 0;
          top: 42px;
          width: 1300px;
          height: 2px;
          background-color: rgba(217, 217, 217, 1);
        }

        .all {
          cursor: pointer;
          text-align: center;
          position: absolute;
          top: 10px;
          padding-bottom: 5px;
          font-weight: 700;

          &.activeAll {
            border-bottom: 4px solid #BE262B;
          }
        }


        .sortBox_left {
          padding-left: 100px;
          width: 1330px;
          display: flex;
          flex-wrap: wrap;

          &>div {
            margin-top: 10px;
            cursor: pointer;
            margin-right: 26px;
            padding-bottom: 10px;
          }

          .active {
            position: relative;

            &::before {
              position: absolute;
              content: "";
              bottom: 0px;
              left: 0;
              width: 100%;
              height: 4px;
              background-color: #BE262B;
            }
          }
        }



        .sortBox_right {
          display: flex;
          justify-content: center;
          align-items: center;
          cursor: pointer;
          position: absolute;
          bottom: 8px;
          right: 0;
          width: 30px;
          height: 30px;
          background-color: rgba(217, 217, 217);
          border-radius: 3px;
        }
      }


      // 年代
      .ageBox {
        margin-top: 16px;
        font-size: 18px;
        display: flex;
        position: relative;

        &::before {
          position: absolute;
          content: "";
          bottom: 1px;
          left: 0;
          width: 520px;
          height: 2px;
          background-color: rgba(217, 217, 217, 1);
        }

        .ageBoxAll {
          cursor: pointer;
          font-weight: 700;
        }

        .ageRow {
          cursor: pointer;
          margin-left: 26px;
          padding-bottom: 10px;
        }
      }

      .modelBox::-webkit-scrollbar {
        width: 6px;
      }

      .modelBox::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: #a7191e;
      }

      .modelBox::-webkit-scrollbar-track {
        border-radius: 10px;
      }

      .modelBox {
        border-radius: 3px 3px 0 0;
        margin-top: 10px;
        box-shadow: 0px 0px 5px 3px #ccc;
        background-color: rgba(255, 255, 255, 0.5000);
        width: 100%;
        height: calc(100% - 160px);
        overflow-y: auto;
        display: flex;
        flex-wrap: wrap;
        padding: 20px 20px 0;

        .modelBox_row {
          border-radius: 6px;
          overflow: hidden;
          cursor: pointer;
          width: 300px;
          height: 300px;
          background-color: #CFCABD;
          margin: 0 40px 40px 0;

          &:nth-of-type(4n) {
            margin-right: 0;
          }

          &>img {
            width: 300px;
            height: 260px;
            object-fit: cover;
          }

          p {
            height: 40px;
            display: flex;
            align-items: center;
            background-color: #961014;
            text-align: center;
            color: #fff;
            font-size: 16px;

            .row_txt1 {
              height: 100%;
              width: 100px;
              background-color: rgba(255, 255, 255, .6);
              line-height: 40px;
              border-right: 2px solid #fff;
            }

            .row_txt2 {
              height: 100%;
              flex: 1;
              line-height: 40px;
            }
          }
        }

        .noneList {
          width: 100%;
          height: 100%;
          display: flex;
          justify-content: center;
          align-items: center;
          flex-direction: column;

          .incoBox {
            font-size: 24px;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            margin-bottom: 15px;
            background-color: #BE262B;
            border-radius: 50%;
            color: #fff;
            font-weight: 700;
          }

          &>p {
            font-weight: 700;
            font-size: 20px;
          }
        }
      }

      .page {
        margin-top: 10px;
        display: flex;
        justify-content: flex-end;
      }
    }
  }
}