* {
  box-sizing: border-box;
  padding: 0;
  list-style: none;
  margin: 0;
}
/*把footer在內容未進來前維持置底*/
html,
body {
  height: 100%;
  margin: 0;
}
body {
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  flex-grow: 1; /*可佔滿垂直剩餘的空間*/
}
a {
  text-decoration: none;
}
/*-------------------------------------*/

.loader {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.75s, visibility 0.75s;
}
.loader::after {
  content: "";
  width: 75px;
  height: 75px;
  border: 15px solid #dddddd;
  border-top-color: black;
  border-radius: 50%;
  animation: loading 0.75s ease infinite;
}
@keyframes loading {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}
.loader--hidden {
  opacity: 0;
  visibility: hidden;
}
.loaderContainer {
  position: relative;
}
#menu {
  display: none;
}
.main-header {
  background-color: #ffffff;
  height: 100px;
  position: sticky;
  top: 0px;
  width: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
}

.main-header .logo {
  width: 258px;
  height: 48px;
  margin-left: 60px;
}
.main-header .logo img {
  max-width: 100%;
}
.navAndSearch {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.main-header .main-nav a {
  font-family: "Noto Sans TC";
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  justify-content: center;
  letter-spacing: 30px;

  display: flex;
}
.category {
  color: black;
}
.category.active {
  color: #8b572a;
}
.category:hover {
  color: #8b572a;
}
.logoAndCatory {
  display: flex;
}
.main-nav {
  display: flex;
  margin-top: 23px;
  margin-left: 57px;
  width: 451px;
  height: 20px;
}
.main-nav ul {
  width: 451px;
  display: flex;
}
.main-nav ul li {
  flex-direction: column;
}
.main-nav ul li a {
  width: 150px;
  padding-left: 30px;
}
.header-search {
  display: flex;
  border: 1px solid #979797;
  border-radius: 20px;
  margin-right: 42px;
  height: 46px;
  width: 214px;
}
.header-search label {
  border: none;
  border-radius: 20px;
  background-color: transparent;
}
.header-search input {
  border: none;
  border-radius: 20px;
  font-family: "Noto Sans TC";
  font-style: normal;
  font-size: 20px;
  width: 148px;
  margin-left: 11px;
  padding-top: 5px;
  padding-left: 9px;
  outline: none;
  caret-color: #8b572a;
}
.header-search input::-webkit-search-cancel-button {
  display: none;
}
.header-search input::placeholder {
  color: #8b572a;
}
.header-search img {
  width: 100%;
}
.nav-searchCombo {
  display: flex;
}
.cart-icon {
  margin-right: 42px;
  position: relative;
}
.member-icon {
  margin-right: 54px;
}

.split {
  background-color: black;
  max-width: 100%;
  height: 40px;
  position: sticky;
  top: 100px;
  z-index: 1;
}
ul li {
  display: flex;
  list-style: none;
  text-align: center;
  justify-content: center;
}
ul li a {
  text-decoration: none;
}

.main-nav li:not(:first-child) {
  border-left: 1px solid;
}
footer {
  margin-top: 110px;
  width: 100%;
}
.footer-info {
  min-width: 1160px;
  display: flex;
  align-items: center;
}
.footer-container {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  height: 115px;
  background-color: black;
}
.footer-container ul {
  width: 670px;
  height: 16px;
  display: flex;
  margin-right: auto;
}
.footer-container ul li a {
  justify-content: center;
  font-family: "Noto Sans TC";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #f5f5f5;
}
.footer-container li {
  width: 134px;
}
.footer-container li:not(:first-child) {
  border-left: 1px solid;
}
.conclude {
  display: flex;
  align-items: center;
  justify-content: center;
}
.conclude p {
  font-family: "Noto Sans TC";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 17px;
  text-align: center;
  color: #828282;
}
.footer-icons {
  display: flex;
  width: 240px;
  height: 50px;
  align-items: center;
}
.footer-icons a {
  margin-right: 30px;
}
.footer-icons a img {
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}
.footer-container img {
  max-width: 100%;
}
.campaigns {
  max-width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  position: relative;
}
.campaigns img {
  position: absolute;
  width: 100%;
  object-fit: none;
  height: 500px;
}
.campaignsTextCombo {
  margin-left: 87px;
  margin-top: 166px;
}
.wrap {
  display: flex;
  position: absolute;
  width: 1280px;
  height: 500px;
}

.circle {
  display: flex;
  align-items: flex-end;
  z-index: 0;
  margin-bottom: 34px;
  align-self: flex-end;
}
.circle .manual-btn {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}
.circle .manual-btn.moveActive {
  background-color: #8b572a;
}
.circle .manual-btn:not(:last-child) {
  margin-right: 22px;
}

.text {
  font-family: "Noto Sans TC";
  font-style: normal;
  font-weight: 400;
  font-size: 30px;
  line-height: 57px;
  /* or 190% */
  color: #070707;
  white-space: pre-wrap;
}
.textSmall {
  font-family: "Noto Sans TC";
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 64px;
  /* identical to box height, or 320% */

  color: #070707;
}
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 64px;
  column-gap: 40px;
  margin: 70px auto 0 auto;

  align-items: center;

  justify-content: center;
  max-width: 1160px;
}
.product-list1 {
  width: 360px;

  text-align: left;
  align-self: center;
  margin: auto;
}
.product-list1 img {
  width: 100%;
  vertical-align: bottom;
}

