@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&family=Noto+Sans+TC&display=swap');
.container {
    transition: all 0.9s ease 0s;
    -webkit-transition: all 0.9s ease 0s;
    -moz-transition: all 0.9s ease 0s;
    -o-transition: all 0.9s ease 0s;
    -ms-transition: all 0.9s ease 0s;
}
html {
    font-size: 100%;
}
/*刪按鈕外框*/mobile-sl
*:focus {
   outline: 0 !important;
}
button {
   outline: none;
}
.btn:focus {
   outline: thin dotted;
   outline: 5px auto -webkit-focus-ring-color;
   outline-offset: -2px;
}
.btn:focus {
   outline: none !important;
}
.btn:focus {
   box-shadow: none;
}
button:focus {
   outline: 0;
}
*:focus {
   box-shadow: none !important;
}
*[data-focus] {
   box-shadow: none !important;
}

/*全選底色*/ ::selection {
    background: #d66271;
    color: #FFF;
}
body {
    font-family: 'Montserrat', 'Noto Sans TC', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    min-width: 320px;
    overflow-x: hidden;
    background-color: #FFF;


}

@media (min-width: 992px) {
body {
    background: url(../images/bg.jpg) top center fixed;
}
}
a {
    color: #8f4a4a;
    text-decoration: none;
}
a:hover {
    color: #d66271;
    text-decoration: none;
}
/*路徑背景色*/
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0px 0 10px 0;
    font-size: .85em;
}

@media (min-width: 992px) {
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: -30px 0 10px 0;
}
}
.breadcrumb-item {
    font-size: .875em;
    display: inline-flex;
    white-space: nowrap;
}
.breadcrumb-item a {
    color: #8f4a4a;
}
.breadcrumb-item.active a {
    color: #8f4a4a;
}
.breadcrumb-item.active {
    color: #d66271;
}
.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    color: #8f4a4a;
    content: ">";
}
/*通用間距*/
.py-l {
    padding-top: 60px;
    padding-bottom: 60px;
}
.py-m {
    padding-top: 30px;
    padding-bottom: 30px;
}
.mb-l {
    margin-bottom: 60px;
}
.mb-m {
    margin-bottom: 30px;
}
.pb-l {
    padding-bottom: 60px;
}
.pt-l {
    padding-top: 60px;
}
.pt-m {
    padding-top: 35px;
}
.pb-m {
    padding-bottom: 35px;
}

@media (min-width: 992px) {
.py-l {
    padding-top: 110px;
    padding-bottom: 110px;
}
.py-m {
    padding-top: 60px;
    padding-bottom: 60px;
}
.mb-l {
    margin-bottom: 110px;
}
.mb-m {
    margin-bottom: 60px;
}
.pb-l {
    padding-bottom: 110px;
}
.pt-l {
    padding-top: 110px;
}
.pt-m {
    padding-top: 80px;
}
.pb-m {
    padding-bottom: 60px;
}
}
/*通用顏色*/
.c-8f4a4a {
    color: #8f4a4a;
}
.c-625047 {
    color: #625047;
}
.c-d66271 {
    color: #d66271;
}
button {
    outline: none;
}

.navbar-expand-lg .navbar-collapse {
  flex-flow: column-reverse;
    justify-content: flex-end;
    align-items: self-end;
}

.sl{
    display: inline-flex;

}

/*選單*/

.line {
    background-image: url("../images/line.png");
    background-position: top center;
    width: 40px;
    height: 40px;
    margin: 0;
    background-size: cover;
    transition: all .3s;
}
.line:hover {
    background-image: url("../images/line.png");
    background-position: bottom center;
    background-size: cover;
}
/*選單v2*/
.logo {
    position: absolute;
    top: 25px;
    background: #d66271;
    color: #FFF;
    width: 90px;
    height: 35px;
    border-radius: 5px;
    text-align: center;
    line-height: 35px;
}
.logo a{
    color: #FFF;
    font-size: 1.25rem;
}
.main-top{
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}

.main-nav{
   display: block;
   padding-left: 0;
   margin-bottom: 0;
   list-style: none;
   color: #8f4a4a;
   font-size: 1.125em;
   text-decoration: none;
   letter-spacing: .1rem;
   margin-bottom: 10px;
   text-align: center;
   width: 100%;
}

