.text-blue {
    color: #2484c6;
}

.text-gold {
    color: #ffdf2b;
}
.bg-gold {
    background-color: #ffdf2b;
}

:root {
  --color-blue: #2484c6;
  --color-gold: #ffdf2b;
  --color-snow: #f5f7fa;
}


body {
    font-family: "Noto Sans TC", 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    /* background-color: #f4f4f4; */
}

.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    align-items: flex-start; /* Added to prevent flex container from interfering with sticky positioning */
}

.header {
    background-color: #111020;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 24px;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-content p {
    margin-bottom: 8px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding: 16px;
    border-top: 1px solid #eee;
}

.card-footer .price {
    font-size: 1.125rem;
    font-weight: bold;
}

.button {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 8px;
    background-color: black;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #333;
}

.button svg {
    margin-right: 8px;
}

.about-section {
    background-color: #f9f9f9;
    padding: 40px 20px;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

.about-section .text-content {
    flex: 1;
    padding-right: 20px;
}

.about-section .image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-section .image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.footer {
    border-top: 1px solid #eee;
    padding: 20px;
    text-align: center;
    background-color: white;
}

.image-container {
    width: 400px;
    height: 300px;
    overflow: hidden;
    border: 1px solid #ccc;
}

.zoom-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.zoom-image:hover {
    transform: scale(1.5);
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 700px;
    border-radius: 8px;
    position: relative;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.popup_content, .popup_title{
    display:none;
}

.bg-theme{
    background-color: #2484C6;
}

.text-theme{
    color: #2484C6;
}

.border-theme{
    border-color: #2484C6;
}

.outline-theme{
    outline-color: #2484C6;
}

.custom-checkbox {
    display: none; /* 隱藏原始複選框*/
}
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.checkbox-label .checkmark, .checkbox-label .uncheckmark {
    width: 24px;
    height: 24px;
}
.custom-checkbox:checked + .checkbox-label .checkmark {
    display: block; /* 顯示已選中的 SVG */
}
.custom-checkbox:not(:checked) + .checkbox-label .checkmark {
    display: none; /* 顯示已選中的 SVG */
}
.custom-checkbox:checked + .checkbox-label .uncheckmark {
    display: none; /* 顯示已選中的 SVG */
}
.custom-checkbox:not(:checked) + .checkbox-label .uncheckmark {
    display: block; /* 顯示已選中的 SVG */
}

#tc_section ul li::marker {
    content: "＊ "; /* Replaces the default bullet with an asterisk followed by a space */
    font-size: 1.2em; /* Optional: Change the size of the bullet */
}