@charset "utf-8";

/* =========================================
   終極物理潛水法 (放在最上方確保 100% 執行)
   ========================================= */
html body .hero-swiper {
    margin-top: -160px !important; /* ?? 關鍵在這！用負數強制把它往上拉！ */
    position: relative !important;
    z-index: 10 !important;
}

/* 強制把系統容器的頭部隱形空間壓扁 */
.container, .row, #content {
    padding-top: 0 !important;
}

/* ==========================================================================
   頂部橫幅 (Top Bar) - 解決 Bootstrap 下沉問題，完美絕對置中
   ========================================================================== */

/* 1. 橫幅本體高度與背景 */
.top-bar {
    background-color: #79A342 !important;
    height: 40px !important; /* 給定精確高度 */
    padding: 0 !important; 
    position: relative;
    z-index: 1031;
    border-bottom: none !important;
}

/* 2. 【關鍵修正】解決 Bootstrap .container 造成的 Flex 跑版下沉 */
.top-bar .container {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important; 
    height: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.top-bar .container::before,
.top-bar .container::after {
    display: none !important; /* 殺掉 Bootstrap 的隱形排版元素，讓置中生效 */
    content: none !important;
}

/* 3. 內部功能群組 */
.top-bar-right.action-icons {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important; /* 稍微拉開一點間距，看起來不擁擠 */
    height: 100% !important;
    margin: 0 !important;
}

/* ==================================================
   搜尋輸入框設計
   ================================================== */
.search-box {
    display: flex !important;
    align-items: center !important;
    background-color: #ffffff !important;
    border-radius: 20px !important;
    padding: 0 10px !important;
    height: 28px !important; /* 配合 40px 的外框，這樣上下會各有 6px 的完美留白 */
    margin: 0 !important;    /* 殺掉任何 Bootstrap 隱形的外部距離 */
    box-sizing: border-box !important;
}
/* 搜尋框裡面的輸入欄位 (強制文字置中) */
.search-box input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 13px !important;
    color: #333333 !important;
    width: 140px !important;
    height: 28px !important;      /* 強制與外框一樣高 */
    line-height: 28px !important; /* 讓輸入的文字與 placeholder 絕對垂直置中 */
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* 搜尋框裡面的輸入欄位 (強制文字置中) */
.search-box input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 13px !important;
    color: #333333 !important;
    width: 140px !important;
    height: 28px !important;      /* 強制與外框一樣高 */
    line-height: 28px !important; /* 讓輸入的文字與 placeholder 絕對垂直置中 */
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* 剝奪放大鏡圖示作亂的權利 */
.search-box button i {
    font-size: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: block !important;
}

/* ==========================================================================
   隱藏頂部綠色列的搜尋框 (保留側邊欄的即可)
   ========================================================================== */
.top-bar-right .search-box,
.top-bar-right #search {
    display: none !important; /* 強制把頂部搜尋框變不見 */
}

/* 手機版搜尋框寬度微調 */
@media (max-width: 768px) {
    .search-box input {
        width: 100px !important;
    }
	/* 請把 .social-links 換成您實際的 class 名稱 */
}

/* ==========================================================================
   全站共用：徹底摧毀 OpenCart 預設搜尋黑底與漸層
   ========================================================================== */
.top-bar-right #search {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
}

.top-bar-right #search input {
    width: 100% !important;
    height: 34px !important;
    padding: 5px 40px 5px 15px !important; 
    border: 1px solid #e0e0e0 !important; /* 加上淡淡邊框更清晰 */
    border-radius: 20px !important; 
    font-size: 13px !important;
    background-color: #ffffff !important;
    box-shadow: none !important; 
}

/* 針對各種可能潛伏的 OpenCart 按鈕 class 進行全面追殺 */
.top-bar-right #search button,
.top-bar-right #search .btn,
.top-bar-right #search .btn-default,
.top-bar-right #search .btn-inverse,
header #search .input-group-btn .btn {
    position: absolute !important;
    right: 2px !important; 
    top: 50% !important;
    transform: translateY(-50%) !important; 
    height: 30px !important;
    
    /* 絕對去背五連擊 */
    background: transparent !important; 
    background-color: transparent !important;
    background-image: none !important; 
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important; /* 洗掉黑底造成的白色陰影 */
    
    color: #888888 !important; 
    padding: 0 12px !important;
    z-index: 5 !important;
    cursor: pointer !important;
}

.top-bar-right #search button:hover,
.top-bar-right #search .btn:hover,
.top-bar-right #search .btn-default:hover,
.top-bar-right #search .btn-inverse:hover {
    color: #79A342 !important; 
    background: transparent !important; 
    background-color: transparent !important;
    background-image: none !important;
}

/* ==========================================================================
   電腦版專用：強制壓縮選單間距，絕對不換行
   ========================================================================== */
@media (min-width: 768px) {
    .vitabox-navbar .main-menu-centered {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 12px !important; /* ?? 直接用 gap 控制間距，這個最準 */
    }
    
    .vitabox-navbar .main-menu-centered > li {
        display: block !important;
        width: auto !important;
        margin: 0 !important; /* 歸零，交給 gap 控制 */
        float: none !important;
    }

    .vitabox-navbar .main-menu-centered > li > a {
        display: block !important;
        padding: 10px 5px !important; 
        font-size: 15px !important; 
        letter-spacing: 1px !important;
    }
}

/* ==================================================
   會員與購物車圖示
   ================================================== */
.top-bar-right.action-icons .icon-link {
    color: #ffffff !important;
    text-decoration: none !important;
    display: flex !important; 
    align-items: center !important; /* 確保文字與圖示在同一條水平線 */
    position: relative;
    height: 100% !important; 
    padding: 0 !important;
    margin: 0 !important;
    transition: opacity 0.3s ease;
}

.top-bar-right.action-icons .icon-link:hover {
    opacity: 0.8;
}

/* 圖示本身 */
.top-bar-right.action-icons .icon-link i {
    font-size: 16px !important;
    margin-right: 6px !important; /* 圖示與文字的距離 */
}

/* 登入註冊文字 */
.top-bar-right.action-icons .user-link .text {
    font-size: 13px !important;
    font-weight: 400 !important;
    display: block !important;
    transform: translateY(1px); /* 讓中文字視覺上跟圖示的中心點對齊 */
}

/* 購物車紅點 */
.top-bar-right.action-icons .cart-count {
    position: absolute !important;
    top: 4px !important; /* 往上推到圖示的右上角 */
    right: -12px !important;
    background-color: #E53935 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: bold !important;
    width: 16px !important; 
    height: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
}

/* ==================================================
   手機版響應式微調
   ================================================== */
@media (max-width: 768px) {
    .top-bar .container {
        padding-right: 15px !important; 
    }
    .top-bar-right.action-icons {
        gap: 12px !important;
    }
    .search-box input {
        width: 90px !important; /* 手機版再縮短一點，避免擠壓 */
    }
    .top-bar-right.action-icons .user-link .text {
        display: none !important; 
    }
    .top-bar-right.action-icons .icon-link i {
        margin-right: 0 !important;
    }
}

/* ==========================================================================
   VITABOX 風格 - 頂部導覽列與選單置中排版 (完整響應式)
   ========================================================================== */

/* 1. 頂部導覽列樣式 */
.top-bar {
    background-color: #79A342;
    color: #ffffff;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 1px;
    position: relative; 
    z-index: 1031;
}
.top-bar a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 500;
}

/* 2. 主導覽列設定 (取消邊框，滿版寬度) */
.vitabox-navbar {
    background-color: #ffffff !important; /* 白色導航列背景 */
    border: none !important;
    margin-bottom: 0;
    padding-top: 20px;
    position: relative !important; 
    z-index: 1030;
}

/* 3. 上半部：LOGO 與兩側功能區域垂直置中 */
.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px !important; 
}

.header-left, .header-right {
    flex: 1; 
}

.header-center {
    flex: 2; 
    text-align: center;
}

.brand-logo-centered {
    max-height: 45px;
    transition: transform 0.3s ease;
}

/* 右側功能圖示 */
.header-right {
    text-align: right;
}
.header-right a {
    color: #555;
    font-size: 20px;
    margin-left: 20px;
    transition: color 0.3s;
}
.header-right a:hover {
    color: #79A342;
}

/* 右側 FB 圖示社群連結懸停效果 */
.header-right a i.fa-facebook-official,
.header-right a i.fa-facebook-square,
.header-right a i.fa-facebook {
    transition: all 0.3s ease;
}
.header-right a:hover i.fa-facebook-official,
.header-right a:hover i.fa-facebook-square,
.header-right a:hover i.fa-facebook {
    color: #1877F2 !important; 
}

/* ==========================================================================
   4. 電腦版排版：選單垂直置中，包含下拉選單
   ========================================================================== */
@media (min-width: 768px) {
    .header-bottom-row {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        border-top: 1px solid rgba(0, 0, 0, 0.06) !important; 
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important; 
        background-color: transparent !important;
        clear: both;
    }

    .main-menu-centered {
        float: none !important; 
        display: flex !important;
        justify-content: center !important;
        align-items: center !important; 
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .main-menu-centered > li {
        float: none !important;
        display: flex !important;
        align-items: center !important; 
    }

    /* 電腦版選單文字樣式 */
    /* 桌機版選項文字樣式 (修復擠壓斷行問題) */
    .main-menu-centered > li > a {
        color: #555555 !important;
        font-size: 15px !important;      /* ? 字體稍微放大，看起來更大氣 */
        font-weight: 500 !important;     /* 稍微加粗，增加閱讀清晰度 */
        padding: 25px 20px !important;   /* ? 縮小左右間距為 15px，讓 8 個選項都能輕鬆塞進去 */
        letter-spacing: 1.5px !important;
        text-transform: uppercase !important;
        display: flex !important;        
        align-items: center !important;  
        justify-content: center !important;
        line-height: 1 !important;        
        background-color: transparent !important;
        white-space: nowrap !important;  /* ?? 終極魔法：強制文字「絕對不准斷行」，乖乖排成同一排 */
        transition: color 0.3s ease, text-shadow 0.3s ease;
    }

    .main-menu-centered > li > a i {
        margin-left: 8px !important;
        font-size: 12px !important;
        line-height: 0 !important;
        display: inline-block !important;
        margin-top: 2px; 
    }

    /* 連結懸停與 active 狀態 (包含發光陰影) */
    .main-menu-centered > li > a:hover,
    .main-menu-centered > li.active > a, 
    .main-menu-centered > li.open > a,
    .main-menu-centered > li.open > a:hover,
    .main-menu-centered > li.open > a:focus {
        color: #79A342 !important; 
        background-color: transparent !important; 
        text-shadow: 0 0 0.8px #79A342, 0 0 0.1px #79A342 !important; 
    }

    /* 下拉選單 (Dropdown) */
    .modern-dropdown .dropdown-menu {
        border: none !important;
        box-shadow: 0 15px 35px rgba(0,0,0,0.06) !important; 
        padding: 15px 0 !important; 
        border-radius: 0 0 8px 8px !important; 
        min-width: 140px !important;     
        text-align: center;
        left: 50% !important;
        transform: translateX(-50%) !important; 
        margin-top: 0 !important; 
        background-color: #ffffff !important;
    }

    .modern-dropdown .dropdown-menu li a {
        padding: 12px 20px !important; 
        font-size: 14px !important;
        color: #666666 !important;
        letter-spacing: 1px;
        font-weight: 300 !important;
        transition: all 0.2s ease;
        background-color: transparent !important;
    }

    .modern-dropdown .dropdown-menu li a:hover {
        color: #79A342 !important; 
        background-color: transparent !important; 
        transform: translateX(3px); 
    }

    .caret { display: none !important; }

    /* 懸停顯示現代風格下拉選單 */
    .modern-dropdown:hover .dropdown-menu {
        display: block !important;
        animation: fadeInDropdown 0.3s ease forwards; 
    }
    
    @keyframes fadeInDropdown {
        0% { opacity: 0; transform: translate(-50%, 10px); }
        100% { opacity: 1; transform: translate(-50%, 0); }
    }
}

/* ==========================================================================
   5. 手機版：側邊滑出導覽列 (最終完美版：Logo放大 + 綠條置頂)
   ========================================================================== */
@media (max-width: 767px) {
    
    /* --- 0. 讓綠色頂部搜尋列永遠在最上面 --- */
    .top-bar {
        position: relative !important;
        z-index: 10050 !important; /* ?? 超高層級，絕對壓過白色滑出選單 */
    }

    /* --- 1. 頂部導覽列 (Logo 放大與絕對置中) --- */
    .vitabox-navbar {
        position: relative !important; 
        top: 0 !important;
        background-color: #ffffff !important; 
        padding: 0 !important;
        height: 80px !important; /* ?? 從 60px 加高到 80px，給 Logo 放大的空間 */
        box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important; 
        z-index: 10000 !important; 
    }

    .header-top-row {
        display: block !important; 
        position: relative !important;
        width: 100% !important;
        height: 80px !important; /* ?? 跟著加高 */
        margin: 0 !important;
    }

    /* Logo 絕對置中 (更穩定的新寫法，無視左右按鈕) */
    .header-center {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important; 
        text-align: center !important;
        z-index: 9990 !important;
    }
    
    .brand-logo-premium {
        max-height: 68px !important; /* ?? Logo 大幅放大！ */
        width: auto !important;
        display: inline-block !important;
        margin: 0 auto !important;
    }

    .header-right {
        position: absolute !important;
        right: 15px !important;
        top: 25px !important; /* 稍微微調高度對齊 */
        z-index: 9998 !important;
        margin: 0 !important;
    }

    /* --- 2. 漢堡按鈕 --- */
    .vitabox-navbar .navbar-toggle {
        display: block !important;
        position: absolute !important;
        top: 20px !important; /* ?? 往下移一點，對齊變高的導覽列 */
        left: 10px !important;
        z-index: 10010 !important; 
        border: none !important;
        background-color: transparent !important;
        margin: 0 !important;
        padding: 10px !important; 
    }
    
    .vitabox-navbar .navbar-toggle .icon-bar {
        display: block !important;
        background-color: #333333 !important;
        width: 25px !important;
        height: 2px !important;
        margin-top: 5px !important; 
        transition: all 0.3s ease !important;
    }

    .vitabox-navbar .navbar-toggle:not(.collapsed) .icon-bar:nth-of-type(1) { transform: translateY(7px) rotate(45deg) !important; }
    .vitabox-navbar .navbar-toggle:not(.collapsed) .icon-bar:nth-of-type(2) { opacity: 0 !important; }
    .vitabox-navbar .navbar-toggle:not(.collapsed) .icon-bar:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg) !important; }

    /* --- 3. 側邊抽屜 --- */
    .header-bottom-row.navbar-collapse {
        display: block !important; 
        position: fixed !important;
        top: 0 !important;
        left: -320px !important; 
        width: 280px !important; 
        height: 100vh !important;
        background: #ffffff !important; 
        z-index: 10005 !important; 
        padding-top: 100px !important; /* ?? 往下推更多，徹底避開綠色列與 X 按鈕 */
        margin: 0 !important;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 3px 0 15px rgba(0,0,0,0.15) !important;
        overflow-y: auto !important; 
        border: none !important;
    }

    .header-bottom-row.navbar-collapse.in {
        left: 0 !important;
    }

    /* 清單排版 */
    html body #navbar-menu ul.main-menu-centered {
        display: block !important; 
        width: 100% !important;
        padding: 0 20px !important;
        margin: 10px 0 0 0 !important; 
        background: #ffffff !important; 
        list-style: none !important; 
    }
    
    html body #navbar-menu ul.main-menu-centered > li {
        display: block !important;
        width: 100% !important; 
        float: none !important; 
        clear: both !important; 
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important; 
        border: none !important;
    }

    /* 選項樣式 */
    html body #navbar-menu ul.main-menu-centered > li > a {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 18px 5px !important;
        color: #333333 !important;
        border-bottom: 1px solid #eeeeee !important; 
        text-align: left !important;
        font-size: 16px !important;
        font-weight: 500 !important; 
        letter-spacing: 2px !important;
        background: #ffffff !important; 
        text-decoration: none !important; 
    }

    html body #navbar-menu ul.main-menu-centered > li:last-child > a {
        border-bottom: none !important;
    }

    /* --- 4. Hover 與 Active 的綠色反應 --- */
    html body #navbar-menu ul.main-menu-centered > li.active > a {
        color: #79A342 !important; 
        font-weight: 700 !important; 
        background: #ffffff !important; 
    }

    html body #navbar-menu ul.main-menu-centered > li > a:hover,
    html body #navbar-menu ul.main-menu-centered > li > a:focus,
    html body #navbar-menu ul.main-menu-centered > li > a:active {
        color: #79A342 !important; 
        background: #f9fbf7 !important; 
    }
}

/* ==========================================================================
   首頁輪播 Swiper.js 視覺調整 (輪播圓點設定)
   ========================================================================== */
.hero-swiper {
    width: 100%;
    margin-top: 0px !important;
    position: relative;
    z-index: 10;
}

/* 分頁指示點 */
.hero-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0,0,0,0.1);
    opacity: 1;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}
.hero-swiper .swiper-pagination-bullet-active {
    width: 25px;
    border-radius: 10px;
    background-color: #79A342; 
    border: none;
}
.hero-swiper .swiper-pagination {
    bottom: 15px !important;
}

