html {
    background-color: #000;
}

body {
    background: #f5f5f5;
}


/* 頁面 layout 開始 */

.card-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.1em;
}

.input-max {
    max-width: 600px;
}

.app-content-header {
    padding-bottom: 6px !important;
}

.app-content-header h3 {
    font-size: 20px;
    letter-spacing: 0.05em;
    line-height: 40px;
}

.app-main .app-content-header .breadcrumb {
    font-weight: 900;
}

.app-main .app-content-header .breadcrumb a {
    color: #555;
}

/* 頁面 layout 結束 */

/* 表格 開始 */

.order-table {
    width: 100%;
}

.order-table tr th {
    background: #eee;
    color: #333;
    padding: 15px 15px;
    text-align: center;
    letter-spacing: 0.05em;
}

.order-table tr td {
    color: #666;
    padding: 15px 15px;
    letter-spacing: 0.05em;
}

/* 表格 結束 */

/* 商品類別 開始 */

.type-list-box {
    padding: 8px;
}

@media screen and (max-width: 992px) {
    .type-list-box {
        padding: 2px;
        width: 20%;
    }
}

.type-list {
    display: block;
    width: 100%;
    border: 1px #ccc solid;
    border-radius: 6px;
    box-shadow: 0 0 5px #ccc;
    margin-bottom: 2px;
    text-align: center;
    text-decoration: none;
    color: #333;
    line-height: 40px;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.type-list img {
    width: 100%;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.type-list div {
    height: 60px;
    width: 100%;
    text-align: center;
    line-height: 60px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}


@media screen and (max-width: 1200px) {
    .type-list div {
        font-size: 16px;
        line-height: 40px;
        height: 40px;
    }
}


@media screen and (max-width: 992px) {
    .type-list div {
        font-size: 11px;
        line-height: 30px;
        height: 30px;
    }
}

@media screen and (max-width: 767px) {
    .type-list div {
        font-size: 10px;
        line-height: 28px;
        height: 28px;
    }
}


.type-list:hover div {
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.type-list:hover img {
    transform: scale(1.3);
}

/* 商品類別 結束 */

/* 商品 開始 */

.series-title {
    width: 100%;
    background-color: #222;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    padding: 6px 55px 6px 25px;
    margin-top: 10px;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.series-title i {
    position: absolute;
    top: 3px;
    right: 5px;
    font-size: 26px;
    color: #fff;
    transition: all 0.3s ease;
}

.series-box {
    display: none;
}

.product-item {
    width: 100%;
    line-height: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #555;
    padding: 5px 15px 25px 15px;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    font-size: 16px;
    border: 1px #ccc solid;
    transition: all 0.3s ease;
    border-top: 0;
}

.product-item:hover {
    border: 2px #333 solid;
    color: #000;
    transform: scale(1.03);
}

.product-item-price {
    position: absolute;
    line-height: 20px;
    left: 15px;
    bottom: 2px;
    font-size: 14px;
    color: #333;
    font-weight: 900;

}

.product-item-stock {
    position: absolute;
    line-height: 20px;
    right: 15px;
    bottom: 2px;
    font-size: 14px;
    font-weight: 900;
    color: #333;
}

.no-addcart {
    /* 鼠標禁止 */
    cursor: not-allowed;
    background-color: #ddd;
    border: 2px #aaa solid;
}

.no-addcart:hover {
    /* 鼠標禁止 */
    cursor: not-allowed;
    background-color: #ddd;
    border: 2px #aaa solid;
    transform: scale(1);
}

.in-addcart {
    border: 2px #009fd9 solid;
    background-color: #edf2fd;
}

.incart-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 46px;
    position: absolute;
    top: -3px;
    right: -3px;
    display: none;
    color: #33b6c4;
}

.in-addcart .incart-icon {
    display: block;
}

.incart-icon-dealer {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 46px;
    position: absolute;
    top: 10px;
    right: 15px;
    display: none;
    color: #2e915e;
}

.in-addcart .incart-icon-dealer {
    display: block;
}

/* 商品 結束 */

/* 購物車 開始 */

.cart-show-btn {
    text-decoration: none;
    width: 90px;
    height: 70px;
    position: fixed;
    bottom: 15px;
    right: -20px;
    border-radius: 6px 0 0 6px;
    cursor: pointer;
    line-height: 20px;
    text-align: center;
    padding: 15px 20px 10px 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    background-color: #444;
    transition: all 0.3s ease;
    font-size: 10px;
}

@media screen and (min-width: 767px) {
    .cart-show-btn:hover {
        right: 0;

    }
}

.cart-show-btn i {
    display: block;
    line-height: 24px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
}

.cart-box-content {
    display: none;
}

.cart-box-bg {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 100;
}

.cart-hide-btn {
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 50px;
    cursor: pointer;
    color: #555;
    transition: all 0.3s ease;
}

@media screen and (min-width: 767px) {
    .cart-hide-btn:hover {
        color: #000;

    }
}

.cart-box {
    width: 90%;
    height: 90%;
    position: fixed;
    top: 5%;
    left: 5%;
    background-color: rgba(255, 255, 255, 0.98);
    border: 1px #ccc solid;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    overflow: scroll;
    z-index: 100;
}

.price-total {
    color: #444;
    line-height: 40px;
}

.cart-item {
    width: 100%;
    background-color: #f1f1f1;
    padding: 10px;
    margin: 10px 0;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    border: 3px #f1f1f1 solid;
}

@media screen and (min-width: 767px) {
    .cart-item:hover {
        background-color: #e1e1e1;
        border: 3px #ccc solid;

    }
}

.cart-remove {
    position: absolute;
    top: 0px;
    right: 1px;
    border: none;
    color: #d60000;
    background-color: rgba(0, 0, 0, 0);
    font-size: 30px;
}

@media screen and (min-width: 767px) {

    .cart-remove:hover {
        color: #a40000;
    }
}

.cart-item table th {
    color: #999;
    font-size: 14px;
}

.cart-item-type,
.cart-item-series,
.cart-item-name,
.cart-item-price,
.cart-item-stock {
    color: #666;
    font-size: 14px;
}

.cart-item-name {
    font-weight: 900;
    color: #222;
    font-size: 16px;
    line-height: 20px;
    padding: 0 25px 0 3px;
    margin-bottom: 10px;
}

.cart-search-box {
    position: relative;
    margin-bottom: 15px;
}

.cart-search-box .get-order {
    position: absolute;
    top: 0;
    right: 0;
    min-height: 40px;
}

.cart-product-count {
    position: absolute;
    bottom: 45px;
    right: 70px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #a40000;
    color: #fff;
    text-align: center;
    line-height: 34px;
    font-size: 16px;
    z-index: 5;
}

/* 購物車 結束 */

/* 訂貨單查詢 開始 */

#order-search-form {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border: 5px #ccc solid;
    padding: 30px;
    margin-bottom: 30px;
    margin-top: 10px;
    background-color: #fff;
    border-radius: 6px;
}

.order-content {
    padding: 0px 0 50px 0;
    background-color: #fff;
    border-radius: 6px;
}

.order-info {
    font-size: 20px;
    line-height: 40px;
}

.app-footer {
    color: #999;
    text-align: right;
    font-size: 12px;
}

.app-footer a {
    text-decoration: none;
    color: #999;
}

/* 訂貨單查詢 結束 */

/* 成本查詢 開始 */

.table-content-box {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border: 5px #ccc solid;
    border-radius: 6px;
    margin-top: 30px;
    margin-bottom: 50px;
    padding: 50px 30px;
}

.order-table {
    width: 100%;
    margin: 20px 0;
}

.order-table tr td {
    padding: 10px;
    border: 0px;
    border: 1px dashed #ccc;
}

.order-table tr td img {
    border-radius: 6px;
}

.order-table tr td a {
    color: #333;
    font-size: 18px;
    line-height: 35px;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.order-table tr td a:hover {
    color: #0065e1;
}

.order-table-2 {
    width: 100%;
}

.order-table-2 tr th,
.order-table-2 tr td {
    padding: 15px;
}


.order-table-2 tr th.s-title {
    background-color: #333;
    color: #fff;
}

.order-table-2 tr th {
    background-color: #f3f3f3;
}

/* 成本查詢 結束 */

/* 會員中心 開始 */

.member-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border: 5px #ccc solid;
    border-radius: 6px;
    margin-top: 30px;
    margin-bottom: 50px;
    padding: 50px 0px;
}

/* 會員中心 結束 */

.navbar-brand {
    color: #fff;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    font-size: 30px;
}

.navbar-brand:hover {
    color: #eee;
}

@media screen and (max-width: 992px) {
    .navbar-brand {
        color: #333;
    }

    .navbar-brand:hover {
        color: #111;
    }
}


.pc-logo {
    display: inline-block;
    padding-right: 5px;
}

.mobile-logo {
    display: none;
}

@media screen and (max-width: 992px) {
    .pc-logo {
        display: none;
    }

    .mobile-logo {
        display: inline-block;
    }
}

@media screen and (max-width: 992px) {
    .phone-100 {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

}


/* 跑馬燈 開始 */

.marquee {
    width: 100%;
    overflow: hidden;
    background: #fefefe;
    white-space: nowrap;
    box-sizing: border-box;
    height: 45px;
    line-height: 45px;
    letter-spacing: 0.05em;
    font-size: 16px;
    color: #555;
    background: rgb(217, 231, 238);
    font-weight: 900;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
}

@media screen and (max-width: 767px) {

    /* 手機 */
    .marquee span {
        animation: marquee 10s linear infinite;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* 跑馬燈 結束 */

/* 手機版卡片列表 開始 */

.mobile-card-list {
    padding: 0;
}

.mobile-card-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 3px 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 5px;
}

.mobile-card-item:last-child {
    margin-bottom: 0;
}

.mobile-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.mobile-card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
}

.mobile-card-info-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mobile-card-label {
    color: #888;
}

.mobile-card-value {
    color: #333;
    font-weight: 500;
}

.mobile-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #eee;
    gap: 10px;
}

.mobile-card-actions .form-control {
    width: 70px;
    text-align: center;
}

.mobile-card-actions .btn {
    flex: 1;
}

.mobile-card-series-title {
    background-color: #333;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    letter-spacing: 0.05em;
}

.mobile-card-stock-in {
    color: #28a745;
}

.mobile-card-stock-out {
    color: #dc3545;
}

/* 手機版卡片列表 結束 */

/* 其他設定 開始 */

.navbar-toggler-icon {
    display: none;
}

.swal-title {
    margin-bottom: 40px;
}

/* 其他設定 結束 */