:root {
    --background-color-light: #1a1a1a;
    --text-color-light: #ffffff;
    --background-color-dark: #1a1a1a;
    --text-color-dark: #ffffff;

    --theme-switcher-background-color-light: #ccc;
    --theme-switcher-background-color-dark: #555;
    --theme-switcher-checked-background-color: #2196F3;
    --theme-switcher-slider-color: white;
}

body {
    background-color: var(--background-color-light);
    color: #ffffff !important;
}

body.dark-theme {
    background-color: var(--background-color-dark);
    color: #ffffff !important;
}

/* 確保所有分類標題都使用金色 */
h5, .h5 {
    color: #e1b382 !important;
}

/* 特定頁面的分類標題 */
.sidebar-filters h5,
.category-header h5,
.filter-title h5 {
    color: #e1b382 !important;
    border-bottom: 2px solid #e1b382 !important;
}

/* Health Categories 標題 */
.health-categories-title {
    color: #e1b382 !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Theme Switcher Styles */
.theme-switcher-container {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 999;
}

.theme-switcher {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.theme-switcher input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--theme-switcher-background-color-light);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: var(--theme-switcher-slider-color);
    transition: .4s;
}

body.dark-theme .slider {
    background-color: var(--theme-switcher-background-color-dark);
}

input:checked + .slider {
    background-color: var(--theme-switcher-checked-background-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Footer Styles - 保持原本的金色主題 */
.footer-main {
    font-family: "Segoe UI", Arial, sans-serif !important;
    background-color: #1c1c1c !important;
    color: #a9a9a9 !important;
    padding: 4rem 0;
}

.footer-copyright {
    background-color: #000 !important;
}

.footer-main h5 {
    color: #e1b382 !important; /* 金色標題 */
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #333;
}

.footer-main h6 {
    color: #e1b382 !important; /* 金色小標題 */
    font-weight: 500;
}

.footer-main .form-control {
    background-color: #2a2a2a !important;
    border: 1px solid #444 !important;
    color: #fff !important;
}

.footer-main .form-control:focus {
    background-color: #333 !important;
    border-color: #e1b382 !important;
    box-shadow: none;
}

.footer-main .form-control::placeholder {
    color: #888 !important;
}

.footer-main .btn-warning {
    background-color: #e1b382 !important;
    border-color: #e1b382 !important;
    color: #1c1c1c !important;
    font-weight: bold;
}

.footer-main .btn-warning:hover {
    background-color: #d1a372 !important;
    border-color: #d1a372 !important;
}

.footer-main .social-icon {
    color: #a9a9a9 !important;
    border: 1px solid #444 !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-main .social-icon:hover {
    background-color: #e1b382 !important;
    color: #1c1c1c !important;
    border-color: #e1b382 !important;
    transform: translateY(-3px);
}

.footer-main .quick-links li {
    padding-bottom: 0.5rem;
}

.footer-main .quick-links a {
    color: #a9a9a9 !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-main .quick-links a:hover {
    color: #fff !important;
    padding-left: 5px;
}

.footer-main .contact-info span,
.footer-main .contact-info a {
    color: #a9a9a9 !important;
    text-decoration: none;
}

.footer-main .contact-info i {
    color: #e1b382 !important; /* 金色圖標 */
    margin-right: 15px;
}

.footer-main .text-muted {
    color: #888 !important;
}

.footer-main .text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Ensure all containers have proper background */
.container, .container-fluid {
    background-color: transparent !important;
}

/* Card and Panel Styles */
.card {
    background-color: #2a2a2a !important;
    border: 1px solid #3a3a3a !important;
    color: #ffffff !important;
}

.card-header {
    background-color: #3a3a3a !important;
    border-bottom: 1px solid #3a3a3a !important;
    color: #ffffff !important;
}

.card-body {
    background-color: #2a2a2a !important;
    color: #ffffff !important;
}

/* List Group Styles */
.list-group-item {
    background-color: #2a2a2a !important;
    border: 1px solid #3a3a3a !important;
    color: #ffffff !important;
}

.list-group-item:hover {
    background-color: #3a3a3a !important;
    color: #ffffff !important;
}

p {
    margin: 4px; /* Adjust the margin as needed */
}

a {
    text-decoration: none;
}

a:link {
    color: aquamarine;
}

a:visited {
    color: blueviolet;
}

a:hover {
    color: wheat;
}

a:active {
    color: yellow;
    text-decoration: none;
}

table {
    border-spacing: 30px;
}

td {
    text-align: center;
    vertical-align: center;
}

/* Responsive Container Width */
.container {
    width: 100%; /* Default value */
}

@media screen and (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media screen and (min-width: 991px) {
    .container {
        width: 970px;
    }
}

@media screen and (min-width: 1100px) {
    .container {
        width: 1170px;
    }
}

/* Text Styles */
.normal-text {
    font-weight: 400;
    font-size: 18px;
}

.bold-text {
    font-weight: 900;
    font-size: 18px;
}

.bold-Logo {
    font-weight: 900;
    font-size: 17px;
    vertical-align: bottom;
}

/* Gallery Styles - 美化設計 */
div.gallery {
    padding: 0.15rem;
    border: 1px solid #3a3a3a;
    background: linear-gradient(145deg, #2a2a2a 0%, #1f1f1f 100%);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    color: #ffffff !important;
    position: relative;
    text-align: center; /* 居中对齐内容 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

div.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #059669, #10b981);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    z-index: 1;
}

div.gallery:hover {
    border: 1px solid #10b981;
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.3);
    transform: translateY(-8px) scale(1.03);
}
div.gallery img {
    width: 90%;
    height: auto;
    filter: blur(4px);
    transition: filter 0.3s, transform 0.3s, opacity 0.4s cubic-bezier(0.4,0,0.2,1);
    transform: scale(1.1);
    opacity: 0.7;
    display: block; /* 块级元素 */
    margin: 0 auto; /* 居中对齐 */
}
div.gallery:hover img {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
    animation: fadeInUp 0.5s;
}
@keyframes fadeInUp {
    from {
        opacity: 0.5;
        transform: translateY(20px) scale(1.05);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Text Link and Title Styles */
div.link {
    padding: 0.4rem;
    color: #ffffff !important;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
}

/* Dropdown Item Styles */
.dropdown-item:focus,
.dropdown-item:hover {
    background-color: #1C1331;
    color: orange !important;
}

/* Breadcrumb Styles */
#breadcrumb {
    background-color: #2a2a2a !important;
    color: #ffffff !important;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none !important;
}

a {
    text-decoration: none;
    color: #ffffff !important;
}

a:hover, a:focus, a:active {
    text-decoration: none;
}

input,
input:focus,
input:active {
    outline: none;
    background-color: #2a2a2a !important;
    color: #ffffff !important;
    border: 1px solid #3a3a3a !important;
}

input::placeholder {
    color: #999999 !important;
}

button,
button:active,
button:focus,
button:hover {
    outline: none;
}

/* Form Control Styles */
.form-control {
    background-color: #2a2a2a !important;
    border: 1px solid #3a3a3a !important;
    color: #ffffff !important;
    border-radius: 6px;
}

.form-control:focus {
    background-color: #2a2a2a !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25);
}

.form-control::placeholder {
    color: #999999 !important;
}

/* Main Wrapper Styles */
.mainWrapper {
    position: relative;
    width: 100%;
    min-width: 310px;
    min-height: 400px;
    padding: 0;
    margin: 0 !important;
    background: #1a1a1a;
}

/* Wrappen Block Styles */
.wrappen_block {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Main Background Styles */

/* Product Card Styles - 美化設計 */
.product-card {
    background: linear-gradient(145deg, #2a2a2a 0%, #1f1f1f 100%);
    border: 1px solid #3a3a3a;
    border-radius: 16px;
    color: #ffffff !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #059669, #10b981);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: #10b981;
}

/* In Stock Label */
.in-stock-label {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* View Details Button */
.view-details-btn {
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
    color: #ffffff !important;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.view-details-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.view-details-btn:hover::before {
    left: 100%;
}

.view-details-btn:hover {
    background: linear-gradient(135deg, #283593 0%, #3949ab 50%, #5c6bc0 100%);
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 35, 126, 0.3);
}

/* Category Filter Header - 金色標題 */
.sidebar-filters h5 {
    color: #e1b382 !important; /* 金色標題，與 footer 一致 */
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #e1b382; /* 金色下劃線 */
    padding-bottom: 12px;
}

/* Category Filter Styles */
.category-filter-item {
    background: linear-gradient(145deg, #2a2a2a 0%, #1f1f1f 100%);
    color: #e1b382 !important; /* 改為金色文字 */
    padding: 16px 20px;
    border: 1px solid #3a3a3a;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-filter-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: left 0.5s;
}

.category-filter-item:hover::before {
    left: 100%;
}

.category-filter-item:hover {
    background: linear-gradient(145deg, #3a3a3a 0%, #2a2a2a 100%);
    transform: translateX(8px);
    border-color: #e1b382; /* 懸停時邊框變金色 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #e1b382 !important; /* 懸停時保持金色 */
}

.category-filter-item.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    border-color: #10b981;
    transform: translateX(4px);
}

/* Category Count - 金色數量標籤 */
.category-count {
    background: linear-gradient(145deg, #3a3a3a 0%, #2a2a2a 100%);
    color: #e1b382 !important; /* 數量也改為金色 */
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    min-width: 28px;
    text-align: center;
    border: 1px solid #4a4a4a;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.category-filter-item.active .category-count {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important; /* 激活時數量改為白色 */
    border-color: rgba(255, 255, 255, 0.3);
}

/* Navigation Styles - 美化設計 */
.navbar-dark {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1f1f1f 100%) !important;
    border-bottom: 2px solid #e1b382;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    color: white !important;
    font-weight: 700;
    font-size: 18px;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 4px;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.navbar-nav .nav-link:hover::before {
    left: 100%;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

/* Search Button - 美化設計 */
.btn-success {
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%) !important;
    border-color: #1a237e !important;
    color: white !important;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-success:hover::before {
    left: 100%;
}

.btn-success:hover {
    background: linear-gradient(135deg, #283593 0%, #3949ab 50%, #5c6bc0 100%) !important;
    border-color: #283593 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.4);
}

/* Left Side Styles */
.productCart_leftSide {
    position: relative;
    width: 100%;
    min-height: 600px;
}

.productCart_brendBlock {
    width: 100%;
    height: 75px;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 184px;
    max-height: 75px;
    background-color: #171717;
    z-index: 21;
}

.productCart_brendBlock__imageBlock {
    display: block;
    height: 100%;
}

.productCart_brendBlock__imageBlock img {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sliderBlock {
    position: relative;
	width: 100%;
    height: 100%;
    margin-left: 2px;
    margin-top: 1px;
	margin-right: 0px;
    margin-bottom: 36px;
    overflow: hidden;
}

.sliderBlock_items {
    position: relative;
    display: block;
    width: 100%;
    height: 403px;
}

.sliderBlock_items__itemPhoto {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 13;
    transition: opacity 1s;
}

.sliderBlock_items__showing {
    opacity: 1;
    z-index: 14;
}

.sliderBlock_items:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.1;
    z-index: 15;
}

.sliderBlock_controls {
    width: 100%;
}

.sliderBlock_controls__navigatin {
    margin-top: 8px;
    width: 100%;
}

.sliderBlock_controls__wrapper {
    margin: 1% auto;
    width: 110px;
    height: 10px;
}

.sliderBlock_controls__arrow {
    position: relative;
    width: 14px;
    height: 14px;
    cursor: pointer;
    border: 1px solid #536dfe;
    transition: 300ms all;
    background-color: #0d1660;
    border-radius: 50%;
}

.sliderBlock_controls__arrow:hover {
    background-color: #536dfe;
}

.sliderBlock_controls__arrow i {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    margin-left: -50%;
    margin-top: -50%;
    color: #fff;
    transition: 300ms all;
    font-weight: bold;
    text-align: center;
    font-size: 10px;
}

.sliderBlock_controls__arrowBackward {
    float: left;
}

.sliderBlock_controls__arrowForward {
    float: right;
}

.sliderBlock_positionControls {
    display: block;
    width: 100%;
    height: 3px;
    margin: 30px auto 0;
}

.sliderBlock_positionControls__paginatorItem {
    float: left;
    width: 18px;
    height: 10px;
    margin-left: 5px;
    background-color: #d7d7d7;
    cursor: pointer;
}

.sliderBlock_positionControls__paginatorItem:first-child {
    margin-left: 31%;
}

.sliderBlock_positionControls__active {
    background-color: #536dfe;
}

/* Right Side Styles */
.productCart_rightSide {
    position: relative;
    padding-top: 34px;
    padding-left: 17px;
    padding-right: 40px;
    width: 100%;
    min-height: 600px;
}

.block_specification {
    float: right;
    margin-top: 8px;
    cursor: pointer;
    color: #536dfe;
    transition: all 0.5s;
}

.block_specification__button {
    display: inline-block;
    margin-right: 7px;
    height: 100%;
    font-size: 17px;
    text-transform: uppercase;
    transform: rotate(0);
    transition: transform 0.5s;
    transform-origin: center center;
}

.block_specification:hover .block_specification__button__rotate {
    transition: transform 0.5s;
    transform: rotate(1turn);
}

.block_specification:hover {
    color: #f1415d;
}

.block_specification__text {
    width: 30px;
    height: 11px;
    font-family: "Titillium Web", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.block_model {
    display: inline-block;
    color: #163138;
    font-size: 11px;
    opacity: 0.9;
}

.block_name {
    width: 100%;
    color: #163138;
    font-weight: 400;
    line-height: 35px;
}

.block_name__mainName {
    margin: 0;
    padding: 0;
    font-size: 19px;
}

.block_name__addName {
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.block_product {
    position: relative;
    width: 100%;
}

.block_product__advantagesProduct {
    width: 100%;
    min-height: auto;
    margin-top: 14px;
    color: #000000 !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
    font-weight: 500 !important;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif !important;
    text-shadow: none !important;
}

.block_product__link {
    line-height: 13px;
    color: #536dfe;
}

/* 產品描述文字清晰度優化 */
.product-description-html {
    color: #000000 !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
    font-weight: 500 !important;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif !important;
    text-shadow: none !important;
}

.product-description-html p {
    margin-bottom: 1.2rem !important;
    color: #000000 !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
    font-weight: 500 !important;
    text-shadow: none !important;
}

.product-description-first-sentence {
    font-weight: 600 !important;
    color: #000000 !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
    text-shadow: none !important;
}

.block_informationAboutDevice {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.block_descriptionInformation {
    width: 304px;
    height: 104px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 13px;
    color: #163138;
}

.block_descriptionCharacteristic {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    z-index: 30;
    transition: left, ease-out, 0.5s;
}

.block_descriptionCharacteristic__active {
    left: 0;
}

@keyframes moveCharackeristic {
    0% {
        left: 100%;
    }
    100% {
        left: 0;
    }
}

.block_specificationInformation_table {
    position: relative;
    height: 90%;
    background-color: #2a3f5f;
}

.block_specificationInformation_table tr {
    border-collapse: collapse;
    border: 1px solid #000;
}

.block_specificationInformation_table th {
    border: 1px solid #000;
    font-weight: bold;
}

.block_specificationInformation_table td {
    border-collapse: collapse;
    text-align: center;
    border: 1px solid #000;
}

.block_rating {
    width: 100%;
    margin-top: 33px;
}

fieldset,
label {
    margin: 0;
    padding: 0;
}

.block_rating__stars {
    border: none;
    float: left;
    width: auto;
    margin: 0;
    padding: 0;
}

input[type=checkbox] + label,
input[type=radio] + label {
    margin: 0;
}

.block_rating__stars > input {
    display: none;
}

.block_rating__stars > label:before {
    margin: 5px;
    font-size: 15px;
    font-family: "FontAwesome";
    display: inline-block;
    content: "\f005";
}

.block_rating__stars > .half:before {
    content: "\f089";
    position: absolute;
}

.block_rating__stars > label {
    color: #c9c9c9;
    float: right;
}

/* CSS Magic to Highlight Stars on Hover */
.block_rating__stars > input:checked ~ label,
.block_rating__stars:not(:checked) > label:hover,
.block_rating__stars:not(:checked) > label:hover ~ label {
    color: #fccf47;
}

/* Hover previous stars in list */
.block_rating__stars > input:checked + label:hover,
.block_rating__stars > input:checked ~ label:hover,
.block_rating__stars > label:hover ~ input:checked ~ label,
.block_rating__stars > input:checked ~ label:hover ~ label {
    color: #ffed85;
}

.block_rating__avarage {
    margin-left: 31px;
    color: #f1415d;
    font-size: 15px;
    line-height: 35px;
}

.block_rating__reviews {
    margin-left: 6px;
    color: #656c6f;
    font-size: 13px;
}

.block_price {
    margin-top: 19px;
    width: 100%;
}

.block_price__currency {
    padding: 0;
    margin: 0;
    vertical-align: top;
    color: #f1415d;
    font-size: 16px;
    font-weight: 600;
}

.block_price__shipping {
    padding: 0;
    margin: 0;
    color: #a1a9ad;
    font-size: 11px;
}

.radio_button {
    position: absolute;
    opacity: 0;
}

.block_goodColor {
    margin-top: 19px;
    width: 100%;
}

.block_goodColor__allColors {
    width: 100%;
    margin-top: 14px;
}

.block_goodColor__radio {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    margin-left: 10% !important;
    background-color: #e8e6e3;
    cursor: pointer;
}

.radio_button:checked + .block_goodColor__radio {
    width: 15px;
    height: 15px;
    box-shadow: 0 0 5px 3px rgba(83, 109, 154, 0.5);
    border: 1px solid #fff;
}

.block_goodColor__black {
    background-color: #3c383a;
}

.block_goodColor__silver {
    background-color: silver;
}

.text_specification {
    padding: 0;
    color: #37474f;
    font-size: 13px;
}

.block_quantity {
    position: relative;
    height: 46px;
    margin-top: 45px;
}

.block_quantity span {
    float: left;
    margin-top: 15px;
    margin-right: 10px;
}

.block_quantity__chooseBlock {
    vertical-align: top;
    height: 100%;
    margin: 0;
    padding: 0;
}

.block_quantity__number {
    float: left;
    width: 51px;
    height: 46px;
    border: 1px solid #ddd;
    font-size: 18px;
}

.block_quantity__number::placeholder {
    color: #403f40;
    font-size: 18px;
    line-height: 35px;
}

.block_quantity__button {
    float: left;
    width: 10px;
    height: 50%;
    margin: 0;
    padding: 0;
    margin-left: 11px;
    font-size: 0;
    cursor: pointer;
}

.block_quantity__button:hover,
.block_quantity__button:focus {
    background-color: transparent;
}

.block_quantity__button:hover:before,
.block_quantity__button:focus:before {
    color: #536dfe;
}

.block_quantity__up::before {
    content: "\f106"; /* Corrected: Added backslash */
    width: 11px;
    height: 6px;
    font-family: "FontAwesome";
    color: #37474f;
    font-size: 18px;
}

.block_quantity__down::before {
    content: "\f107"; /* Corrected: Added backslash */
    width: 11px;
    height: 6px;
    font-family: "FontAwesome";
    color: #37474f;
    font-size: 18px;
}


.button.button_addToCart {
    width: 147px;
    height: 46px;
    margin-top: 43px;
    margin-bottom: 0;
    padding: 0;
    color: #fff;
    background-color: #536dfe;
    font-size: 17px;
    transition: all 0.3s;
	border: 0;
}

.button.button_addToCart:hover {
    background-color: #0d1660;
}

#productmain {
    margin: 10px;
}

/* Table Styles */
.table {
    background-color: #2a2a2a !important;
    color: #ffffff !important;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto; /* 居中对齐 */
}

.table th {
    background-color: #3a3a3a !important;
    color: #ffffff !important;
    border-color: #3a3a3a !important;
}

.table td {
    background-color: #2a2a2a !important;
    color: #ffffff !important;
    border-color: #3a3a3a !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #2a2a2a !important;
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: #3a3a3a !important;
}

p {
    line-height: 1;
}

#search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 60;
    display: none;
    background-color: #2a2a2a;
    border: 1px solid #ccc;
    border-top: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 1000px;
    overflow-y: auto;
}

.thicker-border-right {
    border-right: 1px solid gray;
    height: 100%;
}

.btn-transparent {
    background-color: rgba(155, 155, 155, 0.3);
    border: 1px solid transparent;
    color: black;
}

.btn-transparent:hover {
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid transparent;
    color: yellow;
}

/* Basic styles for the search container and input */
.container-menu {
    margin-top: 50px;
}

/* Styles for the dropdown list */
.dropdown-barmenu .dropdown-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    background-color: #2a2a2a;
    color: white;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 51;
}

/* Styles for list items */
.dropdown-barmenu li {
    padding: 10px;
    cursor: pointer;
}

/* Styles for list items on hover */
.dropdown-barmenu li:hover {
    background-color: #3a3a3a;
    color: white;
}

/* Styles for the search input field */
.search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #3a3a3a !important;
    background-color: #2a2a2a !important;
    color: #ffffff !important;
    border-radius: 6px;
}

/* Styles for the search icon */
.search-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

/* Styles for the search container when it's active */
.active .dropdown-barmenu {
    display: block;
}

/* Scrollbar styles for the dropdown list */
.dropdown-barmenu::-webkit-scrollbar {
    width: 8px;
}

.dropdown-barmenu::-webkit-scrollbar-thumb {
    background-color: #ccc;
}

.dropdown-barmenu::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

/* Styles for the active search icon */
.active .search-icon {
    color: #f1415d;
}



#menu {
    position: relative; /* Set its position to relative */
    z-index: 50; /* Ensure it's at a higher z-index than other elements */
}

/* Add styles for the caption */
#carouselonepsalm {
    position: relative; /* Set its position to relative as well */
    z-index: 10; /* Set a z-index that is lower than the #menu */
    /* Add any other caption styles you need here */
}

        .table-container {
            max-height: 300px; /* Set the max height to control scrolling */
            overflow-y: scroll; /* Enable vertical scrolling */
            text-align: center; /* 居中对齐内容 */
            margin: 0 auto;
        }

        .table-container th {
            position: sticky;
            top: 0; /* Stick the header to the top */
            background-color: #2a3f5f; /* Background color of the header */
        }


.galary {
    margin-top: 50px;
    display: inline-block; /* Make the div size fit its content */
    box-shadow: 0 0 3px 1px rgba(51, 51, 51, 0.5);
    border: none; /* Remove border */
    transition: 0.3s;
    overflow: hidden; /* Hide overflow content */
}
.galary:hover {
    margin-top: 40px;
    box-shadow: 0 3px 15px 3px rgba(51, 51, 51, 0.5);
    border: none; /* Remove border on hover as well */
}



#animation {
-webkit-animation:fadeInUp 1s .2s ease both;
-moz-animation:fadeInUp 1s .2s ease both;
animation:fadeInUp 1s .2s ease both;
}
@-webkit-keyframes fadeInUp {
0% {
opacity:0;
-webkit-transform:translateY(20px)
}
100% {
opacity:1;
-webkit-transform:translateY(0)
}
}
@-moz-keyframes fadeInUp {
0% {
opacity:0;
-moz-transform:translateY(20px)
}
100% {
opacity:1;
-moz-transform:translateY(0)
}
}
@keyframes fadeInUp {
0% {
opacity:0;
transform:translateY(20px)
}
100% {
opacity:1;
transform:translateY(0)
}
}


/* Custom CSS to change popover background color */
.popover {
    background-color: #2a2a2a !important;
    color: white !important;
    border: 1px solid #ddd;
}
.popover .popover-body {
    background-color: #2a2a2a !important;
    color: white !important;
}
.popover .popover-arrow::after {
    background-color: #2a2a2a !important;
    border-color: #2a2a2a !important;
}

.popover-header {
  height: 33px;
  font-size: 10px;

}

/* Change the arrow color */


        .popover-body {
            background-color: #f8f9fa; /* Light gray background for better readability */
            color: #000 !important; /* Set the text color to black */
            padding: 10px; /* Add padding for better appearance */
        }

        /* Change the arrow color */
        .popover.bs-popover-bottom .arrow::before {
            border-bottom-color: #f8f9fa !important; /* Light gray arrow to match background */
        }

        /* Ensure cart popover text is always black */
        #cartButton + .popover .popover-body,
        #cartButton + .popover .popover-body *,
        .popover[data-bs-popper="static"] .popover-body,
        .popover[data-bs-popper="static"] .popover-body *,
        .popover .popover-body,
        .popover .popover-body * {
            color: #000 !important;
        }


















* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Arial";
}

body{
  overflow-x: hidden;
}

#whole-flex {
  position: absolute;
  flex-direction: column;
  text-align: center;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -10;
}

/* NavBar */
.sidenav {
  max-width: 380px;
  width: 85%;
  overflow-x: hidden;
  overflow-y: hidden;
  height: 100%;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  background-color: #2a2a2a;
  transform-origin: left center;
  transform: translateX(-380px);
}

.sidenavHeader {
  color: white;
  font-weight: bold;
  background-color: rgb(35, 47, 62);
  padding: 10px 0px 10px 30px;
  font-size: 23px;
}

.sidenavContentHeader {
  margin-top: 5px;
  padding: 15px 0px 15px 25px;
  font-size: 20px;
  font-weight: bold;
}

.sidenavContent {
  padding: 15px 0px 15px 25px;
  color: white;
}

.sidenavContent:hover {
  background-color: #3a3a3a;
}

hr {
  height: 1px;
  border: 0;
  color: gray;
  background-color: gray;
  margin: 15px auto 10px auto;
}

.sidenavRow {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 15px 25px 15px 25px;
  color: white;
}

.sidenavRow:hover {
  background-color: #3a3a3a;
}

.sidenavRow:hover i {
  color: #111111 !important;
}

#closeBtn {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  margin-left: 390px;
  color: white;
  font-size: 50px;
  cursor: pointer;
  z-index: 75;
  transform: translateY(-5px);
  transition: visibility 0.5s;
}

.sidenav a,
.sidenav a:link,
.sidenav a:visited,
.sidenav a:hover,
.sidenav a:active {
  text-decoration: none;
  color: white;
}

/* animation */
@keyframes collapse {
  0% {
    z-index: 100;
    transform: translateX(0px);
  }
  100% {
    transform: translateX(-380px);
  }
}

@keyframes expand {
  0% {
    z-index: 100;
    transform: translateX(-380px);
  }
  100% {
    transform: translateX(0px);
  }
}

@keyframes show {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes hide {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Overlay */
#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 60;
  background-color: rgba(0, 0, 0, 0.7);
}

/* Dropdown */
.sidenavContainer hr {
  width: 85%;
}

.sidenavRowDropdown {
  display: flex;
  width: 100%;
  justify-content: start;
  align-items: center;
  padding: 15px 25px 15px 25px;
  cursor: pointer;
}

.sidenavRowDropdown:hover {
  background-color: #eaeded;
}

.sidenavRowDropdown:hover i {
  color: #111111 !important;
}

.sidenavContainer {
  display: none;
  height: 0px;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: center top;
}

@keyframes expandDropDown {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes collapseDropDown {
  0% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(0);
    opacity: 0;
  }
}

/* Container part */
#main-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
}

@keyframes mainAway {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(-380px);
  }
}

@keyframes mainBack {
  0% {
    transform: translateX(-380px);
  }
  100% {
    transform: translateX(0px);
  }
}

#sub-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  background-color: white;
  transform: translateX(380px);
}

@keyframes subBack {
  0% {
    transform: translateX(380px);
  }
  100% {
    transform: translateX(0px);
  }
}

@keyframes subPush {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(380px);
  }
}

#mainMenu {
  margin-top: 5px;
  padding: 15px 0px 15px 25px;
  font-weight: bold;
}

#mainMenu:hover {
  background-color: #eaeded;
  cursor: pointer;
}

