

:root {
    --primary-color: #234454;
    --secondary-color: #C72391;
    --accent-color: #1DA370;
    --bg-light: #FAFAFA;
    --bg-smokey: #F6F9FC;
    --text-secondary: #8FA5B0;
    --text-muted: #979B9F;
    --border-color: #E2E4E7;
    --moov-blue-50: #EAF4F8;
    --moov-blue-500: #234454;
}

* {
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #F5F5F5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}



/* Breadcrumb */
.breadcrumb-custom {
    background: transparent;
    padding: 16px;
    font-size: 12px;
    color: var(--text-secondary);
}

.breadcrumb-custom a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb-custom a:hover {
    text-decoration: underline;
}

/* ---- 侧边栏 ---- */
.sidebar {
    width: 96px!important;
    flex-shrink: 0 !important; /* 禁止flex压缩，重点！ */
    min-width: 96px !important; /* 额外兜底，最小宽度锁死 */
    min-height: calc(100vh - 56px);
    background: #fff;
    border-right: 2px solid #e5e7eb;
    position: sticky;
    top: 56px;
    overflow-y: auto;
    z-index: 100;
}
.sidebar .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 8px;
    color: #7e98a3;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    border-radius: 4px;
    transition: all 0.2s;
}

.sidebar .nav-link:hover {
    color: #e91e8c;
    background-color: #e8f4fd;
    text-decoration: none;
}

.sidebar .nav-link.active {
    background-color: #e8f4fd;
    color: #2378c4;
    font-weight: 600;
}

.sidebar .nav-link svg {
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
}

.sidebar .nav-link .nav-label {
    font-size: 11px;
    line-height: 1.2;
}

/* Product Image */
.product-image-main {
    background: var(--bg-smokey);
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
}

.product-image-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail-carousel {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 8px 0;
}

.thumbnail-item {
    min-width: calc(33.333% - 4px);
    height: 80px;
    background: var(--bg-smokey);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.2s;
}

.thumbnail-item:hover {
    opacity: 0.85;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Product Info Section */
.product-info h6 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-info p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.product-info .description-text {
    white-space: pre-wrap;
    color: #333;
}

.product-info .italic-text {
    font-style: italic;
    color: var(--text-muted);
}

/* Product Card */
.product-card {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #fff;
    max-width: 640px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 2px solid var(--moov-blue-50);
    border-radius: 8px;
    background-color: var(--bg-smokey);
}

.verified-badge img {
    width: 28px;
    height: 28px;
}

.verified-badge span {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
}

.category-label {
    text-transform: uppercase;
    font-size: 16px;
    color: var(--text-muted);
    letter-spacing: 1.25px;
}

/* Shipping Form */
.shipping-section {
    background-color: var(--bg-smokey);
    padding: 16px;
    border-radius: 4px;
}

.form-label-custom {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    width: 100%;
    padding: 12px 16px;
    font-weight: 500;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-primary-custom:hover {
    background-color: #1a3340;
    border-color: #1a3340;
    color: #fff;
}

.btn-secondary-custom {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    padding: 12px 16px;
    font-weight: 500;
    font-size: 14px;
    border-radius: 4px;
    width: 100%;
    transition: all 0.2s;
}

.btn-secondary-custom:hover {
    background-color: #a01c75;
    border-color: #a01c75;
    color: #fff;
}

/* Product Details Table */
.details-table {
    font-size: 14px;
}

.details-table strong {
    font-weight: 600;
}

.details-table hr {
    border-color: #ECEEEF;
    border-width: 2px;
    margin: 12px 0;
}

/* Services */
.service-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

.service-item svg {
    color: var(--primary-color);
    width: 16px;
    height: 16px;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 8px;
    background-color: #EBF9F4;
    color: var(--accent-color);
    border-radius: 16px;
    font-size: 10px;
    font-weight: 500;
}

/* Related Products */
.related-section {
    background-color: var(--bg-light);
    padding: 16px 32px 32px;
}

.related-card {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.related-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.related-card .card-img-top {
    height: 140px;
    object-fit: cover;
}

.related-card .card-body {
    padding: 12px;
}

.related-card .brand-name {
    font-size: 12px;
    color: var(--text-muted);
}

.related-card .model-name {
    font-size: 16px;
    font-weight: 700;
}

.related-card .category-tag {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background-color: var(--moov-blue-500);
    color: #fff;
    padding: 40px 0 80px;
}

.footer a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer a:hover {
    text-decoration: underline;
    color: #fff;
}

.footer-title {
    text-transform: uppercase;
    color: #7EB8D0;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* CTA Bottom Bar */
.cta-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 16px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
}

@media (max-width: 767.98px) {
    .cta-bottom-bar {
        display: block;
    }
    .desktop-only {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .mobile-only {
        display: none !important;
    }
}

/* Scrollbar */
.thumbnail-carousel::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-carousel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.thumbnail-carousel::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.tpflex{
    display: flex;
}

