
body {
    margin: 0;
    padding: 0;
    font-family:Rubik, "Source Sans Pro", HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    color: #000;
    overflow-x: hidden;
    overflow-y: scroll;
}
body {
    font-family:Rubik, "Source Sans Pro", HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}
html {
font-size: 62.5%;
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-family: sans-serif;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height:1.1;
}
h1, h2, h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}
a {
    color: #171717;
    text-decoration: none;
    font-weight: 400;
}
a:hover {
    color: #ff6600;
    text-decoration: none;
}
a:focus{
    outline: unset;
    outline-offset: unset;
}
.dropdown-toggle::after {
    display: none;
}
.dropdown-toggle>span {
position:relative;
font-weight:bold;    
}
.dropdown-toggle span:after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
    line-height: 1;
    position: absolute;
    right: -20px;
    top: 0px;
}
.category-btn span:after {
right:-26px; 
top:3px;   
}
.row:before, .row:after {
    display: table;
    content: "";
    clear: both;
}
.btn-primary:hover {
    color: #fff;
    background-color: #f90;
    border-color: #f90;
}
.position-relative{position: relative}
.image-responsive {width: 100%;}
.header-wrapper { width: 100%; position: relative; z-index: 1000; }
.hide{display: none !important;}
.owl-stage-outer .owl-stage {
    padding-left: 0 !important;
}
.mask{
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #000;
    opacity: 0.6;
    top: 0;
    left: 0;
    display: none;
}
.case-plus {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.navigation {
    padding: 10px;
    font-size: 11pt;
}
.case-plus span,
.case-plus a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    border: none;
    background: none;
    color: #000;
    font-size: 14px;
    font-weight:bold;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    box-sizing: border-box;
}
.case-plus > * + *::before {
    content: '';
    width: 1px;
    height: 14px;
    background: #000;
    margin: 0 8px;
}
.like {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    border-radius: 15px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    cursor: pointer;
    z-index: 1;
}
.like:hover {
    background-color: #e8e8e8;
}
.like:hover .fa-regular {
    color: #f60;
}
.like .fa-solid {
    color: #f00;
}
/* ===== 上部：LOGO + 搜尋 + 工具列（白色背景） ===== */
.header-upper {
    width: 100%;
    background: #fff;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border-bottom: 1px solid #eee;
}
.header-upper .logo-area { flex: 0 0 175px; width: 175px;margin-left:-18px; }
.header-upper .search-area {
    flex: 1;
    max-width: 550px;
    margin-left: 75px;
}
.header-upper .search-area .input-group {
    position: relative;
    border-radius: 8px;
    background: #f5f5f5;
    border: 1px solid transparent;
    transition: border-color 0.3s;
}
.header-upper .search-area .input-group:focus-within {
    border-color: #ff6600;
}
.header-upper .search-area .search-input {
    width: 100%;
    border-radius: 8px;
    height: 40px;
    background-color: #f5f5f5;
    border: unset;
    box-shadow: unset;
    padding: 6px 95px 6px 15px;
    font-size: 14px;
    transition: unset;
}
.header-upper .search-area .search-input:focus {
    outline: none;
    box-shadow: unset;
}
.header-upper .search-area .search-btn {
    position: absolute;
    right: 47px;
    top: 0;
    height: 40px;
    border: none;
    background: unset;
    color: #888;
    font-size: 20px;
    cursor: pointer;
    padding: 0 14px;
    z-index: 5;
}
.header-upper .search-area .search-btn:hover { color: #666; }
.header-upper .search-area .search-btn-divider {
    position: absolute;
    right: 46px;
    top: 6px;
    width: 1px;
    height: 28px;
    background: #ccc;
    z-index: 5;
    pointer-events: none;
}
.header-upper .search-area .img-search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    border: none;
    background: unset;
    color: #888;
    min-width: 46px;
    border-radius: 0 8px 8px 0;
    font-size: 18px;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-upper .search-area .img-search-btn img { width: 26px; height: auto; }
.header-upper .search-area .img-search-btn:hover { color: #666; }

/* ===== 搜尋框彈層 search_more（最近搜尋/熱門搜尋/熱門類別/廣告連結）===== */
.header-upper .search-area .search_more {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1200;
    display: none;
    width: 840px;
    max-width: calc(100vw - 30px);
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}
.header-upper .search-area .search_more.active { display: block; }
.header-upper .search-area .search_more .title {
    font-size: 13px;
    font-weight: bold;
    line-height: 38px;
}
.header-upper .search-area .search_more .min-title { font-size: 14px; font-weight: bold; }
.header-upper .search-area .search_more .padr15 { padding-right: 15px; }
.header-upper .search-area .search_more .history {
    margin-bottom: 20px;
    max-height: 105px;
    overflow: hidden;
}
.header-upper .search-area .search_more ul { padding: 0; }
.header-upper .search-area .search_more li {
    margin: 5px 0;
    cursor: pointer;
    padding: 3px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    list-style: none;
}
.header-upper .search-area .search_more .history li:before {
    content: url(/image/recent.png);
    margin-right: 6px;
    vertical-align: middle;
}
.header-upper .search-area .search_more li:hover { background-color: #F3F3F5; }
.header-upper .search-area .search_more .pics{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(21%, 1fr));
    gap: 8px;
}
.header-upper .search-area .search_more .pics .item{
    position: relative;
}
.header-upper .search-area .search_more .pics::after {
    clear: both;
    content: "";
    display: block;
}
.header-upper .search-area .search_more .pics img { width: 100%; height: auto; }
.header-upper .search-area .search_more .pics .item:hover { opacity: 0.9; }
.header-upper .search-area .search_more .cat_title {
    position: absolute;
    width: 100%;
    padding: 5px 0 0 10px;
    font-weight: bold;
    color: #000;
    font-size: 12px;
    top: 5px;
    z-index: 1;
}
.header-upper .search-area .search_more .rec_cat { margin-left: -8px; }
.header-upper .search-area .search_more .col-sm-2 {
    width: 150px;
    float: left;
    padding: 0;
}
.header-upper .search-area .search_more .col-sm-10 {
    width: calc(100% - 180px);
    float: left;
    padding: 0;
}
.header-upper .search-area .search_more .pics .item a, .header-upper .search-area .search_more .pics .item a {
    display: inline-block;
    padding-top: 20px;
}
.header-upper .search-area .search_more .border-left {
    border-left: 1px solid #ccc;
    padding-left: 30px;
    margin-left: 30px;
}
.header-upper .search-area .search_more .left-ad {
    position: absolute;
    bottom: 20px;
    left: 20px;
    list-style: disc;
    padding-left: 20px;
    margin-left: -15px;
    margin-bottom: 0;
}
.header-upper .search-area .search_more .left-ad li {
    display: list-item;
    list-style: disc;
    padding: unset;
    overflow: unset;
    white-space: normal;
}
.header-upper .search-area .search_more .left-ad li a { font-weight: bold; }

/* 搜尋彈層遮罩：低於 header（1000），不遮擋搜索框，點擊頁面內容區關閉 */
.search_more_bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 950;
    display: none;
    background-color: rgba(140, 149, 165, 0.6);
}
.search_more_bg.active { display: block; }
@media (max-width: 991px) {
    .header-upper .search-area .search_more {
        width: 100%;
        left: 0;
    }
}

/* ===== 搜索类型下拉列表 ===== */
.header-upper .search-area .search-type-dropdown {
    position: absolute;
    left: 0;
    top: 0;
    height: 40px;
    display: flex;
    align-items: center;
    z-index: 6;
}
.header-upper .search-area .search-type-toggle {
    background: none;
    border: none;
    padding: 0 15px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
    white-space: nowrap;
}
.header-upper .search-area .search-type-toggle:hover { color: #ff6600; }
.header-upper .search-area .search-type-toggle i { font-size: 12px; }
.header-upper .search-area .search-type-menu {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 5px;
    z-index: 1000;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    min-width: 160px;
    padding: 5px 0;
    list-style: none;
    display: none;
}
.header-upper .search-area .search-type-dropdown:hover .search-type-menu {
    display: block;
}
.header-upper .search-area .search-type-menu li {
    padding: 8px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
}
.header-upper .search-area .search-type-menu li:hover {
    background: #f5f5f5;
    color: #ff6600;
}
.header-upper .search-area .search-type-menu li i {
    width: 16px;
    text-align: center;
}

.top-wrap .search_incontainer .top-search .search_more .left-ad li,
.tops-wrap .search_more .left-ad li {
    display: list-item;
    padding: unset;
    overflow: unset;
}
.top-wrap .search_incontainer .top-search .search_more .left-ad li a,
.tops-wrap .search_more .left-ad li a {
    font-weight: bold;
}
.top-wrap .search_incontainer .top-search .input-group-btn input:focus {
    border: 3px solid #A498E1;
}

.header-upper .tool-area {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    margin-left: auto;
}
.header-upper .tool-area .tool-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.header-upper .tool-area .tool-link:hover { color: #ff6600; }
.header-upper .tool-area .tool-link i { font-size: 18px; }
.header-upper .tool-area .cart-link { position: relative; }
.header-upper .tool-area .cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ff6600;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-upper .tool-area .user-scroll-wrap.scroll-login {
    display: none;
    position: relative;
}
.header-upper .tool-area .user-scroll-wrap.scroll-login.show {
    display: block;
}
.header-upper .tool-area .login-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border: 1px solid #333;
    border-radius: 50px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}
.header-upper .tool-area .login-btn:hover { border-color: #ff6600; color: #ff6600; }

/* ===== doshow 橘色聯絡橫條（兩分鐘後顯示，遵循舊版邏輯） ===== */
.doshow {
    display: block;
    height: 40px;
    background: #ff6600;
    color: #fff;
    border-radius: 50px 0 0 50px;
    padding: 0 30px 0 20px;
    font-size: 14px;
    white-space: nowrap;
    position: absolute;
    right: -30px;
    line-height: 40px;
    visibility: hidden;
    opacity: 0;
    transform: translateX(100%);
    transition: visibility 0.4s, opacity 0.4s, transform 0.4s ease;
}
.doshow.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}
.doshow .ds-item {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    vertical-align: middle;
}
.doshow .whatsapp-container {
    display: inline-block;
    vertical-align: middle;
}
.doshow .ds-item i {
    font-size: 16px;
    font-weight: bold;
}
.doshow .ds-query {
    font-weight: bold;
}

/* ===== WhatsApp 懸停彈窗 ===== */
.whatsapp-container {
    position: relative;
}
.whatsapp-popup {
    position: absolute;
    left: -150px;
    top: 100%;
    margin-top: 10px;
    z-index: 1000;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 14px;
    width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}
.whatsapp-container:hover .whatsapp-popup,
.whatsapp-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.whatsapp-popup .popup-header {
    text-align: center;
    margin-bottom: 10px;
}
.whatsapp-popup .popup-title {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    line-height: 1.3;
}
.whatsapp-popup .popup-subtitle {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}
.whatsapp-popup .qr-code {
    text-align: center;
    margin-bottom: 10px;
}
.whatsapp-popup .qr-code img {
    width: 140px;
    height: 140px;
    display: block;
    margin: 0 auto;
}
.whatsapp-popup .qr-code .qr-label {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 6px;
}
.whatsapp-popup .popup-send-btn {
    display: block;
    text-align: center;
    background: #25D366;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    transition: background 0.2s;
}
.whatsapp-popup .popup-send-btn:hover {
    background: #1EBE57;
}

/* ===== 語言下拉選單 ===== */
.lang-dropdown .dropdown-toggle {
    background: none;
    border: none;
    padding: 4px 4px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}
.lang-dropdown .dropdown-toggle::after { display: none !important; }
.lang-dropdown .dropdown-toggle .fa-angle-down { display: inline-block; width: 9px; font-size: 12px; }
.lang-dropdown .dropdown-toggle:hover { color: #ff6600; }
.lang-dropdown {
    position: relative;
}
.lang-dropdown .lang-dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 10px;
    z-index: 1000;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 10px 0;
    min-width: 320px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.lang-dropdown:hover .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
}
.lang-dropdown .lang-option {
    display: block;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    line-height: 24px;
    white-space: nowrap;
}
.lang-dropdown .lang-option.text-cn {
    font-size: 16px;
}
.lang-dropdown .lang-option:hover {
    color: #ff6600;
}
.lang-dropdown .lang-option.active {
    color: #ff6600;
}
.lang-dropdown .lang-region {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 3px 24px 3px 30px;
}
.lang-dropdown .lang-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.lang-dropdown .flag-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #f2f2f2;
    object-fit: contain;
    flex-shrink: 0;
}

/* ===== 下部：分類 + 導航 + 登入（白底） ===== */
.header-lower {
    width: 100%;
    background: #fff;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    font-weight: bold;
    position: relative;
}
.header-lower .category-dropdown {
    flex: 0 0 auto;
    position: relative;
}
/* Hover bridge for category dropdown */
.header-lower .login-area .user-dropdown::before,
.header-upper .tool-area .user-scroll-wrap::before,
.header-lower .category-dropdown::before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: -10px;
    right: -10px;
    height: 30px;
    z-index: 1001;
}
.header-lower .category-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 12px 28px;
    margin-left:-28px;
    margin-right:30px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    white-space: nowrap;
    border-radius: 0;
    font-weight: bold;
    position: relative;
}
.header-lower .category-btn:hover { color: #333; }
.header-lower .category-btn::after {
    content: "";
    font: normal normal normal 14px / 1 FontAwesome;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.header-lower .category-dropdown-panel {
    position: absolute !important;
    left: 0 !important;
    top: calc(100% + 5px) !important;
    z-index: 1002;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    min-width: 795px;
    height: 554px;
    display: none;
    flex-direction: row;
    gap: 15px;
    padding: 0;
    transition: none;
    font-weight: normal;
}
.header-lower .category-dropdown:hover .category-dropdown-panel {
    display: flex;
}
.header-lower .category-list {
    flex: 0 0 265px;
    width: 265px;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
   
    overflow-y: auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.header-lower .category-list .category-item {
    height: 39px;
}
.header-lower .category-list li {
    display: block;
    position: relative;
}
.header-lower .category-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    line-height:1.6
}
.header-lower .category-list li a span {
padding-top:5px;
}
.header-lower .category-list li a i {
    width: 16px;
    text-align: center;
}
.header-lower .category-list .category-divider {
    height: 1px;
    margin: 6px 12px;
    background: #e5e5e5;
    list-style: none;
    padding: 0;
}
.header-lower .category-list .category-item a i.menu_live_icon {
    background-image: url(/image/icon/menu/liveprint.svg);
    background-size: 100%;
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
}
.header-lower .category-list .category-item:hover a i.menu_live_icon {
    filter: brightness(0) invert(1);
}
.header-lower .category-list .category-item:hover > a,
.header-lower .category-list .category-item.active > a {
    background: #ff7827;
    color: #fff;
}
.header-lower .category-product-panel {
    flex: 1;
    min-width: 0;
    width: 770px;
    background-color: #fff;
    background-size: 430px auto;
    background-repeat: no-repeat;
    background-position: bottom right;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 15px 30px;
    overflow: hidden;
    display: none;
}
.header-lower .category-product-panel:has(.brand-panel[style*="display: block"]){
    padding-top: 0;
}
.header-lower .category-product-panel.narrow {
    width: 672px;
}
.header-lower .category-dropdown.show-panel .category-product-panel {
    display: flex;
    flex-direction: column;
}
.header-lower .category-product-panel .panel-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 4px 20px;
    padding: 0 20px 15px;
}
.header-lower .category-product-panel .panel-body {
    flex: 1;
    padding: 20px;
    padding-top:0px;
    background: transparent;
    min-height: 0;
}
.header-lower .category-product-panel .panel-header .panel-title {
    grid-column: 1;
    grid-row: 1;
    margin: 10px 0;
    font-size: 21px;
    font-weight: 800;
    color: #333;
    white-space: nowrap;
    position: relative;
    padding: 10px 0 0 !important;
}
.header-lower .category-product-panel .panel-header .panel-title::after {
    content: " ";
    display: inline-block;
    width: 60px;
    position: absolute;
    border-bottom: 3px solid #FF8400;
    bottom: -5px;
    left: 0;
}
.header-lower .category-product-panel .panel-header .panel-description {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}
.header-lower .category-product-panel .panel-header .panel-link {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    color: #10a9e9;
}
/* 產品分類（數字 cid）面板無「更多」文字，不顯示孤立箭頭 */
.header-lower .category-product-panel.narrow .panel-link {
    display: none;
}
.header-lower .category-product-panel .panel-header .menu-intro {
    color: #10a9e9;
    font-size: 14px;
}
.header-lower .category-product-panel .panel-header > .menu-intro {
    grid-column: 1 / 3;
    grid-row: 3;
    margin: 0;
}
.header-lower .panel-category-content {
    display: none;
}
.header-lower .panel-category-content[data-cid="rushgift"] .menu-category a {
    padding: 3px 5px;
    background-color: #F0F0F0;
    border-radius: 30px;
    display: inline-block;
    margin: 10px 1px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
}
.header-lower .panel-category-content .panel-icon-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 180px;
}
.header-lower .panel-category-content .icon-grid-item {
    flex: 0 0 calc(20% - 10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 10px 4px;
    transition: background 0.2s;
    border-radius: 8px;
}
.header-lower .panel-category-content .icon-grid-item:hover {
    background: #fafafa;
}
.header-lower .panel-category-content .icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    margin-bottom: 8px;
}
.header-lower .panel-category-content .icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.header-lower .panel-category-content .icon-label {
    font-size: 14px;
    color: #333;
    line-height: 1.3;
    font-weight: bold;
}
.header-lower .panel-category-content .icon-grid-item:hover .icon-label {
    color: #ff7827;
}