/* 左右切換按鈕 */
.hero-swiper .custom-swiper-btn {
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.hero-swiper .custom-swiper-btn::after {
    font-size: 32px !important; 
}
.hero-swiper:hover .custom-swiper-btn {
    opacity: 0.8;
}
.hero-swiper .custom-swiper-btn:hover {
    opacity: 1;
    color: #79A342;
}

/* 手機版微調 */
@media (max-width: 767px) {
    .hero-swiper .custom-swiper-btn {
        display: none !important; 
    }
    .hero-swiper .swiper-pagination {
        bottom: 5px !important; 
    }
    .hero-swiper {
        margin-top: 0px !important; 
    }
}

/* ==========================================================================
   最新消息區塊：VITABOX 質感簡約風 (大面積留白)
   ========================================================================= */

/* 1. 外層區塊：重設背景顏色 */
div.history {
    background: #ffffff !important; 
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 100px !important;
    padding-bottom: 100px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* 2. 內容容器：設定最大寬度，置中對齊 */
div.history .container {
    max-width: 1000px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
}

/* 3. 大標題 (最新消息) */
.history h3.tittle {
    text-align: center !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin-bottom: 60px !important;
    letter-spacing: 3px !important;
}

/* 4. 使用 Flexbox 均分三個子區塊 */
.history .inner_sec_info_wthree_agile {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
}

.history .history-grid {
    width: 30% !important;         
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;       
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important; 
}

/* 小區塊標題及底部裝飾線 */
.history .history-grid h4 {
    font-size: 20px !important;
    color: #333333 !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    padding-bottom: 20px !important; 
    margin-bottom: 30px !important;  
    position: relative !important;
    display: block !important;        
    border-bottom: none !important;  
}
.history .history-grid h4::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 40px !important;          
    height: 1px !important;          
    background-color: rgba(0, 0, 0, 0.15) !important; 
}

/* 小區塊內容文字設定 */
.history .caption_story_w3ls {
    width: 100% !important;
    float: none !important;
}
.history .caption_story_w3ls p, 
.history .caption_story_w3ls a {
    color: #666666 !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    text-decoration: none !important;
    display: block !important;
    margin-bottom: 10px !important;
    transition: color 0.3s ease;
}
.history .caption_story_w3ls a:hover {
    color: #79A342 !important; 
}

/* 響應式斷點與邊框/間距調整 */
@media (min-width: 992px) {
    .history .history-grid {
        padding-right: 40px !important; 
        padding-left: 40px !important;  
        border-right: 1px solid rgba(0, 0, 0, 0.12) !important; 
    }
    .history .history-grid:nth-child(3) {
        border-right: none !important;
    }
}
@media (max-width: 991px) {
    .history .history-grid {
        width: 100% !important; 
        border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important; 
        border-right: none !important; 
        padding-bottom: 40px !important;
        margin-bottom: 40px !important;
    }
    .history .history-grid:nth-child(3) {
        border-bottom: none !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}
@media (max-width: 767px) {
    div.history {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    .history h3.tittle {
        font-size: 26px !important;
        margin-bottom: 40px !important;
    }
}

/* ==========================================================================
   精選商品區塊：版面置中與留白微調
   ========================================================================= */

/* 1. 調整外層容器：設定最大寬度與置中 */
div.mid_slider .mid_slider_info {
    max-width: 1000px !important;
    width: 100% !important;
    margin: 0 auto !important; 
    padding: 0 15px !important;
}

div.mid_slider .inner_sec_info_wthree_agile {
    width: 100% !important;
}

/* 2. 精選商品大標題：置中對齊，與最新消息風格一致 */
.mid_slider h3.tittle {
    text-align: center !important;  
    font-size: 32px !important;     
    font-weight: 700 !important;
    color: #111111 !important;
    letter-spacing: 3px !important;
    margin-bottom: 60px !important; 
    padding: 0 !important;
}

/* ==========================================================================
   頁尾 (Footer) 版面完整細部調整 (字體設定)
   ========================================================================= */
/* 針對標題文字微調，統一字體大小與間距 */
.footer-grid_w3ls_agile .footer-title h2,
.footer-grid_w3ls_agile .footer-title h3 {
    margin-top: 0 !important;      
    padding-top: 0 !important;
    font-size: 18px !important;    
    font-weight: 500 !important;
    line-height: 1.2 !important;
    margin-bottom: 25px !important;
    color: #333333 !important;
}

/* 頁尾背景顏色與頂部邊框 */
.footer {
    background-color: #ffffff !important;
    border-top: 1px solid #eeeeee !important; 
    padding-top: 60px !important;
    padding-bottom: 40px !important;
}
.footer-text a, .footer-office-hour li {
    color: #666666 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
}

/* 版權宣告區域設定 */
.copyright {
    background-color: #ffffff !important;
    border-top: none !important;
}
.copyright p {
	color: #999999 !important;
	padding-bottom: 60px !important;
}

@media (max-width: 767px) {
    .mid_slider, .footer {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
}

/* ==========================================================================
   關於我們區塊：VITABOX 大圖風 (圖文上下排列置中)
   ========================================================================== */

/* 1. 區塊外觀：調整內邊距與背景色 */
.banner_bottom {
	background-color: #ffffff !important;
	padding-top: 80px;
	padding-right: 0;
	padding-bottom: 30px;
	padding-left: 0;
}
.banner_bottom .container {
    max-width: 1000px !important; 
    margin: 0 auto !important;
}

/* 2. 最上方的總標題 */
.banner_bottom .ab_info-1 h4 {
	text-align: center !important;
	font-size: 32px !important;
	font-weight: 800 !important;
	color: #222222 !important;
	line-height: 1.4 !important;
	margin-bottom: 25px !important;
	letter-spacing: 4px !important;
}

/* 3. 使用 Flexbox：改為上下排列，並全部置中 */
.banner_bottom .news-main {
    display: flex !important;
    flex-direction: column !important; 
    align-items: center !important;    
}

/* 4. 文字區塊：排在第 1 順位 (圖片上方) */
.banner_bottom .news-right {
    order: 1 !important;                
    max-width: 700px !important;        
    text-align: center !important;      
    padding: 0 15px !important;
    margin-bottom: 50px !important;    
    float: none !important;
}

/* 副標題與內文設定 */
.banner_bottom .news-right h4 {
	font-size: 16px !important;
	color: #888888 !important;
	margin-bottom: 50px !important;
	text-align: center !important;
	font-weight: 400 !important;
	letter-spacing: 3px !important;
	text-transform: uppercase !important;
}
.banner_bottom .news-right .sub_p {
    font-size: 15px !important;
    line-height: 2.2 !important; 
    color: #555555 !important;
    text-align: center !important;      
    letter-spacing: 1.5px !important;
    font-weight: 400 !important;
}

/* 5. 圖片區塊：排在第 2 順位 (文字下方) */
.banner_bottom #index-im {
    order: 2 !important;                
    width: 100% !important;
    text-align: center !important;
    float: none !important;
    padding: 0 !important;
}
.banner_bottom #index-im img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 4px !important;      
    box-shadow: none !important;        
    margin: 0 auto !important;
}

/* 手機版微調 */
@media (max-width: 767px) {
    .banner_bottom {
        padding: 50px 15px !important;
    }
    .banner_bottom .ab_info-1 h4 {
        font-size: 26px !important;
    }
    .banner_bottom .news-right {
        margin-bottom: 30px !important;
    }
}


/* ==========================================================================
   聯絡我們/表單區塊 (調整置中與寬度並增加留白)
   ========================================================================== */
html,
body {
	margin: 0;
	font-size: 100%;
	font-family: '微軟正黑體', 'Microsoft JhengHei', sans-serif;
	background: #fff;
}

body a {
	text-decoration: none;
	transition: 0.5s all;
	-webkit-transition: 0.5s all;
	-moz-transition: 0.5s all;
	-o-transition: 0.5s all;
	-ms-transition: 0.5s all;
}

a:hover {
	text-decoration: none;
}

input[type="button"],
input[type="submit"] {
	transition: 0.5s all;
	-webkit-transition: 0.5s all;
	-moz-transition: 0.5s all;
	-o-transition: 0.5s all;
	-ms-transition: 0.5s all;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: '微軟正黑體', 'Microsoft JhengHei', sans-serif;
	font-weight: 600;
}

p {
	margin: 0;
	color: #666;
	font-weight: 400;
	font-size: 0.95em;
	line-height: 2em;
}

ul {
	margin: 0;
	padding: 0;
}

label {
	margin: 0;
}

.slongustyle {
	color:#09F;
	font-size: 1em;
	margin-top: 0.2em;
	margin-right: 0;
	margin-bottom: 0.5em;
	margin-left: 0;
	padding-top: 0.2em;
	padding-right: 0;
	padding-bottom: 0.5em;
	padding-left: 0;
	border-bottom-width: 1px;
	border-bottom-style: none;
	border-bottom-color: #C4C3C3;
}
.slongup {
	color:#09F;
	font-size: 0.7em;
	margin-right: 0;
	margin-left: 0;
	padding-right: 0;
	padding-left: 0;
	border-bottom-width: 1px;
	border-bottom-style: none;
	border-bottom-color: #C4C3C3;
	letter-spacing: 0.6em;
	margin-bottom: 1em;
}
.slong-text {
	color:#666;
	font-size: 0.95em;
	margin-right: 0;
	margin-left: 0;
	padding-right: 0;
	border-bottom-width: 1px;
	border-bottom-style: none;
	border-bottom-color: #C4C3C3;
	font-family: '微軟正黑體', 'Microsoft JhengHei', sans-serif;
	letter-spacing: 0.1em;
}

.logo {
	float: left;
	width: 35%;
}

.adrress_top {
	float: right;
	width: 65%;
	padding-top: 2em;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
}

.logo span {
	display: block;
	font-size: 10px;
	letter-spacing: 1px;
	color: #5d5454;
	border-top: 1px solid #ddd;
	margin-top: 5px;
}

.adrees_info {
    width: 70%;
    float: left;
}
ul.top-right-info_w3ls {
    float: right;
    width: 30%;
}
.visit,
.mail-us {
	text-align: left;
}

.header-nav {
	border-top: 1px solid #ddd;
	position: relative;
	padding-top: 0.5em;
	padding-right: 0;
	padding-bottom: 0.5em;
	padding-left: 0;
	margin-top: 2.9em;
}


/*-- header-top --*/

.header-top {
	padding: 1em 0;
	position: relative;
}

.top-logo_info_w3layouts {
	text-align: center;
	width: 90%;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 1.5em;
	padding-right: 0;
	padding-bottom: 2em;
	padding-left: 0;
}

.inner-nav_wthree_agileits {
	margin: 0 auto;
	width: 90%;
}

.adrress_top a {
	font-size: 1em;
	color: #888;
}

.adrees_info p {
	font-size: 0.75em;
	color: #888;
	margin-top: 0.5em;
}

.adrress_top span.fa {
	margin-right: 10px;
	color: #ffa41f;
	font-size: 1.2em;
}

.adrees_info h4 {
	font-size: 1em;
	color: #444;
}

.top-right-info_w3ls li i {
	color: #333;
	padding-top: 8px;
}
.top-right-info_w3ls li i:hover{
	color:#168eea;
	transition: 0.5s all;
}
.top-right-info_w3ls li {
	display: inline-block;
	margin: 0px 10px;
	transition: 0.5s all;
}

.header-nav a fa.angle-down {
	color: #fff;
}

.social {
	text-align: right;
	padding: 0px;
}

.navbar {
	min-height:57px;
}
.navbar-brand {
    float: left;
    height: 105px;
    padding: 8px 0px;
    font-size: 18px;
    line-height: 20px;
	display:block;
}
.navbar-brand h1 {
	font-size: 32px;
    font-weight: 400;
    color: #000;
	text-transform:capitalize;
	font-family: 'Exo 2', sans-serif;
}
.navbar-brand h1 span {
	font-size:30px;
	color:#42B4C8;
	line-height:20px;
	margin-right:5px;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
	color: #fff;
	background-color:#C90;
	font-family: '微軟正黑體', 'Microsoft JhengHei', sans-serif;
}
.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
	color: #fff;
	background-color:#999;
}
.navbar-default .navbar-nav>li>a {
	color: #777;
	font-size:0.85em;
	font-weight:normal;
	font-family: '微軟正黑體', 'Microsoft JhengHei', sans-serif;
	padding:15px;
	text-transform:uppercase;
	transition:all 0.5s ease-in-out;
}
.navbar-default .navbar-nav>li.active {
	background-color:#C90;
}
.dropdown-menu {
	width:280px;
	text-align:center;
}
.dropdown-menu .track-w3ls h3 {
	font-size: 20px;
	padding: 20px 0;
	font-weight:500;
	color: #000;
	font-family: '微軟正黑體', 'Microsoft JhengHei', sans-serif;
}
.dropdown-menu .track-w3ls input[type="text"] {
    border: 1px solid #000;
    color: #000;
    height: 40px;
	padding: 0 15px;
    width: 200px;
    margin: 0 auto;
    text-align: center;
	outline:none;
}
.dropdown-menu input::-webkit-input-placeholder {
color: #000 !important;
} 
.dropdown-menu input:-moz-placeholder { 
color: #000 !important;  
}
.dropdown-menu input::-moz-placeholder {  
color: #000 !important;  
}
.dropdown-menu input:-ms-input-placeholder {  
color: #000 !important;  
}
.dropdown-menu .track-w3ls button.btn.btn-primary {
	margin-top:20px;
	font-size:17px;
	font-weight:normal;
	color:#fff;
	padding:10px 20px;
	border-radius:0;
	font-family: 'Exo 2', sans-serif;
	background-color:#33accc;
}
.dropdown-menu .track-w3ls p.track-p1 {
	font-size:17px;
	font-weight:500;
	color:#000;
	text-transform:capitalize;
	padding:20px 0 10px;
	font-family: 'Exo 2', sans-serif;
}
.dropdown-menu .track-w3ls p.track-p2 {
	padding-bottom:20px;
}
.dropdown-menu .track-w3ls p.track-p2 a {
	font-size:15px;
	font-weight:normal;
	color:#999;
	text-decoration:none;
}
.dropdown-menu .login-w3ls h3 {
    font-size: 20px;
    padding: 20px 0;
    font-weight:500;
    color: #000;
	font-family: 'Exo 2', sans-serif;
}
.dropdown-menu .login-w3ls input[type="text"] {
    border: 1px solid #000;
    color: #000;
    height: 40px;
    width: 200px;
	padding: 0 15px;
	margin:0 auto 20px;
    text-align: center;
	outline:none;
}
.dropdown-menu .login-w3ls input[type="password"] {
	border: 1px solid #000;
    color: #000;
    height: 40px;
    width: 200px;
	padding: 0 15px;
	margin: 0 auto;
    text-align: center;
	outline:none;
}
.dropdown-menu .login-w3ls input[type="submit"] {
	margin-top:20px;
	font-size:17px;
	font-weight:normal;
	color:#fff;
	border:none;
	padding:10px 20px;
	border-radius:0;
	background-color:#33accc;
	margin-bottom:20px;	
	font-family: 'Exo 2', sans-serif;
} 

.grid-img1{
	padding:10px;
	border: 1px solid rgba(6, 234, 253, 0.18);
	float: left;
}

@media (max-width:767px) {
    #index-im {
        width: 120%;
        float: center;
    }
	.dropdown-menu.multi-column {
		min-width: 240px !important;
		overflow-x: hidden;
	}
	.navbar-nav {
		float: left;
		margin: 0;
		margin-left: 0em;
		width: 100%;
		background: #eee;
		margin-top: 1em;
	}
}

.cd-header-buttons {
	position: absolute;
	display: inline-block;
	top: 8px;
	right: 80px;
}

.cd-header-buttons li {
	display: inline-block;
}

.cd-search-trigger,
.cd-nav-trigger {
	position: relative;
	display: block;
	width: 44px;
	height: 44px;
	overflow: hidden;
	white-space: nowrap;
	color: transparent;
	z-index: 3;
	background: #ffffff;
	border: 1px solid #ddd;
}

.cd-search-trigger::before,
.cd-search-trigger::after {
	content: '';
	position: absolute;
	transition: opacity 0.3s;
	transform: translateZ(0);
	backface-visibility: hidden;
}

.cd-search-trigger::before {
	top: 11px;
	left: 11px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 3px solid #4d4e4e;
}

.cd-search-trigger::after {
	height: 3px;
	width: 8px;
	background: #4d4e4e;
	bottom: 13px;
	right: 9px;
	transform: rotate(45deg);
}

.cd-search-trigger span {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
}

.cd-search-trigger span::before,
.cd-search-trigger span::after {
	content: '';
	position: absolute;
	display: inline-block;
	height: 3px;
	width: 22px;
	top: 50%;
	margin-top: -2px;
	left: 50%;
	margin-left: -11px;
	background: #222;
	opacity: 0;
	transform: translateZ(0);
	backface-visibility: hidden;
	transition: opacity 0.3s, transform 0.3s;
}

.cd-search-trigger span::before {
	transform: rotate(45deg);
}

.cd-search-trigger span::after {
	transform: rotate(-45deg);
}

.cd-search-trigger.search-is-visible::before,
.cd-search-trigger.search-is-visible::after {
	opacity: 0;
}

.cd-search-trigger.search-is-visible span::before,
.cd-search-trigger.search-is-visible span::after {
	opacity: 1;
}

.cd-search-trigger.search-is-visible span::before {
	transform: rotate(135deg);
}

.cd-search-trigger.search-is-visible span::after {
	transform: rotate(45deg);
}

.cd-search {
	position: absolute;
	width: 100%;
	top: 100%;
	left: 0;
	z-index: 3;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s 0s, visibility 0s .3s;
}

.cd-search input {
	border-radius: 0;
	border: none;
	background: rgba(0, 0, 0, 0.75);
	width: 100%;
	padding: 0 5%;
	appearance: none;
	font-size: 1em;
	padding: 1em 5em;
	color: #fff;
	letter-spacing: 3px;
}

.cd-search input::-webkit-input-placeholder {
	color: #fff !important;
}

.cd-search input::-moz-placeholder {
	color: #fff !important;
}

.cd-search input:-moz-placeholder {
	color: #fff !important;
}

.cd-search input:-ms-input-placeholder {
	color: #fff !important;
}

.cd-search input:focus {
	outline: none;
}

.cd-search.is-visible {
	opacity: 1;
	visibility: visible;
	transition: opacity .3s 0s, visibility 0s 0s;
}

.banner-top {
	background: url(../images/banner1.jpg) no-repeat 0px 0px;
	background-size: cover;
	min-height: 680px;
}

.banner-top1 {
	background: url(../images/banner2.jpg) no-repeat 0px 0px;
	background-size: cover;
	min-height: 680px;
}

.banner-top2 {
	background: url(../images/banner3.jpg) no-repeat 0px 0px;
	background-size: cover;
	min-height: 680px;
}

.banner-top3 {
	background: url(../images/banner4.jpg) no-repeat 0px 0px;
	background-size: cover;
	min-height: 680px;
}

.banner-info_agileits_w3ls {
	text-align: left;
	padding: 16em 5em 0 5em;
	width: 80%;
}

.banner-info_agileits_w3ls a {
	color: #fff;
	text-decoration: none;
	padding: 6px 13px;
	letter-spacing: 1px;
	font-size: 14px;
	margin: 1em 1em 0 0em;
	background: rgba(255, 255, 255, 0.17);
	display: inline-block;
	border: 2px solid transparent;
	font-weight: bold;
}

.banner-info_agileits_w3ls a:hover {
	color: #ffa41f;
}

.banner-info_agileits_w3ls h3 {
	font-size: 3em;
	color: #fff;
	font-weight: 400;
}

.banner-info_agileits_w3ls h4 {
	font-size: 3em;
	color: #333;
	font-weight: 400;
}

.banner-info_agileits_w3ls p {
	font-size: 1em;
	color: #fff;
	margin: 1.5em 0;
	letter-spacing: 6px;
}

.banner-info_agileits_w3ls i {
	color: #ffa41f;
}

.product {
	padding-right: 0;
	padding-bottom: 3em;
	padding-left: 0;
}
.product-model-sec {
    margin: 4em 0 0 0;
    float: right;
}
.rsidebar {
	display: block;
	float: left;
	width: 22%;
	margin-right: 2em;
	margin-bottom: 0%;
	margin-left: 0;
}

.b-animate-go{
	text-decoration:none;
}
.b-animate{
	transition: all 0.5s;
	visibility: hidden;
	font-size:1.1em;
	font-weight:700;
}
.b-animate button{
	padding:10px;
	color:#fff;
	font-size:0.8em;
	cursor:pointer;
	margin: 32% auto 0 auto;
	display: block;
	border:none;
	width:60%;
	text-decoration:none;
	background:rgba(183, 183, 183, 0.93);
	transition:0.5s all;
	text-transform:uppercase;
}
.glyphicon-zoom-in:before {
  content: "\e015";
  color:#fff;
	font-size:0.9em;
}
.b-animate button:hover{
	background:#989898;
}
.b-animate-go:hover .b-animate{
	visibility:visible;
}
.b-from-left{
	position: relative;
	left: -100%;
	background-size: 100% 100%;
	top: 0px;
	margin: 0;
	min-height: 420px;
}
.b-animate-go:hover .b-from-left{
	left:0;
}
.product-grid {
  display: grid;
  /* 這裡設定每個商品卡片至少要有 250px 寬。如果空間不夠排 3 個，就會自動變成排 2 個或 1 個 */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 20px;
  width: 100%;
}
.product-grid:hover {
	z-index: 1;
	border-bottom:2px solid #ed645c;
}
.more-product-info span {
	color:#fff;
	font-size:1em;
	font-weight:500;
	padding:5px 10px;
	display: block;
	background:#fa558f;
	position: absolute;
	top: 0px;
	right: 0;
	cursor: pointer;
	z-index: 999;
}
.products-row a:hover{
	text-decoration:none;
}
.product-img img {
	width: 100%;
	padding:1em 2.5em 0; 
}
.product-info-cust {
	padding: 0.8em 1.2em;
} 
.item_quantity {
  margin: 1em 0;
  font-size: 0.85em;
  padding: 5px 10px;
  display: block;
      width: 51%;
    float: left;
}
.item_add{
	color:#fff;
	text-decoration:none;
	font-weight:600;
	padding:0.5em 2em;	
	display:inline-block;
	border-radius:5px;
	margin: 1.5em 16px 0px 0px;
	background:#00a0dc;
	border:none;
	outline:none;
}
.prt_name{
	padding: 0.8em 1.2em;
	float:none;
}
.items{
	margin:10px 0 0px 17px;
}
.item_add:hover {
	background:#ed645c;
	color: #fff;
} 
.product-info-price {
	float: right;
	background: #fff;
	width: 27%;
	text-align: center;
	padding: 0.545em;
}
.product-info-cust h4{
	color: #caccce;
    font-size: 0.95em;
    font-family: 'Dosis-Bold';
    text-transform: uppercase;
}
.product-info-cust p{
	 margin:5px 0;
	 letter-spacing:1px;
	 font-size:0.85em;
	 color:#C7C7C7;
}
span.item_price{
	color: #000;
    font-size: 1em;
    font-weight: 600;
    margin: 10px 0 5px;
	display:block;
}
p.pric1 {
    color: #ADADAD;
    font-size: 0.95em;
	display:inline-block;
}
p.disc {
    color: rgba(7, 152, 40, 0.69);
    font-size: 0.85em;
	display:inline-block;
}
.tab-grids {
	margin-top: 2em;
}
.jspContainer{
	overflow: hidden;
	position: relative;
}
.jspPane{
	position: absolute;
	outline: none;
	padding:5px 20px 20px 10px !important;
}
.jspVerticalBar{
	position: absolute;
	top: 0;
	right:0px;
	width:5px;
	height: 100%;
}
.jspHorizontalBar{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 16px;
	background: red;
}
.jspCap{
	display: none;
}
.jspHorizontalBar .jspCap{
	float: left;
}
.jspTrack{
	background: #f0f0f0;
	position: relative;
}
.jspDrag{
	background: #777777;
	position: relative;
	top: 0;
	left: 0;
	cursor: pointer;
}
.jspHorizontalBar .jspTrack,.jspHorizontalBar .jspDrag{
	float: left;
	height: 100%;
}
.jspArrow{
	background: #50506d;
	text-indent: -20000px;
	display: block;
	cursor: pointer;
	padding: 0;
	margin: 0;
}
.jspArrow.jspDisabled{
	cursor: default;
	background: #80808d;
}
.jspVerticalBar .jspArrow{
	height: 16px;
}
.jspHorizontalBar .jspArrow{
	width: 16px;
	float: left;
	height: 100%;
}
.jspVerticalBar .jspArrow:focus{
	outline: none;
}
.jspCorner{
	background: #eeeef4;
	float: left;
	height: 100%;
}
ul.place{
	margin: 5px 0;
	background: #f9f9f9;
	width: 100%;  
	padding:0px 5px;
	  cursor: pointer;
}
ul.place li{
	display: inline-block;
	padding: 6px;
}
ul.place li {
	color: #8c8c8c;
	text-decoration: none;
	cursor: pointer;
}
ul.place li span{
	color: #f02b63;
}
ul.place li.sort{
	float:left;
}
ul.place li.by{
	float:right;
}
.single-bottom p{
	font-size:0.9em;
	padding:2px 10px;
}
.possible-about p{
	color:#727272;
	font-size:1em;
	line-height:1.5em;
}
.possible-about h4{
	color:#7db122;
	font-size:1.4em;
	font-weight:600;
	   padding: 0 0 0.3em;
}
ul.dropdown-menu1 li {
  list-style: none;
}
label.amount {
  color: #7c8389;
  margin-right: 5px;
}
span.amount {
  color: #7c8389;
}
.product-model h2,h2.top,.contact h3{
  font-size: 2.5em;
  font-family: 'Dosis-Bold';
  color: #333;
  text-align:center;
}
ul.dropdown-menu1 li a:hover{
	color:#000!important;	
}
.glyphicon-minus:before {
    content: "\2212";
    color: #fff;
    font-size: 9px;
    background: #00a0dc;
    padding: 1px 6px;
    margin-right: 5px;
}
.glyphicon-minus {
    top: -1px!important;
}
.sky-form .rating {
	font-size: 15px;
	color: #404040;
}
.sky-form .rating:last-child {
	margin-bottom: 0;
}
.sky-form .rating input {
	position: absolute;
	left: -9999px;
}
.sky-form .rating label {
	display: block;
	float: left;
	height: -4px;
	cursor: pointer;
}
.rating {
	margin: 6px 0 0 0em;
}
.sky-form [class^="icon-"] {
	display: block;
    width: 18px;
    height: 18px;
    background: url(../images/star.png) 0 -3px;
    float:left;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
  -webkit-font-smoothing: antialiased;
}
.sky-form .radio input + i:after {
	background-color: #2da5da;	
}
.sky-form .checkbox input + i:after {
	color: #2da5da;

}
.sky-form .rating input:checked ~ label {
	color: #2da5da;	
	 background: url(../images/star.png) 0 -20px;
	display: -webkit-box;
}
.id h4{
	color: #777;
  font-size: 0.85em;
}
.item-list ul{
	padding-left:15px;
}
.item-list ul li {
	padding:2px 0;
	color:#999;
	font-size:0.9em;
}
.item-list ul li a{
	text-decoration:underline;
	color:#999;
	font-size:0.95em;
}
.cost{
	margin:0.3em 0 1em 0;
}
.prdt-cost{
	float:left;
	  margin-right: 13%
}
.prdt-cost ul li{
	display:block;
	font-family: 'Arimo', sans-serif;
	font-size:0.8em;
	padding:2px;
	color:#999;
}
.prdt-cost ul li.active{
	font-size:1.3em;
	color:red;
}
.prdt-cost ul a{
font-size: 0.8em;
  display: inline-block;
  background: #00a0dc;
  padding: 0.6em 2em;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-top:5px;
}
.prdt-cost ul a:hover{
	background: #333;
}
.glyphicon-map-marker:before {
  content: "\e062";
  color:#999;
  margin-right:8px;
}
.det {
  margin-top:4em;
    padding-right: 3em;
}
.form-control:focus{
	border-color:#ccc!important;
   outline: 0!important;
  box-shadow: none;
}
.single-bottom1 h6 {
  background: #F3F3F3;
  padding: 10px;
  color: #333;
  font-size: 1.35em;
  margin-top:2em;
  font-family: 'JosefinSans-Bold';
}
p.prod-desc {
  color: #999;
  padding-top: 5px;
  line-height: 1.8em;
  font-size:1em;
}
.pl-lft {
    float: left;
    width: 45%;
}
.pl-rgt {
    float: right;
    width: 55%;
    padding: 1.6em 0em 1.6em 1em;
}
.pro-tp p a{
    color: #6e7786;
    font-size: 1em;
    margin: 1em 0;
    line-height: 1.8em;
	text-decoration:none;
}
.pro-tp p a:hover{
color:#8ce78a;
}
.pro-tp h6 a{
    color: #000;
    font-size: 1em;
    margin:0;
    font-weight:700;
	text-decoration:none;
}
.pro-tp h6 a:hover{
color:#8ce78a;
}
.pro-tp {
    margin: 0 0 2em;
}
.pr-btm h4 {
    color: #6e7786;
    font-size: 1.4em;
    font-weight: 700;
    margin: 0 0 1em;
}
.pr-btm h6 {
    font-size: 1.2em;
    font-weight: 700;
    margin: 1em 0;
    color: #000;
}
.pr-btm p {
    color: #6e7786;
    font-size: 1em;
    margin: 1em 0;
    line-height: 1.8em;
}
.pr-btm {
    text-align: center;
	margin:6em 0 0;
}
.pr-btm img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
}
.bottom-cd.simpleCart_shelfItem {
    padding-right: 5em;
}
.grow {
    background-color: #8ce78a;
    padding: 1.3em 0;
}
.grow h2 {
    color: #fff;
    font-size: 2em;
    margin: 0;
    font-weight: 700;
}
.pro-du {
    padding: 4em 0;
}
.ca-rt {
    float: right;
    width: 42%;
    padding: 2em 0 0;
}
.top-sing {
    margin-bottom: 7em;
}
.single-top {
    width: 32%;
	    margin-right: 5em;
}
.thumb-image { width: 323px;
	padding:1em;
 }