.colors {
  margin-top: 20px;
  display: flex;
}
.color {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  border: 1px solid #d3d3d3;
  cursor: pointer;
}
.product-list1 span {
  font-family: "Noto Sans TC";
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 4px;
  color: #3f3a3a;
}
.product-title {
  margin-top: 20px;
}
.product-price {
  margin-top: 10px;
}
.cart-icon:hover {
  filter: brightness(0) saturate(100%) hue-rotate(20deg) invert(20%) sepia(100%)
    saturate(1000%) brightness(110%);
}
.member-icon:hover {
  filter: brightness(0) saturate(100%) hue-rotate(20deg) invert(20%) sepia(100%)
    saturate(1000%) brightness(110%);
}
.cart-combo {
  position: relative;
}
.cart-icon-number {
  position: absolute;
  bottom: 2px;
  right: 42px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #8b572a;
  color: white;
  text-align: center;
  line-height: 24px;
  font-size: 18px;
}
.cart-icon::after {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #8b572a;
  color: white;
  text-align: center;
  line-height: 24px;
  font-size: 16px;
}
.cartMember-container {
  display: none;
}
.mobile-copyright {
  font-family: "Noto Sans TC";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  transform: scale(0.83);
  line-height: 14px;
  text-align: center;
  color: #828282;
  display: none;
}
.mobile-main-nav {
  display: none;
}

.slide {
  clip-path: circle(0% at 0 50%);
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  justify-content: center;
  display: flex;
}
.slide.moveActive {
  clip-path: circle(150% at 0 125%);
  transition: 2s;
  transition-property: clip-path;
  opacity: 1;
}

@media screen and (max-width: 1279px) {
  .text {
    font-size: 15px;
    line-height: 28px;
  }
  .textSmall {
    font-size: 12px;
    line-height: 28px;
  }
  .campaigns {
    height: 300px;
  }
  .campaigns img {
    height: 300px;
    object-fit: cover;
  }
  .circle {
    margin-bottom: 14px;
  }
  .circle .manual-btn:not(:last-child) {
    margin-right: 13.4px;
  }
  .campaignsTextCombo {
    margin-left: 80px;
    margin-top: 100px;
  }
  .navAndSearch {
    justify-content: center;
  }
  .main-header .logo {
    margin-left: 0;
  }

  .products {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 90px;
    column-gap: 6px;
    margin: 15px auto 0 auto;
    max-width: 80%;
  }
  .split {
    height: 50px;
  }
  .member-icon,
  .cart-combo,
  .main-nav,
  .header-search input {
    display: none;
  }
  .header-search {
    border: none;
    position: absolute;
    right: 35px;
    top: 35px;
    justify-content: flex-end;
    margin-right: 0;
  }
  .logoAndCatory {
    display: flex;
  }
  .wrap {
    width: 100%;
    height: 185px;
  }
  .footer-container {
    width: 100%;
    flex-direction: column;
    height: 206px;
    justify-content: flex-start;
  }

  .footer-info {
    min-width: 296px;
    margin-top: 25px;
  }
  .footer-container ul {
    width: 177px;
    height: 84px;
    flex-wrap: wrap;

    flex-direction: column;
  }
  .footer-container li {
    width: 85px;
    justify-content: flex-start;
    margin-bottom: 8px;
  }
  .footer-container ul li a {
    justify-content: center;
    font-family: "Noto Sans TC";
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #d3d3d3;
  }
  .footer-container li:not(:first-child) {
    border-left: none;
  }
  .footer-icons {
    min-width: 88px;
  }
  .footer-icons a img {
    min-width: 20px;
    min-height: 20px;
  }
  .conclude {
    margin-right: auto;
  }
  .conclude p {
    display: none;
  }
  .cartMember-container {
    display: flex;
    width: 100%;
    height: 24px;
    background-color: black;
    justify-content: space-around;
    margin-top: 39px;
  }
  .cartMember-container span {
    border-left: 1px solid #ffffff;
  }
  .mobile-copyright {
    display: flex;
    min-width: 124px;
    margin-top: 5px;
  }
  .footer-cart-icon {
    filter: brightness(5);
  }
  .footer-cart-combo {
    display: flex;
    align-items: center;
    position: relative;
    min-width: 180px;
    justify-content: center;
  }
  .cart-icon-number {
    position: absolute;
    left: 64px;
    top: 9px;
  }
  .footer-member-icon {
    filter: brightness(5);
  }
  .footer-member-combo {
    display: flex;
    align-items: center;
    min-width: 180px;
    justify-content: center;
  }
  .mobile-main-nav {
    display: flex;

    width: 100%;
    height: 20px;
  }
  .mobile-main-nav ul {
    width: 100%;
    display: flex;
    height: 16px;
    justify-content: center;
    align-self: center;
    margin-top: 28px;
  }

  .mobile-main-nav li {
    min-width: 160px;
  }
  .mobile-main-nav li:not(:first-child) {
    border-left: 1px solid white;
  }
  .mobile-main-nav a {
    font-family: "Noto Sans TC";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #ffffff;
  }
  .product-list1 span {
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 2.4px;
    vertical-align: top;
  }
  .color {
    width: 12px;
    height: 12px;
  }
  .product-list1 {
    width: 100%;
  }
  #menu:checked ~ .logoAndCatory {
    display: none;
  }
  #menu:checked ~ .header-search input {
    display: flex;
    width: 100%;
    padding-top: 3px;
  }
  #menu:checked ~ .header-search {
    border: 1px solid #979797;
    width: 95%;
  }

  #menu:checked ~ .header-search {
    height: 40px;
    right: 9px;
  }
  #menu:checked ~ .header-search label {
    width: 53.33px;
    margin-right: 4px;
    margin-top: -4px;
  }
}