/* 品牌系列面板：container_usb 风格 */
.panel-category-content.brand-panel {
    position: relative;
    padding: 0;
}
.panel-category-content.brand-panel .container_usb.brand-panel-container {
    /* width: 550px; */
    /* padding: 15px 30px; */
    display: flex;
    gap: 10px;
}
/* 品牌系列左栏：品牌名称列表 */
.panel-category-content.brand-panel .brand-panel-left {
    flex: 0 0 33.33%;
    max-width: 33.33%;
}
.panel-category-content.brand-panel .brand-panel-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 700;
}
.panel-category-content.brand-panel .brand-panel-title a {
    color: #333;
    text-decoration: none;
}
.panel-category-content.brand-panel .brand-panel-title a:hover {
    color: #FF6600;
}
.panel-category-content.brand-panel .brand-name-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.panel-category-content.brand-panel .brand-name-list li {
    line-height: 28px;
}
.panel-category-content.brand-panel .brand-name-list li a {
    color: #555;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}
.panel-category-content.brand-panel .brand-name-list li a:hover {
    color: #FF6600;
}
/* 品牌系列右栏：品牌 Logo 网格 */
.panel-category-content.brand-panel .brand-panel-right {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}
.brand-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: -50px;
}
.brand-logo-item {
    min-width: 0;
}
.brand-logo-item a {
    display: block;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
    max-width: 173px;
}
.brand-logo-item a:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.brand-logo-item img {
    width: 100%;
    display: block;
}
.panel-category-content.brand-panel .brand-view-all {
    text-align: center;
    margin-top: 15px;
}
.panel-category-content.brand-panel .btn.btn-menu-more {
    display: inline-block;
    padding: 8px 25px;
    border: 1px solid #FF6600;
    color: #FF6600;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}
.panel-category-content.brand-panel .btn.btn-menu-more:hover {
    background-color: #FF6600;
    color: #fff;
}

/* 臨急抱佛腳 / 小批量套餐面板 */
.panel-category-content[data-cid="rushgift"] .container_usb.widen {
    /* width: 770px; */
    /* padding: 15px 30px; */
}
.panel-category-content[data-cid="rushgift"] .menu-product {
    padding-top: 15px;
    max-height: 370px;
    overflow: hidden;
}
.panel-category-content[data-cid="rushgift"] .menu-product .owl-carousel .item {
    width: 100%;
    padding: 5px 8px;
}
.panel-category-content[data-cid="rushgift"] .menu-product .product-bak {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 10px;
    box-shadow: 1px 1px 2px #666;
    font-size: 14px;
}
.panel-category-content[data-cid="rushgift"] .menu-product .product-bak:hover {
    box-shadow: 1px 1px 8px #666;
}
.panel-category-content[data-cid="rushgift"] .menu-product .product-bak img {
    width: 100%;
    display: block;
}
.panel-category-content[data-cid="rushgift"] .menu-product .name {
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 10px 5px 0;
}
.panel-category-content[data-cid="rushgift"] .menu-product .min-name {
    font-size: 14px;
    line-height: 2;
    color: #999;
}
.panel-category-content[data-cid="rushgift"] .menu-product .price {
    color: #10a9e9;
    font-weight: bold;
}
.panel-category-content[data-cid="rushgift"] .text-center {
    text-align: center;
    margin-top: 15px;
}
.panel-category-content[data-cid="rushgift"] .btn.btn-menu-more {
    background: #000;
    color: #fff;
    border-radius: 30px;
    padding: 10px 40px;
    display: inline-block;
    text-decoration: none;
    font-size: 14px;
}
.panel-category-content[data-cid="rushgift"] .btn.btn-menu-more:hover {
    background-color: #333;
}
.panel-category-content[data-cid="rushgift"] .menu-category a:hover,
.panel-category-content[data-cid="rushgift"] .menu-intro a {
    color: #10a9e9;
}
.panel-category-content[data-cid="rushgift"] .menu-category a {
    padding: 3px 10px;
    background-color: #F0F0F0;
    border-radius: 30px;
    display: inline-block;
    margin: 10px 1px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
}
.panel-category-content[data-cid="rushgift"] .menu-category a:hover {
    color: #10a9e9;
}
.header-lower .nav-area {
    flex: 1;
    display: flex;
    align-items: center;
}
.header-lower .nav-area .nav-item {
    color: #000;
    text-decoration: none;
    padding-bottom:16px;
    padding-top:16px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 14px;
    margin-right:12px;
    white-space: nowrap;
    position: relative;
}
.header-lower .nav-area .nav-item>span {
    font-weight: bold;
    
    padding:5px 0;
}
.header-lower .nav-area .nav-item:hover:not(.dropdown) { color: #000; }
.header-lower .nav-area .nav-item:hover:not(.dropdown)::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 3px;
    background: #ff6600;
}
.header-lower .nav-area .nav-dropdown {
    position: relative;
    margin-right:12px;
}
.scroll .header-lower .nav-area .nav-dropdown {
margin-right:5px;    
}
.scroll .header-upper .logo-area {
margin-left:0px;    
}

/* Hover bridge: 在導航和下拉之間建立不可見區域，防止鼠標移動時下拉關閉 */
.header-lower .nav-area .nav-dropdown::before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: -10px;
    right: -10px;
    height: 30px;
    z-index: 1001;
}
.header-lower .nav-area .nav-dropdown .dropdown-toggle {
    position: relative;
    padding-right: 24px;
    color:#000 !important;
    text-decoration: none !important;
}
.header-lower .nav-area .nav-dropdown .dropdown-toggle::after {
  content:"";
}
.header-lower .nav-area .nav-dropdown .dropdown-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 5px);
    z-index: 1002;
    background: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 15px;
    min-width: 180px;
    padding: 0;
    overflow:hidden;
    margin: 0;
    list-style: none;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.header-lower .nav-area .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}
