.page-guide-section {
    margin-bottom: 1.5rem;
}

.page-breadcrumb {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item a {
    color: #0d6efd;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 600;
}

.breadcrumb-separator {
    color: #adb5bd;
    font-weight: 400;
    user-select: none;
}

.breadcrumb-item i {
    font-size: 1rem;
}

@media (max-width: 991.98px) {
    .page-breadcrumb {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .breadcrumb-item i {
        font-size: 0.9rem;
    }
}

.product-hero {
    border: 1px solid #e9ecef;
    border-radius: 16px;
    background: #f8f9fa;
    position: relative;
}

.product-hero img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-title {
    color: #212529;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.price {
    color: #ff4d4f;
    font-weight: 800;
    font-size: 1.8rem;
}

/* 電洽產品樣式 */
.contact-price-badge {
    display: inline-flex;
    align-items: center;
    color: #ff4d4f;
    font-weight: 800;
    font-size: 1.6rem;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    border: 2px solid #ff4d4f;
}

.btn-contact-inquiry {
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(255, 77, 79, 0.3);
    transition: all 0.2s ease;
}

.btn-contact-inquiry:hover {
    background: linear-gradient(135deg, #ff7875 0%, #ff4d4f 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 77, 79, 0.4);
}

.btn-contact-inquiry:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 77, 79, 0.3);
}

/* 產品說明中的聯繫區塊 */
.contact-inquiry-section {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border: 2px solid #ffccc7;
    border-radius: 12px;
    padding: 1.5rem;
}

.contact-inquiry-title {
    color: #ff4d4f;
    font-weight: 700;
}

.contact-inquiry-desc {
    color: #595959;
    font-size: 0.95rem;
}

.meta {
    color: #6c757d;
}

.helper-text {
    color: #6c757d;
    font-size: 0.95rem;
}

.option-box {
    background: #f6f7f9;
    border: 1px solid #e6e8eb;
    border-radius: 14px;
    padding: 18px;
}

.option-box .label {
    font-weight: 700;
    color: #495057;
}

.action-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.action-add {
    background-color: var(--bs-success);
    color: #fff;
}

.action-add:hover {
    background-color: #157347;
}

.action-fav {
    background-color: var(--bs-secondary-bg, #e9ecef);
    color: var(--bs-secondary, #6c757d);
}

.action-fav:hover {
    background-color: #dee2e6;
}

.action-circle i {
    font-size: 1.35rem;
}

.qty-input {
    width: 110px;
    height: 52px;
    text-align: center;
    font-weight: 600;
}

.btn-add-cart-lg {
    height: 52px;
    padding: 0 24px;
    font-weight: 700;
}

.card-body table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.card-body table th,
.card-body table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    vertical-align: top;
}

.card-body table thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.card-body table tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.card-body table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.nav-subcategory-item {
    padding-left: 2.25rem;
}

.shop-nav-highlight {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-left: 3px solid #667eea;
}

.eshop-hidden {
    display: none !important;
}

.product-image-zoom {
    cursor: zoom-in;
    max-width: 100%;
    height: auto;
    display: block;
}

.product-image-placeholder {
    padding: 50px;
    background: #f0f0f0;
    text-align: center;
    color: #999;
}

.product-image-url {
    word-break: break-all;
    display: inline-block;
}

.product-modal-body {
    min-height: 60vh;
}

.product-modal-img {
    max-height: 80vh;
    object-fit: contain;
}
@media (max-width: 768px) {
    .card-body table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

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

.card-body .img-fluid {
    max-width: 100%;
    height: auto;
}

.card-body .image-wrap-text {
    float: left;
    margin: 0 1rem 1rem 0;
    max-width: 50%;
}

.card-body .image-break-text {
    display: block;
    clear: both;
    margin: 1rem auto;
}

.card-body mark {
    background-color: #fff3cd;
    padding: 0.1rem 0.2rem;
}

.card-body .highlight {
    background-color: #ffeb3b;
    padding: 0.1rem 0.3rem;
    font-weight: 500;
}

.card-body small {
    font-size: 0.875em;
    color: #6c757d;
}

.card-body code {
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    color: #d63384;
}

.card-body kbd {
    background-color: #212529;
    color: #fff;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875em;
}

.card-body cite {
    font-style: italic;
    color: #6c757d;
}

.card-body hr {
    margin: 1.5rem 0;
    border: 0;
    border-top: 2px solid #dee2e6;
}

.card-body sub {
    font-size: 0.75em;
    vertical-align: sub;
}

.card-body sup {
    font-size: 0.75em;
    vertical-align: super;
}

.card-body .media-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.card-body .media-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-body img[loading="lazy"] {
    background: #f0f0f0;
}

/* Modal 樣式 - 確保黑底白字 */
#imagePreviewModal .modal-content {
    background-color: #212529 !important;
}

#imagePreviewModal .modal-header {
    background-color: #212529 !important;
    border-bottom: 1px solid #495057;
}

#imagePreviewModal .modal-title {
    color: #ffffff !important;
}

#imagePreviewModal .modal-body {
    background-color: #212529 !important;
}
