@charset "utf-8";

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/


/*上方選單右邊設定 臉書/LINE/電話/信箱
.tp_links a:before {寬高大小設定}
.tp_links a.me_tp_fb {}
.tp_links a.me_tp_fb:before {背景換圖/建議.SVG}
.tp_links a.me_tp_line {}
.tp_links a.me_tp_line:before {背景換圖/建議.SVG}
.tp_links a.me_tp_call {}
.tp_links a.me_tp_call:before {背景換圖/建議.SVG}
.tp_links a.me_tp_mail {}
.tp_links a.me_tp_mail:before {背景換圖/建議.SVG}
*/


/*電腦LOGO
.nav-brand {}
*/

/*手機LOGO
.nav-brand-m {}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設解除背景輪播*/
#content_main { margin:0; background: #d5d5d5;}
.bannerindex { position:relative; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;} 
/* .swiper-slide img { height:auto;} */
@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*共用*/
#content { background: #d5d5d5; }
.animated-arrow {  background: #979388;}
.path p, .path p a {display: none;}
/*滾輪*/
::-webkit-scrollbar { width: 6px;}/*滾輪寬度*/
::-webkit-scrollbar-button { background: transparent; border-radius: 7px; height: 0;}/*滾輪與視窗上下的間距*/
::-webkit-scrollbar-track-piece { background: #adadad;}/*滾輪軌道背景*/
::-webkit-scrollbar-thumb { border-radius: 3px; background-color: #000000; border:1px #c0c0c0 solid;}/*滾輪樣式*/
::-webkit-scrollbar-track { box-shadow: transparent;}/*滾輪軌道樣式*/

/*top*/
#to_top { box-shadow: 0px 0px 10px #bfbfbf9e;  color: #000000;  background: #fffffff0; backdrop-filter: saturate(100%) blur(10px); border-radius: 10%;}
#to_top i.top {    height: 15px;}
#to_top i.top:before, #to_top i.top:after {  height: 10px;  top: 5px; background: #000000;}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*大圖*/
.pageIndex .swiper-slide {position: relative;}/*因為偽元素，所以要加的*/
.swiper-slide:before ,.swiper-slide:after { content: ""; position: absolute;  z-index: 999; pointer-events:none;}/*before+after依樣要寫的內容拆出來寫一起，要寫在個別下方也可以*/
/*第一張大圖的偽元素*/
.pageIndex .swiper-slide:nth-child(1):before {
  background: url(https://pic03.eapple.com.tw/heybuddypet/文-1.png);
  background-size: contain;
  background-repeat: no-repeat;
  top: 39%;
  left: 63%;
  width: 100% !important;
  height: 0 !important;
  background-position: left;
  padding-bottom: calc(100% / 3* 0.3);
}
/*
.pageIndex .swiper-slide:nth-child(1):after {
  background: url(https://pic03.eapple.com.tw/heybuddypet/文-2.png);
  background-size: contain;
  background-repeat: no-repeat;
  top: 34%;
  left: 38%;
  width: 100%;
  height: 0 !important;
  background-position: left;
  padding-bottom: calc(100% / 3* 0.1);
}
*/
/*第二張大圖的偽元素*/

.pageIndex .swiper-slide:nth-child(2):before {
  background: url(https://pic03.eapple.com.tw/heybuddypet/圖-1.png);
  background-size: contain;
  background-repeat: no-repeat;
  top: 44%;
  left: 8%;
  width: 100% !important;
  height: 0 !important;
  background-position: left;
  padding-bottom: calc(100% / 2*0.4);
}
/*
.pageIndex .swiper-slide:nth-child(2):after {
  background: url(https://pic03.eapple.com.tw/heybuddypet/文-3.png);
  background-size: contain;
  background-repeat: no-repeat;
  top: 21%;
  left: 70%;
  width: 100%;
  height: 0 !important;
  background-position: left;
  padding-bottom: calc(100% / 2* 0.65);
}
*/
.pageIndex .swiper-slide.swiper-slide-active:nth-child(1):before { animation: slide-top  1s 0.3s both;}
.pageIndex .swiper-slide.swiper-slide-active:nth-child(1):after  { animation: slide-top  1s 0.7s both;}
.pageIndex .swiper-slide.swiper-slide-active:nth-child(2):before { animation: slide-right  1s 0.3s both;}
/*.pageIndex .swiper-slide.swiper-slide-active:nth-child(2):after  {  animation: slide-right 1s 0.7s both;}*/

/*文字出現特效*/
@keyframes slide-left {
0% {-webkit-transform: translateX(-5%);  /* 一開始的位置 在X-100(最下方)*/
          transform: translateX(-5%);
          opacity:0;/*透明度0*/}
100% {-webkit-transform: translateX(0);/* 跑到最後終止的位置 在X-0(最上方)*/
          transform: translateX(0);
          opacity:1;/*透明度顯示*/}
}
@keyframes slide-right {
  0% {-webkit-transform: translateX(10%);  /* 一開始的位置 在Y-100(最下方)*/
            transform: translateX(10%);
            opacity:0;/*透明度0*/}
  100% {-webkit-transform: translateX(0);/* 跑到最後終止的位置 在Y-0(最上方)*/
            transform: translateX(0);
            opacity:1;/*透明度顯示*/}
}
@keyframes slide-top {
  0% {-webkit-transform: translateY(-20%);  /* 一開始的位置 在Y-100(最下方)*/
            transform: translateY(-20%);
            opacity:0;/*透明度0*/}
  100% {-webkit-transform: translateY(0);/* 跑到最後終止的位置 在Y-0(最上方)*/
            transform: translateY(0);
            opacity:1;/*透明度顯示*/}
}
/*上下浮動*/
@keyframes jump {
  0% {
      -webkit-transform: translateY(5%);
      transform: translateY(5%);
  }
  100% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
  }
}
/*
@keyframes run01{
  0% {
      background-position-x: 200px;
  }
  100% {
      background-position-x: -30px;
  }
}
.pageIndex #page .swiper-slide img {
  height: auto;
  transform: scale(1.4);
  animation: banner-img 2.8s forwards;
  animation-delay: 3s;
}

@keyframes banner-img {
  0%{
      opacity: 0.5;
      transform: scale(1.2);
  }
  100%{
      opacity: 1;
      transform: scale(1);
  }
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*選單設定*/
.nav-menu { margin: 0;}
.header_area .main_header_area .container {  max-width: 95%;  transition: all 0.3s;}
.header_area.sticky .main_header_area .container {   transition: all 0.3s;}
.nav-menu>li:not(.tp_links) {  padding-right: 15px;}

.nav-menu > li:hover > a,
.nav-menu > li.active > a,
.nav-menu > li.focus > a {
  color: #2B3047;
}

.nav-dropdown > li:hover > a,
.nav-dropdown > li.focus > a {
  color: #2B3047;
}

.nav-dropdown>li {  text-align: center;}

.nav-header {
  position: absolute;
  top: 50%;
  z-index: 98999999;
  transform: translate(0, -50%);
  transition: all 0.5s;
}

.sticky .nav-header {  top: 70px;  transition: all 0.5s;}
.nav-header::before {
  content: "";
  display: block;
  width: 100%;
  height: 150px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #000000;
  z-index: -1;
  border-radius: 0;
  opacity: 1;
  transition: all 0.3s;
}

.pageIndex .nav-header::before {
  top: -100px;
  opacity: 0;
  transition: all 0.3s;
  transition-delay: 0.5s;
}

.sticky .nav-header::before {
  top: 50%;
  opacity: 1;
  transition: all 0.3s;
  transition-delay: 0.5s;
}

.nav-header::after {}

.nav-header:hover:after {
  animation-play-state: paused;
  transition: all 0.3s;
}

.nav-header:hover:before {
  transition: all 0.3s;
  transition-delay: none;
}

@keyframes rotate {
  0% {
      transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
      transform: translate(-50%, -50%) rotate(360deg);
  }
}
.header_area {
  position: fixed;
  z-index: 9999;
  width: 100%;
  padding: 0;
  top: 0;
  background: transparent;
  transition: all 0.7s;
}

.header_area.sticky {
  top: 0px;
  background: transparent;
  transition: all 0.7s;
}

.main_header_area {
  position: relative;
  background: transparent;
}

.header_area .main_header_area::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #333333d6;
  position: absolute;
  top: -170px;
  left: 0;
  box-shadow: 1px 1px 10px #3d3d3d33;
  border-bottom: 1px #000000 solid;
  transition: all 0.85s cubic-bezier(0.68, 0, 0.265, 1.55);
}

.header_area.sticky .main_header_area::before {
  height: 100%;
  top: 0;
  transition: all 0.85s cubic-bezier(0.68, 0.1, 0.265, 1);
}
.stellarnav li.has-sub > a:after {  display: none;}
.stellarnav > ul > li:nth-of-type(1) {}

.stellarnav > ul > li > a {
  padding: 0px 15px;
  padding: 50px 15px 0 15px;
  color: #464646;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  font-size: 16px;
  line-height: 40px;
  height: 80px;
  margin: 0 15px;
  cursor: pointer;
  text-align: center;
  transition: all 0.5s;
}

.stellarnav > ul > li:hover > a:before{
  transform: translate(40%, -100%);
}

.stellarnav > ul > li > a:before {
  content: "";
  background: url(https://pic03.eapple.com.tw/heybuddypet/ICON-1-05.svg) no-repeat;
  background-size: contain;
  width: 35px;
  height: 35px;
  position: absolute;
  transform: translate(40%,-90%) ;
  text-align: center;
  transition: all 0.5s;
}
.sticky .stellarnav > ul > li > a:before {    filter: invert(1); transition: all 0.3s;}
.stellarnav > ul > li:nth-of-type(2) > a:before {
  background: url(https://pic03.eapple.com.tw/heybuddypet/ICON-2-06.svg) no-repeat;
  background-size: contain;
}
.stellarnav > ul > li:nth-of-type(3) > a:before {
    background: url(https://pic03.eapple.com.tw/heybuddypet/ICON-3-07.svg) no-repeat;
    background-size: contain;
}
  .stellarnav > ul > li:nth-of-type(4) > a:before {
    background: url(https://pic03.eapple.com.tw/heybuddypet/ICON-4-09.svg) no-repeat;
    background-size: contain;
}
  .stellarnav > ul > li:nth-of-type(5) > a:before {
    background: url(https://pic03.eapple.com.tw/heybuddypet/ICON-5-10.svg) no-repeat;
    background-size: contain;
}

.pageIndex .stellarnav > ul > li > a {  color: #2f2f2f;}
.sticky .stellarnav > ul > li > a {  color: #ffffff;  transition: all 0.5s;}
.stellarnav > ul > li > a b {  font-weight: 500;  transition: all 0.5s;}
.stellarnav > ul > li > a b:nth-of-type(2) {  color: #fff;  transition: all 0.5s;}

.stellarnav > ul > li > a:hover {  color: #5f5e5e;  transition: all 0.5s;}
.sticky .stellarnav > ul > li > a:hover {  color: #eeeeee;}
.header_area .navigation {
  display: flex;
  width: 100%;
  position: relative;
  padding: 30px 0;
  opacity: 1;
  transition: all 0.3s;
  flex-wrap: wrap;
}
.header_area.sticky .navigation {
  padding: 15px 0;
  opacity: 1;
  transition: all 0.5s;
  transition-delay: 0.5s;
}
/*購物車*/
.tp_links a { display: none;}
.me_tp_features a {  margin: 0 23px;  color: #7b7b7b;transition: all 0.3s; }
.me_tp_features .box_search {display: none;}
.sticky .me_tp_features a {   color: #ffffff; transition: all 0.3s; }

/*下拉*/
.nav-dropdown > li > a {
  background: #f7f5f5;
  transition: 0.2s;
  letter-spacing: 1.5px;
  width: 100%;
}

.nav-dropdown > li > a:hover {
  transition: 0.2s;
  background-color: #2B3047;
  color: #fff;
}

.nav-dropdown>li:hover>a .submenu-indicator-chevron,
.nav-dropdown>.focus>a .submenu-indicator-chevron {
  border-color: transparent #fff #fff transparent;
}

.stellarnav li li a {
  padding: 10px 15px;
  display: block;
  color: #000;
  background-color: transparent;
  transition: all 0.3s;
}

.stellarnav li li a:hover {
  color: #fff;
  background-color: #5f5e5e;
  transition: all 0.3s;
}
.stellarnav li li.has-sub > a {
  padding: 10px 15px;
}
.stellarnav ul ul {
  background: #ffffffd1;
}

/*LOGO設定*/
.header_area .nav-brand {
  display: inline-block;
  width: 150px;
  transition: all 0.5s;
}
.header_area.sticky .nav-brand {  width: 150px;  transition: all 0.5s;}
.header_area .nav-brand img {  filter: invert(1);  width: 100%;  max-width: 100%;  transition: all 1s;}
.pageIndex .header_area .nav-brand img {  filter: invert(0);}
.header_area.sticky .nav-brand img {  filter: invert(1);  transition: all 0.3s;}

@media screen and (max-width: 1440px) {
  .main_header_area .container {      max-width: 90%;  }
}

@media screen and (max-width: 1024px) {
  .header_area .navigation {      padding: 30px 0;  }
  .header_area.sticky .navigation {      padding: 20px 0;  }
  .pageIndex .header_area .main_header_area::before {  top: 0;  }

  /*改色*/
  .stellarnav > ul > li > a {  color: #ffffff;}
  .pageIndex .stellarnav > ul > li > a {   color: #ffffff;}
  .stellarnav > ul > li > a:hover {  color: #ebebeb;}
  .stellarnav > ul > li > a:before {filter: invert(1);}
  .me_tp_features a {   color: #ffffff;}
  /*---*/
  .stellarnav ul {   text-align: right;}
  .header_area {      position: relative;      top: 0;  }
  .header_area.sticky {    position: fixed;}
  .header_area .main_header_area::before {
      content: "";
      display: block;
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      transition: all 0.85s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  .me_tp_features { text-align: end;}
  .pageIndex .header_area .nav-brand img {    filter: invert(1);}
}

@media screen and (max-width: 768px) {
  .nav-header {        z-index: 0;   }
  .nav-header::before {  opacity: 0;  transition: all 0.3s;}

  .header_area.sticky .main_header_area::before {  height: 148%;}
  .header_area .main_header_area .container {      max-width: 90%;  }
  .header_area.sticky .main_header_area .container {      max-width: 90%;  }

  .nav-header {   transform: translate(22%, -50%);}
  .nav-header::before {  height: 110px; width: 80%;}
  .nav-brand-m {      display: block;      text-align: left;      padding: 15px 10px;  }
  .nav-brand-m img {      max-width: 200px;      width: 100%;  }
  .stellarnav.mobile {      top: 18px;  }
  .sticky .stellarnav.mobile {    top: 9px;}
  .stellarnav .menu-toggle span.bars span {      background: #fff;  }
  .stellarnav .menu-toggle:after {      color: #fff;  }
  .stellarnav.mobile>ul {      border-top: 0;  }

  .stellarnav.mobile.right .close-menu,
  .stellarnav.mobile.left .close-menu {      background: #000000;      color: #fff;  }

  .stellarnav .icon-close:after {      border-bottom: solid 3px #fff;  }
  .stellarnav .icon-close::before {      border-bottom: solid 3px #fff;  }
  .stellarnav.mobile>ul>li>a {      color: #666;      text-shadow: none;      padding: 15px 10px;  }
  .nav-brand {      display: inline-block;   width: 220px; z-index: 0; }
  .sticky .nav-header {  top: 50px;         z-index: 0;}
  .header_area .nav-brand {      width: 120px;  }
  .header_area.sticky .nav-brand {  width: 100px;}
  .header_area .navigation {   }
  .header_area.sticky .navigation {      padding: 10px 0;  }
  .header_area.sticky .stellarnav>ul {
      margin: 0;
      padding: 0;
      border: 0;
      text-align: right;
      transition: all 0.3s;
  }
  .stellarnav.mobile.right .close-menu,
  .stellarnav.mobile.left .close-menu {
      display: inline-block;
      text-align: right;
      font-size: 12px;
      background: #696969;
      color: #fff;
  }
  .stellarnav .icon-close:after {      border-bottom: solid 3px #fff;  }
  .stellarnav .icon-close:before {      border-bottom: solid 3px #fff;  }
  .stellarnav.mobile > ul > li > a {      padding: 25px 43px 25px 40px;  }
  .stellarnav.mobile > ul > li > a.dd-toggle {      padding: 0;      position: absolute;      top: 20px;  }

  .stellarnav > ul > li > a:before {
    filter: invert(0);
    width: 20px;
    height: 20px;
    transform: translate(-135%, 10%);
  }
  .stellarnav > ul > li:hover > a:before{
    transform: translate(-135%, 10%);
  }
  .sticky .stellarnav > ul > li > a:before {   filter: invert(0);}

  .stellarnav.mobile > ul > li > a.dd-toggle::before{display: none;}

  .stellarnav.mobile.left>ul {      left: 0;      padding: 0;      border: 0;          background: #ccc; }
  .stellarnav.mobile li.open {      background: transparent;      padding: 0px;  }
  .stellarnav li li:hover {
      background: inherit;
      border-radius: 0;
      color: inherit;
      transform: none;
      box-shadow: none;
      z-index: 100000;
      transition: all 0.3s;
  }

  .stellarnav li li:hover>a {      color: inherit;      transition: all 0.3s;  }
  .stellarnav.mobile li.open li.open {      background: transparent;      padding: 0px;  }
  .stellarnav.mobile li li.has-sub a {      padding: 15px 43px 15px 10px;  }
  .stellarnav.mobile li.open li.open {      background: transparent;      padding: 0;  }
  .stellarnav.mobile li a {      border-bottom: 0;  }
  .stellarnav li li a {      padding: 15px 15px;      color: #666;  }
}
@media screen and (max-width: 600px) {
  .header_area.sticky .main_header_area::before {  height: 111%;}
  .stellarnav.mobile {    top: 34px; transition: all 0.3s;         z-index: 999; }
  .sticky .stellarnav.mobile {    top: 18px; transition: all 0.3s; }
  .me_tp_features {       width: 80%;  display: flex;    flex-direction: column;       margin: 0px 0 0;}
  .me_tp_features a {    margin: 2px 10px;}
}
@media  screen and (max-width: 570px) {
  .me_tp_features a.tp_btn_cart, .me_tp_features a.tp_btn_notice {      display: inline-block;  }
  .nav-header::before {    height: 99px;    width: 66%;}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/* 商品下拉超過30個變大 */
.stellarnav.desktop li.bigMenu>ul{display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); left: 0; width: 100%; position: fixed; padding: 20px;}
.stellarnav.desktop li.bigMenu ul ul{top: 100%; left: 0; width: 100%; background: #efefef; height: auto; max-height: 300px; overflow: auto;}
.stellarnav.desktop li.bigMenu ul ul li{margin: 0;} 
.stellarnav.hasBigMenu li.bigMenu li.has-sub > a:after{border-left: 6px solid transparent; border-bottom:unset; border-right: 6px solid transparent; border-top: 6px solid #898989; right: 5px;}
/* 主分類超過30個但次分類直接顯示 
.stellarnav.desktop li.bigMenu>ul{grid-gap: 10px;}
.stellarnav.desktop li.bigMenu li{border: 0;}
.stellarnav.desktop li.bigMenu>ul>li>a{border: 1px solid #ddd;}
.stellarnav.desktop li.bigMenu ul ul{display: block !important; position: relative; top: 0; background: unset; border: 0;}
.stellarnav.desktop li.bigMenu ul ul li{border: 0;}
 主分類超過30個但次分類直接顯示-結束 */
/* 商品下拉超過30個--結束 */

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*footer*/
.footer {    background: #333333;    padding-top: 50px;}

.footer .center {    max-width: 1500px;}

.footer_info {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.footer_logo {
    max-width: 14%;
    text-align: center;
    z-index: 1;
    filter: invert(1);
}

.footer_info ul {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 70px;
    align-items: center;
}
.footer_info li p, .footer_info li p a {    color:#fff;     letter-spacing: 2px; margin-bottom: 5px;}

p.add {    display: none;}

.footer_info li:nth-child(1) {
    display: flex;
    flex-direction: column;
    z-index: 2;
}
.footer_info li:nth-child(2) {    z-index: 2;}

.footer_menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}
.footer_menu a {
    color: #a19f9f;
    border: none;
    position: relative;
    padding: 8px 14px;
    background:none;
}
.footer_menu a:hover {
    background: none;
    color: #ffffff;
}

.footer_menu a:first-child {    display: none;}

.footer_menu a:before {
    content: "";
    width: 0%;
    height: 1px;
    background: rgb(191 191 191);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all .5s;
    transition-timing-function: ease-in-out;
}
.footer_menu a:hover:before {
    width: 100%;
}
.box_link {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    max-width: 100%;
    bottom: 0;
    position: relative;
    right: 0;
}
.box_link a {
    height: 40px;
    border-radius: 56px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border: none;
    margin: 5px;
    backdrop-filter: blur(4px);
    transition: all .5s;
    color: #a1a1a1;
    font-size: 15px;
}

.fa-phone-volume::before {    font-size: 17px;}
.box_link a:hover {    background: #ffffff;}
.box_link a:hover i {   }

/*版權*/
.copy {
  font-size: 9px;
  color: #ffffff;
  border-top: 1px #ffffff solid;
  background: #333333;
  letter-spacing: 3px;
  margin-top: 30px;
}
.copy a {  color: #ffffff;}
.copy a:hover {  color: #ffffff;}

@media screen and (max-width: 768px) {
.box_link {  /* order: 3; */  justify-content: center;}
.footer_info ul {  /* flex-direction: column; */  position: relative;  align-items: flex-start;}
.footer_logo {  max-width: 20%;}
.footer_info li:nth-child(2) {  margin-top: 0;}
}
@media (max-width:600px) {
  .footer_info ul {      flex-direction: column;      padding: 0 20px;      align-items: center;  }
  .footer_info li:nth-child(1) {      align-items: center;  }  
  .footer_info li:nth-child(2) {      margin-top: 13px;  }
  .footer_menu {       grid-template-columns: 1fr 1fr 1fr;  }
  .footer_logo {display: none;}
  .box_link {      order: 3;  }
}
@media (max-width:375px) {
  .footer_menu {      }
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*內頁BANNER 設定*/

.banner {
  background-image: url(https://pic03.eapple.com.tw/heybuddypet/banner.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 450px;
  background: #7e7e7e;
}
.banner h5 {
  color: #ffffff;
  letter-spacing: 15px;
  font-size: 33px;
  position: absolute;
  top: 35%;
  right: 10%;
}
.banner.banA {}
.banner.banB {}
.banner.banC {}
.banner.banD {}
.banner.banE {}
.banner.banblog {}

.other_select_page.bodyDesktop .banner h5{display: none;}

@media screen and (max-width: 1024px) {
  .banner {    height: 250px;}
  .banner h5 {    font-size: 26px;  }
}
@media screen and (max-width: 600px) {
  .banner {    height: 140px;     min-height: 27vw;}
  .banner h5 {    font-size: 24px;  top: 18%;    letter-spacing: 7px;  font-size: 20px;   position: relative;  top: 0%;          right: 0%;}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*下拉編輯頁*/
.other_select_page.bodyDesktop .promotion_title h2 {display: none;}
.other_select_page.bodyDesktop .other_promotion{display: none;}
.other_select_page.bodyDesktop  ul.page {  display: none;}

@media screen and (max-width: 768px){ 
  .other_select_page.bodyMobile .other_promotion{display: none;}
  .other_select_page.bodyMobile .promotion_title h2 {display: none;}
  .other_select_page.bodyMobile  ul.page {  display: none;}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*首頁促銷方案*/
.news_part {background: #e9e1da;}
.news_part .title_i_box h4 {
  font-size: 28px;
  color: #2d2d2d;
  font-weight: 600;
  letter-spacing: 3px;
}
.i_news_b a {  border-radius: 20px;}
.i_news_b a:hover {    background: #2d2d2d;}
.news_list ul li { border:none;   border-bottom: none;}
.news_list ul li:hover { }
.news_list ul li a{
  border: 1px #2d2d2d solid;
  margin-bottom: 8px;
  border-radius: 50px;
  box-shadow: 0px 2px 5px #b1b1b161;
  background: #ffffff;
}
.news_list ul li a:hover {   background: #2d2d2d;}
.news_list ul li a:hover span {   color: #fff;}
.news_list ul li a:hover p {   color: #ffffff;}
.news_list ul li p:after {  transform: translateX(-50%) translateY(-50%);}
.news_list ul li a:hover p:after {   color: #fff;}

/*促銷方案*/
.promotion_title * {  color: #2d2d2d; font-weight: 600;   font-size: 16px;   letter-spacing: 1px;}
.promotion_title { text-align: center;}
.promotion_title em {  border:none; padding: 6px 15px; margin: 0 0px 0px 0; background: #2d2d2d;  color: #fff;  border-radius: 50px;}
.promotion_title span { border:none; padding: 6px 0px;   margin: 0px 0px 0px 0;}
.promotion_title h2 {  display: block;  font-size: 30px;     border-bottom: 2px #2d2d2d solid;  padding: 0px 0px 10px 0px;}
.promotion_title h2 span {   display: none;}
.other_promotion li a {  border: none; border-top: 1px solid #e5e5e5;   }
.other_promotion li a:hover {  background: none;}
.other_promotion li a:before { border: 2px #2d2d2d solid; border-bottom: none;  border-right: none; border-left: none;}
.other_promotion li a:after { display: none;}

@media screen and (max-width: 768px) {
  .news_part .title_i_box h4 {   font-size: 24px;}
  .news_part {  margin: 0px auto;     padding: 40px 20px;  width: 100%;}
  .news_list ul li {   background: #ffffff;         border-radius: 20px;}
}
@media screen and (max-width: 600px) {
  .news_list ul li a {    border-radius: 20px;   padding: 15px;}
  .news_list ul li p:after {   transform: translateX(0%) translateY(10%);}
}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*文章設定*/
/*一排呈現
.subbox_item { width:100%;}
*/
/*首頁文章*/
.module_i_news {
  max-width: 100%;
  padding: 160px 5% 80px;
  margin: auto;
  background: #fff;
  position: relative;}
.module_i_news:last-of-type {background: #fafafa;}
.module_i_news .title_i_box {margin-bottom: 30px;text-align: center;position: relative;display: flex;justify-content: center;}
.module_i_news .title_i_box h4 {font-size: 0;}
.module_i_news .title_i_box h6 {font-family: 'Libre Baskerville';font-weight: bold;font-size: 100px;
  color: #f5f5f5;position: absolute;transform: translate(-50%, -50%);top: -60%;left: 50%;}

.module_i_news ul{
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  margin: 50px auto;}
.module_i_news li{
  width: 25%;
  padding: 0 5px;
  margin: 0 0 20px 0;}
.module_i_news li:nth-child(n+5){display: none;}
.module_i_news li a {display: flex;flex-direction: column;overflow: hidden;padding: 10px;background: #ffffff;}
.module_i_news li a:before {content: '+ MORE';font-size: 17px;display: flex;transform: translate(-50%, 0%) scale(0, 0);left: 50%;right: 0;
  bottom: 50%;height: 150px;line-height: 50px;opacity: 0;color: #fff;background: #2d2d2dd9;transition: all .3s;
  width: 150px;border-radius: 100%;text-align: center;justify-content: center;align-items: center;letter-spacing: 0.05em;}
.module_i_news li a:after {display: none;}
.module_i_news li a:hover:before, .module_i_news li a:hover:after {transform: translate(-50%, 0%) scale(1, 1);opacity: 1;}
.i_blog_le{width: 100%; padding: 0;padding-bottom: 100%;height: 0;overflow: hidden;position: relative;}
.i_blog_le img {position: absolute;transform: translate(-50% , -50%);min-height: 100%;object-fit: cover;top: 50%;left: 50%;}
.i_blog_ri {display: flex;flex-direction: column;flex-wrap: wrap;width: 100%;
  background: unset;min-height: 150px;padding: 10px;text-align: center;}
.i_blog_ri h5{font-size: 20px;font-weight: 600 !important;color: #2d2d2d !important;height: 75px;
  -webkit-line-clamp: 2;letter-spacing: 0.05em;order: 2;line-height: 1.5;padding: 10px 0;}
.i_blog_ri em {color: #000000 !important; order: 1;margin: 0;}
.i_blog_ri p{line-height: 1;letter-spacing: 0.05em;font-size: 15px;-webkit-line-clamp: 1;order: 3;}
@media screen and (max-width: 1024px){
.module_i_news li {width: 33.333%;margin: 0 0 50px 0;}
.i_blog_ri h5 {font-size: 18px;}
}
@media screen and (max-width: 768px){
.module_i_news {padding: 150px 5% 80px;}
.module_i_news .title_i_box h6 {font-size: 80px;}
.module_i_news li {width: 50%;margin: 0 0 30px 0;border-bottom: 0;}
.module_i_news li a:before {font-size: 15px;height: 120px;width: 120px;bottom: 55%;}
}
@media screen and (max-width: 600px){
.module_i_news {padding: 100px 5% 50px;}
.module_i_news .title_i_box:before {height: 25px;}
.module_i_news li {width: 100%;}
.module_i_news li a {padding: 5px;}
.i_blog_ri h5 { font-size: 17px;height: 65px;}
.module_i_news li a:before {font-size: 14px;height: 90px;width: 90px;bottom: 60%;}
}

/*文章設定*/
/*(新)文章分類*/
/*文章管理*/
h5.blog_le_t {font-size: 20px;letter-spacing: 2px;margin-bottom: 10px;text-align: center;font-family: auto;color: #000;}
h5.blog_le_t em {padding-right: 5px;}
/*大分類*/
.blog_box {display: flex;padding: 0;flex-wrap: wrap;justify-content: space-between;}
.blog_le {width: 18%;padding: 0;}
.blog_ri {width: 78%;padding: 0;}
.blog_subbox{grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));}
.subbox_item{padding: 5px;margin: 0 0 20px 0;}
.subbox_item a {display: flex;flex-direction: column;overflow: hidden;padding: 5px;border: 1px dotted #000000;}
.subbox_item a:before {
  transform: translate(-50%, 0%);
  left: 50%;
  right: 0;
  bottom: -15%;
  letter-spacing: 2px;
  height: 48px;
  line-height: 48px;
  opacity: 0;
  display: block;
  color: #fff;
  background: #2d2d2d;
  width: 100%;
  text-align: center;
}
.subbox_item a:hover:before{bottom: 0;}
.subbox_item a:after {display: none;}
.submenu li.on_this_category a, .submenu a:hover { background: #979797;}
.blog_list_le{width: 100%; padding: 0;padding-bottom: 100%;height: 0;overflow: hidden;position: relative;}
.blog_list_le img {position: absolute;transform: translate(-50% , -50%);min-height: 100%;object-fit: cover;top: 50%;left: 50%;}
.blog_list_ri {width: 100%;background: #ffffff00;padding: 10px 10px;}
.blog_list_ri h5{font-size: 18px;font-weight: 500 !important;color: #2d2d2d !important;}
.blog_list_ri em {color: #000000 !important;}
.blog_list_ri p{line-height: 160%;min-height: 45px;font-size: 14px;-webkit-line-clamp: 2;}
.blog_page h4.blog_category_title, .blog_in_page h4.blog_category_title {font-weight: 500;color: #2d2d2d;border-bottom: 1px #000000 solid;letter-spacing: 0.05em;}
.blog_le .accordion {border-radius: 0;border: unset;background: unset;}
.blog_le .accordion > li:hover, .blog_le .accordion > li.on_this_category {    background: #2d2d2d !important;}
.accordion li .link {text-align: center;font-weight: normal;letter-spacing: 1px;}
.blog_le .accordion li .link:last-child {border-bottom: 1px solid #000000;}
.accordion li .link a {color: #3e3a39;}
.blog_search input[type=search] {border-radius: 5px;letter-spacing: 1px;padding: 10px 35px 10px 20px;    background: #d5d5d5;  border: solid 1px #000000;}
.blog_box_edit * {line-height: 180%;}
.blog_box_edit * iframe {min-height: 500px;}
/*文章內頁按鈕*/
.blog_back {
  display: flex;
  width: 100%;
  text-align: center;
  justify-content: space-between;}
.blog_back a {
  width: 33%;
  padding: 15px;
  border-radius: 5px;
  letter-spacing: 2px;}
.blog_back a.article_btn_back {    background: #d5d5d5; border: 1px solid #000000; color: #000000;}
.blog_back a.article_btn_back:hover {background: #2d2d2d;border: 1px solid #2d2d2d;color: #ffffff;}
.blog_back a.article_btn_prev, .blog_back a.article_btn_next  {background: #9d9d9d;}
.blog_back a.article_btn_prev:hover, .blog_back a.article_btn_next:hover  {background: #2d2d2d;}

/*相關推薦*/
.news_related { background: #f3f3f3;}
.news_related h6 span:before {  color: #2d2d2d;}
.lastPage {  background: #2d2d2d;}

@media screen and (max-width: 1024px){
.blog_box {flex-direction: column;}
.blog_le, .blog_ri {width: 100%;}
}

@media screen and (max-width: 768px){
.blog_page .main_part {padding: 30px 5%;}
.subbox_item {margin: 0;}
.blog_page h4.blog_category_title{display: none;}
h4.blog_category_title {font-size: 22px;}
.blog_box_edit * {font-size: 16px !important;}
}

@media screen and (max-width: 475px){
.subbox_item { } 
.subbox_item a {align-items: center;}
.blog_box_edit * iframe {min-height: 250px;}
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*相簿*/
.other_subalbum li a p {
  text-align: center;
  letter-spacing: 1px;
  font-size: 18px;
  font-weight: 600;
  color: #616161;
}
.other_subalbum li a p:hover{color: #6161618f ;}
@media screen and (max-width: 600px){
  .other_subalbum li a p {  font-size: 15px;}
}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*相本分類全版面 ( 限制最寬2000px
.work_page .main_part { max-width:2000px;}
.work_page .show_content { padding:0; width:100%;}
.work_page .show-list .item { width:33%; display:inline-block; float:none; margin:0; padding:0;}
@media screen and (max-width: 768px) {
.work_page .show-list .item { width:49%;}
}
@media screen and (max-width: 570px) {
.work_page .show-list .item { width:100%;}
}
.work_page .show-list .item a { max-width:100%;}
.work_page .show-list .show_pic { height:auto; line-height:0;}
.work_page .show-list .show_pic img { max-width:100%; max-height:100%;}
.work_page .show-list .show_name { position:absolute; top:50%; right:10%; width:80%; height:auto; line-height:160%; font-size: 20px; color: #FFFFFF !important; border: solid 1px #fff; text-align: center; margin: -20px 0 0 -120px; padding:5px 20px; transition:all ease-in .3s; opacity:0;}
.work_page .show-list .item:hover .show_name {opacity:1;}
*/

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*相本列表
.work_info_page .main_part { max-width:2000px;}
.work_info_page .show_content { padding:0; width:100%;}
.work_info_page .subalbum-menu { text-align:center;}
.work_info_page .subalbum-menu h2 { float:none;}
.work_info_page .pic-list .item { margin:0; padding:10px; width:49%; float:none; display:inline-block;}
@media screen and (max-width: 768px) {
.work_info_page .pic-list .item { width:100%;}
}
.work_info_page .pic-list .show_pic { height:auto; line-height:0;}
.work_info_page .pic-list .show_pic img { max-width:100%; max-height:100%;}
.work_info_page .pic-list .item a { max-width:100%; pointer-events: none; cursor: default; } 取消連結被點擊效果
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 by shint at 2023.1.5  */
.product_page .main_part { max-width:1500px;}
/* .product_info_page .main_part { max-width:1200px;} */

.product_page .show_content,
.product_info_page .show_content { width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; align-content: flex-start;}
.product_page .product_menu_list { position: relative; width: 220px; letter-spacing: 1px; /*border-right: 1px solid #2d2d2d;*/min-height: 30vw;}
.product_page .products-list,
.product-wrapper { width: calc(100% - 270px);}
ul.page { width: 100%;}

.product-layer-two li a {  background: none;  padding: 13px 16px; border:0; color: #000000;}
.product-layer-two li i {  top: 6px;}
.product-layer-two li ul { position:static; margin-top:5px; /*display:block !important;*/ width:100%; margin-left:0;}
.product-layer-two li:hover ul { border: none !important; /*display:block !important;*/}
.product-layer-two li li { display: block; padding:0; transition:all ease .3s; background: none;}
.product-layer-two li li a{ padding:5px 10px;  background: none;}
.product-layer-two li li:hover > a { background: none; color:#2d2d2d82;}
.product-layer-two > li { width:100%; max-width:100%; padding:0; text-align:left; border-bottom:1px dotted #2d2d2d; padding-bottom: 5px;}
.product-layer-two > li ul > li + li { margin-top:5px;}

.product-layer-two li.active a {  border: none;}
.product-layer-two li li.active a {  background: #e5d4c3;}

.products-list .price b { color: #7d7b76;}
.products-list .more {  border: 1px solid #2d2d2d;  color: #2d2d2d;  }
.products-list .item a:hover .more { background: #2d2d2d;}

.product_info_page .product-layer-two { display: none;}
.product_info_page .products-list,
.product-wrapper { width: 100%;}

.product-layer-two li li:hover{ margin-left: 15px;}
.product-layer-two li li > a:before { content: ""; position: absolute; width: 12px; height: 8px; background: transparent; left: 0; margin-left: -20px; top: 50%; margin-top: -4px; clip-path: polygon(0 0, 100% 50% , 0 100%);}
.product-layer-two li li:hover > a:before { background:#2d2d2d82;}

.product_info_page .half_box { width: 100%; float: none; padding-right: 0;}
.product_info_page .half_box li.btn_blankTop { margin-top: 50px; justify-content: space-between; display: flex;}
.product_info_page .half_box li.btn_blankTop input { width: calc(50% - 10px); background-image: none; padding: 0; text-align: center;}

/*商品內頁*/
.sidebarBtn {  border: 1px #a3a38e solid;}
.inquiry_a1 {  background: #adacac;}
.inquiry_a2 {  background: #0c0a0a;}
.inquiry_a3 {  background: #474747;}

/*相關推薦*/
.prod_related { background: #f3f3f3;}
.prod_related h6 span:before {  color: #2d2d2d;}
@media screen and (max-width: 1200px) {
}
@media screen and (max-width: 980px) {
}
@media screen and (max-width: 768px) {
.product_menu_list,
.products-list,
.product-wrapper { width: 100%;}
.product-layer-two { margin-right: 0; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); grid-gap: 5px;}
.product_page .product-layer-two,
.product_page .products-list { width: 100%; border-right: none;}
.product_page .product_menu_list>h5{display: block;}

.product_page .show_content > a { order: 1;}
.product_page ul.products-list { order: 2;}
.product_page ul.page { order: 3;}
.product_page .product_menu_list {width: 100%; order: 0; min-height: unset;}
}
@media screen and (max-width: 600px) {
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*首頁聯絡我們*/
.i_contact_box{}
.contact_content .information_left { }
.pageIndex .contact_content .information_right {     
  padding: 3% 3%;
  border: 2px #2d2d2d solid;
  border-radius: 20px;
  background: #ffffffad;
}
.pageIndex .contact_form li:has(input[type=checkbox]) .form__insert, .pageIndex .contact_form li:has(input[type=radio]) .form__insert { grid-template-columns: repeat(auto-fit, minmax(13px, 13px) minmax(150px, 1fr));}
/*聯絡我們*/
.contact_form li input.noborder {   border: unset; background: unset;}
.contact_form li textarea.noborder {    border: unset; background: unset;}
.contact_form li {
    display: block;
    border-bottom: 1px solid #C2BCB4;
    padding-bottom: 10px;
    width: 48%;
}
.contact_form li .form__label {   color: #393b38; text-align: left; margin-bottom: 5px;}
.contact_form li.last cite {    background:#2d2d2d;}
.contact_form li.last blockquote, .contact_form li.last cite {    border: 1px#2d2d2d solid;}
.contact_content .information_right {}
.contact_form {  grid-gap: 15px; display: flex;      flex-wrap: wrap;}
.contact_form li.last {      justify-content: flex-start;}
.contact_editbox {   padding: 0px;}
.blank_letter {  color: #2d2d2d;}
.contact_le_map a {display: none;}
@media screen and (max-width: 1440px) {
  .contact_form li {    width: 47%;}
}
@media screen and (max-width: 1024px) {
    .contact_content .information_right {   width: 100%;}
}
@media screen and (max-width: 825px) {
    .list_before.info li {    width: 90%; }
}
@media screen and (max-width: 768px) {
  .pageIndex .contact_form li:has(input[type=checkbox]) .form__insert, .pageIndex .contact_form li:has(input[type=radio]) .form__insert {   grid-template-columns: repeat(auto-fit, minmax(13px, 13px) minmax(100px, 1fr));  }
    .contact_page .contact_content {   padding: 30px 15px;}
    .contact_content .information_right {padding-left: 0px; padding: 0px; }
    .contact_form li .form__label {     width: 100%;    }
    .contact_form li .form__insert {  width: 90%;}

}
@media screen and (max-width: 600px) {
    .contact_form li .form__label {   text-align: left;  margin-bottom: 5px;}
    .contact_form {     display: grid;}
    .contact_form li {      width: 100%;  }
    .contact_form li .form__label {   background: rgb(255 255 255 / 60%);}
  }

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*會員系統*/
.member_title h2 {  border-bottom: 2px #000000 solid;}
.login_mem_submit {  background: #454545;}
.login_mem_other_link a {  color: #5d5d5d;}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu {display: none; }
.footer.with_shopping_mode { padding:30px 0 10px; }
#to_top { bottom:60px;}
}

@media screen and (max-width: 600px) { 
}




