@media (max-width: 849px) {
  .mobile-sidebar .nav-sidebar > li > a {
    font-size: 15px !important;
    font-weight: 500 !important;
  }
}

@media (max-width: 849px) {
  .product-small .product-title a {
    font-size: 15px !important;
		font-weight: 500 !important;
    line-height: 1.5 !important;
  }

  /* 現在售價 */
  .product-small .price,
  .product-small .price .amount,
  .product-small .price bdi {
    font-size: 15px !important;
    font-weight: 400 !important;
  }

  /* 被劃掉的原價 */
  .product-small .price del,
  .product-small .price del .amount,
  .product-small .price del bdi {
    font-size: 12px !important;
    font-weight: 300 !important;
  }
}

/* 商品頁隱藏貨號與標籤 */
.single-product .product_meta .sku_wrapper,
.single-product .product_meta .tagged_as {
  display: none !important;
}

/* 商品規格選項與價格增加距離 */
.product-info .variations_form {
    margin-top: 30px;
}

/* 多規格商品：第二排選項增加上方間距 */
.product-info .variations tr:nth-child(2) td,
.product-info .variations tr:nth-child(2) th {
    padding-top: 20px !important;
}

/* 商品標題與簡短說明距離 */
.product-info .product-title {
    margin-bottom: 5px !important;
}

.product-info .product-short-description {
    margin-top: 0 !important;
}

.product-info .product-short-description p {
    margin-top: 0 !important;
}
/* ========================================
   Flatsome 手機版 Lightbox 搜尋優化
   1. 搜尋列往上移
   2. 移除外框光暈 / 陰影
   3. 保持手機左右安全距離
   ======================================== */

@media (max-width: 849px) {

    /* Lightbox 內容改成靠上排列 */
    .mfp-container {
        padding-top: 12vh !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box !important;
    }

    .mfp-content {
        vertical-align: top !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 搜尋區塊寬度 */
    .mfp-content .searchform-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;

        /* 移除外圍光暈 */
        box-shadow: none !important;
        filter: none !important;
        text-shadow: none !important;
    }

    /* 搜尋表單本體 */
    .mfp-content .searchform {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;

        box-shadow: none !important;
        filter: none !important;
        border: none !important;
        outline: none !important;
    }

    /* 輸入框 */
    .mfp-content .search-field {
        box-shadow: none !important;
        filter: none !important;
        outline: none !important;
        border: none !important;
    }

    /* 點擊輸入時也不要發光 */
    .mfp-content .search-field:focus {
        box-shadow: none !important;
        outline: none !important;
        border: none !important;
    }

    /* 右側橘色搜尋按鈕也移除陰影 */
    .mfp-content .submit-button,
    .mfp-content button[type="submit"] {
        box-shadow: none !important;
        filter: none !important;
        outline: none !important;
    }
}
/* 商品頁：價格與規格之間加入灰色分隔線 */
.product-info form.variations_form {
    border-top: 1px solid #e5e5e5;
padding-top: 18px;
margin-top: 18px;
}
/* 隱藏變化商品的「清除」文字 */
.product-info .reset_variations {
    display: none !important;
}
/* 商品規格按鈕－未選取 */
.product-info .cfvsw-swatches-option .cfvsw-swatch-inner {
    background: #fff !important;
    color: #666 !important;
    border-color: #d9d9d9 !important;
    box-shadow: none !important;
}
/* 商品規格按鈕－已選取：整顆棕底白字 */
.product-info .cfvsw-swatches-option.cfvsw-selected-swatch {
    background: #7a4f2f !important;
    border-color: #7a4f2f !important;
    color: #fff !important;
    box-shadow: none !important;
}
/* 內層不要自己再產生一塊背景 */
.product-info .cfvsw-swatches-option.cfvsw-selected-swatch .cfvsw-swatch-inner {
    background: transparent !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    height: 100% !important;
}
/* 手機版商品價格放大 */
@media (max-width: 849px) {
    .product-info .product-page-price {
        font-size: 25px !important;
        line-height: 1.15 !important;
        font-weight: 700 !important;
    }
}
/* 手機版商品名稱放大 */
@media (max-width: 849px) {
    .product-info .product-title {
        font-size: 24px !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
    }
}
/* 手機版商品副標放大 */
@media (max-width: 849px) {
    .product-info .product-short-description {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    .product-info .product-short-description p {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }
}

/* 隱藏商品頁社群分享圖示 */
.product-info .social-icons,
.product-info .share-icons {
    display: none !important;
}
/* 商品基本資訊與下方描述區之間縮短留白 */
.product-info {
    padding-bottom: 0 !important;
}

/* 隱藏商品頁分類與品牌 */
.product-info .product_meta {
    display: none !important;
}
/* 商品購買區與下方內容之間縮短空白 */
.product-main {
    padding-bottom: 0 !important;
}

/* 隱藏 Flatsome 商品頁「描述」標題欄 */
.product-footer .product-page-sections .product-section > .row > .large-2 {
    display: none !important;
}

/* 描述內容改成全寬 */
.product-footer .product-page-sections .product-section > .row > .large-10 {
    flex-basis: 100% !important;
    max-width: 100% !important;
}
/* 產品資訊上方灰線＋統一上下留白 */
.product-footer .product-page-sections .product-section {
    border-top: 1px solid #e5e5e5 !important;
    margin-top: 18px !important;
    padding-top: 18px !important;
}
/* 統一商品頁兩條灰線的實際留白 */
.product-info .product-page-price {
    margin-bottom: 0 !important;
}

/* 拿掉購買表單底部原生留白 */
.product-info form.variations_form {
    margin-bottom: 0 !important;
}

/* 拿掉產品資訊第一個元素原生的上方留白 */
.product-footer
.product-page-sections
.product-section
> .row
> .large-10
> *:first-child {
    margin-top: 0 !important;
}
/* 移除產品資訊內容本身額外的上方留白 */
.product-footer .product-page-sections .panel.entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 產品資訊標題本身不要再有上方距離 */
.product-footer .product-page-sections .panel.entry-content > h4:first-child {
    margin-top: 0 !important;
}
/* 商品規格選框放大－不改區塊留白與灰線 */
.product-info .cfvsw-swatches-option.cfvsw-label-option {
    min-height: 36px !important;
    padding: 0 11px !important;
    font-size: 5px !important;
    border-radius: 4px !important;
}

/* 文字保持置中 */
.product-info .cfvsw-swatches-option.cfvsw-label-option .cfvsw-swatch-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    font-size: 14px !important;
}
/* 手機版：商品縮圖與商品名稱增加距離 */
@media (max-width: 849px) {
    .product-info {
        margin-top: 14px !important;
    }
}
/* 商品規格按鈕：取消點選變色動畫 */
.product-info .cfvsw-swatches-option,
.product-info .cfvsw-swatches-option .cfvsw-swatch-inner {
    transition: none !important;
    -webkit-transition: none !important;
}