.header-lower .nav-area .nav-dropdown .dropdown-menu li {
    display: block;
}
.header-lower .nav-area .nav-dropdown .dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9.5px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}
.header-lower .category-dropdown .dropdown-menu li a:hover,
.header-lower .category-dropdown .dropdown-menu li a.active,
.header-lower .nav-area .nav-dropdown .dropdown-menu li a:hover,
.header-lower .nav-area .nav-dropdown .dropdown-menu li a.active {
    background: #ff7827;
    color: #fff;
}
/* 下拉菜單圖片 hover 反色 */
.header-lower .nav-area .nav-dropdown .dropdown-menu li a:hover img {
    filter: invert(1);
}

.header-lower .nav-area .nav-dropdown .dropdown-menu li a img,
.header-lower .nav-area .nav-dropdown .dropdown-menu li a i {
    width: 18px;
    text-align: center;
}
.header-lower .login-area {
    flex: 0 0 auto;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-lower .login-area .login-btn {
    background-color: #fff;
    padding: 5px 10px;
    border: 1px solid #000;
    border-radius: 30px;
    min-width: 120px;
    display: inline-block;
    line-height: 24px;
    text-align: center;
    font-size: 14px;
}
.header-lower .login-area .login-btn:hover { border-color: #ff6600; color: #ff6600; }

/* ===== 響應式 ===== */
@media (max-width: 1399px) {
    .header-upper .search-area {
        max-width: 450px;
        margin-left: 50px;
    }
}
@media (max-width: 1199px) {
    .header-upper .search-area {
        max-width: none;
        margin-left: 30px;
    }
    .header-upper .tool-area { gap: 10px; }
    /* 中屏隱藏文字只保留圖標 */
    .header-upper .tool-area .tool-link span,
    .header-upper .tool-area .tool-link b,
    .doshow .ds-item span,
    .doshow { padding: 0 12px; }
    .doshow .ds-item i { font-size: 18px; }
}
@media (max-width: 991px) {
    .header-upper { padding: 12px 16px; gap: 8px; }
    .header-upper .search-area { margin-left: 20px; }
    .header-upper .tool-area { gap: 6px; }
    .doshow { right: -16px; }
    .header-lower { padding: 0 16px; }
    .contact-tel { display: none !important; }
}
@media (max-width: 767px) {
    .header-upper {
        flex-wrap: wrap;
        padding: 10px 12px;
        gap: 8px;
    }
    .header-upper .search-area {
        order: 3;
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0;
    }
    .header-lower { flex-wrap: wrap; padding: 0 12px; }
    .header-lower .nav-area { overflow-x: auto; }
    .doshow { right: -12px; }
    .header-lower .nav-area .nav-item { padding: 10px 10px; font-size: 13px; }
    .doshow { padding: 0 8px; }
    .doshow .ds-item i { font-size: 16px; }
    .header-upper .search-area .search-input { padding: 6px 90px 6px 12px; }
}

/* ===== 滚动效果样式 ===== */
/* 短名称切换：min-hide 默认显示，min-show 默认隐藏 */
.header-wrapper .min-show {
    display: none;
}
.scroll .header-wrapper .min-hide {
    display: none !important;
}
.scroll .header-wrapper .min-show {
    display: inline;
}
/* 滚动时隐藏的元素 */
.scroll_hide {
    display: none;
}
/* 滚动时显示的元素（默认隐藏） */
.scroll_show {
    display: none;
}
.scroll .scroll_hide {
    display: none !important;
}
.scroll .scroll_show {
    display: flex;
}

/* 短用户名 - 滚动时显示在logo旁 */
.header-upper .scroll-show.username-short {
    display: none;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
}

/* header-wrapper 滚动时固定顶部（僅桌面端生效；手機版由 fixed 的 mobile-header-bar 處理，不受 .scroll 影響） */
@media (min-width: 768px) {
.scroll .header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    background: #fff;
    box-shadow: 0px 2px 2px #efefef;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 7px 20px;
    box-sizing: border-box;
}
}

/* header-upper 滚动时将其子元素提升为wrapper的直接flex子项 */
.scroll .header-upper {
    display: contents;
}
.scroll .header-upper .logo-area {
    flex: 0 0 100px;
    width: 100px;
    order: 0;
    margin-right: 10px;
}
.scroll .header-upper .logo-area img {
    max-width: 129px;
}
/* 短用户名 - 在logo和nav之间 */
.scroll .username-short {
    display: flex;
    align-items: center;
    order: 1;
    margin-right: 10px;
    white-space: nowrap;
}
/* 滚动时隐藏search-area中的search-type和button分隔线 */
.scroll .header-upper .search-area .search-type-dropdown {
    display: none;
}
.scroll .header-upper .search-area .search-btn-divider {
    display: none;
}
.scroll .header-upper .search-area .search-btn {
    right: 36px;
    padding: 0 6px;
}
.scroll .header-upper .search-area .search-input {
    padding: 6px 65px 6px 15px;
    height: 34px;
    font-size: 13px;
}
.scroll .header-upper .search-area .input-group {
    max-width: 200px;
}
.scroll .header-upper .search-area .img-search-btn {
    width: 30px;
    min-width: 30px;
}
.scroll .header-upper .search-area .img-search-btn img {
    width: 18px;
}
/* <960px 且 body.scroll（收起態）時隱藏圖片搜索按鈕與分隔線 */
@media (max-width: 959.98px) {
    body.scroll .header-upper .search-area .search-btn-divider,
    body.scroll .header-upper .search-area .img-search-btn {
        display: none !important;
    }
    body.scroll .header-upper .search-area .search-btn {
        right: 10px;
    }
}
.scroll .header-upper .search-area {
    order: 3;
    flex: none;
}
/* 收起態：search_more 改用 fixed 定位（top/left 由 JS 動態計算） */
body.scroll .header-upper .search-area .search_more {
    position: fixed;
}
/* 滚动时隐藏不必要的tool元素，保留doshow和login */
.scroll .header-upper .tool-area > .contact-tel,
.scroll .header-upper .tool-area > .whatsapp-container {
    display: none !important;
}
.scroll .header-upper .tool-area {
    order: 4;
    gap: 8px;
    flex: none;
    margin-left: auto;
}
/* <1200px 且 body.scroll（收起態）時不顯示 doshow 聯絡橫條 */
@media (max-width: 1199.98px) {
    body.scroll .doshow {
        display: none !important;
    }
}
/* 滚动时登录按钮保持边框样式 - 僅圖標無文字 */
.scroll .user-scroll-wrap.scroll-login {
    display: block;
    position: relative;
}
.scroll .user-scroll-wrap .user-toggle {
    background: none;
    border: 1px solid #333;
    border-radius: 50px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    font-size: 12px;
    padding: 0;
}
.scroll .user-scroll-wrap .user-dropdown .user-toggle {
    width: auto;
    padding: 0 10px;
    gap: 4px;
    font-size: 13px;
}
.scroll .user-scroll-wrap .user-toggle:hover {
    border-color: #ff6600;
    color: #ff6600;
}
.scroll .user-scroll-wrap:hover .user-menu {
    display: block;
}
/* header-lower login-area 內用戶下拉樣式 */
.header-lower .login-area .user-dropdown {
    position: relative;
}
.header-lower .login-area .user-dropdown .user-toggle {
    background: none;
    border: none;
    padding: 8px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: bold;
}
.header-lower .login-area .user-dropdown .user-toggle:hover {
    color: #ff6600;
}
.scroll .user-scroll-wrap .user-menu,
.header-lower .login-area .user-dropdown .user-menu {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1000;
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 180px;
    padding: 8px 0;
    list-style: none;
    display: none;
    margin-top: 5px;
}
.scroll .user-scroll-wrap .user-menu{
    margin-top: 13px;
}
.header-lower .login-area .user-dropdown:hover .user-menu {
    display: block;
}
.scroll .user-scroll-wrap .user-menu li,
.header-lower .login-area .user-dropdown .user-menu li {
    padding: 0;
    line-height: 38px;
    font-size: 16px;
    font-weight: normal;
}
.scroll .user-scroll-wrap .user-menu li a,
.header-lower .login-area .user-dropdown .user-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}
.scroll .user-scroll-wrap .user-menu li a:hover,
.header-lower .login-area .user-dropdown .user-menu li a:hover {
    background: #f5f5f5;
    color: #ff6600;
}
.scroll .user-scroll-wrap .user-menu li.divider,
.header-lower .login-area .user-dropdown .user-menu li.divider {
    height: 1px;
    background: #eee;
    margin: 5px 0;
}
.scroll .user-scroll-wrap .user-menu .iconat,
.header-lower .login-area .user-dropdown .user-menu .iconat {
    font-size: 24px;
    line-height: 16px;
    vertical-align: middle;
    margin-right: 10px;
}
/* header-lower 滚动时导航移到logo旁（短用户名后、搜索前） */
.scroll .header-lower {
    display: flex;
    position: static;
    background: none;
    padding: 0;
    box-shadow: none;
    width: auto;
    flex: none;
    border: none;
    order: 2;
    align-items: center;
}
/* 滚动时分類按鈕用短名「禮品」 */
.scroll .header-lower .category-dropdown {
    display: block;
    position: relative;
}
.scroll .header-lower .category-btn {
    padding: 6px 8px;
    font-size: 14px;
    margin: 0 40px;
}
.scroll .header-lower .category-btn::after {
    display: none;
}
/* 滚动时分类下拉面板定位 */
.scroll .header-lower .category-dropdown-panel {
    position: fixed !important;
    top: 54px !important;
    left: 20px !important;
}
.scroll .header-lower .nav-area {
    justify-content: flex-start;
}
.scroll .header-lower .nav-area .nav-item {
    padding: 6px 6px;
    font-size: 14px;
}
.scroll .header-lower .nav-area .nav-item:hover:not(.dropdown)::before {
    display: none;
}
.scroll .header-lower .login-area {
    display: none;
}
.scroll .header-lower .nav-area .nav-dropdown .dropdown-menu {
    top: calc(100% + 5px);
}
/* <960px 且 body.scroll（收起態）時隱藏導航項（nav-item / 新品 / 熱門等） */
@media (max-width: 959.98px) {
    body.scroll .header-lower .nav-area {
        display: none;
    }
}