/* Section Header Enhancement */
.bold-text.Hitalic {
    text-align: left !important;
    font-size: 2rem !important;
    font-weight: bold !important;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

/* Marquee Effect */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    width: 200%;
    animation: marquee 30s linear infinite;
}

.marquee-content > .col-sm-3 {
    flex-shrink: 0; /* Prevent flex items from shrinking */
}

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

/* 3D Card Flip Effect */
.scene {
  width: 100%;
  height: 220px;
  perspective: 800px;
  margin-bottom: 20px;
}
.card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
}
.scene:hover .card, .card.flipped {
  transform: rotateY(180deg);
}
.card__face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.card__face--front {
  background: #fff;
  z-index: 2;
}
.card__face--back {
  background: #f8f9fa;
  transform: rotateY(180deg);
  z-index: 1;
}

/* 跑马灯包装器 */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  text-align: center;
  margin: 0 auto;
}

/* 跑马灯容器（限制宽度，溢出隐藏） */
.marquee-container {
  display: flex;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  white-space: nowrap; /* 防止图片换行 */
  position: relative;
  margin: 0 auto;
  text-align: center; /* 容器居中对齐 */
}

/* 跑马灯轨道（包含图片） */
.marquee-track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
  padding: 10px 0; /* 可选内边距 */
  text-align: center; /* 居中对齐图片 */
  width: 100%; /* 确保占满容器宽度 */
}