/* ========================================
   商品頁｜購物車旁收藏鍵－乾淨版
   ======================================== */

/* 數量＋加入購物車＋收藏鍵同一排 */
.single-product .woocommerce-variation-add-to-cart.variations_button {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}


/* 數量框：恢復 Flatsome 原本尺寸邏輯 */
.single-product .woocommerce-variation-add-to-cart .quantity {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 3px 0 0 !important;
}


/* 不讓數量裡的 - / 數字 / + 被 flex 拉壞 */
.single-product .woocommerce-variation-add-to-cart .quantity .minus,
.single-product .woocommerce-variation-add-to-cart .quantity .plus,
.single-product .woocommerce-variation-add-to-cart .quantity .qty {
    flex: none !important;
    margin: 0 !important;
}


/* 加入購物車按鈕不要被撐開 */
.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    flex: 0 0 auto !important;
    margin: 0 !important;
}


/* 收藏區：跟購物車留一點距離 */
.single-product .ux-cart-wishlist {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;

    margin: 0 0 0 18px !important;
    padding: 0 !important;

    flex: 0 0 36px !important;
}


/* 清除 YITH 外層原本尺寸 */
.single-product .ux-cart-wishlist .yith-wcwl-add-to-wishlist,
.single-product .ux-cart-wishlist .yith-wcwl-add-button,
.single-product .ux-cart-wishlist .yith-wcwl-wishlistaddedbrowse,
.single-product .ux-cart-wishlist .yith-wcwl-wishlistexistsbrowse {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 30px !important;
    height: 30px !important;

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


/* 收藏圓鈕固定 36 × 36 */
.single-product .ux-cart-wishlist a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;

    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;

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

    border-radius: 50% !important;
    box-shadow: none !important;
    text-decoration: none !important;

    font-size: 0 !important;
    line-height: 1 !important;

    transition: none !important;
    animation: none !important;
}


/* YITH 原本文字、提示、Loading 全隱藏 */
.single-product .ux-cart-wishlist a span,
.single-product .ux-cart-wishlist a i,
.single-product .ux-cart-wishlist a svg,
.single-product .ux-cart-wishlist .feedback,
.single-product .ux-cart-wishlist .ajax-loading,
.single-product .ux-cart-wishlist .wishlist-popup,
.single-product .ux-cart-wishlist .yith-wcwl-tooltip {
    display: none !important;
}


/* 未收藏：白底＋灰框 */
.single-product .ux-cart-wishlist .yith-wcwl-add-button a {
    background: #fff !important;
    border: 1.5px solid #777 !important;
}