/* ===== 分類下拉面板 - 右側內容樣式 ===== */
/* l_list：服務連結按鈕列 */
.panel-category-content ul.l_list {
    padding: unset;
    margin-bottom: 20px;
}
.panel-category-content ul.l_list li {
    display: inline-block;
    border: 1px solid #efefef;
    border-radius: 30px;
    list-style: none;
}
.panel-category-content ul.l_list li:hover {
    background-color: #FF6600;
}
.panel-category-content ul.l_list li a {
    padding: 6px 20px;
    display: inline-block;
    font-size: 15px;
    color: #333;
    text-decoration: none;
}
.panel-category-content ul.l_list li:hover a {
    color: #fff;
}
.panel-category-content ul.l_list li:hover img {
    filter: invert(1);
}

/* menu-title 與 menu-intro */
.panel-category-content .menu-title {
    display: inline-block;
    border-bottom: 3px solid #FF6600;
    padding-bottom: 0;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}
.panel-category-content .menu-intro {
    max-width: 500px;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}
.menu-category a:hover, .menu-intro a {
    color: #10a9e9;
}

/* menu-case：活動圖標卡片列 */
.panel-category-content .menu-case {
    display: flex;
    margin-bottom: 10px;
}
.panel-category-content .menu-case .case-item {
    flex: 1;
    text-align: center;
    padding: 0 8px;
}
.panel-category-content .menu-case .case-item .image img {
    cursor: unset;
    width: 100%;
    max-width: 222px;
    height: auto;
}
.panel-category-content .menu-case .case-item .name {
    color: #000;
    line-height: 1.3;
    font-weight: bold;
    font-size: 14px;
    margin-top: 6px;
}
.panel-category-content .menu-case .case-item .intro {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}
.panel-category-content .menu-case .case-item.p1{
    flex: 3;
}
.panel-category-content .menu-case .case-item.p2{
    flex: 3;
}
.panel-category-content .menu-case .case-item.p3{
    flex: 4;
}