.thumb-image > img { width: 100%; }
.single-top-in {
    width: 61%;
}
.imagezoom-view{
position: absolute;
    left: 650.5px!important;
    top: 150px!important;
    width: 495px;
    height: 390px!important;
    z-index: 2147483647;
    overflow: hidden;
    border: none;
    background: rgb(0, 0, 0);
}
 ul.star-footer li{
	display:inline-block;
}
 ul.star-footer li i{
	height: 16px;
	width: 16px;
	background: url("../images/img-sprite.png") no-repeat -261px -106px  ;
	display: inline-block;
}
.single-para h4 {
    color: #000;
  font-size: 2em;
   font-family: 'Dosis-Medium';
}
p.para {
  font-size: 1em;
  color:#BDBCBC;
  line-height: 1.8em;
}
.single-para h5 {
  color:#ed645c;
  font-size: 2em;
  border-bottom: 1px solid #C4C3C3;
  padding:1em 0;
  margin:1em 0 0.5em;
}
.prdt-info-grid{
	margin:1.5em 0;
}
.prdt-info-grid ul li{
	display:block;
	color:#BDBCBC;
	font-size:0.9em;
	padding:2px 0;
}
.check p {
    font-size: 0.85em;
    display: inline-block;
    color: #999;
}
.navbar-form {
    padding: 0!important;
}
.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}
.btm-grid{
	border:1px solid #fff;
	padding:1em;
	width: 20%;
	float:left;
}
.btm-grid:hover{
	border:1px solid #eee;
}
.btm-grid a{
		text-decoration:none;
}
.btm-grid h4{
	color:#BDBCBC;
	font-size:1.3em;
	display:block;
font-family: 'Dosis-Medium';	
}
.btm-grid span{
	color:#333;
	font-size:1.3em;
	padding:4px 0;
	font-weight:500;
	display:inline-block;
}
.bottom-prdt{
	margin-top:2em;
	padding-top:2em;
	border-top:1px solid #eee;
}
.pages {
	padding: 0em 0px 3em;
}
h3.ghj {
	color: #000;
	font-size: 2em !important;
	margin: 0 0 1em;
}
.headdings, .Buttons, .progress-bars, .alerts, .bread-crumbs, .pagenatin, .appearance, .distracted {
	padding: 2em 0;
}
.breadcrumb {
	margin:3em 0 2em!important;
}
.table {
	margin-bottom: 0;
}
.b4,.b5,.b6 {
  margin-top: 15px !important;
  margin-bottom: 15px !important;
}
.bs-example h1, .bs-example hh2, .bs-example h3, .bs-example h4, .bs-example h5, .bs-example h6 {
  margin: 0 0 10px;
}
#slider2,
#slider3 {
	box-shadow: none;
	margin: 0 auto;
}
.rslides_tabs li:first-child {
	margin-left: 0;
}
.rslides_tabs .rslides_here a {
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font-weight: bold;
}
.events {
	list-style: none;
}
.callbacks_container {
	position: relative;
	float: left;
	width: 100%;
}
.callbacks {
	position: relative;
	list-style: none;
	overflow: hidden;
	width: 100%;
	padding: 0;
	margin: 0;
}
.callbacks li {
	position: absolute;
	width: 100%;
}
.callbacks img {
	position: relative;
	z-index: 1;
	height: auto;
	border: 0;
}
.callbacks .caption {
	display: block;
	position: absolute;
	z-index: 2;
	font-size: 20px;
	text-shadow: none;
	color: #fff;
	left: 0;
	right: 0;
	padding: 10px 20px;
	margin: 0;
	max-width: none;
	top: 10%;
	text-align: center;
}
.callbacks_nav {
	position: absolute;
	bottom: 0%;
	left: 80px;
	opacity: 0.9;
	z-index: 3;
	text-indent: -9999px;
	overflow: hidden;
	text-decoration: none;
	height: 70px;
	width: 70px;
}
#slider3-pager a {
	display: inline-block;
}
#slider3-pager span {
	float: left;
}
#slider3-pager span {
	width: 100px;
	height: 15px;
	background: #fff;
	display: inline-block;
	border-radius: 30em;
	opacity: 0.6;
}
#slider3-pager .rslides_here a {
	background: #FFF;
	border-radius: 30em;
	opacity: 1;
}
#slider3-pager a {
	padding: 0;
}
#slider3-pager li {
	display: inline-block;
}
.rslides {
	position: relative;
	list-style: none;
	overflow: hidden;
	width: 100%;
	padding: 0;
}
.rslides li {
	-webkit-backface-visibility: hidden;
	position: absolute;
	display: none;
	width: 100%;
	left: 0;
	top: 0;
}
.rslides li {
	position: relative;
	display: block;
	float: left;
}
.rslides img {
	height: auto;
	border: 0;
}
.callbacks_tabs {
	list-style: none;
	position: absolute;
	top: 44%;
	right: 6%;
	padding: 0;
	margin: 0;
	display: block;
	z-index: 99;
}
.slider-top span {
	font-weight: 600;
}
.callbacks_tabs li {
	display: block;
	margin: 5px 0px;
}
.callbacks_tabs a {
	visibility: hidden;
}
.callbacks_tabs a:after {
	content: "\f111";
	font-size: 0;
	font-family: FontAwesome;
	visibility: visible;
	display: block;
	height: 12px;
	width: 12px;
	display: inline-block;
	background: #ffffff;
	border-radius: 50%;
}
.callbacks_here a:after {
	background: #FFA41F;
}
.news-left video {
	width: 208%;
	min-height: 453px;
	text-align: center;
}
.news-left iframe {
	width: 208%;
	min-height: 453px;
	text-align: center;
}
.news-left {
	padding-left: 0;
	padding-top: 2em;
	padding-right: 1em;
	text-align: center;
}
.b_left {
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
}
.news-right h4 {
	color: #a58b58;
	font-size: 1.5em;
	font-weight: 500;
}
p.sub_p {
	margin: 1.2em 0;
}
h3.tittle.ser {
	color:#fff;
}
.ab_info {
    margin-bottom: 2em;
}
.ab_info-1 {
	margin-bottom: 2em;
	text-align: center;
}
.ab_info-2 {
	margin-bottom: 0.5em;
	text-align: center;
}
.ab_info h4 {
	margin-top: 1em;
	font-size: 1.4em;
	line-height: 2em;
}
.ab_info-1 h4 {
	font-size: 1.8em;
	line-height: 1.5em;
}
h3.tittle.two{
	color:#333;
}
.caption_story_w3ls {
	float: right;
	width: 100%;
}
.story-img img {
    width: 100%;
    padding: .3em;
    border: 2px solid #efefef;
	margin-bottom: 2em;
}
.story-img{
    float: left;
    width: 39%;
}
.caption_story_w3ls p {
	color: #000;
}
.carousel {
	margin-bottom: 0;
	padding: 0px;
}
.carousel-control {
	left: -66px;
	height: 40px;
	width: 40px;
	background: none;
	border: 2px solid #000;
	border-radius: 50%;
	margin-top: 110px;
	color: #000;
	box-shadow: none;
	background-image: none!important;
	opacity: 0.9;
	line-height: 34px;
}
.carousel-control.right {
	right: -66px;
}
.carousel-indicators {
	right: 50%;
	top: auto;
	bottom: -10px;
	margin-right: -19px;
}
.thumbnail img {
    width: 100%;
}
.mid_slider_info {
	width: 90%;
	margin-top: 4em;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}
.stats_left p {
	font-size: 4em;
	font-weight: 600;
	letter-spacing: 1px;
	color: #555;
	line-height: 1.5em;
}
.stats_left h4 {
    font-size: 1.2em;
    color: #333;
    letter-spacing: 1px;
    margin: 0;
    font-weight: 100;
}
.stats_left i {
	font-size: 3em;
	color: #333;
}
.stats_bottom_grid_left img {
	margin: 0 auto;
}
.stats_test {
    background: #eeeeef;
}
.testimonials {
    background: url(../images/banner1.jpg) no-repeat 0px 0px;
    background-size: cover;
    min-height: 570px;
    float: right;
    padding-top:6em;
	width:55%;
}
.stats {
    float: left;
    width: 45%;
    padding: 2em 3em;
    margin-top: 1.5em;
}
.stats_left {
    text-align: center;
    float: left;
    width: 48%;
    border: 1px solid #ddd;
    padding: 2em 1em;
}
.quote {
    text-align: center;
    margin-bottom: 30px;
}
.quote i {
    font-size: 3em;
    color: #fff;
}
p.test {
    color: #fff;
}
#fade-quote-carousel.carousel {
  padding-bottom: 60px;
}
#fade-quote-carousel.carousel .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}
#fade-quote-carousel.carousel .carousel-inner .active {
  opacity: 1;
  transition-property: opacity;
}
#fade-quote-carousel.carousel .carousel-indicators {
  bottom: 10px;
}
#fade-quote-carousel.carousel .carousel-indicators > li {
    background-color: #ffa41f;
    border: none;
}
#fade-quote-carousel blockquote {
    text-align: center;
    border: none;
}
#fade-quote-carousel .profile-circle{
    margin: 0 auto;
	text-align:center;
}
.profile-circle img {
	 border-radius: 50%;
	width: 100px;
    height: 100px;
    margin: 0 auto;
    padding: .3em;
    border: 2px solid #efefef;
}
.testimonials_inner h4 {
    font-size: 1.2em;
    color: #fff;
    text-align: center;
    margin-top: 1.3em;
}
.inner_banner {
	background-size: cover;
	min-height: 500px;
	background-image: url(../images/banner-p.jpg);
	background-repeat: no-repeat;
	background-position: 0px 0px;
}
.services-breadcrumb {
	padding: 1em 1em;
	background: #f5f5f5;
	text-align: center;
}
.services-breadcrumb ul li span {
	padding: 0 1.5em;
}
ul.short {
	text-align: left;
}
ul.short li {
	text-align: left;
	display: inline-block;
	letter-spacing: 1px;
	color: #555;
	font-size: 0.85em;
}
.inner_breadcrumb {
	padding: 0 4.1em;
}
ul.short li a {
	color: #693;
	text-decoration: none;
}
.error-404 h4 {
    font-size: 12em;
    font-weight: 700;
    color: #333;
    margin: 0;
    padding: 0;
}
a.b-home {
    background: #168eea;
    padding: 0.7em 1.5em;
    display: inline-block;
    color: #FFF;
    text-decoration: none;
    margin-top: 1em;
}
.error-404 p {
    color: #444;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin: 1em 0;
}
.error-404 {
    text-align: center;
}