/* 跑马灯动画 - 无缝循环 */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* 只滚动一半，实现无缝循环 */
}

/* 图片样式 */
.marquee-img {
  height: 80px; /* 固定高度确保对齐 */
  width: auto;
  margin: 0 10px; /* 图片间距 */
  vertical-align: middle;
  text-align: center; /* 图片居中对齐 */
}

/* 鼠标悬停时暂停动画 */
.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

/* Force black text color for all popovers - highest priority */
.popover,
.popover *,
.popover .popover-body,
.popover .popover-body *,
.popover .popover-header,
.popover .popover-header *,
#cartButton + .popover,
#cartButton + .popover *,
#cartButton + .popover .popover-body,
#cartButton + .popover .popover-body *,
.popover[data-bs-popper="static"],
.popover[data-bs-popper="static"] *,
.popover[data-bs-popper="static"] .popover-body,
.popover[data-bs-popper="static"] .popover-body * {
  color: #000 !important;
  background-color: #f8f9fa !important;
}

/* Prevent popover jumping and ensure stable layout */
.popover {
  min-width: 400px !important;
  max-width: 500px !important;
  min-height: 250px !important;
  transition: none !important;
}

.popover .popover-body {
  min-height: 200px !important;
  padding: 1rem !important;
}

/* Ensure stable table layout */
.popover .table {
  width: 100% !important;
  margin-bottom: 0 !important;
}

.popover .table th,
.popover .table td {
  padding: 0.5rem !important;
  vertical-align: middle !important;
  font-size: 0.875rem !important;
}

.popover .table th:first-child,
.popover .table td:first-child {
  text-align: left !important;
  max-width: 150px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.popover .table th:nth-child(2),
.popover .table th:nth-child(4),
.popover .table td:nth-child(2),
.popover .table td:nth-child(4) {
  text-align: right !important;
}

.popover .table th:nth-child(3),
.popover .table td:nth-child(3) {
  text-align: center !important;
}

/* Ensure specific elements are black */
.popover h6,
.popover p,
.popover span,
.popover div,
.popover a,
.popover strong,
.popover b {
  color: #000 !important;
}