/* ===== 人氣禮品 - 產品圖片樣式 ===== */
.panel-category-content .menu-top99 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.panel-category-content .menu-top99 .item {
    flex: 0 0 calc(25% - 6px);
    max-width: calc(25% - 6px);
    line-height: 0;
}
.panel-category-content .menu-top99 .item a {
    display: block;
}
.panel-category-content .menu-top99 .item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #efefef;
}
.panel-category-content .menu-top99 .item img:hover {
    border-color: #FF6600;
}
/* 頂部導航「作品集」下拉：一行 3 個 + 圖下公司名，點擊進入詳細頁 */
.panel-category-content .showcase-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}
.panel-category-content .showcase-menu .sc-item {
    flex: 0 0 calc(33.333% - 8px);
    max-width: calc(33.333% - 8px);
    display: block;
    text-align: center;
    text-decoration: none;
}
.panel-category-content .showcase-menu .sc-img {
    display: block;
    line-height: 0;
}
.panel-category-content .showcase-menu .sc-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #efefef;
}
.panel-category-content .showcase-menu .sc-item:hover .sc-img img {
    border-color: #FF6600;
}
.panel-category-content .showcase-menu .sc-name {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 6px;
    font-size: 18px;
    font-weight: bold;
    line-height: 46px;
    color: #333;
}
.panel-category-content .showcase-menu .sc-item:hover .sc-name {
    color: #FF6600;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.button_inscontainer .quick_enq_btn {
    position:relative;
    z-index:0;
    overflow:hidden;
    height: 55px;
    margin-top: 10px;
}
.button_inscontainer .whats-btn{
    color: #07D559;
}
.button_inscontainer .whats-btn:hover{
    color: #2a6496;
}
.button_inscontainer .contact i{
    margin: 0 2px 0 10px;
}
.button_inscontainer .iconNewicon-27{
    font-size: 17px !important;
}
.item .button_in {
    text-align: right;
    padding: 0 8px 8px;
}
.item .button_in span{
    font-size: 14px;
    font-weight:bold;
}
.item .button_in span i.fa-check{
    color: #00a000;
}
.chat-modal {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 340px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 30px 45px rgba(0,0,0,0.2), 0 10px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(203, 213, 225, 0.5);
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.chat-modal.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: flex;
}
.floating-chat-icon {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37,99,235,0.4);
    z-index: 999;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    transform: scale(1);
    opacity: 1;
    visibility: visible;
    border: none;
    font-size: 28px;
    line-height: 1;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.floating-chat-icon.hidd {
    transform: scale(0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.floating-chat-icon:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(37,99,235,0.6);
}

.floating-chat-icon:active {
    transform: scale(0.95);
}

/* 未读消息小圆点 */
.floating-chat-icon .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid white;
    display: none;
}