.nav-link {
    display: block;
    padding: 0rem 1rem;
    border-bottom: solid 1px #eee;
}
@media (min-width: 992px) {
.logo {
    position: relative;
    top: 0px;
}
.main-nav{
   display: inline-flex;
   padding-left: 0;
   margin-bottom: 0;
   list-style: none;
   color: #8f4a4a;
   font-size: 1.125em;
   text-decoration: none;
   letter-spacing: .1rem;
   margin-bottom: 10px;
   width: auto;

}
.sl{
   margin-bottom: 0px;
   margin-right: auto !important;
}
.main-top{
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
}
}
/*商品*/
.index-subtitle {
    text-align: center;
}
.title-img1{
    max-width: 270px;
}
.title-img2{
    max-width: 90px;
}
.title-img3{
    max-width: 210px;
}
@media (min-width: 992px) {
.title-img1{
    max-width: inherit;
}
.title-img2{
    max-width: inherit;
}
.title-img3{
    max-width: inherit;
}
}
.card {
    background-color: transparent;
    border: 0px solid #8f4a4a;
}
.products img {
    border: 1px solid #8f4a4a;
}
.products img:hover {
    border: 1px solid #deb568;
}
.products .card-body {
    padding: 1em 0;
}
.products h2 {
    font-size: 1.125em;
    margin-bottom: 0;
    color: #d66271;
    margin-bottom: 10px;
}
.products p {
    font-size: 1em;
    margin-bottom: 0;
    color: #8f4a4a;
}

@media (max-width: 991px) {
.products .card-body {
    padding: .5em 0;
}
.products p {
    line-height: 1.4;
}
}
/*回到最上*/
.to-top a.to-top {
    width: 25px;
    height: 25px;
    background: #FFF;
    color: #8f4a4a;
    border: solid 1px #8f4a4a;
    align-items: center;
    justify-content: center;
    display: flex;
    text-decoration: none;
    transition: all 0.9s ease 0s;
    border-radius: 50%;
    font-size: 25px;
    z-index: 9999;
}
.to-top a.to-top:hover {
    background: #d66271;
    border: solid 1px #d66271;
    color: #FFF;
    text-decoration: none;
    border-radius: 0%;
}

@media (min-width: 992px) {
.to-top a.to-top {
    width: 50px;
    height: 50px;
}
}
/*footer*/
footer {
    background: #f6dee1;
    padding: 1rem;
}
footer p {
    font-size: .85rem;
    margin-bottom: 0;
    color: #8f4a48 ;
}

@media (min-width: 992px) {
footer p {
    font-size: 1rem;
    margin-bottom: 0;
}
}
/*產品內頁*/
/*商品圖切換*/
.product-tab .product-tab-content:not(.active) {
    display: none;
}
.product-tab-menu{
    padding: 0 7px;
}
.product-item img {
    border: solid 1px #f8f8f8;
    margin-bottom: 10px;
}

.product-item.col-2:nth-child(odd) {
    padding-right: 8px !important;
    padding-left: 8px !important;
}
.product-item.col-2:nth-child(even) {
    padding-right: 8px !important;
    padding-left: 8px !important;
}

.product-item.active img {
    border: solid 1px #d66271;
    margin-bottom: 10px;
}
.product-text {
    font-size: .875em;
}
.product-name {
    color: #d66271;
    font-size: 1.875em;
    margin-top: 1rem;
    font-weight: bold;
}
.product-sub {
    color: #a2555f;
    font-size: 1.5em;
}
.tag{
    color: #625047;
    font-size: 1.5em;
}

/*產品內頁分頁*/
.introduce .nav-item {
    font-size: .875em;
    text-align: center;
    width: 25%;
    letter-spacing: 0em;
}
.introduce .nav-link {
    display: block;
    padding: 0.25rem 0rem;
}

@media (min-width: 992px) {
.introduce .nav-item {
    font-size: 1.125em;
    text-align: center;
    width: 20%;
    letter-spacing: .3em;
}
.introduce .nav-link {
    display: block;
    padding: 0.5rem 1rem;
}
}
.introduce .nav-tabs .nav-link.active, .introduce .nav-tabs .nav-item.show .nav-link {
    color: #FFF;
    background-color: #8f4a4a;
    border-color: #8f4a4a #8f4a4a #8f4a4a;
}
.introduce .nav-tabs .nav-link:hover {
    border-color: #8f4a4a #8f4a4a #8f4a4a;
    color: #FFF;
    background: #8f4a4a;
}
.introduce .nav-tabs .nav-link:active {
    border-color: #8f4a4a #8f4a4a #8f4a4a;
    color: #FFF;
    background: #8f4a4a;
}
.introduce .nav-tabs .nav-link:focus {
    border-color: #8f4a4a #8f4a4a #8f4a4a;
    color: #FFF;
}
.introduce .nav-tabs {
    border-bottom: 1px solid #8f4a4a;
}
.introduce .nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
}
.introduce .tab-pane {
    padding: 2rem 0;
    font-size: .875em;
    line-height: 2;
}