@media(max-width:640px) {
	.error-404 h4 {
		font-size: 9em;
	}
}
@media(max-width:600px) {
	.error-404 h4 {
		font-size: 6em;
	}
	a.b-home {
		padding: 0.6em 1em;
		margin-top: 1em;
	}
}
@media(max-width:480px) {
	.error-404 h4 {
		font-size: 5em;
	}
	.error-404 p {
		font-size: 0.8em;
		letter-spacing: 5px;
		margin: 1em 0;
	}
}
.footer h3,
.footer h2 {
	font-size: 1.3em;
	color: #666;
	margin-bottom: 20px;
	letter-spacing: 1px;
}
.footer p {
	color: #666;
}
.footer ul li {
	display: block;
	color: #666;
	font-weight: 400;
	font-size: 0.9em;
	margin: 0.7em 0;
}
.footer-list i {
	padding-right: 10px;
    color: #ffa41f;
}
.footer ul li a {
	color: #bfbfbf;
	font-size: 13px;
	font-weight: 600;
	display: block;
	padding: 5px 0px;
	text-decoration: none;
	transition: all 0.4s;
}
.footer ul li a:hover {
    color: #ffa41f;
}
.footer ul li.hd {
	color: #960;
}
.newsletter .email {
	background-color: #F4F4F4;
	border: none;
}
.flickr-grid {
	float: left;
	width: 32%;
	margin: 0 0.1em .2em;
}
.flickr-grid a img {
	width: 100%;
	padding: 0.3em;
    border: 1px solid #333333;
}
.newsletter .email {
    outline: none;
    padding: 14px 15px;
    color: #fff;
    font-size: 14px;
    width: 80%;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid #2d2d2d;
}
.newsletter {
	position: relative;
	margin-top: 2em;
}
button.btn1 {
    color: #fff;
    border: none;
    padding:13px 0;
    text-align: center;
    text-decoration: none;
    background: #168eea;
    transition: 0.5s all;
    float: right;
    width: 20%;
}
.copyright ul li {
	display: inline-block;
	padding: 0 10px;
}
a.facebook {
	color: #fff;
	font-size: 16px;
}
a.facebook:hover {
    color: #168eea;
}
.copyrighttop {
	float: right;
}
.copyrightbottom {
	float: left;
}
.copyrightbottom p {
	color: #fff;
	letter-spacing: 1px;
	font-size: 14px;
	line-height: 28px;
}
.copyrightbottom a {
    color: #ffa41f;
	text-decoration: none;
}
.copyrightbottom a:hover {
	color: #fff;
}
.copyrighttop h4 {
    font-size: 0.95em;
}
#toTop {
	display: none;
	text-decoration: none;
	position: fixed;
	bottom: 10px;
	right: 10px;
	overflow: hidden;
	width: 48px;
	height: 48px;
	border: none;
	text-indent: 100%;
	background-image: url(../images/top_up-1.png);
	background-repeat: no-repeat;
	background-position: 0px 0px;
}
@media(max-width:1440px){
	.adrees_info {
		width: 75%;
	}
}
@media(max-width:1366px){
	.banner-info_agileits_w3ls {
		text-align: left;
		padding: 17em 5em 0 5em;
		width: 80%;
	}
	.banner-top,.banner-top1,.banner-top2,.banner-top3{
       min-height:670px;
	}
	.callbacks_tabs {
		list-style: none;
		position: absolute;
		top: 37%;
		right: 6%;
	}
	.stats_left p {
       font-size:3.5em;
	}
	.stats_left h4 {
       font-size: 1em;
	}
	.stats {
		padding: 2em 3em;
		margin-top: 2.5em;
	}
	.banner_bottom, .mid_slider {
		padding: 1em 0;
	}
	.inner_sec_info_wthree_agile, .mail_form {
		margin-top: 3em;
	}
}
@media(max-width:1280px){
	.adrress_top {
		float: right;
		width: 72%;
	}
	ul.top-right-info_w3ls {
		float: right;
		width: 24%;
	}
	.offset-2 {
		margin-left:0px!important;
		margin:0 auto;
		text-align:center;
		width:100%!important;
	}
	blockquote {
		padding: 10px 0px!important;
		margin: 0 0 20px;
	}
}
@media(max-width:1080px){
	.stats {
		padding: 2em 2em;
		margin-top: 2.5em;
	}
	.stats_left p {
		font-size: 3em;
	}
	.stats_left i {
       font-size: 2em;
	}
	.stats_left h4 {
		font-size: 0.8em;
	}
	.stats {
		padding: 2em 2em;
		margin-top: 4.5em;
	}
	.copyright ul li {
		padding: 0 5px;
	}
	.carousel-control {
		left: -40px;
		margin-top: 75px;
		line-height: 34px;
	}
	.carousel-control.right {
		right: -41px;
	}
	.b_right {
		padding: 0 2px;
	}
	.b_left {
		padding: 0 2px;
	}
	.top-logo_info_w3layouts {
		width: 80%;
		padding: 1em 0;
	}
	.banner-top, .banner-top1, .banner-top2, .banner-top3 {
		min-height: 670px;
	}
	.banner-info_agileits_w3ls {
		padding: 17em 5em 0 5em;
		width: 80%;
	}
	.callbacks_tabs {
		top: 33%;
		right: 6%;
	}
}
@media(max-width:1024px){
	.stats_left p {
		font-size: 2.7em;
	}
	.stats_left h4 {
		font-size: 0.7em;
	}
	.carousel-control {
		left: -40px;
		margin-top: 66px;
		line-height: 34px;
	}
}
@media(max-width:991px){
.news-left video {
	width: 100%;
	min-height: 453px;
	text-align: center;
}
	.inner_banner {
	background-size: cover;
	min-height: 500px;
		}
	.banner-info_agileits_w3ls h3 {
        font-size: 2.7em;
	}
	.banner-info_agileits_w3ls p {
		font-size: 1em;
		margin: 1.5em 0;
		letter-spacing: 4px;
	}
	.banner-top, .banner-top1, .banner-top2, .banner-top3 {
		min-height: 650px;
	}
	.banner-info_agileits_w3ls {
		padding: 15em 1.5em 0 1.5em;
		width: 80%;
	}	
	.news-left {
		padding-left: 0;
		padding: 0;
		width: 100%;
	}
	.b_right,.b_left {
		padding: 0 2px;
		float:left;
	}
	.news-right {
		width: 100%;
		float: right;
		padding: 0;
		margin-top: 2em;
	}
	.footer,.banner_bottom, .mid_slider {
        padding: 1em 0;
	}
	.adrress_top {
		float: right;
		width: 65%;
	}
	.visit, .mail-us {
		text-align: left;
		float: left;
		width: 97%;
	}
	.mail-us {
		margin-top: 1em;
	}
	 . footer-grid_w3ls_agile:nth-child(2){
        margin:2em 0;
	 }
	 . footer-grid_w3ls_agile:nth-child(3){
        margin-bottom: 1em;
	 }
	 .copyrightbottom {
		float: none;
		text-align: center;
	}
	.copyrighttop {
		float: none;
		text-align: center;
		margin-bottom: 0.5em;
	}
	.carousel-control {
		left: -40px;
		margin-top: 59px;
		line-height: 34px;
	}
}
@media(max-width:900px){
	.inner_banner {
	background-size: cover;
	min-height: 500px;
		}
	.banner-top, .banner-top1, .banner-top2, .banner-top3 {
		min-height: 650px;
	}
	.banner-info_agileits_w3ls {
		padding: 15em 1.5em 0 1.5em;
		width: 80%;
	}	
	.stats {
		padding: 4em 2em;
		margin-top: 0em;
		width: 100%;
		float: none;
	}
	.testimonials {
		min-height: 527px;
		float: right;
		padding-top: 5em;
		width: 100%;
	}
}
@media(max-width:800px){
	.banner-top, .banner-top1, .banner-top2, .banner-top3 {
		min-height: 650px;
	}
	.banner-info_agileits_w3ls h3 {
		font-size: 2.5em;
	}
	.banner-info_agileits_w3ls a {
		padding: 6px 13px;
		letter-spacing: 1px;
		font-size: 14px;
		margin: 0.5em 0.3em 0 0em;
	}
	.banner-info_agileits_w3ls p {
		font-size: 0.9em;
		margin: 1em 0;
		letter-spacing: 4px;
	}
	.banner-info_agileits_w3ls {
		padding: 10em 5em 0 5em;
		width: 80%;
	}
	.callbacks_tabs {
		top: 31%;
		right: 6%;
	}
	.top-right-info_w3ls li {
       margin: 0px 5px;
	}
	.news-right h4 {
		font-size: 1.6em;
	}
	h3.tittle {
       font-size: 1.6em;
	}
	.carousel-control {
		left: -40px;
		margin-top: 44px;
		line-height: 34px;
	}
	.inner_banner {
	background-size: cover;
	min-height: 360px;	}
	.inner_breadcrumb {
		padding: 0 3.1em;
	}
}
@media(max-width:767px){
	.cd-header-buttons {
		top: 11px;
		left: 51px;
	}
	.cd-search input {
		font-size: 1em;
		padding: 1em 3em;
		letter-spacing: 2px;
	}
	.banner-info_agileits_w3ls {
		padding: 12em 5em 0 5em;
		width: 80%;
	}
		.dropdown-menu.multi-column {
		min-width: 240px !important;
		overflow-x: hidden;
	}
	.navbar-nav {
		float: left;
		margin: 0;
		margin-left: 0em;
		width: 100%;
		background: #eee;
		margin-top: 1em;
	}
		.navbar>.container .navbar-brand,
	.navbar>.container-fluid .navbar-brand {
		margin-left: 0px;
	}
	.navbar-nav {
		float: none;
		margin: 0;
		margin-left: 0em;
		background: #eee;
		margin-top: 1em;
		padding: 1em 1em;
	}
	.navbar-nav>li {
		float: none;
		margin: 0 4px;
	}
	.contact-in {
		padding-left: 0;
		padding: 0;
	}
	.main-content {
		padding: 3em 1em;
	}
	.navbar-default .navbar-collapse,
	.navbar-default .navbar-form {
		border: none!important;
	}
	.multi-column-dropdown li a {
		display: block;
		clear: both;
		line-height: 1.428571429;
		color: #fff;
		white-space: normal;
	}
	.navbar-default a.navbar-brand h1 {
		margin-top: 0;
		padding-left: 0;
	}
	.navbar-default .navbar-nav>li>a {
		font-size: 14px;
		padding: 10px 14px;
		text-align: center;
	}
	.navbar-nav>li {
		float: none;
		margin: 3px 0px;
	}
	.navbar-nav .open .dropdown-menu {
		text-align: center;
	}
	.navbar-nav .open .dropdown-menu {
		text-align: center;
		background: #c2d9ea;
		color: #111;
	}
	.navbar-nav .open .dropdown-menu > li > a {
		color: #222;
	}
	ul.dropdown-menu.sub-menu {
		background: #9ac6e6!important;
	}
	.callbacks_tabs {
		top: 27%;
		right: 6%;
	}
}
@media(max-width:736px){
	.banner-info_agileits_w3ls h3 {
		font-size: 2.3em;
	}
	.banner-info_agileits_w3ls h4 {
		font-size: 2.3em;
	}
}
@media(max-width:667px){
	ul.top-right-info_w3ls {
		float: right;
		width: 25%;
	}
	.carousel-control.right {
		right: -20px;
	}
	.carousel-control {
		left: -14px;
		margin-top: 32px;
		line-height: 34px;
	}
}
@media(max-width:640px){
	.inner_banner {
	background-size: cover;
	min-height: 360px;
	}
	.top-logo_info_w3layouts {
		width: 100%;
		padding: 1em 1em;
	}
	.logo {
		float: left;
		width: 35%;
		padding: 0;
	}
	.inner-nav_wthree_agileits {
		margin: 0 auto;
		width: 97%;
	}
	.navbar-brand {
		padding: 0 0px;
	}
	.cd-header-buttons {
		top: 11px;
		left: 14px;
	}
	.banner-top, .banner-top1, .banner-top2, .banner-top3 {
		min-height: 420px;
	}
	.banner-info_agileits_w3ls {
		padding: 10em 1.5em 0 1.5em;
		width: 80%;
	}
	.story-img img {
		width: 81%;
		padding: .3em;
		margin-bottom: 1em;
	}
	.footer, .banner_bottom, .mid_slider {
		padding: 1em 0;
	}
	.inner_sec_info_wthree_agile, .mail_form {
		margin-top: 2em;
	}
	.testimonials {
		min-height: 503px;
		float: right;
		padding-top: 4em;
		width: 100%;
	}
	.news-right h4 {
		font-size: 1.8em;
	}
}
@media(max-width:600px){
.news-left video {
	width: 100%;
	min-height: 453px;
	text-align: center;
}
	.inner_banner {
	background-size: cover;
	min-height: 360px;
	}
	.banner-info_agileits_w3ls h3 {
		font-size: 2.2em;
	}
	.banner-info_agileits_w3ls h4 {
		font-size: 2.2em;
	}
	.inner_breadcrumb {
		padding: 0 0.1em;
	}
	.top-right-info_w3ls li {
		margin: 0px 2px;
	}
	.ab_info h4 {
		margin-top: 1em;
		font-size: 1.2em;
	}
}
@media(max-width:480px){
	.inner_banner {
	background-size: cover;
	min-height: 360px;
	}
	.logo {
		float: none;
		width: 100%;
		padding: 0;
		text-align: center;
	}
	.adrress_top {
		float: right;
		width: 100%;
		margin-top: 5em;
	}
	.visit, .mail-us {
		text-align: left;
		float: left;
		width: 100%;
		padding: 0;
	}
	.banner-info_agileits_w3ls h3 {
		font-size: 2em;
	}
	.banner-info_agileits_w3ls h4 {
		font-size: 2em;
	}
	.banner-info_agileits_w3ls {
		padding: 7.8em 1.5em 0 1.5em;
		width: 90%;
	}
	.banner-top, .banner-top1, .banner-top2, .banner-top3 {
		min-height: 360px;
	}
	.callbacks_tabs li {
		display: block;
		margin: 1px 0px;
	}
	.callbacks_tabs a:after {
		height: 10px;
		width: 10px;
	}
	.callbacks_tabs {
		top: 50%;
		right: 6%;
	}
	.b_right, .b_left {
		padding: 0 2px;
		float: left;
		width: 50%;
	}
	.slidering {
		width: 50%;
	}
	.carousel-control {
		left: -14px;
		margin-top: 148px;
		line-height: 34px;
	}
	.quote i {
      font-size: 2em;
	}
	#fade-quote-carousel.carousel .carousel-indicators {
		bottom: 30px;
	}
	.banner-info_agileits_w3ls p {
		font-size: 0.9em;
		margin: 1em 0;
		letter-spacing: 2px;
	}
	.callbacks_nav {
		height: 50px;
		width: 50px;
	}
	.stats {
        padding: 3em 1em;
	}
	.footer h3, .footer h2 {
		font-size: 1.2em;
		margin-bottom: 20px;
		letter-spacing: 0;
	}
	. footer-grid_w3ls_agile {
		padding: 0;
	}
}
@media(max-width:440px){
	.news-right h4 {
		font-size: 1.6em;
	}
	h3.tittle {
		font-size: 1.4em;
	}
	.banner-info_agileits_w3ls h3 {
		font-size: 1.8em;
	}
	.banner-info_agileits_w3ls h4 {
		font-size: 1.8em;
	}
	.inner_banner {
	background-size: cover;
	min-height: 380px;
	}
	.navbar-toggle {
		float: right;
		margin-right: 8px;
	}
}
@media(max-width:414px){
.banner-top {
	background-size: cover;
	min-height: 680px;
	background-image: url(../images/banner1-1.webp);
	background-repeat: no-repeat;
	background-position: 0px 0px;
}

.banner-top1 {
	background-image: url(../images/banner2-1.webp);
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 680px;
}

.banner-top2 {
	background-image: url(../images/banner3-1.webp);
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 680px;
}

.banner-top3 {
	background-image: url(../images/banner4-1.webp);
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 680px;
}
	.inner_banner {
	background-size: cover;
	min-height: 380px;
	}

	.banner-info_agileits_w3ls a {
		padding: 6px 13px;
		letter-spacing: 0px;
		font-size: 13px;
		margin: 0.5em 0.3em 0 0em;
	}
	.banner-info_agileits_w3ls h3 {
		font-size: 1.7em;
	}
	.banner-info_agileits_w3ls h4 {
		font-size: 1.7em;
	}
	.banner-info_agileits_w3ls p {
		font-size: 0.9em;
		margin: 1em 0;
		letter-spacing: 1px;
	}
	.banner-top, .banner-top1, .banner-top2, .banner-top3 {
		min-height: 450px;
	}
	.banner-info_agileits_w3ls {
		padding: 15em 1.5em 0 1.5em;
		width: 100%;
	}
	.stats_left {
		text-align: center;
		float: left;
		width: 100%;
		border: 1px solid #ddd;
		padding: 2em 1em;
	}
	.stats_left h4 {
		font-size: 0.9em;
	}
	.thumbnail {
		display: block;
		padding: 4px;
		margin-bottom: 9px;
	}
}

@media(max-width:375px){
	.inner_banner {
	background-size:  280% 200%;
	min-height: 300px;
	}

	.news-right h4 {
		font-size: 1.4em;
	}
	.footer, .banner_bottom, .mid_slider {
		padding: 1em 0;
	}
	h3.tittle {
		font-size: 1.4em;
	}
	.stats {
		padding: 2.5em 1em;
	}
	.carousel-control {
		left: -3px;
		margin-top: 98px;
		line-height: 34px;
	}
	.carousel-control.right {
		right: -3px;
	}
	.banner-info_agileits_w3ls p {
		font-size: 0.8em;
		margin: 1em 0;
		letter-spacing: 1px;
	}
	.top-right-info_w3ls li i {
		padding-top: 0px;
	}
	.adrress_top span.fa {
		margin-right: 10px;
		font-size: 0.9em;
	}
}
@media(max-width:320px){

	.inner_banner {
	background-size:  280% 200%;
	min-height: 300px;
	}

	.banner-top, .banner-top1, .banner-top2, .banner-top3 {
		min-height: 450px;
	}
	.banner-info_agileits_w3ls h3 {
		font-size: 1.6em;
	}
	.banner-info_agileits_w3ls h4 {
		font-size: 1.6em;
	}
	.banner-info_agileits_w3ls {
		padding: 3.5em 1.5em 0 1.5em;
		width: 100%;
	}
	.contact-text {
		padding: 0 5px;
	}
	.adrees_info h4 {
		font-size: 0.9em;
	}
	.top-right-info_w3ls li {
		margin: 0px 1px;
	}
	.top-right-info_w3ls li i {
		padding-top: 0px;
		font-size: 0.8em;
	}
	.banner-info_agileits_w3ls {
		padding: 3em 1em 0 0.8em;
		width: 100%;
	}
	.banner-info_agileits_w3ls h3 {
		font-size: 1.4em;
	}
	.banner-info_agileits_w3ls h4 {
		font-size: 1.4em;
	}

	.story-img {
		float: left;
		width: 32%;
    }
	.caption_story_w3ls p {
		font-size: 0.8em;
	}
	.caption_story_w3ls {
		float: right;
		width: 67%;
		margin-bottom: 0.5em;
	}
}

.cart.box_1 a {
    color: #333;
}
.login a{
	font-size:13px;
	font-weight:500;
	border:1px solid #E4E4E4;
	padding:10px 15px;
	text-decoration:none;
}
.login a:hover{
	color:#333;
}
.item_add:hover{
	text-decoration:none;
}
.itemContainer{
	width:100%;
	float:left;
}
.itemContainer div{
	float:left;
	margin: 5px 20px 5px 20px ;
}
.itemContainer a{
	text-decoration:none;
}
.cartHeaders{
	width:100%;
	float:left;
}
.cartHeaders div{
	float:left;
	margin: 5px 20px 5px 20px ;
}	
.grid_1 img{
	margin-bottom:1em;
}
.box_1{
  float: right;
  width: 15%;
  margin-top:2em;
}
.box_1 h3{
  color: rgba(113, 111, 111, 1);
  font-size: 1em;
}
.box_1 h3 img{
	margin-left: 5px;
}
.glyphicon-shopping-cart:before {
  margin-left: 5px;
  font-size:1.2em;
}
.box_1 p a{
	color: rgba(204, 204, 204, 1);
  font-size: 0.8em;
}
.box_1 p a:hover{
	color:#ff5d56;
	text-decoration:underline;
}
.total {
  display: inline-block;
}
.header-bottom {
    border-bottom: 1px solid #eee;
}
.logo h1 a{
	color: #F1F1F1;
    font-family: 'Dosis-Medium';
    font-size: 1.3em;
    font-weight: 100;
    padding: 0.5em 1.3em;
	text-decoration:none;
background:#ed645c;	
display:inline-block;
}
.logo h1 a:hover{
	text-decoration:none;
}
.logo{
	float:left;	
}
 .top-nav {
  width: 42%;
  display: block;
  float: left;
}
.skyblue{
	float:left;
}
.banner1{
	background:url(../images/bnr.jpg) no-repeat 0px 0px;
	background-size:cover;
	min-height:585px;
}
.banner2{
	background:url(../images/bnr2.jpg) no-repeat 0px 0px;
	background-size:cover;
	min-height:585px;
}
.banner3{
	background:url(../images/bnr3.jpg) no-repeat 0px 0px;
	background-size:cover;
	min-height:585px;
}
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }
.rslides li {
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }
.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }
.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }
.banner-info {
    width: 59%;
    position: absolute;
    top: 37%;
    left: 20%;
    text-align: center;
    z-index: 1;
}
.banner-info h3{
	color: #FFF;
	font-weight: 700;
	font-size:3em;
	text-transform: uppercase;
	    z-index: 999;
}
.banner-info p{
	color: #FFF;
	line-height: 1.5em;
	font-size: 1.2em;
	width:70%;
	margin:0 auto;
	text-align: center;
	padding:1em 0 1.5em 0;
}
.callbacks_container {
  position: relative;
  width: 100%;
}
.callbacks {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
}
.callbacks li {
  position: absolute;
  left: 0;
  top: 0;
}
.callbacks img {
  position: relative;
  z-index: 1;
  height: auto;
  border: 0;
}
.callbacks .caption {
	display: block;
	position: absolute;
	z-index: 2;
	font-size: 20px;
	text-shadow: none;
	color: #fff;
	left: 0;
	right: 0;
	padding: 10px 20px;
	margin: 0;
	max-width: none;
	top: 10%;
	text-align: center;
}
.callbacks_nav {
	position: absolute;
	top:40%;
	left: 0;
	opacity: 0.7;
	z-index: 3;
	text-indent: -9999px;
	overflow: hidden;
	text-decoration: none;
	height: 72px;
	width: 38px;
	background: transparent url("../images/sp.png") no-repeat -19px -7px;
}
.callbacks_nav:active {
	opacity: 1.0;
}
.callbacks_nav.next {
	left: auto;
	background: transparent url("../images/sp.png") no-repeat -77px -7px;
	right:0;
}
.items{
	padding:4em 0;
}
.feature-grid img {
    width: 100%;
    padding: 0em 2em 1em 2em;
}
.feature-grid {
    position: relative;
    border-bottom: 3px solid #fff;
    padding: 1em;
}
.feature-grid a {
    text-decoration: none;
}
.arrival-info {
    margin-top: 1em;
}
.arrival-info h4 {
    color: #caccce;
    font-size: 0.95em;
    font-family: 'Dosis-Bold';
    text-transform: uppercase;
}
.arrival-info p {
    color: #000;
    font-size: 1em;
    font-weight: 600;
    margin: 10px 0 5px;
}
span.pric1 {
    color: #ADADAD;
    font-size: 0.95em;
}
span.disc {
    color: rgba(7, 152, 40, 0.69);
    font-size: 0.85em;
}
.feature-grid:hover {
    border-bottom:3px solid #ed645c;
}
.btm-sec{
	margin-top:6em;
}
.glyphicon {
  top: 2px;
  margin-right:5px;
}
.glyphicon-eye-open:before{
  color:rgba(149, 148, 148, 0.81);
}
.viw{
  position: absolute;
  background: #eee;
  padding: 0.5em 2.3em;
  font-size:.9em;
  font-weight: 500;
  top: 35%;
  left:30%;
  display: none;
}
.viw:hover{
	text-decoration:underline;
}
.viw a{
	color:rgba(149, 148, 148, 0.81);
}
.viw a:hover{
	text-decoration:underline;
}
.feature-grid:hover div.viw{
	display:block;
}
.offers{
	padding-bottom:3em;
}
.offers h3{
	text-align:center;
	font-family: 'Dosis-Medium';
	font-size:2.2em;
	position:relative;
}
.offers h3:after{
	content:'';
	display:inline-block;
	background:#eee;
	width:18%;
	height:2px;
	position:absolute;
	right:20%;
	top: 18px;
}
.offers h3:before{
	content:'';
	display:inline-block;
	background:#eee;
	width:18%;
	 height: 2px;
    position: absolute;
    left: 20%;
    top: 18px;
}
.offer-grids{
	margin-top:3em;
}
.offer-grid1,.offer-grid2{
	 padding:1.5em;
	 box-shadow:0px 1px 24px #eee;
	background:#eee;
}
.ofr-pic{
	float:left;
	width:20%;
}
.ofr-pic2{
	float:left;
	width:19.5%;
}
.ofr-pic-info{
	float:left;
	width:60%;
	padding-top: 23px;
	margin-left: 5em;
}
.ofr-pic-info2{
	float:left;
	width:60%;
	padding-top: 23px;
	margin-right: 5em;
}
.ofr-pic-info h4,.ofr-pic-info  span{
	text-align:right;
}
.ofr-pic-info h4{
	color:#333;
	font-size:1.6em;
}
.ofr-pic-info2 h4{
	color:#333;
	font-size:1.6em;
}
.ofr-pic-info  span{
	display:block;
	font-size:2.2em;
	font-family: 'Dosis-Medium';
	color:#ed645c;
	margin-top:0.5em;
}
.ofr-pic-info2  span{
	display:block;
	font-size:1.5em;
	font-family: 'Dosis-Medium';
	color:#ed645c;
	margin-top:0.5em;
}
.ofr-pic-info p,.ofr-pic-info2 p{
	display:inline-block;
	text-decoration:none;
	font-family: 'Dosis-Medium';
	font-size:1.1em;
	background:#000;
	color:#fff;
	padding:0.5em 1.2em;
	margin-top:2em;
	text-transform:uppercase;
	float:right;
	transition: 0.5s all;
}
.ofr-pic-info p:hover, .ofr-pic-info2 p:hover{
	background:#ed645c;
}
.ofr-pic-info2 h5{
	display:block;
	font-size:2.5em;
	font-family: 'Dosis-Medium';
	color:#333;
}
.ofr-pic-info2 p{
	float:left;
	margin-top:2.2em;
}
.subscribe{
	background:#ed645c;
	text-align:center;
	padding:2em 0;
}
.subscribe h3{
	color:#fff;
	padding-bottom:1em;
	margin:0;
	font-family: 'Dosis-Medium';
	font-size: 2.2em;
}
.subscribe form{
	width:50%;
	margin:0 auto;
}
.subscribe form input[type="text"]{
	border:0;
	outline:0;
	width:74%;
	font-size:1em;
	padding:0.6em 1em;
	color:#7D7D7D;
}
.subscribe form input[type="submit"]{
	outline:none;
	border:1px solid #fff;
	width:20%;
	padding:0.55em;
	background:none;
	margin-left:1em;
	color:#fff;
}
.subscribe form input[type="submit"]:hover{
	color:#333;
	border:1px solid #fff;
	background:#fff;
	transition:0.5s all;
}
.about-us h3{
	 color: #555;
	font-size:1.8em;
	font-family: 'Dosis-Medium';
	margin-bottom:1em;
}
.about-us p{
	line-height:1.7em;
	color:#7F7F7F;
	font-size:0.9em;
}
.ftr-grid h3 {
    font-size: 1.8em;
    color: #555;
    font-family: 'Dosis-Medium';
    margin: 0 0 1em;
}
ul.nav-bottom li {
    list-style: none;
	padding:2px 0;
}
ul.nav-bottom li a {
    text-decoration: none;
    color: #7F7F7F;
    font-size: 0.9em;
    display: inline-block;
}
ul.nav-bottom li a:hover{
    color: #ed645c;
}
ul.nav-bottom li:nth-child(1){
	margin:0;
}
.copywrite{
	padding:1em 0;
	background:#7D7D7D;
}
.copy{
	float:left;
}
.copy p{
	color:#fff;
	font-size:0.95em;
	padding-top:10px;
}
.copy p a{
	color:#fff;
}
.copy p a:hover{
	color:#ed645c;
}
.social {
  margin: 0em 0;
  float: right;
}
.social i {
width: 27px;
height: 27px;
background: url('../images/social.png') no-repeat 0px 0px;
display: inline-block;
margin:0 5px;
}
a i.facebook{
background-position:-3px -2px;
}
a i.twitter{
background-position: -43px -3px;
}
a i.dribble{
background-position: -83px -3px;
}
a i.google{
background-position:-126px -2px
}
a i.youtube{
background-position:-167px -3px;
}
a i.facebook:hover{
background-position:-3px -36px;
}
a i.twitter:hover{
background-position: -43px -36px;
}
a i.dribble:hover{
background-position: -83px -36px;
}
a i.google:hover{
background-position:-126px -36px
}
a i.youtube:hover{
background-position:-167px -36px;
}
.b-link-stripe{
	position:relative;
	display:inline-block;
	vertical-align:top;
	font-weight: 300;
	overflow:hidden;
	width: 100%;
}
.b-link-stripe .b-wrapper{
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	text-align:center;
	color:#ffffff;
	overflow:hidden;
}
.b-link-stripe:hover .b-line{
	opacity:1;
}
.login_sec{
padding: 0em 0 3em 0;
}
.log{
margin:1em 0 0em 0;
padding:0;
}
.login_sec h2{
  font-size: 2.3em;
  font-family: 'Dosis-Bold';
  color: #333;
}
.login-right h3{
	text-transform: uppercase;
  font-size: 1.4em;
  font-family: 'Aladin', cursive;
  letter-spacing: 2px;
  color: #333;
  margin-bottom:0.5em;
}
.log p{
color: #A7A7A7;
line-height:1.8em;
font-size:1em;
}
.reg-right{
padding:2em 0 0 3em;
}
.login-right input[type="text"] {
border: 1px solid #EEE;
outline-color: #3498db;
width: 96%;
font-size: 0.8125em;
padding: 0.5em;
}
.log p span{
display:inline-block;
cursor:pointer;
color:#1a1818;
text-decoration:underline;
}
.log h5{
color: #5d5959;
font-size:1.3em;
padding-bottom:10px; 
}
.log form {
margin-top:2em;
}
.log form input[type="text"],.log form input[type="password"] {
width: 90%;
padding: 8px;
font-size: 1em;
font-weight: 400;
border: 1px solid #D6D6D6;
outline: none;
color: #5d5959;
margin-bottom:2em;
}
.log form input[type="submit"]{
display:inline-block;
  background: #00a0dc;
  padding: 0.6em 2em;
  font-size:1em;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border:none;
  outline:none;
  margin-right:2em;
  margin-bottom:1em;
  transition: 0.5s all;
}
.log form input[type="submit"]:hover,a.acount-btn:hover{
	background:#ed645c;
	color:#fff;
	text-decoration:none;
}
.log a{
text-decoration:underline;
font-size:0.85em;
font-weight:400;
color:#7b7a7a;
}
a.acount-btn {
  display:inline-block;
  background: #00a0dc;
  padding: 0.6em 2em;
  font-size:1em;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border:none;
  outline:none;
  margin-bottom:1em;
  transition: 0.5s all;
}
.login-right p {
color: #999;
display: block;
font-size: 0.9em;
margin: 0 0 2em 0;
line-height: 1.7em;
}
.registration{
	padding: 0em 0% 3em 0;
}
.registration h2{
	font-size:1.8em;
	color: #333;
	text-transform:capitalize;
	margin-bottom: 4%;
	font-family: 'Dosis-Bold';
	font-weight:300;
}
.reg_fb {
	margin:3% 0;
	display: block;
	background: #3B5998;
	transition: all 0.5s ease-out;
}
.reg_fb img {
	background:#354F88;
	padding: 10px;
	float: left;
}
.reg_fb i {
	color: #ffffff;
	padding: 12px 16px;
	display: inline-block;
	font-size: 1.3em;
	text-transform: capitalize;
	font-style: normal;
}
.reg_fb:hover {
	background:#354F88;
}
.registration_left{
	float: left;
	width: 45.33333%;
	margin-left: 9.333%;
}
.registration_left:first-child{
	margin-left: 0;
}
.registration span{
	color: #777777;
}
.registration_form{
	display: block;
}
.registration_form div{
	padding:10px 0;
}
.sky_form1{
	margin-bottom: -30px;
}
.sky_form1 ul{
	padding:0;
	list-style:none;
}
.sky_form1 ul li{
	float:left;
	margin-left:20px;
}
.sky_form1 ul li:first-child{
	margin-left: 0;
}
.radio{
	margin-top:0;
}
.radio, .checkbox {
    display: block;
    min-height: 20px;
    padding-left: 20px;
    margin-bottom: 10px;
}
.checkbox{
	font-size:0.9em;
	color:#999;
	margin:0;
}
.registration_form input[type="text"],.registration_form input[type="email"],.registration_form input[type="tel"],.registration_form input[type="password"]{
	padding: 8px;
	display: block;
	width:100%;
	outline: none;
	color: #333333;
	text-transform: capitalize;
	background: #FFFFFF;
	border: 1px solid rgb(231, 231, 231);
	font-weight: normal;
}
.registration_form input[type="submit"]{
	font-size: 0.75em;
  display: inline-block;
  background: #00a0dc;
  padding: 0.8em 2em;
  color: #fff;
  text-decoration: none;
  border:none;
  text-transform:uppercase;
  font-weight: 500;
	transition: 0.5s ease;
}
.registration_form input[type="submit"]:hover{
	background:#ed645c;
}
.terms{
	text-decoration:underline;
	text-transform:capitalize;
	color: #999;
}
.terms:hover{
	text-decoration:none;
	color:#333;
}
.forget a{
	text-transform: capitalize;
	color: #999999;
	text-decoration: underline;
	font-size: 0.8925em;
}
.forget a:hover{
	text-decoration: none;
}
#index-im {
	width: 50%;
	float: center;
	padding-left: 10em;
}