/* 未收藏：灰色空心愛心 */
.single-product .ux-cart-wishlist .yith-wcwl-add-button a::before {
    content: "" !important;
    display: block !important;

    width: 17px !important;
    height: 17px !important;

    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center / contain no-repeat !important;
}


/* 已收藏：紅底 */
.single-product .ux-cart-wishlist .yith-wcwl-wishlistaddedbrowse a,
.single-product .ux-cart-wishlist .yith-wcwl-wishlistexistsbrowse a {
    background: #e30613 !important;
    border: 1.5px solid #e30613 !important;
}


/* 已收藏：白色實心愛心 */
.single-product .ux-cart-wishlist .yith-wcwl-wishlistaddedbrowse a::before,
.single-product .ux-cart-wishlist .yith-wcwl-wishlistexistsbrowse a::before {
    content: "" !important;
    display: block !important;

    width: 16px !important;
    height: 16px !important;

    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='%23ffffff'/%3E%3C/svg%3E")
        center / contain no-repeat !important;
}


/* 關閉 YITH 原本偽元素 */
.single-product .ux-cart-wishlist a::after {
    display: none !important;
    content: none !important;
}

/* ========================================
   Footer 1｜左右欄位完全統一
   ======================================== */

/* 左右標題 */
.footer-1 .widget-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #555 !important;

    margin: 0 0 18px 0 !important;
}


/* 清除左右原始間距 */
.footer-1 .widget_pages ul,
.footer-1 .footer-company-info {
    margin: 0 !important;
    padding: 0 !important;
}

.footer-1 .widget_pages ul {
    list-style: none !important;
}


/* 先清掉 Flatsome 原本的清單分隔線 */
.footer-1 .widget_pages ul li,
.footer-1 .widget_pages ul li + li {
    border: none !important;
}


/* 左右每一列完全相同 */
.footer-1 .widget_pages ul li,
.footer-1 .footer-company-info > div {
    display: flex !important;
    align-items: center !important;

    height: 42px !important;
    min-height: 42px !important;

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

    border-bottom: 1px solid #e5e5e5 !important;
    box-sizing: border-box !important;

    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;

    color: #555 !important;
}


/* 左邊連結也強制使用同一套文字樣式 */
.footer-1 .widget_pages ul li a {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    height: 100% !important;

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

    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;

    color: #555 !important;
    text-decoration: none !important;
}

/* 滑鼠移過去才稍微變深 */
.footer-1 .widget_pages ul li a:hover {
    color: #333 !important;
}

/* ========================================
   Footer 1｜顧客服務＋公司資訊統一樣式
   ======================================== */

/* 左右欄標題 */
.footer-1 .widget-title {
    margin: 0 0 18px 0 !important;

    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;

    color: #555 !important;
}


/* 左側清單 */
.footer-1 .widget_pages ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border: none !important;
}


/* 右側公司資訊 */
.footer-1 .footer-company-info {
    margin: 0 !important;
    padding: 0 !important;
}


/* 左右每一列統一 */
.footer-1 .widget_pages ul li,
.footer-1 .footer-company-info > div {
    position: relative !important;

    display: flex !important;
    align-items: center !important;

    height: 42px !important;
    min-height: 42px !important;

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

    border: none !important;
    box-sizing: border-box !important;

    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;

    color: #555 !important;
}


/* 左側連結文字 */
.footer-1 .widget_pages ul li a {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    height: 100% !important;

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

    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;

    color: #555 !important;
    text-decoration: none !important;
}


/* 前兩列下方灰線 */
.footer-1 .widget_pages ul li:not(:last-child)::after,
.footer-1 .footer-company-info > div:not(:last-child)::after {
    content: "" !important;

    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    height: 1px !important;
    background: #d6d6d6 !important;

    display: block !important;
}


/* 最後一列不顯示灰線 */
.footer-1 .widget_pages ul li:last-child::after,
.footer-1 .footer-company-info > div:last-child::after {
    display: none !important;
}