@media (min-width: 992px) {
.introduce .tab-pane {
    padding: 3rem 0;
    font-size: 1em;
}
}
.search {
}
.search * {
    outline: none;
    box-sizing: border-box;
}
.search__wrapper {
    position: relative;
}
.search__field {
    width: 40px;
    height: 40px;
    color: transparent;
    font-size: 1em;
    padding: 0.35em 50px 0.35em 0;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    background: transparent;
}
.search__field {
    border-bottom-color: #8f4a4a;
    width: 280px;
    color: #8f4a4a;
    cursor: default;
}

.search__field ~ .search__icon {
    background-color: transparent;
    cursor: pointer;
    pointer-events: auto;
}
/*
.search__field:focus {
    border-bottom-color: #8f4a4a;
    width: 280px;
    color: #8f4a4a;
    cursor: default;
}

.search__field:focus ~ .search__icon {
    background-color: transparent;
    cursor: pointer;
    pointer-events: auto;
}
*/
.search__icon {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #d66271;
    width: 40px;
    height: 40px;
    font-size: 1em;
    text-align: center;
    border-color: transparent;
    border-radius: 50%;
    pointer-events: none;
    display: inline-block;
    transition: background-color 0.2s ease-in-out;
    color: #8f4a4a;
}
.search__field::-webkit-input-placeholder {
 position: relative;
 top: 0;
 left: 0;
 transition-property: top, color;
 transition-duration: .1s;
 -webkit-transform: translateZ(0);
 transform: translateZ(0);
 -webkit-backface-visibility: hidden;
 backface-visibility: hidden;
 -webkit-perspective: 1000;
 perspective: 1000;
 color: #8f4a4a;
 font-size: 1rem;
}
.search__field:-moz-placeholder {
 position: relative;
 top: 0;
 left: 0;
 transition-property: top, color;
 transition-duration: .1s;
 -webkit-transform: translateZ(0);
 transform: translateZ(0);
 -webkit-backface-visibility: hidden;
 backface-visibility: hidden;
 -webkit-perspective: 1000;
 perspective: 1000;
 font-size: 1rem;
}
.search__field::-moz-placeholder {
 position: relative;
 top: 0;
 left: 0;
 transition-property: top, color;
 transition-duration: .1s;
 -webkit-transform: translateZ(0);
 transform: translateZ(0);
 -webkit-backface-visibility: hidden;
 backface-visibility: hidden;
 -webkit-perspective: 1000;
 perspective: 1000;
}
.search__field:-ms-input-placeholder {
 position: relative;
 top: 0;
 left: 0;
 transition-property: top, color;
 transition-duration: .1s;
 -webkit-transform: translateZ(0);
 transform: translateZ(0);
 -webkit-backface-visibility: hidden;
 backface-visibility: hidden;
 -webkit-perspective: 1000;
 perspective: 1000;
}
.search__field::-webkit-input-placeholder[style*=hidden] {
 color: #8f4a4a;
 font-size: 1em;
 font-weight: normal;
 top: -20px;
 opacity: 1;
 visibility: visible !important;
}
.search__field:-moz-placeholder[style*=hidden] {
 color: #8f4a4a;
 font-size: 1em;
 font-weight: normal;
 top: -20px;
 opacity: 1;
 visibility: visible !important;
}
.search__field::-moz-placeholder[style*=hidden] {
 color: #8f4a4a;
 font-size: 1em;
 font-weight: normal;
 top: -20px;
 opacity: 1;
 visibility: visible !important;
}
.search__field:-ms-input-placeholder[style*=hidden] {
 color: #8f4a4a;
 font-size: 1em;
 font-weight: normal;
 top: -20px;
 opacity: 1;
 visibility: visible !important;
}
/*XX效果*/
#nav-icon {
  width: 30px;
  height: 30px;
  position: relative;
  margin: 10px auto;
  transform: rotate(0deg);
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #d66271;
  border-radius: 40px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

#nav-icon span:nth-child(1) {
  top: 0px;
}

#nav-icon span:nth-child(2) {
  top: 10px;
}

#nav-icon span:nth-child(3) {
  top: 20px;
}

#nav-icon.open span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

#nav-icon.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon.open span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}
.navbar-dark .navbar-toggler {
    border-color: transparent;
}
.navbar-toggler {
    padding: 0.25rem 0;
}

#left-line {
   position: fixed;
   bottom: 88px;
   right: 13px;
   z-index: 9999;
   text-align: center;

}
#left-line img{
    width: 40px;
    height: auto
}
#left-line p{
    font-size: .875rem;
}
@media (min-width: 992px) {
      #left-line img{
      width: 50px;
      height: auto
   }
}