@media (max-width: 1440px){
}
@media (max-width: 1366px){
#index-im {
	width: 50%;
	float: center;
	padding-left: 10em;
}

.top-nav {
    width: 44%;
}
}
@media (max-width: 1280px){
.top-nav {
    width: 46%;
}
.banner-info {
    width: 60%;
	    top: 43%;
}
.banner-info h3 {
    font-size: 2.7em;
}
.banner-info p {
    font-size: 1em;
    width: 80%;
}
.ofr-pic-info h4 {
    font-size: 1.4em;
}
.ofr-pic-info span {
    font-size: 2em;
}
.ofr-pic-info2 h5 {
    font-size: 2em;
}
.about-us p {
    font-size: 0.9em;
}
ul.nav-bottom li a {
    font-size: 0.95em;
}
.single-top-in{
	width:100%;
	padding-top: 2em;
	padding-bottom: 1em;
}
	
}
@media (max-width: 1080px){
.top-nav {
    width: 59%;
}
.banner1,.banner2,.banner3 {
    min-height: 420px;
}
.banner-info h3 {
    font-size: 2.2em;
}
.single-para h4 {
    font-size: 1.6em;
}
.single-top-in{
	width:100%;
	padding-top: 2em;
	padding-bottom: 1em;
}
.single-para h5 {
    padding: 1em 0;
    margin: 0em 0 0.5em;
}
p.para {
    font-size: 0.95em;
}
.prdt-info-grid ul li {
    font-size: 0.83em;
}
}
@media (max-width: 1024px){
.top-nav {
    width: 58%;
}
.banner1, .banner2, .banner3 {
    min-height: 385px;
}
.banner-info {
    width: 61%;
}
.thumb-image {
    width: 290px;
    padding: 1em;
}
.single-top {
    width: 34%;
    margin-right: 5em;
}
.imagezoom-view{
position: absolute;
    left: 340.5px!important;
    top: 150px!important;
    width: 495px;
    height: 390px!important;
    z-index: 2147483647;
    overflow: hidden;
    border: none;
    background: rgb(0, 0, 0);
}
.item_add {
    padding: 0.5em 1em;
}
}
@media (max-width: 991px){
.top-nav {
    width: 56%;
}
.banner-info h3 {
    font-size: 2em;
}
.feature-grid {
    width: 22%;
    float: left;
    padding: 0 0px;
    margin: 0 10px;
}
.viw {
    top: 30%;
    left: 18%;
}
.offers h3 {
    font-size: 2em;
}
.offers h3:before {
    left: 13%;
}
.offers h3:after {
    right: 13%;
}
.offer-grid1 {
    margin-bottom: 2em;
}
.ofr-pic{
    float: left;
    width: 15%;
}
.ofr-pic2 {
    float: left;
    width: 15%;
}
.about-us {
    width: 25%;
    float: left;
	padding-left:0;
}
.ftr-grid {
    width: 25%;
    float: left;
}
.product-info-cust p {
    letter-spacing: 0px;
    font-size: 0.7em;
}
.rsidebar {
    margin: 2em 0em 0% 0;
    width: 100%;
}
.span_1_of_3 {
    width: 100%;
    padding: 1.5% 0;
}
.span_2_of_3 {
    width: 100%;
    padding: 1.5% 0;
}
.product-model h2, h2.top, .contact h3 {
    font-size: 2em;
}
.single-top-in{
	width:100%;
	padding-top: 2em;
	padding-bottom: 1em;
}
.single-top {
    width: 47%;
    float: left;
    margin-right: 0em;
}
.btm-grid {
    width: 33%;
    float: left;
}
}
@media (max-width: 800px){
.top-nav {
    width: 49%;
}
.banner-info {
    width: 75%;
    left: 13%;
}
.single-top {
    margin-right: 0em;
}
}
@media (max-width: 768px){
.feature-grid {
    width: 45%;
    margin: 1em 1em;
}
.viw {
    top: 40%;
    left: 36%;
}
.single-para h4 {
    font-size: 1.27em;
}
p.para {
    font-size: 0.9em;
}
.btm-grid h4 {
    font-size: 1.1em;
}
.contact {
    padding-bottom: 0em;
}
.subscribe form {
    width: 80%;
}
.subscribe form input[type="text"] {
    width: 70%;
}
.single-top {
    margin-right: 0em;
}
.imagezoom-view{
position: absolute;
    left: 340.5px!important;
    top: 150px!important;
    width: 200px!important;
    height: 390px!important;
}
.items {
    margin: 10px 0 0px 0px;
}
}
@media (max-width:736px){
.top-nav {
    width: 46%;
}
}
@media (max-width: 667px){
.top-nav {
    width: 43%;
}
.b-animate button {
    width: 66%;
}
}
@media (max-width: 640px){
.top-nav {
    width: 42%;
}
.about-us {
    width: 50%;
}
.footer {
    padding: 2em 0 0;
}
.ftr-grid {
    width: 50%;
	margin-bottom:2em;
}
.banner1, .banner2, .banner3 {
    min-height: 285px;
}
.b-animate button {
    font-size: 0.7em;
}
.item_quantity {
    width:44%;
}
ul.place li.sort {
    font-size: 0.85em;
}
.single-top {
    width: 50%;
    margin: 0 auto;
	float:none;
}
.thumb-image {
    width: 262px;
    padding: 1em;
}
.single-top-in {
    width: 100%;
    float: none;
	margin-top: 2em;
}
.form-control {
    width: 84%;
    margin-right:5%;
    float: left;
}
.navbar-form .form-group {
    margin-bottom: 0px;
}
.login_sec h2 {
    font-size: 2em;
}
.registration h2 {
    font-size: 1.6em;
}
span.item_price {    
    margin: 6px 0 0px;
}

.ab_info-1 h4 {
	font-size: 1.5em;
	line-height: 2em;
}

}
@media (max-width: 600px){
.top-nav {
    width: 35%;
}
.box_1 {
    width: 19%;
}
.form-control {
    width: 78%;
}
.order-botton {
	width: auto;
	padding-right: 10%;
	padding-left: 10%;
}
}
@media (max-width: 568px){
#index-im {
    width: 100%;
	float: center;
	margin-left: 0em;
}
.top-nav {
    width: 29%;
}
}
@media (max-width: 480px){
.logo h1 a {
    font-size: 1em;
    padding: 0.3em 4.85em;
}
.top-nav {
    width: 36%;
}
.box_1 {
    width: 26%;
    margin-top: 1em;
}
.banner-info h3 {
    font-size: 1.3em;
}
.banner-info p {
    font-size: 0.85em;
    width: 94%;
}
.feature-grid {
    width: 46%;
    margin:1em 0.5em;
}
.offers h3 {
    font-size: 1.3em;
}
.offers h3:before,.offers h3:after {
    top: 10px;
}
.ofr-pic {
    width: 23%;
}
.ofr-pic-info {
    width: 56%;
}
.ofr-pic-info span {
    font-size: 1.6em;
}
.ofr-pic-info h4 {
    font-size: 1.1em;
}
.ofr-pic-info p, .ofr-pic-info2 p {
    font-size: 0.85em;
}
.ofr-pic-info2 h4 {
    color: #333;
    font-size: 1.2em;
}
.ofr-pic-info2 span {
    font-size: 1.3em;
}
.ofr-pic-info2 h5 {
    font-size: 1.6em;
}
.ofr-pic2 {
    width: 20%;
}
.about-us {
    width: 100%;
    margin-bottom: 1em;
}
.ftr-grid {
    width: 100%;
    margin-bottom: 1em;
    padding: 0;
}
.ftr-grid h3 {
    font-size: 1.4em;
    margin: 0px 0 0.5em;
}
.product-model-sec {
    margin: 2em 0 0 0;
    padding: 0;
}
.product-grid {
    width: 46%;
}
.form-control {
    width: 79%;
}
.single-para h5 {
    font-size: 1.5em;
}
.btm-grid {
    width: 50%;
}
.span_2_of_3 h4, .span_1_of_3 h4 {
    font-size: 1.1em;
}
.company_address p {
    font-size: 0.85em;
}
.contact-form input[type="submit"] {
    padding: 7px 26px;
    font-size: 1em;
}
.cart-item-info {
    width: 100%;
}
.delivery p {
    font-size: 0.8em;
}
.delivery span{
	font-size: 0.8em;
}
.single-top {
    width: 70%;
    margin: 0 auto;
    float: none;
}
.banner1, .banner2, .banner3 {
    min-height: 240px;
}
.viw {
    top: 35%;
    left: 25%;
	 font-size: 1em;
} 
.subscribe form input[type="submit"] {
    width: 24%;
}
.subscribe h3 {
    padding-bottom: 0.5em;
    font-size: 2em;
}
.registration_left {
    width: 100%;
}
.registration_left {
    width: 100%;
    margin-left: 0%;
	margin-top:2em;
}
.copywrite{
	text-align:center;
}
.copy {
	float:none;
}
.copy p {
    font-size: 0.9em;
}
.social{
	float:none;
	margin-top:1em;
}
.item_quantity {
    padding: 6px 10px;
}
.items {
    margin: 0;
	    padding: 0em 0 3em;
}
.btm-sec {
    margin-top: 1em;
}
input.item_add.items {
    padding: 0.7em 2em;
    font-size: 0.85em;
    margin: 12px 0 0 17px;
}
.single-para h5 {
	color:#09F;
	font-size: 1em;
	border-bottom: 1px solid #C4C3C3;
	margin-top: 0.2em;
	margin-right: 0;
	margin-bottom: 0.5em;
	margin-left: 0;
	padding-top: 0.2em;
	padding-right: 0;
	padding-bottom: 0.5em;
	padding-left: 0;
}

}
@media (max-width: 414px){
#index-im {
	float: center;
	margin-left: -8em;
}
.logo h1 a {
    font-size: 1em;
    padding: 0.3em 3.9em;
}
.item_quantity {
    padding: 6px 6px !important; 
}
input.item_add.items {
    padding: 0.7em 1.5em !important;
    font-size: 0.85em !important;
    margin: 8px 0 0 9px !important;
}
.item_quantity {
    margin: 0.8em 0 !important;
}
.item_quantity {
    width: 32% !important;
}
.form-control {
    width: 73%;
}
.subscribe form input[type="text"] {
    width: 61%;
}
.subscribe form input[type="submit"] {
    width: 28%;
}
}
@media (max-width: 384px){
#index-im {
    width: 100%;
	float: center;
	margin-left: -10em;
}
.news-left {
	padding-left: 0;
	padding-top: 2em;
	padding-right: 1em;
	text-align: center;
}

.logo h1 a {
    font-size: 1em;
    padding: 0.3em 3.4em;
}
.top-nav {
    width: 42%;
}
.box_1 {
    width: 27%;
}
.subscribe form input[type="submit"] {
    width: 30%;
}
}
@media (max-width: 320px){
#index-im {
	float: center;
}
.logo h1 a {
    font-size: 1em;
    padding: 0.3em 2.66em;
}
.box_1 {
  width: 33%;
  margin: 1em;
}
.feature-grid {
    width: 100%;
    margin: 1em 0em 1.5em;
}
.viw {
    font-size: 1.1em;
}
.ofr-pic {
    width: 35%;
    float: none;
    margin: 0 auto;
}
.ofr-pic-info {
    width: 100%;
    margin-left: 0em;
}
.ofr-pic-info span {
    font-size: 1.4em;
}
.ofr-pic-info2 h4 {
    font-size: 1.1em;
}
.ofr-pic-info2 {
    float: left;
    width: 100%;
    padding-top:10px;
    margin-right: 0;
}
.form-control {
    width: 69%;
    margin-left: 0.5em;
}
.top-sing {
    margin-bottom: 2em;
}
.ofr-pic2 {
    width: 35%;
    float: none;
    margin: 0 auto;
}
.product-grid {
    width: 100%;
	margin: 0 0% 4% 0;
}
.btm-grid {
    width: 100%;
}
.single-top {
    width: 100%;
}
.thumb-image {
    width: 222px;
    padding: 1em;
}
.cart-item {
    width: 50%;
    margin-right: 0em;
}
.check-sec {
    padding: 2em 0 0;
}
.banner-info h3 {
    font-size: 1em;
}
.banner-info {
    width: 90%;
    left: 6%;
	top: 31%;
}
.banner1, .banner2, .banner3 {
    min-height: 195px;
}
.callbacks_nav {
    top: 40%;
    left: 0px;
    height: 72px;
    width: 22px;
    background: transparent url("../images/sp.png") no-repeat -13px -6px;
    background-size: 84px;
}
.callbacks_nav.next {
    background: transparent url("../images/sp.png") no-repeat -44px -4px;
    background-size: 88px;
}
.subscribe form {
    width: 100%;
}
.subscribe form input[type="text"] {
    width: 100%;
	margin-bottom:1em;
}
.subscribe form input[type="submit"] {
    width: 39%;
}
.item_quantity {
    width: 61%;
}
}

.mail_form textarea {
	outline: none;
	background: none;
	border: 2px solid #b5b5b5;
	font-size: 13px;
	color: #212121;
	width: 100%;
	padding: .9em 0.9em;
	margin: 2em 0;
	min-height: 200px;
	letter-spacing: 1px;
}

.mail_form textarea::-webkit-input-placeholder {
	color: #333 !important;
}

.mail_form input[type="submit"] {
	outline: none;
	background: #168eea;
	color: #fff;
	padding: 1em 0;
	font-size: 1em;
	font-weight: bold;
	border: none;
	text-transform: uppercase;
	width: 24%;
}

.mail_form input[type="submit"]:hover {
	background: #ffce14;
}

.map iframe {
	width: 100%;
	min-height: 453px;
}

.map {
	padding: 0;
}

.contact_grid {
	padding: 2em 0 2em;
	text-align: center;
	background-color: #9CC;
}

.contact_grid:nth-child(2) {
	margin: 0.5em 0;
}

.contact_grid p {
	color: #FFF;
	line-height: 1.9em;
}

.agile_contact_grid_left i {
	font-size: 3em;
	color: #168eea;
	line-height: 2em;
}

.contact_grid_right h4 {
	font-size: 1.2em;
	color: #333;
	font-weight: 600;
	margin-bottom: .5em;
}

.contact_grid_right p a {
	color: #555;
	text-decoration: none;
}

.contact_grid_right p span {
	display: block;
}

.w3_agile_mail_grid {
	padding-left: 0;
}

.mobil-contact {
    position: fixed;
    bottom: 0px;
    z-index: 998;
    text-align: center;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, .6);
    border-radius: 15px 15px 0 0;

}
.mobil-contact a {
    color: rgb(38, 58, 85);
}
.mobil-contact .call {
	line-height: 50px;
	height: 50px;
	border-radius: 15px 0 0 0;
	background-color: rgb(248, 248, 248);
	float: left;
	width: 100%;
}
.mobil-contact .contact {
	border-radius: 0 15px 0 0;
	line-height: 50px;
	height: 50px;
	background-color: rgb(255, 255, 255);
	float: left;
	width: 100%;
}
#pc-container {
    width: calc(100%);
    height: 100%;
}

@media (min-width:1200px) {
    .mobil-contact {
        display: none;
    } 
}
@media (max-width:1200px) {
    #pc-container {
        width: unset;
    }
}

.col-6 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
}

.col-7 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 58.333333%;
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}

.col-8 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 66.666667%;
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.col-9 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 75%;
  flex: 0 0 75%;
  max-width: 75%;
}