.floating-chat-icon.has-notification .badge {
    display: block;
}
.chat-modal .chat-header {
    background: #0f172a;
    color: white;
    padding: 1rem 1.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.6rem;
    letter-spacing: 0.3px;
}

.chat-modal .chat-header .chat-header-left {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.chat-modal .online-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(34,197,94,0.3);
}

.chat-modal .close-chat {
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: 0.2s;
}

.chat-modal .close-chat:hover {
    color: white;
}
.chat-modal .chat-body {
    padding: 1.2rem 1.2rem 1rem;
    background: #f9fafb;
    min-height: 180px;
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scroll-behavior: smooth;
}
.chat-modal .message {
    display: flex;
    flex-direction: column;
    max-width: 90%;
    animation: fadeInUp 0.2s ease;
}
.chat-modal .message.agent {
    align-self: flex-start;
}
.chat-modal .message.user {
    align-self: flex-end;
}
.chat-modal .bubble {
    padding: 0.8rem 1rem;
    border-radius: 18px;
    font-size: 1.5rem;
    line-height: 1.45;
    word-break: break-word;
}
.chat-modal .agent .bubble {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    border-bottom-left-radius: 6px;
}
.chat-modal .user .bubble {
    background: #2563eb;
    color: white;
    border-bottom-right-radius: 6px;
}
.chat-modal .chat-footer {
    padding: 0.8rem 1rem 1rem;
    background: white;
    border-top: 1px solid #edf2f7;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.chat-modal .chat-footer input {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 25px;
    padding: 0.7rem 1rem;
    font-size: 1.5rem;
    outline: none;
    background: #f8fafc;
    transition: 0.2s;
}
.chat-modal .chat-footer input:focus {
    border-color: #2563eb;
    background: white;
}
.chat-modal .send-btn {
    background: #0f172a;
    border: none;
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 2rem;
    transition: 0.2s;
    flex-shrink: 0;
}
.chat-modal .send-btn:hover {
    background: #1e293b;
}
.chat-modal .send-btn:active {
    background: #1e293b;
    transform: scale(0.95);
}
.chat-modal .send-btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}
.chat-modal .typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.5rem 0 0.2rem;
    align-self: flex-start;
}
.chat-modal  .typing-indicator span {
    width: 6px;
    height: 6px;
    background: #94a3b8;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}
.chat-modal .typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.chat-modal .typing-indicator span:nth-child(2) { animation-delay: -0.16s; }


.quick_enq_btn::before {
    content:'';
    position:absolute;
    z-index:-2;
    left: -30px;
    top: -230px;
    width: 500px;
    height: 500px;
    background-color:#399953;
    background-repeat:no-repeat;
    background-size:50% 50%,50% 50%;
    background-position:0 0,100% 0,100% 100%,0 100%;
    background-image:linear-gradient(#399953,#399953),linear-gradient(#fbb300,#fbb300),linear-gradient(#d53e33,#d53e33),linear-gradient(#377af5,#377af5);
    -webkit-animation:rotate 4s linear infinite;
    animation:rotate 4s linear infinite;
}
.quick_enq_btn::after {
    content:'';
    position:absolute;
    z-index:-1;
    left:6px;
    top:6px;
    width:calc(100% - 12px);
    height:calc(100% - 12px);
    background: #333;
    border-radius:5px;
}
.quick_enq_btn:hover {
    text-shadow: 0 0 10px #fff, 0 0 10px #fff, 0 0 20px #82bedc, 0 0 30px #82bedc, 0 0 40px #82bedc, 0 0 50px #82bedc, 0 0 60px #82bedc;
}
#dropzone_search{
    position: absolute;
    width: calc(100% - 50px);
    background-color: #fff;
    z-index: 1003;
    top: 50px;
    display: none;
    box-shadow: 0px 1px 6px 3px rgba(0, 0, 0, 0.175);
    border-radius: 10px;
    min-width: 500px;
}
#dropzone_search.active{
    display: block;
}
#dropzone_search .needsclick{
    border: 2px dotted #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 10px;
    background-color: #F8F9FA;
    padding: 25px 0;
    margin: 12px 0 20px;
    position: relative;
}
#dropzone_search .select_file{
    padding: 20px 0;
    display: block;
    width: 100%;
    font-size: 20px;
    font-weight: bold;
}
#dropzone_search .select_file span{
    color: #4093DB;
}
#dropzone_search .desc{
    font-size: 13px;
    padding-bottom: 20px;
}
#dropzone_search .drop_head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}
#dropzone_search .drop_head .title{
    font-size: 20px;

}
#dropzone_search .drop_head .intro{
    font-size: 15px;
}
#dropzone_search .drop_loading{
    width: 100%;
    height: 100%;
    background-color: rgba(30,30,30,0.15);
    position: absolute;

    align-items: center;
    justify-content: center;
    z-index: 3;
    top: 0;
    left: 0;
    border-radius: 10px;
    display: none;
}
#dropzone_search .drop_loading.active{
    display: flex;
}
#dropzone_search .drop_loading img{
    width: 25px;
    height: 25px;
}
@keyframes twinkle{0%{opacity: 1;}100%{opacity: 0;}}
.twinkle {
    animation: twinkle 1s linear infinite;
    -webkit-animation: twinkle 1s linear infinite;
    -moz-animation: twinkle 1s linear infinite;
    -ms-animation: twinkle 1s linear infinite;
    -o-animation: twinkle 1s linear infinite;
}
/* 詢價單已滿提示（參考舊版 list_right） */
.out_of_enquiry_num{
    color: #fff;
    margin: 15px 0;
    background-color: #535353;
    padding: 8px 12px;
    border-radius: 5px;
    line-height: 1.5;
    font-size: 13px;
}
.twinkle_5{
    animation: twinkle 1s linear 3;
    -webkit-animation: twinkle 1s linear 3;
    -moz-animation: twinkle 1s linear 3;
    -ms-animation: twinkle 1s linear 3;
    -o-animation: twinkle 1s linear 3;
}