/* 左側滑鼠移過稍微變深 */
.footer-1 .widget_pages ul li a:hover {
    color: #333 !important;
}
/* 手機 Header｜右側圖示間距微調 */
@media (max-width: 849px) {

    .header-main .mobile-nav.nav-right {
        display: flex;
        align-items: center;
        gap: 14px !important; /* 放大鏡 和 購物車 的基本間距 */
    }

    .header-main .mobile-nav.nav-right > li {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 只加大「購物車」和「三條線」之間的距離 */
    .header-main .mobile-nav.nav-right > li:last-child {
        margin-left: 8px !important;
    }
}

/* ========================================
   手機 Header｜自訂搜尋／購物車／選單圖示
   只影響手機與平板
   ======================================== */

@media (max-width: 849px) {

    /* ---------- 搜尋 ---------- */

    /* 拿掉 Flatsome 原本放大鏡 */
    .header-main .mobile-nav .header-search .icon-search::before {
        content: none !important;
    }

    /* 換成自訂搜尋圖示 */
    .header-main .mobile-nav .header-search .icon-search {
        display: block !important;
        width: 28px !important;
        height: 28px !important;

        background: transparent url("/wp-content/uploads/2026/10/官網小圖示1-1.png")
                    center center / contain no-repeat !important;

        border: 0 !important;
        box-shadow: none !important;
        line-height: 0 !important;
    }


    /* ---------- 購物車 ---------- */

    /* 拿掉 Flatsome 原本購物車圖案
       不動 ::after，所以商品數量橘色圓點會保留 */
    .header-main .mobile-nav .cart-item .header-cart-link > i::before {
        content: none !important;
    }

    /* 換成自訂購物車 */
    .header-main .mobile-nav .cart-item .header-cart-link > i {
        display: block !important;
        position: relative !important;

        width: 28px !important;
        height: 28px !important;

        background: transparent url("/wp-content/uploads/2026/10/官網小圖示2-1.png")
                    center center / contain no-repeat !important;

        border: 0 !important;
        box-shadow: none !important;
        line-height: 0 !important;
        overflow: visible !important;
    }


    /* ---------- 漢堡選單 ---------- */

    /* 拿掉 Flatsome 原本三條線 */
    .header-main .mobile-nav .nav-icon .icon-menu::before {
        content: none !important;
    }

    /* 換成自訂選單圖示 */
    .header-main .mobile-nav .nav-icon .icon-menu {
        display: block !important;

        width: 28px !important;
        height: 28px !important;

        background: transparent url("/wp-content/uploads/2026/10/官網小圖示3-1.png")
                    center center / contain no-repeat !important;

        border: 0 !important;
        box-shadow: none !important;
        line-height: 0 !important;
    }
}
/* 手機 Header｜購物車數量 Badge 位置 */
@media (max-width: 849px) {

    .header-main .mobile-nav
    .cart-item .header-cart-link > i[data-icon-label]::after {
        position: absolute !important;

        top: -4px !important;
        right: -4px !important;

        z-index: 5 !important;
    }
}
/* ========================================
   首頁｜找你需要的燈
   ======================================== */

/* 整個區塊 */
.find-light-section {
    padding-top: 40px !important;
    padding-bottom: 50px !important;
}

/* 標題 */
.find-light-title {
    position: relative;

    margin: 0 0 24px !important;
    padding: 0 0 10px !important;

    text-align: center !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;

    color: #3f3f3f !important;
}

/* 標題底線 */
.find-light-title::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 0;

    transform: translateX(-50%);

    width: 150px;
    height: 3px;

    background: #3f3f3f;
}

/* 分類圖片 */
.find-light-card img {
    border-radius: 14px !important;
    display: block;
}

/* 手機 */
@media (max-width: 849px) {

    .find-light-section {
        padding-top: 32px !important;
        padding-bottom: 40px !important;
    }

    .find-light-title {
        margin-bottom: 20px !important;
        padding-bottom: 9px !important;

        font-size: 24px !important;
    }

    .find-light-title::after {
        width: 130px;
        height: 2px;
    }
}
/* ========================================
   找你需要的燈｜置中橫滑分類卡
   ======================================== */

@media (max-width: 849px) {

    .find-light-row {
        display: grid !important;
        grid-auto-flow: column !important;

        grid-auto-columns: 64vw !important;
        grid-template-columns: none !important;

        gap: 16px !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        /* 關鍵：突破 Section 左右限制 */
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        /* 主卡置中，左右露出前後卡 */
        padding-left: 18vw !important;
        padding-right: 18vw !important;
        padding-bottom: 8px !important;

        scroll-snap-type: x mandatory;
        scroll-padding-inline: 18vw;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .find-light-row::-webkit-scrollbar {
        display: none;
    }

    .find-light-row > .col {
        width: auto !important;
        max-width: none !important;
        flex: none !important;

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

        scroll-snap-align: center;
    }
}
/* ========================================
   找你需要的燈｜手機無限循環 Slider
   ======================================== */
@media (max-width: 849px) {

    /* Slider 撐滿手機寬度 */
    .find-light-carousel {
        width: 100vw !important;
        max-width: 100vw !important;

        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        padding: 0 !important;
    }

    /* 每一張輪播卡固定大小 */
    .find-light-carousel .flickity-slider > * {
        width: 64vw !important;
        max-width: 64vw !important;

        margin-right: 16px !important;
    }

    /* 圖片固定正方形 */
    .find-light-carousel .img-inner {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;

        overflow: hidden !important;
        border-radius: 14px !important;
    }

    .find-light-carousel .img-inner img {
        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;
        display: block !important;
    }
}