.col-10 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 83.333333%;
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

.col-11 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 91.666667%;
  flex: 0 0 91.666667%;
  max-width: 91.666667%;
}

.col-12 {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	max-width: 100%;
	width: 100%;
	background-color: #FFF;
}

/* ==================================================
   1. 解決「上方有白邊 / 綠色無法貼齊頂部」的問題
   ================================================== */
body, html {
    margin: 0 !important;
    padding: 0 !important;
}

header.vitabox-style-header {
    margin: 0 !important;
    padding: 0 !important;
}

/* 強制隱藏頂部的行動版聯絡列 (避免它在電腦版佔用空間把選單往下擠) */
@media (min-width: 769px) {
    .mobil-contact {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* ==================================================
   2. 解決「圖示與文字還是歪掉」的問題 (暴力對齊法)
   ================================================== */

/* 讓連結本身跟綠色橫幅一樣高 */
.top-bar-right.action-icons .icon-link {
    display: flex !important;
    align-items: center !important;
    height: 40px !important; /* 跟 top-bar 同高 */
    text-decoration: none !important;
    color: #ffffff !important;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
}

/* 剝奪圖示作亂的權利，強制它滿版並置中 */
.top-bar-right.action-icons .icon-link i {
    display: flex !important;
    align-items: center !important;
    height: 40px !important; /* 跟 top-bar 同高 */
    font-size: 16px !important;
    margin: 0 5px 0 0 !important;
    padding: 0 !important;
    line-height: 0 !important; 
}

/* 文字也一樣強制滿版並置中 */
.top-bar-right.action-icons .icon-link .text {
    display: flex !important;
    align-items: center !important;
    height: 40px !important; /* 跟 top-bar 同高 */
    font-size: 13px !important;
    font-weight: 400 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important; 
}

/* ==================================================
   3. 購物車紅點與搜尋放大鏡的最終微調
   ================================================== */
.top-bar-right.action-icons .cart-count {
    top: 6px !important; /* 配合 40px 的高度，稍微往下挪一點才不會超出邊界 */
    right: -10px !important;
}

.search-box button {
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.search-box button i {
    margin: 0 !important; /* 避免放大鏡歪一邊 */
    height: auto !important; 
}

/* ==========================================================================
   Header Social Icons Styling (FB, IG, YT, LINE)
   ========================================================================== */

/* Set basic spacing for all icons in header-right */
.header-right a i {
    margin-left: 1px;
    transition: all 0.3s ease;
}

/* Individual Brand Colors on Hover */

/* 1. Facebook Hover Color */
.header-right a:hover i.fa-facebook-official {
    color: #1877F2 !important;
}

/* 2. Instagram Hover Color (Pink/Gradient vibe) */
.header-right a:hover i.fa-instagram {
    color: #E4405F !important;
}

/* 3. YouTube Hover Color (Red) */
.header-right a:hover i.fa-youtube-play {
    color: #FF0000 !important;
}

/* 4. LINE Hover Color (Green) */
.header-right a:hover i.fa-comments {
    color: #06C755 !important;
}

/* 5. threads Hover Color (黑) */
.header-right a:hover i.fa-youtube-play {
	color: #000 !important;
}

/* 6. shopee Hover Color (橘紅) */
.header-right a:hover i.fa-shopping-bag {
	color: #F30 !important;
}



/* Ensure icons scale nicely on mobile */
@media (max-width: 767px) {
    .header-right {
        right: 10px !important;
        top: 12px !important;
    }
    .header-right a {
        margin-left: 10px !important;
        font-size: 18px !important;
    }
	/* 隱藏 header 裡面所有的 a 連結包著的 fa 圖示 */
  header .fa-facebook-official,
  header .fa-instagram,
  header .fa-youtube-play,
  header .fa-comments,
  /* 或者直接隱藏包住這些 fa 的那個 a 標籤 */
  header a[href*="facebook.com"],
  header a[href*="instagram.com"],
  header a[href*="youtube.com"],
  header a[href*="line.me"] {
    display: none !important;
  }
}

/* 基礎排版設定 */
.shop-container {
  display: flex;
  max-width: 1200px; /* 確保有最大寬度限制 */
  width: 100%;       /* 加上這行，確保它會盡量填滿可用空間 */
  margin: 40px auto;
  padding: 0 20px;
  gap: 40px;
  box-sizing: border-box; /* 確保 padding 不會影響總寬度 */
}

/* 左側邊欄設定 */
.shop-sidebar {
  width: 240px;
  flex-shrink: 0;
}
.sidebar-title {
  font-size: 18px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
  margin-bottom: 15px;
}
.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-list li {
  margin-bottom: 12px;
}
.sidebar-list a {
  text-decoration: none;
  color: #555;
  font-size: 15px;
  transition: color 0.2s ease;
}
.sidebar-list a:hover, .sidebar-list a.active {
  color: #000;
  font-weight: 600;
}

/* 右側主內容與頂部篩選 */
.shop-main {
    width: 100%;
  }
.shop-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
  color: #666;
}
.sort-select {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* 網格系統 (使用 CSS Grid) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 強制一行排 3 個，如果想要 4 個就改成 repeat(4, 1fr) */
  gap: 25px;
}

/* 商品卡片細節 */
.product-card {
  position: relative;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0; /* 確保不會被內部內容撐破 */
  width: 100%;  /* 讓卡片填滿 Grid 分配給它的格子 */
}
.product-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #6dc77c; /* 您可以修改為 Kadis 品牌的代表色 */
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  z-index: 1;
  letter-spacing: 1px;
}
/* 確保圖片外框可以隱藏滿出去的元素 */
.product-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
  overflow: hidden; /* 關鍵：這會把往下藏的按鈕遮住 */
}

/* 購物車按鈕：預設隱藏並往下沉 */
.add-to-cart-btn {
  position: absolute;
  bottom: -50px; /* 預設將按鈕推到圖片外框底下藏起來 */
  left: 0;
  width: 100%; /* 讓按鈕與圖片同寬 */
  padding: 12px 0;
  background-color: rgba(51, 51, 51, 0.9); /* 帶有一點透明度的深灰底色 */
  color: #fff;
  border: none;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  opacity: 0; /* 預設完全透明 */
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* 設定滑順的動畫時間 */
  z-index: 2; /* 確保按鈕在圖片上層 */
}

/* 關鍵動畫：當滑鼠滑過「整個商品卡片」時，按鈕浮現 */
.product-card:hover .add-to-cart-btn {
  bottom: 0; /* 從底部升起並貼齊邊緣 */
  opacity: 1; /* 變成完全不透明 */
}

/* 當滑鼠移到「按鈕本身」上方時的變化 */
.add-to-cart-btn:hover {
  background-color: #000; /* 顏色變全黑 */
}
/* 確保裡面的圖片即使沒有載入，也不會把排版弄壞 */
.product-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-title {
  font-size: 16px;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.4;
  font-weight: 500;
}
.product-price {
  font-size: 18px;
  color: #d14949;
  font-weight: bold;
  margin: 0 0 6px 0; /* 將底部的留白縮小為 8px */
}
.add-to-cart-btn {
  margin-top: auto; /* 確保按鈕在卡片底部對齊 */
  padding: 10px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s ease;
}
.add-to-cart-btn:hover {
  background-color: #555;
}

/* 手機版 RWD 處理 */
@media (max-width: 768px) {
  .shop-container {
    flex-direction: column;
    margin: 20px auto;
    gap: 20px;
  }
  .shop-sidebar {
    width: 100%;
    margin-bottom: 20px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr); /* 手機版並排 2 個商品 */
    gap: 15px;
  }
  .product-title {
    font-size: 14px;
  }
  .product-price {
    font-size: 16px;
  }
}

/* --- 側邊欄搜尋框樣式 --- */
.sidebar-search {
  display: flex;
  margin-bottom: 30px; /* 與下方的分類標題保持距離 */
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden; /* 確保圓角平滑 */
  background: #fff;
  transition: border-color 0.3s ease;
}

/* 當使用者點擊輸入框時，外框顏色變深 */
.sidebar-search:focus-within {
  border-color: #999;
}

.search-input {
  flex-grow: 1;
  border: none;
  padding: 10px 12px;
  font-size: 14px;
  color: #333;
  outline: none; /* 移除瀏覽器預設的藍色粗外框 */
  min-width: 0;  /* 防止輸入太長的字撐破版面 */
}

/* 搜尋輸入框的提示文字顏色 */
.search-input::placeholder {
  color: #aaa;
}

.search-btn {
  background: #fafafa;
  border: none;
  border-left: 1px solid #e0e0e0;
  padding: 0 14px;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.search-btn:hover {
  background: #f0f0f0;
  color: #333;
}

/* =========================================
   手機版專屬設定 (螢幕寬度小於 768px)
   ========================================= */
@media (max-width: 768px) {
  
  /* 1. 調整整體外框與間距 */
  .shop-container {
    flex-direction: column;
    margin: 15px auto;
    padding: 0 10px; /* 縮小左右邊距，把空間還給商品卡片 */
    gap: 15px;
  }

  /* 2. 將側邊分類改為「橫向滑動」選單 (提升手機瀏覽體驗) */
  .shop-sidebar {
    width: 100%;
    margin-bottom: 10px;
  }
  .sidebar-list {
    display: flex;
    overflow-x: auto; /* 允許橫向滑動 */
    gap: 20px;
    padding-bottom: 5px;
    white-space: nowrap; /* 確保文字不會換行 */
    -webkit-overflow-scrolling: touch; /* 讓 iOS 滑動更順暢 */
  }
  .sidebar-list li {
    margin-bottom: 0; /* 移除原本的垂直間距 */
  }
  /* 隱藏原生卷軸讓畫面更乾淨 (可選) */
  .sidebar-list::-webkit-scrollbar {
    display: none;
  }

  /* 3. 調整商品網格與卡片內部空間 */
  .product-grid {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: 12px !important;
    justify-items: stretch !important; /* 強制內容拉伸填滿格子 */
  }
  .product-info {
    padding: 10px; /* 縮小卡片內部的留白 */
  }

  /* 4. 修正文字大小與防止價格斷行 */
  .product-title {
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.3;
  }
  .product-price {
    font-size: 15px;
    white-space: nowrap; /* ?? 關鍵：強制價格不准換行 ?? */
  }

  /* 5. 調整標籤大小 */
  .product-badge {
    font-size: 11px;
    padding: 3px 6px;
    top: 8px;
    left: 8px;
  }
  
  
}

/* ==========================================================================
   左側產品目錄清單 (符合新版 Kadis 極簡質感風)
   ========================================================================== */
.kadis-sidebar-menu {
}

/* 頂部標題 */
.kadis-sidebar-menu .sidebar-title {
    font-size: 16px;
    color: #333333;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #79A342; /* Kadis 品牌綠色的底線 */
    letter-spacing: 1px;
}

/* 清單本體 */
.kadis-sidebar-menu .sidebar-product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kadis-sidebar-menu .sidebar-product-list li {
    margin-bottom: 2px; /* 項目之間的微小間距 */
}

/* 連結文字預設狀態 */
.kadis-sidebar-menu .sidebar-product-list li a {
    display: block;
    font-size: 15px;
    color: #777777; /* 預設為優雅的淺灰色 */
    text-decoration: none;
    padding: 10px 12px;
    transition: color 0.3s ease; /* 只做顏色的滑順過渡，不移動 */
    letter-spacing: 1px;
}

/* ?? 極簡版 Hover 效果：字體微微變深，沒有任何移動感 */
.kadis-sidebar-menu .sidebar-product-list li a:hover,
.kadis-sidebar-menu .sidebar-product-list li a.active {
    color: #222222; /* 滑鼠移過去時，字體變成深黑色 */
    background: transparent; /* 確保沒有背景色 */
}

/* ==========================================================================
   手機版專屬優化：隱藏側邊產品清單，但「保留搜尋框」
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. 只隱藏長長的產品目錄，不隱藏整個側邊欄 */
    .kadis-sidebar-menu {
        display: none !important; 
    }
    
    /* 2. 縮小搜尋框下方的留白，讓商品圖片能更靠上 */
    .sidebar-search {
        margin-bottom: 15px !important;
    }
    
    /* 3. 順便把商品外層容器頂部的空白縮小，讓畫面更緊湊 */
    .shop-container {
        margin-top: 10px !important; 
    }
}

/* ==========================================================================
   Mother's Day Card / Event Banner Styling
   ========================================================================== */

/* 1. Container for the banner */
.event-banner-frame {
    width: 100%;
    max-width: 950px;      /* ? Set a nice width so it doesn't look too huge */
    margin: 0 auto 60px auto; /* Centered with space below */
    text-align: center;
    padding: 0 15px;
}

/* 2. Image styling (Rounded and Soft Shadow) */
.event-banner-frame img {
    width: 100%;
    height: auto;
    border-radius: 15px;   /* Elegant rounded corners */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); /* Premium soft shadow */
    transition: all 0.4s ease;
}

/* 3. Hover effect */
.event-banner-frame img:hover {
    transform: translateY(-8px); /* Lifts up slightly on hover */
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

/* 4. Mobile adjustment */
@media (max-width: 767px) {
    .event-banner-frame {
        margin-bottom: 40px;
    }
    .event-banner-frame img {
        border-radius: 10px;
    }
}


/* ==========================================================================
   Footer Social Icons Block (FB, IG, YT, LINE)
   ========================================================================== */

/* 1. 外層容器：縮小上下間距，讓排列更緊湊 */
.footer-social-box {
    display: flex !important;
    flex-direction: column !important; 
    gap: 10px !important;              /* ? 縮小間距 (原本15px) */
    margin-top: 15px !important;
    align-items: flex-start !important; 
}

/* 2. 圓形按鈕主體：縮小整體尺寸與強制置中 */
.footer-social-box .social-icon {
    display: flex !important;
    align-items: center !important;    /* ? 加上 !important 強制垂直置中 */
    justify-content: center !important;/* ? 加上 !important 強制水平置中 */
    width: 34px !important;            /* ? 圓圈縮小 (原本42px) */
    height: 34px !important;           /* ? 圓圈縮小 (原本42px) */
    background-color: #f9f9f9 !important;     
    color: #666666 !important;     
    border-radius: 50% !important;           
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid #eeeeee !important;     
}

/* 3. 修正 Font Awesome 圖示本身的偏移問題 (解決沒對齊的真兇) */
.footer-social-box .social-icon i {
    font-size: 15px !important;        /* ? 縮小圖示 (原本18px) */
    line-height: 1 !important;         /* ?? 拔除舊設定的行高干擾 */
    margin: 0 !important;              /* ?? 拔除任何隱形的邊距 */
    padding: 0 !important;             
    display: block !important;
}

/* 4. 品牌專屬顏色與動態效果 */
.footer-social-box .social-icon.fb:hover { 
    background-color: #1877F2 !important; 
    color: #ffffff !important; 
    border-color: #1877F2 !important;
}
.footer-social-box .social-icon.ig:hover { 
    background-color: #E4405F !important; 
    color: #ffffff !important; 
    border-color: #E4405F !important;
}
.footer-social-box .social-icon.yt:hover { 
    background-color: #FF0000 !important; 
    color: #ffffff !important; 
    border-color: #FF0000 !important;
}
.footer-social-box .social-icon.line:hover { 
    background-color: #06C755 !important; 
    color: #ffffff !important; 
    border-color: #06C755 !important;
}

/* Hover effect: 滑鼠移過時，優雅向右微移 */
.footer-social-box .social-icon:hover {
    transform: translateX(4px) !important; /* 動態幅度稍微調小，更顯精緻 */
    box-shadow: -3px 5px 12px rgba(0, 0, 0, 0.08) !important;
}

/* 5. 手機版自適應：變回橫向靠左 */
@media (max-width: 767px) {
    .footer-social-box {
        flex-direction: row !important; 
        justify-content: flex-start !important; /* ? 關鍵修改：把 center 改成 flex-start (靠左) */
        align-items: center !important;
        margin-bottom: 30px !important;
    }
    .footer-social-box .social-icon:hover {
        transform: translateY(-4px) !important; /* 手機版改為往上浮動 */
    }
}

/* =========================================
   OpenCart 版頭強制覆寫補丁
   ========================================= */

/* 1. 拯救垂直的選單，強制橫向置中排列 */
.vitabox-navbar .main-menu-centered {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 !important;
}

/* 讓選單文字橫向並排，取消預設的佔滿寬度 */
.vitabox-navbar .main-menu-centered > li {
    display: inline-block !important;
    width: auto !important;
    margin: 0 15px !important;
    text-align: center !important;
}

/* 2. 拯救 Logo 與社群圖示那一排，強制左右對齊 */
.header-top-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

/* 3. 限制 OpenCart 原生搜尋框與購物車的暴走寬度 */
.top-bar-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 15px !important; /* 讓按鈕之間有空隙 */
}

/* 強制限制系統搜尋框的寬度 */
.top-bar-right #search {
    width: 250px !important;
    margin-bottom: 0 !important;
}

/* 強制限制系統購物車的寬度與排版 */
.top-bar-right #cart {
    width: auto !important;
    min-width: 120px !important;
}

/* 隱藏 OpenCart 預設購物車那顆醜醜的黑色大按鈕背景 */
#cart > .btn {
    background: transparent !important;
    border: none !important;
    color: #333 !important; /* 你可以改成你的綠色 */
    box-shadow: none !important;
    font-size: 16px !important;
}

/* 把你原本左邊多出來的那顆漢堡選單按鈕（如果在電腦版）藏起來 */
.navbar-toggle {
    display: none !important;
}

/* =========================================
   頂部綠色列 (搜尋/會員/購物車) 強制排版補丁
   ========================================= */

/* 1. 確保外層容器橫向排列、靠右對齊、垂直置中 */
.top-bar-right {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 20px !important; /* 三個區塊的間距 */
    padding: 10px 0 !important;
}

/* 2. 馴服 OpenCart 巨大的搜尋框 */
.top-bar-right #search {
    margin-bottom: 0 !important;
    display: flex !important;
    width: 220px !important; /* 你可以自由調整搜尋框寬度 */
}
.top-bar-right #search input {
    height: 32px !important;
    padding: 5px 10px !important;
    border: none !important;
    border-radius: 4px 0 0 4px !important;
    font-size: 13px !important;
    box-shadow: none !important;
}
.top-bar-right #search button {
    height: 32px !important;
    padding: 5px 12px !important;
    background: #333 !important; /* 放大鏡按鈕底色 */
    color: #fff !important;      /* 放大鏡圖示顏色 */
    border: none !important;
    border-radius: 0 4px 4px 0 !important;
    cursor: pointer;
}

/* 3. 馴服會員登入按鈕 */
.top-bar-right a.user-link {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    color: #fff !important; /* 綠色背景配白色文字 */
    text-decoration: none !important;
    font-size: 14px !important;
    background: transparent !important;
}

/* 4. 馴服購物車按鈕，還原成乾淨圖示 */
.top-bar-right #cart {
    margin-bottom: 0 !important;
    min-width: unset !important;
    position: relative !important;
}
/* 隱藏 OpenCart 預設那顆醜醜的按鈕外框 */
.top-bar-right #cart > .btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important; /* 綠色背景配白色圖示 */
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    text-shadow: none !important;
}
.top-bar-right #cart > .btn i {
    font-size: 18px !important; /* 放大購物車圖示 */
}
/* ==========================================================================
   終極購物車圖示防護與紅點設計 (絕對免疫系統覆蓋)
   ========================================================================== */
/* 1. 徹底隱藏系統會一直變動的文字與內建圖示 */
.top-bar-right #cart-total {
    display: none !important; 
}

/* 2. 用 CSS 絕對領域畫出一個永遠不會消失的購物車圖示！(系統絕對刪不掉) */
.top-bar-right #cart > .btn::before {
    content: "\f07a" !important; /* FontAwesome 購物車代碼 */
    font-family: "FontAwesome" !important;
    font-size: 20px !important;
    color: #ffffff !important;
    display: inline-block !important;
    margin-top: 2px !important;
}

/* 3. 將按鈕裡的系統文字顏色設為透明，避免殘影干擾 */
.top-bar-right #cart > .btn {
    color: transparent !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-shadow: none !important;
}

/* ==========================================================================
   購物車圖示與紅點 (絕對實體感應版)
   ========================================================================== */
/* 1. 確保購物車按鈕有實體大小，絕對不會點空！ */
.top-bar-right #cart > .btn,
.top-bar-right #cart > button {
    font-size: 0 !important; 
    color: transparent !important;
    text-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 45px !important;   /* ?? 強制給定實體感應寬度 */
    height: 40px !important;  /* ?? 強制給定實體感應高度 */
    cursor: pointer !important;
    background: transparent !important;
    border: none !important;
    z-index: 90 !important;
}
.top-bar-right #cart-total {
    display: none !important; 
}

/* 2. 用 CSS 偽元素畫出永遠不會消失的購物車圖示 */
.top-bar-right #cart > .btn::before,
.top-bar-right #cart > button::before {
    content: "\f07a" !important; 
    font-family: "FontAwesome" !important;
    font-size: 20px !important;
    color: #ffffff !important;
    visibility: visible !important;
}

/* (?? 下面的 .kadis-cart-badge 紅點設定保留不變即可) */

/* 3. 紅點徽章：掛在最外層，不受內部更新影響 */
.kadis-cart-badge {
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;
    background-color: #E53935 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: bold !important;
    min-width: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
    text-align: center !important;
    border-radius: 10px !important;
    padding: 0 4px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
    z-index: 99 !important;
    pointer-events: none !important; 
}
/* ==========================================================================
   8. 頁尾 Footer 區域自訂樣式
   ========================================================================== */
