

/* 全站禁止選取（如需只對部分區域套用，改用 .no-select） */
img{
	  -webkit-user-select: none; /* Safari/Chrome iOS/Android */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
  user-select: none;         /* standard */

  -webkit-touch-callout: none; /* iOS: 禁止長按呼叫選單 */
  -webkit-tap-highlight-color: rgba(0,0,0,0); /* 去除點擊高亮（選用） */
}

figure.wp-block-gallery.has-nested-images.sliders {
    overflow: hidden;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    position: relative;
}

.sliders .wp-block-image.size-large {
    transition: all 0.3s ease,width 0s;
    position: absolute !important;
}

.sliders .left {
    left: -100% !important;
    opacity: 0;
}

.sliders .right {
    left: 100% !important;
    opacity: 0;
}

.sliders .close {
    display: none !important;
}

.sliders .wp-block-image.size-large.show {
    position: relative !important;
    left: 0;
    z-index: 9998;
}

.sliders .prebtn {
    display: block;
    width: 10%;
    position: absolute;
    z-index: 9999;
    height: 100%;
}

.sliders .nextbtn {
    display: block;
    width: 10%;
    position: absolute;
    z-index: 9999;
    height: 100%;
    right: 0;
}

.sliders .prebtn::after {
    content: "〈";
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    font-size: 25px;
}

.sliders .nextbtn::after {
    content: "〉";
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    font-size: 25px;
}

.sliders .nextbtn:hover {
    background: #00000024;
}

.sliders .prebtn:hover {
    background: #00000024;
}

.sliders .wp-block-image.size-large.next {
    width: 100% !important;
}

.footer_icon {
    width: 40px;
    height: 40px;
    border-radius: 58px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5px;
    transition: all 0.5s ease;
    background: #f9c6d4;
}

.footer_icon:hover {
    background: #e6819d;
    transform: rotate(360deg);
    outline: 3px solid #e6819d;
    outline-style: dashed;
    outline-offset: 5px;
    /* 距離外側間距 */
}

.hasAutoplay #pbAutoplayBtn {
    display: none;
}

.on #pbCloseBtn {
    top: 20px;
    right: 20px;
}

#pbCloseBtn:before, #pbAutoplayBtn:before {
    FONT-WEIGHT: 600;
    border-radius: 20px;
    padding: 8px 8px 6px 8px;
}

#pbCloseBtn:hover:before {
    padding: 10px 10px 8px 10px;
}

#pbNextBtn b {
    transform: scale(.9) translateX(-20px);
    -webkit-transform: scale(.9) translateX(-20px);
}

#pbPrevBtn b {
    transform: scale(.9) translateX(20px);
    -webkit-transform: scale(.9) translateX(20px);
}

#pbPrevBtn b:before, #pbNextBtn b:after {
    font-size: 8em;
}

#pbOverlay.on .prevNext {
    opacity: .5;
    text-shadow: none;
}

#pbOverlay.on .pbNextBtn {
    opacity: .5;
    text-shadow: none;
}

.show.on #pbCaption {
    width: 100%;
    bottom: 80px;
    padding: 10px;
}

.ct-panel-inner {
    width: 265px !important;
    display: block;
}
#pbOverlay .pbLoader {
    background: none;
    border: none;
    box-shadow: none;
}
#pbOverlay .pbLoader {
  animation-delay: 1.56s;
}

#pbOverlay .pbLoader b:nth-child(n+2) {
  display:none;
}

#pbOverlay .pbLoader b:nth-child(1) {
  height:10px;
  animation: loadingJ 1.5s cubic-bezier(0.17, 0.37, 0.43, 0.67) infinite;
}

@keyframes loadingJ {
  0%,
  100% {
    transform: translate(-60px, 0);
    width: 15px;
  }

  50% {
    transform: translate(60px, 0);
    background-color: #ff7ca8;
    width: 30px;
  }
}
/* ==============================
   自訂搜尋框
   ============================== */

.ice-search {
    width: 100%;
    padding-bottom: 10px;
    margin: 0;
}

.ice-search-box {
    width: 100%;
    height: 33px;

    display: flex;
    align-items: center;

    background: #fff;

    border: 1px solid #e9e3e6;
    border-radius: 5px;

    overflow: hidden;

    box-sizing: border-box;
}


/* 輸入框 */

.ice-search-input {
    flex: 1;
    min-width: 0;
    height: 100%;

    padding: 0 10px;

    border: 0 !important;
    outline: 0 !important;

    background: transparent !important;

    font-size: 16px;
    line-height: 16px;

    box-shadow: none !important;
}


/* 點擊輸入框 */

.ice-search-input:focus {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}


/* 搜尋按鈕 */

.ice-search-button {
    flex: 0 0 40px;

    width: 40px;
    height: 100%;

    padding: 0 !important;
    margin: 0 !important;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0 !important;
    border-radius: 0 !important;

    background: #e9e3e6 !important;

    cursor: pointer;

    box-shadow: none !important;
}


/* 搜尋 icon */

.ice-search-icon {
    width: 14px;
    height: 14px;

    display: block;

    border: 2px solid #555;
    border-radius: 50%;

    position: relative;

    box-sizing: border-box;
}


/* 放大鏡把手 */

.ice-search-icon::after {
    content: "";

    position: absolute;

    width: 6px;
    height: 2px;

    background: #555;

    right: -5px;
    bottom: -2px;

    transform: rotate(45deg);
    transform-origin: left center;
}


/* Chrome / Safari 搜尋框 X */

.ice-search-input::-webkit-search-cancel-button {
    cursor: pointer;
}