/* ===== Column-left ===== */
#column-left {
    width: 260px;
    flex-shrink: 0;
    border-right: 1px solid rgba(32, 48, 60, .1);
    background-color: #fff;
    padding-bottom: 40px;
    text-align: left;
    padding-left: 15px;
}

/* =============================================
   Bootstrap 3 補充框架：解決 .visible-xs 的 display:block !important
   與 display:flex 的衝突

   用法一（響應式顯隱 + flex 佈局，代替 .visible-xs）：
     .visible-xs-flex  僅 <768px 顯示（flex）
     .visible-sm-flex  768~991px 顯示（flex）
     .visible-md-flex  992~1199px 顯示（flex）
     .visible-lg-flex  >=1200px 顯示（flex）
     其餘屏幕隱藏（display:none !important）

   用法二（直接設置 flex 佈局，Bootstrap 4 類名兼容）：
     .d-flex / .d-inline-flex 及 flex-row、flex-column、
     justify-content-*、align-items-*、flex-wrap 等
   ============================================= */

/* ---------- visible-*-flex：響應式顯隱（flex 版） ---------- */
.visible-xs-flex,
.visible-sm-flex,
.visible-md-flex,
.visible-lg-flex {
    display: none !important;
}

@media (max-width: 767px) {
    .visible-xs-flex {
        display: flex !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .visible-sm-flex {
        display: flex !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .visible-md-flex {
        display: flex !important;
    }
}

@media (min-width: 1200px) {
    .visible-lg-flex {
        display: flex !important;
    }
}

/* ---------- flex 工具類 ---------- */
.d-flex {
    display: flex !important;
}

.d-inline-flex {
    display: inline-flex !important;
}

.flex-row {
    flex-direction: row !important;
}

.flex-row-reverse {
    flex-direction: row-reverse !important;
}

.flex-column {
    flex-direction: column !important;
}

.flex-column-reverse {
    flex-direction: column-reverse !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.flex-nowrap {
    flex-wrap: nowrap !important;
}

.flex-grow-1 {
    flex-grow: 1 !important;
}

.flex-shrink-1 {
    flex-shrink: 1 !important;
}

.justify-content-start {
    justify-content: flex-start !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-around {
    justify-content: space-around !important;
}

.align-items-start {
    align-items: flex-start !important;
}

.align-items-end {
    align-items: flex-end !important;
}

.align-items-center {
    align-items: center !important;
}

.align-items-baseline {
    align-items: baseline !important;
}

.align-items-stretch {
    align-items: stretch !important;
}
.top-nav {
    position: relative;
    background: #fff;
    width: 100%;
    display: none;
    overflow: hidden;
    height: 32px;
    box-shadow: 0 0px 5px 0 #bbb;
}
.top-nav.s{
    height: 80px;
}
.top-nav.show-m{
    transition: unset;
    transform: unset;
    height: 0;
    overflow: unset;
}
.top-nav .nav-search {
    height: 48px;
    padding: 8px 10px;
}
.top-nav .nav-search .top-search-form {
    width: 100%;
    display: inline-block;
    border-radius: 12px;
    box-shadow: 0 0 10px 0 #bbb;
    position: relative;
    background: #fff;
}
.top-nav .nav-search .top-search-form .search-input {
    width: 100%;
    border: none;
    height: 36px;
    line-height: 36px;
    border-radius: 25px;
    padding: 0 105px 0 10px;
}
.top-nav .nav-search .top-search-form .btn-search {
    position: absolute;
    right: 5px;
    background: none;
    height: 38px;
    color: #000;
}
.top-nav .nav-search .top-search-form .search_snap {
    border-left: none;
    border-right: 1px solid #CFCFCF;
    padding-left: 0;
    padding-right: 10px;
    top: 5px;
    right: 50px;
}
.top-nav .nav-cate {
    padding: 5px 0 10px 5px;
    width: 100%;
    white-space: nowrap;
    overflow-x: auto;
}
.top-nav .nav-cate .cate-name {
    padding: 0 10px 3px 5px;
    color: #000;
    font-size: 14px;
}
.top-nav .nav-cate .cate-name.active{
    border-bottom: 3px solid #f60;
}
.top-nav .owl-carousel .owl-item {
    width: auto !important;
}
.top-nav .show-menu {
    width: 40px;
    height: 32px;
    padding: 5px 10px;
    position: absolute;
    right: 0;
    top: 0;
    background: #fff;
    box-shadow: -10px 0px 10px 0 #fff;
}
.top-nav.s .show-menu {
    top: 48px;
    height: 32px;
}
.top-nav .show-menu .fa-angle-down {
    font-size: 20px;
}
.top-nav .cate-menu {
    width: 100%;
    display: block;
    position: fixed;
    top: -100vh;
    left: 0;
    height: calc(100vh - 165px);
    overflow-y: auto;
    z-index: 9997;
    background: #fff;
    transition: all 0.5s;
}
.top-nav.show-m .cate-menu {
    top: 50px;
}
.top-nav .cate-menu .accordion-category {
    list-style-type: none;
    text-align: left;
    padding: 0 15px 0 30px;
}
.top-nav .cate-menu .accordion-category .cate-top .child-item a,
.top-nav .cate-menu .accordion-category .cate-name a {
    font-size: 16px;
}
.top-nav .cate-menu .child-item a.active div {
    border-bottom: 2px solid #f60;
}
.top-nav .cate-menu .accordion-category .cate-name {
    padding: 0;
}
.top-nav .cate-menu .accordion-category .cate-name .active {
    border-bottom: 2px solid #f60;
    padding-bottom: 3px;
    display: inline-block;
    margin-bottom: 3px;
}
.top-nav .cate-menu .accordion-category .cate-top .child-item,
.top-nav .cate-menu .accordion-category .child-cate .child-item {
    display: inline-block;
    padding: 5px 15px 5px 0;
}
.top-nav .cate-menu .accordion-category .cate-top .fa-angle-up {
    display: block !important;
    line-height: 24px;
    font-size: 22px;
    width: 40px;
    padding: 5px 10px;
    position: absolute;
    right: 0;
    top: 0;
}
.enquiry-dropdown-body .tab-cart{
    max-height: 400px;
    overflow-y: auto;
}
.enquiry-dropdown-body .checkout{
    background: #ff6600;
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    display: block;

}
.enquiry-dropdown-body .checkout:hover{
    background: #E95623;
}
.enquiry-dropdown-body .tab-cart .removep{
    cursor: pointer;
    padding: 8px;

}
.discovers .child-cates {
    padding: 10px 5px;
    min-width: 100%;
    background: #F6F7FB;
    border-top: 1px solid #efefef;
}
.discovers .child-cates:after{
    content: '';
    display: block;
    clear: both;
}
.discovers .child-cates .cate-item {
    display: inline-block;
    border-radius: 30px;
    color: #999;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    width: 20%;
    float: left;
    padding-bottom: 5px;
}
html[lang='en'] .discovers .child-cates .cate-item{
    font-size: 10px;
}
.discovers .child-cates .cate-item.active{
    color: #000;
}
.discovers .child-cates .cate-item .cicon {
    display: inline-block;
    max-width: 100%;
    border-radius: 50%;
    width: 90%;
    margin-bottom: 2px;
}
.discovers .child-cates .cate-item.active div {
    background: #000;
    color: #fff;
    border-radius: 20px;
}
/* 桌面：visible-xs + flex 類 → 隱藏（<768px 才顯示，見下方媒體查詢） */
.visible-xs:is(.d-flex, .d-inline-flex, .flex-row, .flex-row-reverse, .flex-column,
               .flex-column-reverse, .flex-wrap, .flex-nowrap, .flex-grow-1, .flex-shrink-1,
               .justify-content-start, .justify-content-end, .justify-content-center,
               .justify-content-between, .justify-content-around,
               .align-items-start, .align-items-end, .align-items-center,
               .align-items-baseline, .align-items-stretch) {
    display: none !important;
}

/* mobile-show + flex 類 → 桌面隱藏（僅 <768px 顯示） */
.mobile-show:is(.d-flex, .d-inline-flex, .flex-row, .flex-row-reverse, .flex-column,
                .flex-column-reverse, .flex-wrap, .flex-nowrap, .flex-grow-1, .flex-shrink-1,
                .justify-content-start, .justify-content-end, .justify-content-center,
                .justify-content-between, .justify-content-around,
                .align-items-start, .align-items-end, .align-items-center,
                .align-items-baseline, .align-items-stretch) {
    display: none !important;
}

/* mobile-hide + flex 類 → 桌面顯示為 flex */
.mobile-hide:is(.d-flex, .d-inline-flex, .flex-row, .flex-row-reverse, .flex-column,
                .flex-column-reverse, .flex-wrap, .flex-nowrap, .flex-grow-1, .flex-shrink-1,
                .justify-content-start, .justify-content-end, .justify-content-center,
                .justify-content-between, .justify-content-around,
                .align-items-start, .align-items-end, .align-items-center,
                .align-items-baseline, .align-items-stretch) {
    display: flex !important;
}
.products.product-info .pro_imgs:after {
    content: '';
    width: calc(100% + 10px);
    height: 100%;
    background-color: #000;
    position: absolute;
    left: -5px;
    top: 0;
    z-index: 0;
    opacity: 0.5;
}
/* <768px：visible-xs/mobile-show 顯示為 flex；hidden-xs/mobile-hide 保持隱藏 */
@media (max-width: 767px) {
    .visible-xs:is(.d-flex, .d-inline-flex, .flex-row, .flex-row-reverse, .flex-column,
                   .flex-column-reverse, .flex-wrap, .flex-nowrap, .flex-grow-1, .flex-shrink-1,
                   .justify-content-start, .justify-content-end, .justify-content-center,
                   .justify-content-between, .justify-content-around,
                   .align-items-start, .align-items-end, .align-items-center,
                   .align-items-baseline, .align-items-stretch) {
        display: flex !important;
    }

    .hidden-xs:is(.d-flex, .d-inline-flex, .flex-row, .flex-row-reverse, .flex-column,
                  .flex-column-reverse, .flex-wrap, .flex-nowrap, .flex-grow-1, .flex-shrink-1,
                  .justify-content-start, .justify-content-end, .justify-content-center,
                  .justify-content-between, .justify-content-around,
                  .align-items-start, .align-items-end, .align-items-center,
                  .align-items-baseline, .align-items-stretch) {
        display: none !important;
    }

    .mobile-show:is(.d-flex, .d-inline-flex, .flex-row, .flex-row-reverse, .flex-column,
                    .flex-column-reverse, .flex-wrap, .flex-nowrap, .flex-grow-1, .flex-shrink-1,
                    .justify-content-start, .justify-content-end, .justify-content-center,
                    .justify-content-between, .justify-content-around,
                    .align-items-start, .align-items-end, .align-items-center,
                    .align-items-baseline, .align-items-stretch) {
        display: flex !important;
    }

    .mobile-hide:is(.d-flex, .d-inline-flex, .flex-row, .flex-row-reverse, .flex-column,
                    .flex-column-reverse, .flex-wrap, .flex-nowrap, .flex-grow-1, .flex-shrink-1,
                    .justify-content-start, .justify-content-end, .justify-content-center,
                    .justify-content-between, .justify-content-around,
                    .align-items-start, .align-items-end, .align-items-center,
                    .align-items-baseline, .align-items-stretch) {
        display: none !important;
    }
    .bottom-about,.footer-pay,.brands {
    display:none !important;    
    }
}

/* ---------- row / container / col-* × flex ---------- */
/* Bootstrap3 的 .row / .container 不聲明 display，天然可與 flex 類共存；
   col-* 使用 float:left，置於 flex 父容器時 float 失效，補齊為不浮動、
   不壓縮（配合 .d-flex.flex-wrap 可完美柵格排列） */
.d-flex > [class*="col-"],
.d-inline-flex > [class*="col-"] {
    float: none;
    flex-shrink: 0;
}

/* col-* 自身作為 flex 容器（col-* + d-flex）時，保持寬度比例、去除浮動干擾 */
[class*="col-"].d-flex,
[class*="col-"].d-inline-flex {
    float: none;
    flex-shrink: 0;
}

/* ---------- 手機版表單統一（全站 input 寬度一致對齊） ---------- */
@media (max-width: 767px) {
    /* form 內柵格容器去掉左右 padding，避免 col-* 自帶 15px padding 造成欄位寬度不一、邊緣錯位 */
    form .row > [class*="col-"],
    form .form-row > [class*="col-"],
    form .form-group,
    form .form-control-wrap,
    form .wpcf7-form-control-wrap {
        padding-left: 0;
        padding-right: 0;
    }
    /* 所有表單控件統一全寬 + border-box，保證與容器同寬 */
    form input[type="text"],
    form input[type="email"],
    form input[type="tel"],
    form input[type="url"],
    form input[type="password"],
    form input[type="number"],
    form input[type="search"],
    form input[type="date"],
    form select,
    form textarea,
    form .form-control {
        width: 100% !important;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
    }
}

/* 全面統一字型（與舊站一致）：html/body/全元素 Poppins 優先（由 css/fonts/fonts.css 載入），與舊版 style.css body 直接 Poppins 一致；
   覆蓋 Bootstrap 4 的 html{font-family:sans-serif} 與 body{-apple-system,...}；
   Rubik 僅為回退（未載入時回退系統字型），避免新版字體被回退成 Arial 而比舊版細；
   圖示字型（iconfont / Font Awesome / iconat 等）有更高優先級顯式聲明，不受影響；
   中文仍由系統字型回退渲染。 */