.footer {
    background-color: #fafafa; /* 乾淨的極淺灰底色，若想全白可改為 #ffffff */
    padding: 60px 0 30px;
    border-top: 1px solid #eeeeee; /* 頂部加一條淡淡的分隔線 */
}

/* 標題設計 (帶有綠色短底線的質感設計) */
.footer-title h2, 
.footer-title h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #333333 !important;
    margin-bottom: 25px !important;
    position: relative;
    padding-bottom: 12px;
}
.footer-title h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: #79A342; /* 品牌綠色點綴 */
}

/* 文字與清單樣式 */
.footer-text p, 
.footer-office-hour ul li {
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #666666 !important;
    margin-bottom: 12px !important;
    list-style: none !important;
}
.footer-office-hour ul {
    padding: 0 !important;
    margin: 0 !important;
}

/* 連結滑過特效 */
.footer-text a {
    color: #666666 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}
.footer-text a:hover {
    color: #79A342 !important; /* 滑鼠移過去變成綠色 */
}

/* 社群按鈕高質感設計 (圓形微凸起) */
.footer-social-box {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.social-icon {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 40px !important;
    height: 40px !important;
    background-color: #ffffff !important;
    color: #555555 !important;
    border-radius: 50% !important; /* 變成正圓形 */
    font-size: 18px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important; /* 淡淡的立體陰影 */
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}
.social-icon:hover {
    background-color: #79A342 !important; /* 滑過變綠底 */
    color: #ffffff !important; /* 滑過變白字 */
    transform: translateY(-3px) !important; /* 滑過會微微往上浮，增加互動感 */
    box-shadow: 0 5px 15px rgba(121, 163, 66, 0.3) !important;
}

/* 版權宣告區塊 */
.copyright {
    background-color: #eeeeee;
    padding: 20px 0;
    text-align: center;
}
.copyright p {
    margin: 0 !important;
    color: #888888 !important;
    font-size: 14px !important;
    letter-spacing: 1px !important;
}

/* 手機版排版微調 (讓四個直列自動隔開) */
@media (max-width: 767px) {
    .footer-grid_w3ls_agile {
        margin-bottom: 40px !important;
    }
}

/* ==========================================================================
   9. Footer 綠色標題線修復
   ========================================================================== */
.footer-title h2, 
.footer-title h3 {
    position: relative !important;
    padding-bottom: 12px !important;
    display: inline-block !important; /* ?? 讓底線跟著標題文字的寬度走 */
}

/* 強制加上綠色底線，並包含 h2 與 h3 */
.footer-title h2::after,
.footer-title h3::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 30px !important;
    height: 1px !important;
    background-color: #79A342 !important; 
}

/* ==========================================================================
   10. 電腦版大螢幕視覺平衡 (縮短選單橫線 + 集中 Footer 排版)
   ========================================================================== */
@media (min-width: 1200px) {
    /* 1. 縮短電腦版「選項橫線」的寬度並置中 */
    .vitabox-navbar {
        border: none !important; /* 洗掉最外層貫穿全螢幕的橫線 */
    }
    
    .header-bottom-row {
        max-width: 1190px !important; /* ?? 把橫線寬度限制在 1000px */
        margin: 0 auto !important; /* 絕對置中 */
        border-top: 1px solid #eeeeee !important; /* 橫線只畫在中間這段 */
        border-bottom: 1px solid #eeeeee !important;
    }

    /* 2. 集中 Footer 的寬度，解決太靠左、散開的問題 */
    .footer .container {
        max-width: 1190px !important; /* ?? 跟上方選單橫線保持一樣的寬度 */
        margin: 0 auto !important; /* 絕對置中 */
    }
    
    /* 讓 Footer 的版權列也跟著對齊 */
    .copyright .container {
        max-width: 1190px !important;
        margin: 0 auto !important;
    }
}
/* ==========================================================================
   11. 首頁：徹底殲滅輪播圖與選單之間的所有縫隙
   ========================================================================== */
/* 1. 斬斷 Header 與 Navbar 所有可能的底部縫隙 */
.navbar,
.vitabox-navbar,
header.vitabox-style-header,
header.vitabox-style-header nav.navbar {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 2. 斬斷 OpenCart 首頁容器偷偷加的頂部縫隙 */
#common-home {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ==========================================================================
   商品內頁 (Product Detail Page) - VITABOX 極簡高轉換風格
   ========================================================================== */

/* 麵包屑導覽 */
.vitabox-breadcrumb {
    background: transparent !important;
    padding: 0 0 20px 0 !important;
    margin: 0 !important;
    font-size: 13px;
}
.vitabox-breadcrumb > li > a {
    color: #888;
    text-decoration: none;
}
.vitabox-breadcrumb > li > a:hover {
    color: #79A342;
}

/* 上半部：雙欄佈局 (左圖右文) */
.product-top-section {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 60px;
}

/* 左側：商品圖片區 */
.product-gallery {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
}
.main-image-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
    margin-bottom: 15px;
    border: 1px solid #f0f0f0;
}
.main-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.thumbnail-container {
    display: flex;
    gap: 10px;
}
.thumb-item {
    width: 70px;
    height: 70px;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.thumb-item:hover, .thumb-item.active {
    border-color: #79A342;
}

/* 右側：商品資訊區 */
.product-summary {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}
.product-title-main {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #222 !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.4 !important;
    letter-spacing: 1px;
}

/* 價格區塊 */
.product-price-block {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}
.current-price {
    font-size: 32px;
    color: #d14949;
    font-weight: 800;
}
.old-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 5px;
}

/* 賣點清單 */
.product-bullet-points {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.product-bullet-points li {
    font-size: 15px;
    color: #555;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.product-bullet-points li i {
    color: #79A342;
    margin-right: 10px;
    font-size: 16px;
}

/* 數量選擇與購物車按鈕區塊 */
.cart-action-block {
    display: flex;
    gap: 15px;
    margin-top: auto; /* 確保按鈕區塊在下方 */
    padding-top: 30px;
}
.qty-selector {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    height: 50px;
    width: 140px;
}
.qty-btn {
    background: #f9f9f9;
    border: none;
    width: 40px;
    font-size: 20px;
    color: #555;
    cursor: pointer;
    transition: background 0.2s;
}
.qty-btn:hover { background: #eee; }
.qty-input {
    width: 60px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    outline: none;
}
.btn-add-to-cart {
    flex: 1;
    background-color: #79A342;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-add-to-cart:hover {
    background-color: #638b30;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(121, 163, 66, 0.3);
}

/* 下半部：質感頁籤 (Tabs) */
.product-bottom-section {
    margin-top: 40px;
}
.vitabox-tabs {
    border-bottom: 2px solid #eee !important;
    display: flex;
    justify-content: center;
    margin-bottom: 30px !important;
}
.vitabox-tabs > li {
    margin-bottom: -2px !important;
}
.vitabox-tabs > li > a {
    border: none !important;
    background: transparent !important;
    font-size: 18px !important;
    color: #888 !important;
    padding: 15px 30px !important;
    font-weight: 500;
    letter-spacing: 1px;
}
.vitabox-tabs > li.active > a,
.vitabox-tabs > li > a:hover {
    color: #79A342 !important;
    border-bottom: 3px solid #79A342 !important; /* 綠色底線 */
}
.vitabox-tab-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    padding: 20px 0;
}
/* 讓後台編輯器輸入的商品圖置中且滿版 */
.vitabox-tab-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
}

/* 手機版排版 */
@media (max-width: 768px) {
    .product-top-section {
        flex-direction: column;
        gap: 30px;
    }
    .product-gallery { max-width: 100%; }
    .product-title-main { font-size: 24px !important; }
    .cart-action-block {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 15px;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
        z-index: 999;
        margin: 0;
        box-sizing: border-box;
    }
    .product-bottom-section { margin-bottom: 80px; } /* 避開底部懸浮的購買列 */
    .vitabox-tabs > li > a { padding: 12px 15px !important; font-size: 16px !important; }
}

/* ==========================================================================
   商品內頁：麵包屑導覽列 (Breadcrumb) 終極淨化 - 移除白底、陰影、小房子
   ========================================================================== */

/* 1. 徹底拔除白底、外框與陰影 */
ul.breadcrumb.vitabox-breadcrumb {
    background: transparent !important;       
    background-color: transparent !important; 
    box-shadow: none !important;              /* ?? 殺掉陰影 */
    border: none !important;                  /* ?? 殺掉白底邊框 */
    padding: 0 0 20px 0 !important;           
    margin: 0 0 20px 0 !important;            
}

/* 2. 隱藏最前面的「小房子」首頁圖示與連結 */
ul.breadcrumb.vitabox-breadcrumb > li:first-child {
    display: none !important;
}

/* 3. 因為隱藏了小房子，所以要把第二個項目（例如：全部商品）前面的「>」符號也拿掉，讓它完美貼齊左邊 */
ul.breadcrumb.vitabox-breadcrumb > li:nth-child(2)::before {
    display: none !important;
    content: "" !important;
}

/* 微調導覽文字的顏色，讓它更有質感 */
ul.breadcrumb.vitabox-breadcrumb > li > a {
    color: #999999 !important;
    font-size: 14px !important;
}
ul.breadcrumb.vitabox-breadcrumb > li > a:hover {
    color: #79A342 !important;
}

/* ==========================================================================
   商品右側：Vitabox 風格商品短述 (黃金說服區塊)
   ========================================================================== */
.vitabox-short-desc {
    margin: 15px 0 30px 0;
    color: #333333;
    font-size: 15px;
    line-height: 1.8;
}

/* 1. 賣點標籤區 */
.vitabox-short-desc .highlight-tags {
    margin-bottom: 25px !important;
    color: #555555 !important;
}
.vitabox-short-desc .highlight-tags strong {
    color: #111111;
    font-weight: 700;
    letter-spacing: 1px;
}

/* 2. 加乘配方亮點區 (灰底綠邊框) */
.vitabox-short-desc .synergy-text {
    background-color: #f9f9f9 !important;
    padding: 15px 18px !important;
    border-radius: 6px;
    border-left: 4px solid #79A342; /* Kadis 品牌綠 */
    margin-bottom: 25px !important;
    color: #444444 !important;
}

/* 3. 規格條列清單 (黑方塊) */
.vitabox-short-desc .spec-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}
.vitabox-short-desc .spec-list li {
    margin-bottom: 6px;
    color: #333333;
    font-weight: 500;
}
.vitabox-short-desc .spec-list .note-text {
    color: #888888;
    font-size: 13.5px;
    display: block;
    margin-left: 18px; /* 完美對齊方塊後面的文字 */
    font-weight: 400;
    line-height: 1.6;
}

/* 4. 信任連結清單 (三角形) */
.vitabox-short-desc .link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.vitabox-short-desc .link-list li {
    margin-bottom: 8px;
}
.vitabox-short-desc .link-list a {
    color: #666666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.vitabox-short-desc .link-list a:hover {
    color: #79A342;
}

/* 5. 調整價格區塊 (因為移到下方了，取消底線，縮小間距) */
.product-price-block {
    margin-bottom: 15px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

/* ==========================================================================
   下半部商品描述區塊：Vitabox 乾淨無邊框 + 頂部橫線風格
   ========================================================================== */

/* 1. 將頁籤容器的橫線移到「上方」 */
ul.nav.nav-tabs.vitabox-tabs {
    border-top: 1px solid #dddddd !important; /* ?? 這裡加上面的橫槓 */
    border-bottom: none !important;           /* ?? 殺掉原本在下面的橫槓 */
    display: flex !important;
    justify-content: center !important;
    margin-top: 50px !important;              /* 與上半部拉開一點呼吸空間 */
    padding-top: 30px !important;             /* 橫槓與標題的距離 */
    margin-bottom: 0 !important;
}

/* 2. 修改標題文字風格 (變成乾淨的置中大標題) */
ul.nav.nav-tabs.vitabox-tabs > li {
    margin: 0 15px !important;
}
ul.nav.nav-tabs.vitabox-tabs > li > a {
    border: none !important;
    background: transparent !important;
    font-size: 22px !important;               /* 字體放大，像大標題一樣 */
    font-weight: 700 !important;              /* 字體加粗 */
    color: #999999 !important;                /* 預設淺灰色 */
    padding: 10px 20px !important;
    letter-spacing: 2px !important;
}

/* 3. 移除原本的綠色底線，改為純文字變色 */
ul.nav.nav-tabs.vitabox-tabs > li.active > a,
ul.nav.nav-tabs.vitabox-tabs > li > a:hover {
    color: #333333 !important;                /* 選中時變成深黑色 */
    border: none !important;                  /* ?? 徹底殺掉原本的綠色底線 */
    background: transparent !important;
}

/* 4. 徹底消除商品描述外圍的任何邊框與陰影 */
.product-bottom-section .tab-content,
.product-bottom-section .tab-pane {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 30px 0 !important;
}

/* 5. 防呆：如果你在後台編輯器不小心產生了外框，強制隱藏最外層 */
.vitabox-tab-content > .tab-pane > div {
    border: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   商品右側：價格與購買動作區 (Vitabox 雙按鈕風格)
   ========================================================================== */

/* 1. 價格細緻化 (拿掉紅色，改為沉穩深灰) */
.product-price-block {
    margin: 10px 0 25px 0 !important;
}
.current-price {
    font-size: 28px !important;
    color: #555555 !important; /* ?? 質感深灰色 */
    font-weight: 500 !important;
    letter-spacing: 1px;
}
.old-price {
    color: #aaaaaa;
    text-decoration: line-through;
    font-size: 16px;
    margin-bottom: 5px;
}

/* 2. 數量與按鈕區塊排版 */
.cart-action-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
    border-top: 1px solid #f0f0f0;
    padding-top: 25px;
}

/* 3. 數量選擇行 */
.qty-row {
    display: flex;
    align-items: center;
    gap: 15px;
}
.qty-label {
    font-size: 15px;
    color: #555;
    font-weight: 500;
}
.qty-selector {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    height: 42px;
    width: 130px;
}
.qty-btn {
    background: #fff;
    border: none;
    width: 40px;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    transition: background 0.2s;
}
.qty-btn:hover { background: #f5f5f5; }
.qty-input {
    flex: 1;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-top: none;
    border-bottom: none;
    text-align: center;
    font-size: 16px;
    color: #333;
    outline: none;
}

/* 4. 雙按鈕行 */
.action-btn-row {
    display: flex;
    gap: 10px;
    width: 100%;
}
.btn-add-cart-grey {
    flex: 1;
    background-color: #6c757d; /* 理性灰 */
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    height: 50px;
    letter-spacing: 1px;
    transition: all 0.3s;
}
.btn-add-cart-grey:hover { background-color: #5a6268; }

.btn-buy-now-orange {
    flex: 1;
    background-color: #f6b554; /* 衝動暖橘色 (Vitabox感) */
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    height: 50px;
    letter-spacing: 1px;
    transition: all 0.3s;
}
.btn-buy-now-orange:hover { background-color: #eba53d; }

/* ==========================================================================
   商品介紹內容 (靠左對齊、橫線分隔、QA美化版)
   ========================================================================== */

/* 1. 標題靠左對齊 + 上方橫線分隔 */
.vitabox-tab-content h3 {
    text-align: left;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 50px 0 20px 0;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0; /* ?? 這就是區塊間的橫線 */
    letter-spacing: 1px;
}

/* 移除第一個標題的橫線，畫面才不會太突兀 */
.vitabox-tab-content h3:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 20px;
}

/* 2. 內文與表格靠左 */
.vitabox-tab-content p {
    text-align: left;
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.vitabox-tab-content table {
    width: 100%;
    margin: 20px 0 40px 0; /* 取消置中，改為靠左 */
    border-collapse: collapse;
    background: #fff;
}
.vitabox-tab-content table th,
.vitabox-tab-content table td {
    padding: 15px 20px;
    border: 1px solid #eaeaea;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    text-align: left; /* 表格文字靠左 */
}
.vitabox-tab-content table th {
    background-color: #f9f9f9;
    font-weight: 600;
    width: 30%;
}

/* ==========================================================================
   商品介紹內容 (強制靠左與 Vitabox 風格 QA)
   ========================================================================== */

/
/* 3. 全新 Vitabox 風格 QA (無框線、綠色粗體問、黑色答) */
.qa-item-vita {
    margin-bottom: 30px;
}
.qa-question {
    color: #1a7b5e !important; /* 類似 Vitabox 的深綠色 */
    font-weight: bold !important;
    font-size: 18px !important;
    margin-bottom: 12px !important;
}
.qa-answer {
    color: #333333 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}

/* ==========================================================================
   Vitabox 原生風格 QA (深綠色問題、黑字答案、支援點點清單)
   ========================================================================== */

.vita-qa-box {
    margin-top: 20px;
}

/* 綠色粗體問題 */
.vita-qa-question {
    color: #68942f !important; /* 經典深綠色 */
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-top: 35px !important; /* 每個問題之間拉開距離 */
    margin-bottom: 12px !important;
    letter-spacing: 0.5px;
}

/* 黑色答案內文 */
.vita-qa-answer {
    color: #333333 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}

/* 讓答案裡面也可以用漂亮的點點清單 */
.vita-qa-answer ul {
    padding-left: 20px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
.vita-qa-answer li {
    list-style-type: disc !important;
    margin-bottom: 6px !important;
}

/* ==========================================================================
   文章頁面 (Information) 麵包屑美化與標題優化
   ========================================================================== */

/* 1. 隱藏系統預設的超大標題 (因為我們內容裡已經有寫了，避免重複) */
#information-information h1,
#information-information .page-title {
    display: none !important;
}

/* 2. 將麵包屑改造成舊網站的灰底無框線樣式 */
.breadcrumb {
    background-color: #fbfbfb !important;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 20px !important;
    margin-bottom: 50px !important;
    border-radius: 0 !important;
    text-align: left;
}

/* 3. 調整麵包屑文字與分隔線 (|) */
.breadcrumb li {
    font-size: 14px;
    color: #555;
}
.breadcrumb li a {
    color: #79A342 !important; /* 首頁連結變成品牌綠 */
    text-decoration: none;
}

/* ==========================================================================
   麵包屑優化：把「小房子」圖示強制換成「首頁」中文字
   ========================================================================== */

/* 1. 隱藏第一個連結裡面的任何 icon (小房子) */
.breadcrumb li:first-child a i {
    display: none !important; 
}

/* 2. 強制在第一個連結裡面塞入「首頁」兩個字 (使用 Unicode 防亂碼) */
.breadcrumb li:first-child a::after {
    content: "\9996\9801" !important; 
    font-size: 14px;
    font-weight: 500;
}

/* 3. 如果你的主題剛好有自帶 > 箭頭圖示，這行會把它藏起來，確保只剩我們漂亮的 | 分隔線 */
.breadcrumb li i.fa-angle-right, 
.breadcrumb li span.fa-angle-right {
    display: none !important;
}

/* ==========================================================================
   健康資料庫 (Knowledge) - 手風琴與分頁優化
   ========================================================================== */

/* 讓手風琴的標題滑鼠移過去時有互動感 */
.panel-default .panel-heading a:hover {
    color: #79A342 !important;
}

/* 分頁按鈕的滑鼠互動 */
.pagination-container .pagination li a:hover {
    background-color: #79A342 !important;
    color: #fff !important;
    transition: all 0.3s;
}

/* 確保表格在手機版也能自適應滑動 */
.inner_sec_info_wthree_agile table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

/* ==========================================================================
   ??? 購物車抽屜：精準修復顏色、隱藏加減號、刪除改文字不換行
   ========================================================================== */

/* 1. 破解 .top-bar a 造成的白字隱形，強制商品名變深色 */
.top-bar-right #cart .dropdown-menu table td.text-left a,
.top-bar-right #cart .dropdown-menu table td:nth-child(2) a {
    color: #333333 !important; 
    -webkit-text-fill-color: #333333 !important; /* 破解顏色鎖定 */
    font-size: 14px !important; 
    font-weight: bold !important; 
    text-decoration: none !important; 
    text-shadow: none !important;
}

/* 2. 終極無差別隱藏加減號 (網羅所有按鈕與 input 型態) */
.top-bar-right #cart .dropdown-menu .input-group-btn,
.top-bar-right #cart .dropdown-menu button:not(.btn-danger):not([onclick*="cart.remove"]),
.top-bar-right #cart .dropdown-menu input[type="button"],
.top-bar-right #cart .dropdown-menu input[value="-"],
.top-bar-right #cart .dropdown-menu input[value="+"],
.top-bar-right #cart .dropdown-menu [class*="plus"],
.top-bar-right #cart .dropdown-menu [class*="minus"] {
    display: none !important;
}

/* 3. 數量輸入框純文字化 (網羅所有 number 與 text 型態，剝除框線) */
.top-bar-right #cart .dropdown-menu input[type="text"],
.top-bar-right #cart .dropdown-menu input[type="number"],
.top-bar-right #cart .dropdown-menu input[name*="quantity"],
.top-bar-right #cart .dropdown-menu input[name*="qty"] {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center !important;
    width: 30px !important;
    color: #666666 !important;
    -webkit-text-fill-color: #666666 !important;
    pointer-events: none !important; /* 禁止點擊 */
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block !important;
}
/* 4. 解決刪除按鈕斷行問題：強制最後一欄不換行，且將垃圾桶變文字 */
.top-bar-right #cart .dropdown-menu table td:last-child {
    white-space: nowrap !important; /* 絕對不准斷行 */
    width: 1% !important; /* 讓欄位極度緊縮 */
    text-align: right !important;
    vertical-align: middle !important;
}
.top-bar-right #cart .dropdown-menu table button.btn-danger,
.top-bar-right #cart .dropdown-menu table button[onclick*="cart.remove"] {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: transparent !important; /* 隱藏原本可能有的字 */
    padding: 0 5px !important;
    display: inline-block !important;
}
.top-bar-right #cart .dropdown-menu table button.btn-danger i,
.top-bar-right #cart .dropdown-menu table button[onclick*="cart.remove"] i {
    display: none !important; /* 隱藏垃圾桶圖示 */
}
/* 產生「刪除」文字 */
.top-bar-right #cart .dropdown-menu table button.btn-danger::after,
.top-bar-right #cart .dropdown-menu table button[onclick*="cart.remove"]::after {
    content: "刪除" !important;
    color: #aaaaaa !important;
    -webkit-text-fill-color: #aaaaaa !important;
    text-decoration: underline !important;
    font-size: 13px !important;
    cursor: pointer !important;
}
.top-bar-right #cart .dropdown-menu table button.btn-danger:hover::after,
.top-bar-right #cart .dropdown-menu table button[onclick*="cart.remove"]:hover::after {
    color: #79A342 !important; /* 滑鼠移過變品牌綠 */
    -webkit-text-fill-color: #79A342 !important;
}

