body {
    background: #FEFFFE;
}

.btn {
    font-size: 1em;
}

.btn-lg {
    font-size: 1.4em;
}

header {
    /*box-shadow: none !important;*/
    /*background-color: RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity, 1)) !important;*/
}

header .navbar-brand img {
    background-color: #FFFFFF;
}

footer {
    border-top: 5px solid #81d8d0 !important;
}

.product-section {
    position: relative;
    padding-bottom: 40px;
}

.product-container {
    max-width: 1600px;
}

.product .product-item {
    border: var(--bs-border-width) var(--bs-border-style) transparent !important;
    box-shadow: var(--bs-box-shadow-sm) !important;
    background-color: #FFFFFF;
}

.product .product-item:hover {
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    box-shadow: var(--bs-box-shadow) !important;
}

.product .product-title {
    color: #c85300;
}

.product .product-item .img-thumbnail, .cart-item .img-thumbnail {
    max-width: 100%;
    max-height: 200px;
}

.product .product-nothing {
    height: 300px;
}

.banner {
    position: relative;
    padding-top: 30px;
    text-align: center;
    color: white;
}

.banner-content {
    position: relative;
    color: var(--bs-dark);
}

.page-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-title span {
    text-align: center;
    border-bottom: 1px solid var(--bs-dark);
    width: 50px;
}

.page-title-end {
    justify-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.page-title-end span {
    display: block;
    text-align: center;
    border-bottom: 1px solid var(--bs-dark);
    width: 100px;
}

.search {
    border-bottom: 5px solid #81d8d0;
}

.search form {
    max-width: 1320px;
    margin: auto;
}

.search .col-form-label {
    font-size: 1.1em;
}

.search-title {
    position: absolute;
    top: -22px;
    font-style: normal;
    font-weight: 600;
    font-size: 1.4em;
    line-height: 27px;
    letter-spacing: 0.16em;
    color: var(--bs-dark);
    background-color: #E6F2F2;
    padding: .5rem 1rem;
    margin-left: -1rem;
}

.modal-header {
    background-color: #81d8d0;
}

.image-modal .modal-dialog {
    max-width: 1200px;
    width: 90%;
}

.image-modal img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    margin: auto;
}

.cart {
    padding-bottom: .25rem;
}

.cart .title {
    padding: 1rem;
    margin: 0;
}

.cart-nothing {
    height: 300px;
}

.cart-item {
    background-color: #FFFFFF;
}

.product-modal-description {
    white-space: pre-line;
}

@media (min-width: 992px) {
    .product-modal-img {
        max-height: 400px;
    }

    .product-modal-block {
        float: right;
        margin: 1rem;
    }

    .product .product-description {
        white-space: pre-wrap;
        overflow: hidden;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        height: 72px;
    }
}

@media (max-width: 991px) {
    .product-modal-img {
        max-height: 250px;
    }

    .product-modal-block {
        text-align: center;
        margin: 1rem;
    }

    .product .product-description {
        white-space: pre-wrap;
        overflow: hidden;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        height: 63px;
    }
}

.w-120 {
    width: 120px !important;
}

.bs-cyan {
    background-color: var(--bs-cyan);
}

.modal-full-height {
    height: 100vh;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
}

/* 開啟地圖按鈕亮點效果 */
.btn-map {
    background-color: #ffc107;
    border: none;
    color: #212529;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-map:hover {
    background-color: #ffca2c;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.35) !important;
}

/* GIS 預覽框視覺效果 */
.map-preview-box {
    background: linear-gradient(135deg, #eef2f7, #e0e8f0);
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
}