@media screen and (max-width: 480px) {
  #menu:checked ~ .header-search label {
    width: 53.33px;
    margin-right: 4px;
    margin-top: 5px;
  }
  .header-search label {
    width: 53.33px;
  }
  .header-search {
    right: 21.33px;
    top: 6px;
    align-items: center;
  }

  .main-header {
    height: 52px;
  }
  .main-header .logo {
    width: 129px;
    height: 24px;
  }
  .split {
    top: 52px;
  }
  .mobile-main-nav ul {
    width: 100%;
    display: flex;
    height: 16px;
    align-self: center;
    margin-top: 28px;
  }
  .wrap {
    min-width: 360px;
    height: 185px;
  }
  .campaigns,
  .campaigns img {
    object-fit: cover;
    height: 185px;
  }
  .campaignsTextCombo {
    margin-left: 23px;
    margin-top: 36px;
  }
  .text {
    font-size: 15px;
    line-height: 28px;
  }
  .textSmall {
    font-size: 12px;
    line-height: 28px;
  }
  .circle {
    margin-bottom: 14px;
  }
  .circle .manual-btn:not(:last-child) {
    margin-right: 13.4px;
  }
  .circle .manual-btn {
    display: inline-block;
    width: 4px;
    height: 4.74px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
  }
  .products {
    row-gap: 24px;
    column-gap: 6px;
    margin: 15px auto 0 auto;
    max-width: 432px;
  }
  .colors {
    margin-top: 8px;
  }
  .color {
    margin-right: 6px;
  }
  .product-title {
    margin-top: 10px;
    height: 14px;
  }
  .product-price {
    margin-top: 8px;
    height: 14px;
  }
  .footer-info {
    width: 296px;
    margin-top: 25px;
  }
  .footer-container li {
    width: 85px;
  }
  .conclude {
    width: 88px;
  }
  .footer-icons {
    width: 88px;
  }
  .footer-icons a img {
    width: 20px;
    height: 20px;
  }
  .footer-icons a {
    margin-right: 14px;
  }
  .conclude {
    margin-bottom: 25px;
    margin-right: 0;
  }

  .footer-container ul {
    width: 200px;
  }
  .footer-container ul li:nth-last-child(-n + 2) {
    margin-left: 36px;
  }

  .footer-member-icon {
    height: 44px;
    transform: scale(0.83);
  }

  .cartMember-container {
    justify-content: space-evenly;
    margin-top: 39px;
  }
  .cart-icon-number {
    position: absolute;
    left: 64px;
    top: 10px;
    font-size: 20px;
  }
  footer {
    margin-top: 45px;
  }
  .product-list1 img {
    height: 285px;
  }
  .mobile-copyright {
    padding-right: 4px;
  }
  .footer-cart-combo div {
    font-family: "Noto Sans TC";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;

    text-align: center;

    color: #ffffff;
  }
  .footer-member-combo div {
    font-family: "Noto Sans TC";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    text-align: center;
    color: #ffffff;
  }
}

@media screen and (max-width: 360px) {
  /*.logoAndCatory{
        display: none;
    }*/

  .mobile-main-nav li {
    min-width: 120px;
  }
  .wrap {
    width: 360px;
    height: 185px;
  }
  .header-search label {
    width: 40px;
  }
  .header-search {
    right: 16px;
    top: 5px;
  }
  .product-list1 img {
    height: 204px;
  }
  .products {
    max-width: 312px;
  }
  footer {
    margin-top: 28px;
  }
  .cartMember-container {
    justify-content: space-evenly;
    margin-top: 38px;
  }
}