/* ==========================================================================
   登入頁面：極簡化與按鈕美化
   ========================================================================== */

/* 1. 隱藏右側冗長的會員清單，還給畫面乾淨空間 */
aside#column-right .list-group,
.list-group {
    display: none !important;
}

/* 2. 拯救沈重的黑色按鈕，換上品牌綠色膠囊設計 */
input[type="submit"].btn.btn-primary,
a.btn.btn-primary {
    background-color: #79A342 !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 10px 30px !important;
    font-size: 15px !important;
    letter-spacing: 2px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: all 0.3s ease !important;
}

input[type="submit"].btn.btn-primary:hover,
a.btn.btn-primary:hover {
    background-color: #638b30 !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   登入頁面：極簡置中、按鈕變綠、文字替換 (極度安全隔離版)
   ========================================================================== */

/* 1. 精準鎖定登入頁面，隱藏右側干擾的會員清單 */
body:has(form[action*="login"]) aside#column-right,
body:has(form[action*="login"]) .list-group {
    display: none !important;
}

/* 2. 將主要內容區塊置中，打造極簡留白 */
body:has(form[action*="login"]) #content {
    max-width: 900px !important;
    margin: 60px auto !important;
    float: none !important;
    display: block !important;
}

/* 讓「新會員」與「舊會員」兩個區塊並排置中 */
body:has(form[action*="login"]) #content > .row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 40px !important;
}

/* 把左右兩個區塊變成優雅的「卡片式」設計 */
body:has(form[action*="login"]) #content > .row > .col-sm-6,
body:has(form[action*="login"]) #content > .row > div[class*="col-"] {
    width: 100% !important;
    max-width: 420px !important;
    flex: 1 1 420px !important;
    background: #ffffff !important;
    padding: 40px 35px !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
}

/* 移除系統預設的灰色背景 */
body:has(form[action*="login"]) #content .well {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 3. 標題與內文置中對齊 */
body:has(form[action*="login"]) #content h2 {
    text-align: center !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #222222 !important;
    margin-bottom: 15px !important;
    letter-spacing: 2px !important;
}
body:has(form[action*="login"]) #content p, 
body:has(form[action*="login"]) #content strong {
    text-align: center !important;
    font-size: 15px !important;
    color: #666666 !important;
    line-height: 1.8 !important;
    display: block !important;
}

/* 表單輸入框優化 */
body:has(form[action*="login"]) #content form .form-group {
    text-align: left !important;
    margin-bottom: 20px !important;
}
body:has(form[action*="login"]) #content form label {
    font-size: 14px !important;
    color: #555 !important;
    margin-bottom: 8px !important;
}
body:has(form[action*="login"]) #content form input.form-control {
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    height: 45px !important;
    padding: 10px 15px !important;
    font-size: 15px !important;
    box-shadow: none !important;
}

/* 4. 按鈕美化：品牌綠色、滿版、圓角膠囊狀 */
body:has(form[action*="login"]) #content input[type="submit"],
body:has(form[action*="login"]) #content a.btn.btn-primary,
body:has(form[action*="login"]) #content .btn {
    background-color: #79A342 !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    letter-spacing: 2px !important;
    display: block !important;
    width: 100% !important; /* 讓按鈕填滿卡片寬度 */
    text-align: center !important;
    margin-top: 25px !important;
    box-shadow: 0 4px 10px rgba(121, 163, 66, 0.2) !important;
    transition: all 0.3s ease !important;
    text-shadow: none !important;
}

/* 按鈕滑過特效 */
body:has(form[action*="login"]) #content input[type="submit"]:hover,
body:has(form[action*="login"]) #content a.btn.btn-primary:hover,
body:has(form[action*="login"]) #content .btn:hover {
    background-color: #638b30 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(121, 163, 66, 0.3) !important;
}

/* 5. 把左邊的黑塊「繼續」按鈕文字改成「註冊會員」 */
body:has(form[action*="login"]) #content a.btn[href*="register"] {
    font-size: 0 !important; /* 把原本的「繼續」隱藏 */
}
body:has(form[action*="login"]) #content a.btn[href*="register"]::after {
    content: "\8A3B\518A\6703\54E1" !important; /* 這是「註冊會員」的防亂碼代碼 */
    font-size: 16px !important;
    color: #ffffff !important;
    font-family: '微軟正黑體', 'Microsoft JhengHei', sans-serif !important; /* 確保字體正常顯示 */
}

/* 忘記密碼連結置中，並給予微小的點擊空間 */
body:has(form[action*="login"]) #content form a[href*="forgotten"] {
    display: block !important;
    text-align: center !important;
    margin-top: 20px !important;
    color: #999999 !important;
    font-size: 14px !important;
    text-decoration: underline !important;
}
body:has(form[action*="login"]) #content form a[href*="forgotten"]:hover {
    color: #79A342 !important;
}

/* ==========================================================================
   註冊頁面：極簡卡片化、直列式表單與綠色按鈕 (終極修正版)
   ========================================================================== */

/* 1. 鎖定註冊頁面，隱藏右側側邊欄 */
body:has(form[action*="register"]) aside#column-right,
body:has(form[action*="register"]) .list-group {
    display: none !important;
}

/* 2. 卡片加寬與置中 */
body:has(form[action*="register"]) #content {
    max-width: 800px !important; /* ?? 從 650px 放寬到 800px ?? */
    margin: 50px auto 80px auto !important;
    background: #ffffff !important;
    padding: 40px 50px !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
    display: block !important;
    float: none !important;
}

/* 3. 頁面大標題與說明文字置中 */
body:has(form[action*="register"]) #content h1,
body:has(form[action*="register"]) #content h2 {
    text-align: center !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #222222 !important;
    margin-bottom: 15px !important;
    letter-spacing: 2px !important;
}
body:has(form[action*="register"]) #content > p {
    text-align: center !important;
    color: #666666 !important;
    font-size: 15px !important;
    margin-bottom: 35px !important;
    line-height: 1.6 !important;
}

/* 隱藏預設的段落虛線，改用更乾淨的子標題 */
body:has(form[action*="register"]) #content fieldset {
    border: none !important;
    padding: 0 !important;
    margin-bottom: 25px !important;
}
body:has(form[action*="register"]) #content fieldset legend {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #444 !important;
    border-bottom: 1px dashed #eeeeee !important;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
}

/* ?? 4. 強制解除 Bootstrap 網格，讓標題與輸入框「上下直列」，解決斷行 ?? */
body:has(form[action*="register"]) #content .form-group {
    display: block !important; /* 洗掉原本的 flex，回歸最穩定的 block */
    clear: both !important;
    margin-bottom: 20px !important;
    overflow: hidden !important; /* 清除浮動 */
}
body:has(form[action*="register"]) #content .form-group label.col-sm-2 {
    display: block !important;
    float: none !important;
    width: 100% !important; /* 強制佔滿整行 */
    text-align: left !important;
    padding: 0 !important;
    margin-bottom: 8px !important;
    font-size: 15px !important;
    color: #555 !important;
}
body:has(form[action*="register"]) #content .form-group div.col-sm-10 {
    display: block !important;
    float: none !important;
    width: 100% !important; /* 強制佔滿整行 */
    padding: 0 !important;
}

/* 輸入框美化 */
body:has(form[action*="register"]) #content .form-control {
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    height: 45px !important;
    padding: 10px 15px !important;
    font-size: 15px !important;
    box-shadow: none !important;
    width: 100% !important;
    background-color: #fcfcfc !important;
    transition: all 0.3s ease !important;
}
body:has(form[action*="register"]) #content .form-control:focus {
    border-color: #79A342 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 5px rgba(121, 163, 66, 0.2) !important;
}

/* ?? 5. 底部按鈕綠色化與置中 (增加清除黑底的指令) ?? */
body:has(form[action*="register"]) #content .buttons {
    background: transparent !important;
    border: none !important;
    margin-top: 30px !important;
    padding: 0 !important;
    text-align: center !important;
}
body:has(form[action*="register"]) #content .buttons .pull-right {
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
    color: #555 !important;
    font-size: 14px !important;
}

/* 確保按鈕不管怎麼被系統包裝，都強制變成品牌綠 */
body:has(form[action*="register"]) #content .buttons input[type="submit"],
body:has(form[action*="register"]) #content .buttons .btn-primary,
body:has(form[action*="register"]) #content .buttons .btn {
    background-color: #79A342 !important;
    background-image: none !important; /* 洗掉原本可能有的漸層黑底 */
    border: none !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 12px 0 !important;
    font-size: 16px !important;
    font-weight: bold !important;
    letter-spacing: 2px !important;
    display: block !important;
    width: 100% !important;
    max-width: 250px !important; 
    box-shadow: 0 4px 10px rgba(121, 163, 66, 0.2) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-shadow: none !important;
}
body:has(form[action*="register"]) #content .buttons input[type="submit"]:hover,
body:has(form[action*="register"]) #content .buttons .btn-primary:hover {
    background-color: #638b30 !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   購物車主頁 (Cart Page)：極簡表格與綠色結帳按鈕
   ========================================================================== */

/* 1. 表格極簡化 (拔除生硬的框線，改為優雅的上下分隔線) */
.table-responsive .table-bordered {
    border: none !important;
    border-bottom: 2px solid #f0f0f0 !important;
}
.table-responsive .table-bordered > thead > tr > td,
.table-responsive .table-bordered > tbody > tr > td {
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid #f0f0f0 !important;
    vertical-align: middle !important;
    padding: 15px 10px !important;
}

/* 表頭底色與文字設定 */
.table-responsive .table-bordered > thead > tr > td {
    background-color: #fafafa !important;
    color: #555555 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    border-top: none !important;
}

/* 2. 右下角總計表格極簡化 */
.row > .col-sm-offset-8 table.table-bordered {
    border: none !important;
}
.row > .col-sm-offset-8 table.table-bordered td {
    border: none !important;
    border-bottom: 1px solid #f5f5f5 !important;
    padding: 12px 15px !important;
    font-size: 15px !important;
}
.row > .col-sm-offset-8 table.table-bordered tr:last-child td {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #d14949 !important; /* 總計金額使用警示色，引導視覺 */
    border-bottom: none !important;
}

/* ==========================================================================
   購物車主頁：暴力隱藏折價券、修正底部間距、修復黑按鈕
   ========================================================================== */

/* 1. 暴力隱藏折價券、運費、購物金區塊 (直接鎖定有購物車表單的頁面) */
body:has(form[action*="cart/edit"]) .panel-group,
body:has(form[action*="cart/edit"]) #accordion {
    display: none !important;
}

/* 2. 解決 Footer 橫線與按鈕黏在一起的問題 (增加按鈕區塊下方的留白) */
body:has(form[action*="cart/edit"]) .buttons {
    margin-top: 30px !important;
    margin-bottom: 80px !important; 
}

/* 3. 強制讓右下角的「結帳」按鈕變綠色 (覆蓋系統黑底) */
body:has(form[action*="cart/edit"]) .buttons .pull-right a,
body:has(form[action*="cart/edit"]) .buttons .pull-right a.btn {
    background-color: #79A342 !important;
    background-image: none !important; /* 徹底洗掉黑底漸層 */
    border: none !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 12px 40px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    letter-spacing: 2px !important;
    box-shadow: 0 4px 10px rgba(121, 163, 66, 0.2) !important;
    text-shadow: none !important;
    display: inline-block !important;
}
body:has(form[action*="cart/edit"]) .buttons .pull-right a:hover {
    background-color: #638b30 !important;
    transform: translateY(-2px) !important;
}

/* 4. 左下角：繼續購物按鈕 (灰白邊框膠囊) */
body:has(form[action*="cart/edit"]) .buttons .pull-left a,
body:has(form[action*="cart/edit"]) .buttons .pull-left a.btn {
    background-color: #ffffff !important;
    background-image: none !important;
    border: 2px solid #dddddd !important;
    color: #666666 !important;
    border-radius: 50px !important;
    padding: 10px 25px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    display: inline-block !important;
}
body:has(form[action*="cart/edit"]) .buttons .pull-left a:hover {
    border-color: #79A342 !important;
    color: #79A342 !important;
}

/* ==========================================================================
   結帳頁面 (Checkout)：手風琴面板極簡化與綠色按鈕
   ========================================================================== */

/* 1. 移除沉重的黑色標題列，改為極簡白底與淺灰框線 */
#accordion .panel {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    margin-bottom: 15px !important;
}
#accordion .panel-heading {
    background: #ffffff !important;
    background-image: none !important; /* 洗掉系統預設的黑底漸層 */
    border: 1px solid #eeeeee !important;
    border-radius: 8px !important;
    padding: 18px 20px !important;
    transition: all 0.3s ease !important;
}
/* 當滑鼠移過標題列時，給予綠色邊框提示 */
#accordion .panel-heading:hover {
    border-color: #79A342 !important;
}
#accordion .panel-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #333333 !important;
    letter-spacing: 1px !important;
}
#accordion .panel-title a {
    color: #333333 !important;
    text-decoration: none !important;
    display: block !important;
}

/* 2. 面板展開後的內容區塊 (加上微灰底色，做出卡片層次感) */
#accordion .panel-body {
    border: 1px solid #eeeeee !important;
    border-top: none !important; /* 和標題列無縫接軌 */
    border-radius: 0 0 8px 8px !important;
    padding: 30px 25px !important;
    background: #fafafa !important; 
}

/* 3. 結帳頁內的所有按鈕全面綠色化 (包含：登入、繼續等所有步驟的按鈕) */
#accordion .panel-body input[type="button"],
#accordion .panel-body input[type="submit"],
#accordion .panel-body button.btn-primary,
#accordion .panel-body .btn-primary {
    background-color: #79A342 !important;
    background-image: none !important; /* 徹底洗掉黑底 */
    border: none !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 12px 35px !important;
    font-size: 15px !important;
    font-weight: bold !important;
    letter-spacing: 2px !important;
    box-shadow: 0 4px 10px rgba(121, 163, 66, 0.2) !important;
    transition: all 0.3s ease !important;
    text-shadow: none !important;
    margin-top: 15px !important;
}
#accordion .panel-body input[type="button"]:hover,
#accordion .panel-body input[type="submit"]:hover,
#accordion .panel-body button.btn-primary:hover,
#accordion .panel-body .btn-primary:hover {
    background-color: #638b30 !important;
    transform: translateY(-2px) !important;
}

/* 4. 輸入框與下拉選單美化 (統一高度與邊框) */
#accordion .panel-body input.form-control,
#accordion .panel-body select.form-control,
#accordion .panel-body textarea.form-control {
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    height: 45px !important;
    padding: 10px 15px !important;
    font-size: 14px !important;
    box-shadow: none !important;
    background: #ffffff !important;
}
#accordion .panel-body input.form-control:focus,
#accordion .panel-body select.form-control:focus,
#accordion .panel-body textarea.form-control:focus {
    border-color: #79A342 !important;
    box-shadow: 0 0 5px rgba(121, 163, 66, 0.2) !important;
}

/* 修飾表單標籤文字 */
#accordion .panel-body label.control-label {
    font-size: 14px !important;
    color: #555555 !important;
    margin-bottom: 8px !important;
}

/* ==========================================================================
   關於我們 (About Us)：精品級圖文排版樣式
   ========================================================================== */

/* 1. 外層容器與標題 */
.about-wrapper {
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 20px 15px 80px 15px !important;
    font-family: '微軟正黑體', 'Microsoft JhengHei', sans-serif !important;
}

.about-header {
    text-align: center !important;
    margin-bottom: 80px !important;
}

.about-header h1 {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #222222 !important;
    letter-spacing: 3px !important;
    line-height: 1.4 !important;
    display: inline-block !important;
    position: relative !important;
}

/* 2. 故事區塊 (仿精品雜誌感) */
.about-section {
    margin-bottom: 80px !important;
    line-height: 2 !important;
}

.about-section h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #79A342 !important; /* 品牌綠 */
    margin-bottom: 30px !important;
    letter-spacing: 2px !important;
    display: flex !important;
    align-items: center !important;
}
.about-section h2::before {
    content: "" !important;
    width: 30px !important;
    height: 2px !important;
    background: #79A342 !important;
    margin-right: 15px !important;
}

.about-content {
    font-size: 17px !important;
    color: #444444 !important;
    text-align: justify !important;
}

/* 3. 亮點卡片區 (針對科學實證與核心技術) */
.highlight-box {
    background-color: #f9fbf7 !important; /* 極淺綠底 */
    border-radius: 12px !important;
    padding: 40px !important;
    margin: 40px 0 !important;
    border-left: 5px solid #79A342 !important;
}

.highlight-box .journal-tags {
    margin-top: 20px !important;
    display: flex !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
}

.journal-tag {
    background: #ffffff !important;
    border: 1px solid #79A342 !important;
    color: #79A342 !important;
    padding: 5px 15px !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* 4. 使命核心區 (三欄排版) */
.mission-grid {
    display: flex !important;
    gap: 30px !important;
    margin-top: 50px !important;
}

.mission-item {
    flex: 1 !important;
    text-align: center !important;
    padding: 30px 20px !important;
    border: 1px solid #eeeeee !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}
.mission-item:hover {
    border-color: #79A342 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
}

.mission-item i {
    font-size: 30px !important;
    color: #79A342 !important;
    margin-bottom: 20px !important;
    display: block !important;
}

.mission-item h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
}

.mission-item p {
    font-size: 15px !important;
    color: #666 !important;
    line-height: 1.6 !important;
}

/* 手機版適配 */
@media (max-width: 768px) {
    .mission-grid { flex-direction: column !important; }
    .about-header h1 { font-size: 24px !important; }
    .about-content { font-size: 16px !important; }
    .highlight-box { padding: 25px !important; }
}

/* ==========================================================================
   商品內頁：高質感英文副標題
   ========================================================================== */
.product-eng-title {
    font-size: 15px !important;
    color: #999999 !important;          /* 優雅的淺灰色 */
    letter-spacing: 3px !important;     /* 字距拉開，增加精品氣質 */
    text-transform: uppercase !important; /* 強制全部大寫 */
    margin-top: 5px !important;         /* 與上方中文大標題的距離 */
    margin-bottom: 20px !important;     /* 與下方綠色亮點框拉開距離 */
    font-family: 'Arial', sans-serif !important;
    font-weight: 500 !important;
}

/* 手機版微調 */
@media (max-width: 768px) {
    .product-eng-title {
        font-size: 13px !important;
        margin-bottom: 15px !important;
    }
}

/* 獨立懸浮社群圖標 (包含手機版徹底隱藏) */
.kadis-header-icons {
  position: absolute;
  right: 5%;
  top: 45px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 999;
}

.kadis-header-icons a.social-btn {
  color: #666;
  font-size: 18px;
  text-decoration: none;
  transition: 0.3s;
}

.kadis-header-icons a.social-btn:hover {
  color: #4a5d23;
}

/* Threads 專屬黑底白字圓框設定 */
.kadis-header-icons a.threads-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	background-color: #999;
	color: #fff !important;
	border-radius: 50%;
	font-size: 16px;
	font-weight: bold;
	font-family: Arial, sans-serif;
	line-height: 1;
	text-decoration: none;
	transition: 0.3s;
}

/* 手機版：徹底隱藏整個懸浮圖標區塊 */
@media (max-width: 768px) {
  .kadis-header-icons {
    display: none !important;
  }
}

/* 修正麵包屑 (Breadcrumb) 多餘的直槓符號 */
ul.breadcrumb li + li::before {
    content: "" !important; /* 強制清空 Bootstrap 預設產生的符號 */
    padding: 0 !important;
}

ul.breadcrumb li {
    border-left: none !important; /* 確保沒有被加上左側邊框線 */
}

/* 確保麵包屑裡的 > 符號保持漂亮的間距 */
ul.breadcrumb li i.fa-angle-right, 
ul.breadcrumb li span {
    margin: 0 8px;
    color: #999;
}

/* ==========================================================================
   健康資料庫 QA 區塊：滑鼠懸停互動特效 (Hover)
   ========================================================================== */

/* 1. 給大箱子裡面的每個 QA 框框加上「滑順動畫」 */
.kadis-qa-list > div {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important; 
}

/* 2. 滑鼠移過去 (Hover) 時的絕美變化 */
.kadis-qa-list > div:hover {
    background-color: #f9fbf7 !important; /* 換上凱蒂生技專屬的極淺綠底色 */
    border-color: #79A342 !important;     /* 邊框微微亮起品牌綠色 */
    transform: translateY(-4px) !important; /* 整個框框優雅地微微向上浮起 */
    box-shadow: 0 12px 25px rgba(121, 163, 66, 0.15) !important; /* 加上淡淡的綠色立體陰影 */
}