.lc-spares-top-bar {
    background: var(--lc-bg-card, #faf9f6);
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.lc-spares-top-bar .container-page {
    padding-left: 72px;
}

body.post-type-archive-spare_part,
body:has(.lc-spares-main-container) {
    background-color: var(--lc-bg-card, #faf9f6);
}

.lc-spares-main-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px 60px 72px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
    align-items: start;
}

.lc-spares-results-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lc-spares-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.lc-spares-page-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.lc-spares-sort-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lc-sort-label {
    font-size: 13px;
    color: #475569;
    font-weight: 600;
}

.lc-sort-select {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    background: var(--lc-bg-card, #faf9f6);
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

.lc-sort-select:focus {
    border-color: #0284c7;
}

.lc-spares-search-row {
    margin-bottom: 20px;
}

.lc-spares-search-form {
    display: flex;
    width: 100%;
}

.lc-spares-search-input-group {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.lc-spares-search-input {
    flex: 1;
    padding: 10px 14px;
    font-size: 14px;
    color: #0f172a;
    background: var(--lc-bg-card, #faf9f6);
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.15s ease;
    font-family: inherit;
}

.lc-spares-search-input:focus {
    border-color: #00386c;
}

.lc-spares-search-btn {
    padding: 9px 22px;
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff;
    background: #00386c;
    border: 1px solid #00386c;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    white-space: nowrap;
}

.lc-spares-search-btn:hover {
    background: #002850;
}

.lc-spares-search-clear {
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.lc-spares-search-clear:hover {
    color: #0f172a;
    border-color: #94a3b8;
}

.lc-spares-scroll-viewport {
    overflow-y: auto;
    padding-right: 8px;
    margin-bottom: 0;
    box-sizing: border-box;
}

.lc-spares-scroll-viewport::-webkit-scrollbar {
    width: 6px;
}

.lc-spares-scroll-viewport::-webkit-scrollbar-track {
    background: var(--lc-bg-subtle, #f0efe9);
    border-radius: 3px;
}

.lc-spares-scroll-viewport::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.lc-spares-scroll-viewport::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.lc-spares-subtabs-row {
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0;
}

.lc-spares-subtabs {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    background: transparent;
    padding: 0;
    border: none;
}

.lc-subtab-btn {
    display: inline-block;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: all 0.15s ease;
    border-radius: 0 !important;
}

.lc-subtab-btn:hover {
    color: #0f172a;
}

.lc-subtab-btn.is-active {
    color: #00386c !important;
    font-weight: 700;
    border-bottom: 2px solid #00386c !important;
}

.lc-subtab-btn.is-active svg {
    stroke: #ffffff;
}

.lc-spares-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.lc-spare-clean-card {
    background: var(--lc-bg-card, #faf9f6);
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px 18px 20px;
    box-shadow: none !important;
    transition: border-color 0.2s ease;
}

.lc-spare-clean-card:hover {
    border-color: #0f172a;
}

.lc-spare-clean-media {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lc-bg-card, #faf9f6);
    margin-bottom: 16px;
    position: relative;
    box-sizing: border-box;
}

.lc-spare-clean-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.lc-spare-clean-svg {
    width: 100%;
    height: 100%;
    max-height: 230px;
    display: block;
}

.lc-spare-clean-body {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.lc-spare-clean-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: #0f172a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lc-spare-clean-title a {
    color: #0f172a !important;
    text-decoration: none;
}

.lc-spare-clean-title a:hover {
    color: #0284c7 !important;
}

.lc-spares-empty-box {
    grid-column: 1 / -1;
    background: var(--lc-bg-card, #faf9f6);
    padding: 48px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    text-align: center;
}

.lc-spares-empty-box p {
    color: #64748b;
    font-size: 15px;
    margin: 0 0 16px;
}

.lc-spares-sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
}

.lc-cat-scroll-box {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}

.lc-sidebar-widget-popular {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.lc-pop-scroll-box {
    overflow-y: auto;
    padding-right: 4px;
    box-sizing: border-box;
}

.lc-cat-scroll-box::-webkit-scrollbar,
.lc-pop-scroll-box::-webkit-scrollbar {
    width: 4px;
}

.lc-cat-scroll-box::-webkit-scrollbar-track,
.lc-pop-scroll-box::-webkit-scrollbar-track {
    background: var(--lc-bg-subtle, #f0efe9);
    border-radius: 2px;
}

.lc-cat-scroll-box::-webkit-scrollbar-thumb,
.lc-pop-scroll-box::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.lc-cat-scroll-box::-webkit-scrollbar-thumb:hover,
.lc-pop-scroll-box::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.lc-sidebar-widget {
    background: var(--lc-bg-card, #faf9f6);
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 20px;
}

.lc-widget-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--lc-border, #e2e8f0);
    position: relative;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lc-cat-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lc-cat-item a {
    font-size: 13.5px;
    color: #334155;
    text-decoration: none;
    transition: color 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lc-cat-item a:hover,
.lc-cat-item.is-active a {
    color: #00386c;
    font-weight: 700;
}

.lc-oem-pill-sm {
    font-size: 11px;
    font-weight: 700;
    color: #0369a1;
    margin-left: auto;
    text-transform: uppercase;
    display: inline-block;
}

.lc-brand-scroll-box {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}

.lc-brand-scroll-box::-webkit-scrollbar {
    width: 4px;
}

.lc-brand-scroll-box::-webkit-scrollbar-track {
    background: var(--lc-bg-subtle, #f0efe9);
    border-radius: 2px;
}

.lc-brand-scroll-box::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.lc-brand-scroll-box::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.lc-popular-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lc-pop-post-item {
    display: flex;
    flex-direction: column;
    background: var(--lc-bg-card, #faf9f6);
    border: 1px solid var(--lc-border, #e2e8f0);
    border-radius: 4px;
    padding: 20px 16px 18px;
    overflow: hidden;
    position: relative;
    box-shadow: none !important;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.lc-pop-post-item:hover {
    transform: translateY(-2px);
    border-color: #0f172a;
}

.lc-pop-thumb-link,
.lc-pop-thumb-box {
    width: 100%;
    height: 180px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 14px;
    padding: 0;
    cursor: pointer;
}

.lc-pop-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.05));
}

svg.lc-pop-img {
    height: 140px;
    width: auto;
}

.lc-pop-post-item:hover .lc-pop-img {
    transform: scale(1.05);
}

.lc-pop-post-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: transparent;
    margin-top: auto;
}

.lc-pop-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 11.5px;
}

.lc-pop-brand-tag {
    font-size: 11px;
    font-weight: 700;
    color: #00386c;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
    display: inline-block;
}

.lc-pop-post-views {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.lc-pop-post-views svg {
    color: #94a3b8;
}

.lc-pop-post-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
}

.lc-pop-post-date svg {
    color: #94a3b8;
}

.lc-pop-post-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lc-pop-post-title a,
.lc-pop-post-title[role="button"] {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
    cursor: pointer;
}

.lc-pop-post-title a:hover,
.lc-pop-post-title[role="button"]:hover {
    color: #0284c7;
}

.lc-pop-sku-badge {
    font-size: 11px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #475569;
    align-self: flex-start;
    margin-top: 2px;
    display: inline-block;
}

.lc-spares-insights-section {
    background: var(--lc-bg-card, #faf9f6);
    padding: 64px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.lc-spares-insights-section .container-page {
    padding-left: 72px;
    max-width: 1440px;
    margin: 0 auto;
}

.lc-spares-sec-header {
    text-align: left;
    max-width: 100%;
    margin: 0 0 28px;
}

.lc-spares-sec-tag {
    display: inline-block;
    color: #0284c7;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.lc-spares-sec-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

.lc-spares-sec-desc {
    font-size: 14.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.lc-spares-sec-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
    max-width: 100%;
}

.lc-sec-header-text {
    flex: 1;
    text-align: left;
}

.lc-carousel-nav-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.lc-carousel-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(203, 213, 225, 0.85);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.lc-carousel-btn:hover {
    background: #00386c;
    color: #ffffff;
    border-color: #00386c;
    box-shadow: 0 4px 14px rgba(0, 56, 108, 0.2);
    transform: translateY(-1px);
}

.lc-carousel-btn:active {
    transform: scale(0.95);
}

.lc-insights-carousel-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 6px 2px 24px;
    box-sizing: border-box;
}

.lc-insights-carousel-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    cursor: grab;
    user-select: none;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.lc-insights-carousel-track::-webkit-scrollbar {
    display: none;
}

.lc-insights-carousel-track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.lc-carousel-card {
    flex: 0 0 360px !important;
    min-width: 360px !important;
    max-width: 360px !important;
    box-sizing: border-box;
}

.lc-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.lc-insight-card {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    transition: transform 0.25s ease;
}

.lc-insight-card:hover {
    transform: translateY(-3px);
    background: transparent;
    border: none;
    box-shadow: none;
}

.lc-insight-media {
    width: 100%;
    height: 220px;
    background: #f1f5f9;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: none;
    transition: opacity 0.3s ease;
}

.lc-insight-card:hover .lc-insight-media {
    box-shadow: none;
}

.lc-insight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lc-insight-card:hover .lc-insight-img {
    transform: scale(1.03);
}

.lc-insight-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 239, 233, 0.6);
    border-radius: 6px;
}

.lc-insight-body {
    padding: 18px 0 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lc-insight-meta {
    display: none;
}

.lc-insight-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.32;
    margin: 0 0 12px;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 54px;
    max-height: 54px;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.lc-insight-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}
.lc-insight-title a:hover {
    color: #0284c7;
}

.lc-insight-excerpt {
    font-size: 15px;
    color: #334155;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 96px;
    max-height: 96px;
}

.lc-insight-link {
    display: none;
}

.lc-spares-rfq-center-section {
    background: var(--lc-bg-card, #faf9f6);
    padding: 80px 0 96px;
}

.lc-spares-rfq-center-section .container-page {
    padding-left: 72px;
    max-width: 1440px;
    margin: 0 auto;
}

.lc-spares-rfq-wrapper {
    max-width: 920px;
    margin: 0 auto;
}

.lc-sort-form {
    margin: 0;
}

.lc-spares-brand-notice {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.lc-brand-hub-link {
    font-weight: 700;
    color: #00386c;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lc-spares-empty-col {
    grid-column: 1 / -1;
    width: 100%;
}

.lc-spares-empty-action {
    text-align: center;
    margin-top: -20px;
    margin-bottom: 24px;
}

.lc-spares-view-all-btn {
    display: inline-block;
    text-decoration: none;
    padding: 10px 24px;
    font-size: 14px;
}

.lc-spares-pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.lc-pop-brand {
    font-weight: 500;
}

.lc-pop-views {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 600;
}

.lc-pop-empty-item {
    padding: 24px 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
}

.lc-rfq-header {
    margin-bottom: 32px;
}

.lc-spare-clean-card.is-card-focused {
    border-color: #00386c !important;
    box-shadow: 0 0 0 4px rgba(0, 56, 108, 0.25), 0 10px 25px rgba(15, 23, 42, 0.12) !important;
    transform: translateY(-3px) !important;
}

.lc-input-control.is-focused-fill {
    border-color: #00386c !important;
    box-shadow: 0 0 0 3px rgba(0, 56, 108, 0.25) !important;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .lc-spares-scroll-viewport {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
    .lc-spares-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lc-insights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .lc-spares-main-container {
        grid-template-columns: 1fr;
        padding-left: 20px;
    }
    .lc-spares-top-bar .container-page,
    .lc-spares-insights-section .container-page,
    .lc-spares-rfq-center-section .container-page {
        padding-left: 20px;
    }
    .lc-insights-grid {
        grid-template-columns: 1fr;
    }
}

