/* 電腦版 手機版共用 */
.sticky-el {
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 8px rgba(0, 0, 0, .1);
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-mobile {
  display: none;
}
@media (max-width: 991px) { 
  .header-desktop {
    display: none;
  }
  .header-mobile {
    display: block;
  }
}


/* -----Logo----- */
.header-logo img {
  max-width: 100%;
  height: auto;
  object-fit: scale-down;
}
  /* 長方形 */
  .header-logo-rectangle a {
    display: inline-block;
    width: 200px;
  }
  @media (max-width: 991px) {
    .header-logo-rectangle a {
      width: 100px;
    }
  }
/* -----Logo End----- */


/* -----icon----- */
.navbar-icon {
  display: flex;
  margin-bottom: 0;
}
.navbar-icon li {
  margin-left: 5px;
}
.navbar-icon li span {
  letter-spacing: 1px;
}
.navbar-icon li > a {
  display: block;
  padding: 8px;
  font-size: 15px;
  text-decoration: none;
  color: #000;
}
.iconSearch{
  display: block;
  padding: 8px;
  text-decoration: none;
  color: var(--icon-search-color) !important;
  font-size: var(--icon-search-size) !important;
}
.iconWish{
  color: var(--icon-wish-color) !important;
  font-size: var(--icon-wish-size) !important;
}
.iconMember{
  color: var(--icon-member-color) !important;
  font-size: var(--icon-member-size) !important;
}
.iconCart{
  color: var(--icon-cart-color) !important;
  font-size: var(--icon-cart-size) !important;
}
.navbar-icon li > a:hover {
  /* color: #C9C3C0; */
  opacity:0.5;
}
/* -----icon End----- */


/* 購物車 */
.cartAmount {
  position: relative;
}
.amount {
  position: absolute;
  top: -5px;
  right: 0;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #E6C08D;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  letter-spacing: 0px !important;
  font-size: 11px;
}
/* 購物車 End */


/* -----漢堡選單關閉按鈕----- */
.menu-close {
  text-align: end;
}
.menu-close a {
  padding: 15px 20px;
  display: inline-block;
  color: #000;
}
.menu-close a:hover {
  color: #545454;
}
/* -----漢堡選單關閉按鈕----- */


/* ----------搜尋框樣式---------- */
  .searchProduct {
    position: relative;
  }
  .searchInput {
    padding: 15px;
    position: absolute;
    right: 0;
    z-index: 20;
    background-color: #eee;
    border: 1px solid #000;
    border-radius: 0.2rem;
    display: none;
  }
  .searchInput.active {
    display: flex;
  }
  .searchInput input {
    padding: 2px;
    text-align: center;
    border: none;
    outline: none;
    border-bottom: 1px solid #000;
    border-radius: 0%;
    background-color: #eee;
  }
  .searchInput button {
    padding: 5px;
    border: none;
    border-bottom: 1px solid #000;
    background-color: #eee;
    color: #000;
  }
  @media (max-width: 768px) {
    .searchInput {
      right: -80px;
    }
    .searchInput input {
      padding: 0;
    }
    .searchInput button {
      padding: 0;
    }
  }
/* ----------搜尋框樣式 End---------- */


/* -----電腦版選單----- */
  .layout10 .container {
    max-width: 100%;
    width: 95%;
  }

  .header-desktop-menu {
    font-family: "Roboto Condensed", sans-serif, "微軟正黑體";
    display: flex;
    margin-bottom: 0;
    letter-spacing: 2px;
    flex-grow: 1;
    justify-content: end;
    margin-right: 10px;
  }

  .header-desktop-menu .menu-title {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    color: #000;
    line-height: 1;
  }

  .header-desktop-menu > li:hover > .menu-title {
    color: rgba(0, 0, 0, .5);
  }

  .header-desktop-menu .menu-title::after {
    content: "\f078";
    font-family: 'Font Awesome 6 Free';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 9px;
    margin-left: 2px;
  }

  .header-desktop-menu .menu-no-arrow::after {
    content: "";
  }
  .header-desktop-menu li {
    position: relative;
  }
  .header-desktop-menu .second-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    z-index: 10;
    text-wrap: nowrap;
  }
  .header-desktop-menu > li ul a {
    padding: 12px 35px 12px 15px;
    display: block;
    font-size: 15px;
    color: #5b5b5b;
    text-decoration: none;
  }
  .header-desktop-menu > li ul li:hover > a {
    background-color: #f2f2f2;
    color: #000;
  }
  .header-desktop-menu .second-menu ul  {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #fff;
    z-index: 10;
    text-wrap: nowrap;
    border-left: 1px solid rgba(77,76,94,0.2);
  }
  .header-desktop-menu li:hover > ul {
    display: block;
  }
  .menu-arrow::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
    content: "\f054";
    font-family: 'Font Awesome 6 Free';
    font-size: 9px;
    font-weight: bold;
  }
/* -----電腦版選單 End----- */


/* -----手機版選單----- */
  .header-mobile-menu {
    font-family: "Roboto Condensed", sans-serif, "微軟正黑體";
    display: none;
    overflow-y: auto;
    z-index: 10;
    letter-spacing: 2px;
  }
  .mobile-menu {
    margin-bottom: 0;
  }
  .mobile-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
  }
  .mobile-menu .menu-title {
    padding: 12px 25px;
    font-size: 15px;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    color: #747474;
  }
  .mobile-menu .arrow i::before {
    font-family: "Font Awesome 6 Free";
    content: '\f0d7';
    font-weight: bold;
  }
  .mobile-menu .open > .arrow i::before {
    font-family: "Font Awesome 6 Free";
    content: '\f0d8';
  }
  .mobile-menu .open .menu-title {
    color: #CEB391;
  }
  .mobile-menu .open ul {
    background-color: #F7F7F6;
  }
  .mobile-menu .second-menu > li > a {
    padding: 12px 32px;
    font-size: 14px;
    color: #141414;
  }
  .mobile-menu .second-menu .open > a {
    font-weight: bold;
    color: #000;
  }
  .mobile-menu .third-menu > li > a {
    padding: 12px 40px;
    font-size: 14px;
    color: #8D6B6B;
  }
  .mobile-menu .fourth-menu > li > a {
    padding: 12px 48px;
    font-size: 14px;
    color: #999999;
  }
  .mobile-menu .open ul li a:hover {
    background-color: #D9D8D4;
    color: #484745;
  }
  .mobile-menu-right {
    width: 480px;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 10;
  }
  @media (max-width: 768px) {
    .mobile-menu-right {
      width: 280px;
    }
  }
  .mobile-menu-right .mobile-menu .menu-title {
    border-bottom: none;
  }
  .mobile-menu-right .mobile-menu a {
    border-bottom: none;
  }
  .mobile-menu-right .mobile-menu .open ul {
    background-color: #fff;
  }
/* -----手機版選單 End----- */