:root {
    --eclise-navy: #0d1321;
    --eclise-blue: #1677ff;
    --eclise-sky: #53b1ff;
    --eclise-gray: #6b7280;
    --eclise-light: #e5e7eb;
    --eclise-ink: #111827;
    --eclise-border: #d8dde8;
}

body {
    background: #f8fafc;
    color: var(--eclise-ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

a {
    color: var(--eclise-blue);
}

.container,
.container-fluid,
.row > *,
.site-shell,
main,
section,
.surface {
    min-width: 0;
}

.img-fluid,
img,
svg {
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
dt,
dd,
.btn,
.nav-link,
.dropdown-item,
.status-pill,
.eyebrow,
.muted {
    overflow-wrap: anywhere;
}

.fw-black {
    font-weight: 900;
}

.min-width-0 {
    min-width: 0;
}

.text-clamp-2,
.product-card h2,
.product-card h3,
.feature-card h3,
.business-area-card h2,
.parts-menu-part-card h3,
.ms-related-card h3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    border-bottom: 1px solid rgba(13, 19, 33, 0.08);
}

.brand-logo {
    width: 198px;
    max-height: 52px;
    object-fit: contain;
}

.footer-logo {
    width: 220px;
    max-width: 100%;
    height: auto;
}

.nav-link {
    font-weight: 600;
    color: #253044;
}

.nav-link.active,
.nav-link:hover {
    color: var(--eclise-blue);
}

.public-nav-actions,
.mobile-header-actions {
    white-space: nowrap;
}

.mobile-header-actions {
    gap: 0.4rem;
    min-width: 0;
    max-width: calc(100vw - 112px);
    overflow: visible;
}

.mobile-header-actions .mobile-auth-btn {
    min-width: 0;
}

.cart-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 8px;
    color: #253044;
    text-decoration: none;
    transition: color .15s ease, background-color .15s ease;
}

.cart-action:hover,
.cart-action.active {
    color: var(--eclise-blue);
    background: rgba(22, 119, 255, 0.08);
}

.cart-action-badge {
    position: absolute;
    top: -0.25rem;
    right: -0.35rem;
    min-width: 1.15rem;
    padding: 0.2rem 0.35rem;
    font-size: 0.68rem;
    line-height: 1;
}

.customer-account-dropdown {
    display: inline-flex;
}

.customer-avatar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.12rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    line-height: 1;
}

.customer-avatar-button:hover,
.customer-avatar-button:focus-visible {
    border-color: rgba(22, 119, 255, 0.28);
    box-shadow: 0 0 0 0.2rem rgba(22, 119, 255, 0.12);
}

.customer-avatar-button::after {
    display: none;
}

.customer-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.customer-avatar-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--eclise-navy), var(--eclise-blue));
    font-size: 0.78rem;
    font-weight: 800;
}

.customer-dropdown-name {
    max-width: 14rem;
    color: var(--eclise-ink);
    font-weight: 800;
    white-space: normal;
}

.mobile-auth-btn {
    flex: 0 0 auto;
    padding: 0.32rem 0.5rem;
    line-height: 1.1;
}

.btn {
    border-radius: 8px;
    font-weight: 700;
    white-space: normal;
}

.btn-primary {
    --bs-btn-bg: var(--eclise-blue);
    --bs-btn-border-color: var(--eclise-blue);
    --bs-btn-hover-bg: #005fdd;
    --bs-btn-hover-border-color: #005fdd;
}

.btn-outline-primary {
    --bs-btn-color: var(--eclise-blue);
    --bs-btn-border-color: var(--eclise-blue);
    --bs-btn-hover-bg: var(--eclise-blue);
    --bs-btn-hover-border-color: var(--eclise-blue);
}

.hero {
    position: relative;
    min-height: 76vh;
    color: #fff;
    background-color: var(--eclise-navy);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.home-slider {
    position: relative;
    color: #fff;
    background: var(--eclise-navy);
    overflow: hidden;
}

.home-slider .carousel,
.home-slider .carousel-inner,
.home-slider .carousel-item {
    min-height: clamp(500px, 72vh, 760px);
}

.home-slider .carousel-item {
    position: relative;
    background:
        radial-gradient(circle at 82% 28%, rgba(22, 119, 255, 0.34), transparent 26rem),
        linear-gradient(120deg, #0d1321 0%, #10294f 48%, #06101f 100%);
}

.home-slide-bg {
    position: absolute;
    top: 50%;
    right: clamp(-4rem, 4vw, 6rem);
    z-index: 0;
    width: min(52vw, 560px);
    max-height: min(54vh, 430px);
    object-fit: contain;
    opacity: 0.34;
    transform: translateY(-50%);
    filter: drop-shadow(0 2rem 4rem rgba(0, 0, 0, 0.32));
    pointer-events: none;
}

.home-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(13, 19, 33, 0.96), rgba(13, 19, 33, 0.82) 54%, rgba(13, 19, 33, 0.52));
}

.home-slide-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: clamp(500px, 72vh, 760px);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.home-slide-content {
    max-width: 760px;
    min-width: 0;
}

.home-slide-content h1 {
    max-width: 820px;
    font-size: clamp(2.35rem, 5.4vw, 5.15rem);
    line-height: 1;
    letter-spacing: 0;
}

.home-slide-content p:not(.eyebrow) {
    max-width: 680px;
    color: #dce8fb;
}

.home-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    max-width: 100%;
}

.home-slide-actions .btn {
    max-width: 100%;
}

.home-slider .carousel-indicators {
    margin-bottom: 1.25rem;
}

.home-slider .carousel-indicators [data-bs-target] {
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
}

.home-slider .carousel-control-prev,
.home-slider .carousel-control-next {
    width: clamp(2.75rem, 6vw, 5rem);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(13, 19, 33, 0.95), rgba(13, 19, 33, 0.72)), url("/images/brand/logo_large.png");
    background-repeat: no-repeat;
    background-position: right 8% center;
    background-size: min(52vw, 560px);
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(2.6rem, 6vw, 5.6rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero p {
    max-width: 700px;
    color: #dce8fb;
}

.section-pad {
    padding: 5rem 0;
}

.section-pad-sm {
    padding: 3rem 0;
}

.surface {
    background: #fff;
    border: 1px solid var(--eclise-border);
    border-radius: 8px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.service-icon,
.metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--eclise-blue);
    flex: 0 0 44px;
}

.eyebrow {
    color: var(--eclise-blue);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.muted {
    color: var(--eclise-gray);
}

.product-card img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    padding: 1.25rem;
    background: #f1f5f9;
}

.shop-filter-sidebar {
    position: sticky;
    top: 5.5rem;
}

.shop-filter-panel {
    display: grid;
    gap: 1rem;
}

.shop-filter-group {
    border-top: 1px solid var(--eclise-border);
    padding-top: 0.9rem;
}

.shop-filter-group[hidden] {
    display: none !important;
}

.shop-filter-group legend {
    margin: 0 0 0.6rem;
    color: #071d3a;
    font-size: 0.92rem;
    font-weight: 900;
}

.product-filter-group__heading {
    margin: 0;
}

.product-filter-group__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    border: 0;
    border-radius: 0.45rem;
    padding: 0;
    color: #071d3a;
    background: transparent;
    font-size: 0.92rem;
    font-weight: 900;
    text-align: left;
}

.product-filter-group__toggle::after {
    content: "";
    flex: 0 0 auto;
    border-left: 0.3rem solid transparent;
    border-right: 0.3rem solid transparent;
    border-top: 0.4rem solid currentColor;
    transition: transform 0.2s ease;
}

.product-filter-group__toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.product-filter-group__toggle:hover {
    color: var(--eclise-blue);
}

.product-filter-group__toggle:focus-visible {
    outline: 2px solid rgba(0, 129, 255, 0.35);
    outline-offset: 0.25rem;
}

.product-filter-group__content {
    padding-top: 0.65rem;
}

.shop-category-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    width: 100%;
    border: 1px solid var(--eclise-border);
    border-radius: 999px;
    margin-bottom: 0.45rem;
    padding: 0.5rem 0.7rem;
    color: #253044;
    background: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    text-align: left;
}

.shop-category-option small {
    color: var(--eclise-gray);
}

.shop-category-option:hover,
.shop-category-option:focus-visible,
.shop-category-option.active {
    border-color: var(--eclise-blue);
    color: #fff;
    background: var(--eclise-blue);
}

.shop-category-option:hover small,
.shop-category-option:focus-visible small,
.shop-category-option.active small {
    color: #dbeafe;
}

.shop-filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 0.45rem;
    color: #253044;
    font-size: 0.9rem;
    cursor: pointer;
}

.shop-filter-option span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.shop-filter-option small {
    color: var(--eclise-gray);
    font-weight: 800;
}

.shop-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.shop-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #bdd7ff;
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
    color: #0b3a72;
    background: #e5f2ff;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    appearance: none;
}

.shop-filter-chip:hover,
.shop-filter-chip:focus-visible {
    color: #fff;
    background: var(--eclise-blue);
}

.shop-filter-chip-clear {
    color: #475569;
    border-color: #cbd5e1;
    background: #f8fafc;
}

.shop-products-loading [data-shop-results] {
    opacity: 0.62;
    pointer-events: none;
}

.shop-filter-status {
    min-height: 1.25rem;
}

.part-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 455px;
}

.parts-card-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 240px;
    padding: 12px;
    overflow: hidden;
    background: #f8f9fa;
    text-decoration: none;
}

.parts-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.parts-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.parts-card-actions {
    margin-top: auto;
}

.admin-nav {
    background: #0d1321;
}

.admin-nav .nav-link {
    color: #dce8fb;
}

.admin-nav .nav-link:hover,
.admin-nav .nav-link.active {
    color: #fff;
    background: rgba(22, 119, 255, 0.24);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 800;
    color: #0b3a72;
    background: #e5f2ff;
}

.timeline {
    border-left: 3px solid var(--eclise-blue);
    padding-left: 1rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 1rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.45rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--eclise-blue);
    border: 2px solid #fff;
}

.table > :not(caption) > * > * {
    vertical-align: middle;
}

.form-control,
.form-select {
    border-radius: 8px;
    border-color: var(--eclise-border);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--eclise-blue);
    box-shadow: 0 0 0 0.2rem rgba(22, 119, 255, 0.16);
}

.page-header {
    background: var(--eclise-navy);
    color: #fff;
    padding: 4rem 0;
}

.page-header p {
    color: #dce8fb;
}

.page-hero-section {
    overflow: hidden;
}

.page-hero-image {
    width: min(100%, 360px);
    max-height: 260px;
    object-fit: contain;
    filter: drop-shadow(0 1.5rem 2.5rem rgba(0, 0, 0, 0.24));
}

.feature-card {
    display: flex;
    flex-direction: column;
}

.feature-card .btn {
    align-self: flex-start;
}

.feature-list {
    display: grid;
    gap: 0.8rem;
}

.feature-list-item {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}

.feature-list-item i {
    flex: 0 0 auto;
    color: var(--eclise-blue);
}

.business-area-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.business-area-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.process-step {
    position: relative;
    height: 100%;
}

.process-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    color: #fff;
    background: var(--eclise-blue);
    font-weight: 900;
}

.service-notice {
    border-left: 4px solid var(--eclise-blue);
}

.contact-method-list {
    display: grid;
    gap: 0.85rem;
}

.contact-method {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    min-width: 0;
}

.contact-method i {
    flex: 0 0 auto;
    color: var(--eclise-blue);
    font-size: 1.25rem;
}

.contact-method > div {
    min-width: 0;
    overflow-wrap: anywhere;
}

.footer-social-link {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

footer .btn,
footer a,
.contact-method a {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.swal2-popup.eclise-alert-popup {
    border-radius: 8px;
    color: var(--eclise-ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.swal2-popup.eclise-alert-popup .swal2-title {
    color: var(--eclise-navy);
    font-weight: 900;
    letter-spacing: 0;
}

.swal2-popup.eclise-alert-popup .swal2-html-container {
    color: #475569;
    overflow-wrap: anywhere;
}

.swal2-container .btn + .btn {
    margin-left: 0.5rem;
}

.eclise-breadcrumb-wrap {
    border-bottom: 1px solid rgba(13, 19, 33, 0.08);
    background: #fff;
}

.breadcrumb-scroll {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem 0;
}

.breadcrumb-scroll::-webkit-scrollbar {
    display: none;
}

.eclise-breadcrumb {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.eclise-breadcrumb .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    max-width: 18rem;
    padding-left: 0;
    color: #5f6b7a;
    font-size: 0.86rem;
    font-weight: 700;
}

.eclise-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    padding: 0 0.35rem 0 0;
    color: #8ba0b7;
    font-weight: 900;
}

.eclise-breadcrumb a,
.eclise-breadcrumb span {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

.eclise-breadcrumb a {
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
    color: #0b3a72;
    background: #e5f2ff;
    text-decoration: none;
}

.eclise-breadcrumb a:hover,
.eclise-breadcrumb a:focus-visible {
    color: #fff;
    background: var(--eclise-blue);
}

.eclise-breadcrumb .active span {
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
    color: #071d3a;
    background: #f1f5f9;
}

.part-detail-hero {
    background: linear-gradient(135deg, #0d1321 0%, #12356b 100%);
    color: #fff;
    padding: 3.25rem 0;
}

.part-detail-hero .eyebrow {
    color: #8fc8ff;
}

.part-hero-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    color: #eaf4ff;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    font-weight: 800;
}

.part-gallery {
    display: grid;
    gap: 1rem;
}

.part-gallery-main {
    display: grid;
    place-items: center;
    min-height: 430px;
    border-radius: 8px;
    background: #f1f5f9;
    overflow: hidden;
}

.part-gallery-main img {
    width: 100%;
    height: 430px;
    object-fit: contain;
    padding: 1.5rem;
}

.part-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
    gap: 0.75rem;
}

.part-gallery-thumb {
    height: 78px;
    border: 1px solid var(--eclise-border);
    border-radius: 8px;
    background: #fff;
    padding: 0.35rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.part-gallery-thumb.active,
.part-gallery-thumb:hover {
    border-color: var(--eclise-blue);
    box-shadow: 0 0 0 0.18rem rgba(22, 119, 255, 0.12);
}

.part-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.part-purchase-panel {
    position: sticky;
    top: 6rem;
}

.status-pill-success {
    color: #065f46;
    background: #d1fae5;
}

.status-pill-muted {
    color: #475569;
    background: #e2e8f0;
}

.part-badge,
.part-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    color: #0b3a72;
    background: #e5f2ff;
    font-size: 0.82rem;
    font-weight: 800;
}

.part-badge-muted {
    color: #475569;
    background: #e2e8f0;
}

.part-summary-list,
.part-details-table {
    display: grid;
    gap: 0;
}

.part-summary-list > div,
.part-details-table > div {
    display: grid;
    grid-template-columns: minmax(108px, 34%) 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--eclise-border);
}

.part-summary-list > div:last-child,
.part-details-table > div:last-child {
    border-bottom: 0;
}

.part-summary-list dt,
.part-details-table dt {
    color: var(--eclise-gray);
    font-size: 0.84rem;
    font-weight: 800;
}

.part-summary-list dd,
.part-details-table dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 700;
}

.part-description {
    color: #253044;
    line-height: 1.7;
}

.part-description p:last-child,
.part-description ul:last-child,
.part-description ol:last-child,
.part-description table:last-child {
    margin-bottom: 0;
}

.part-description table {
    width: 100%;
    margin: 1rem 0;
    border-collapse: collapse;
}

.part-description td,
.part-description th {
    padding: 0.65rem;
    border: 1px solid var(--eclise-border);
}

.part-compatibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.part-compatibility-grid span {
    display: block;
    padding: 0.75rem;
    border: 1px solid var(--eclise-border);
    border-radius: 8px;
    background: #f8fafc;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.ms-product-page {
    max-width: 1180px;
}

.ms-product-titlebar {
    position: relative;
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.58rem 1rem;
    color: #fff;
    background: linear-gradient(90deg, #b91c1c, #d92323);
}

.ms-product-titlebar h1 {
    margin: 0;
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    font-weight: 800;
    line-height: 1.25;
}

.ms-warranty-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 800;
}

.ms-warranty-ribbon img {
    width: 66px;
    height: 66px;
    object-fit: contain;
    margin: -1.25rem 0 -1.25rem 0;
}

.ms-product-sku-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    min-height: 38px;
    padding: 0.5rem 0.35rem;
    background: #fff;
}

.ms-sku-label,
.ms-variation-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 4px;
    padding: 0.24rem 0.45rem;
    color: #fff;
    background: #459fe8;
    font-size: 0.78rem;
    font-weight: 800;
}

.ms-variation-pill {
    background: #111827;
    text-transform: uppercase;
}

.ms-sku-value {
    color: #111827;
    font-weight: 700;
}

.ms-sku-copy {
    color: #111827;
}

.ms-service-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--eclise-border);
    border-top: 1px solid #eef2f7;
    color: #4b5563;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.ms-service-row span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 42px;
    padding: 0.4rem 0.5rem;
    border-right: 1px solid var(--eclise-border);
}

.ms-service-row span:last-child {
    border-right: 0;
}

.ms-service-row i {
    color: #1677ff;
    font-size: 1rem;
}

.ms-gallery-frame {
    position: relative;
    min-height: 330px;
    padding: 1rem;
    border: 1px solid var(--eclise-border);
    background: #fff;
}

.ms-main-image-wrap {
    display: grid;
    place-items: center;
    min-height: 240px;
}

.ms-main-image-wrap img {
    width: 100%;
    max-height: 275px;
    object-fit: contain;
}

.ms-image-badge,
.ms-related-badge {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
}

.ms-image-badge {
    left: -1.15rem;
    top: -1.15rem;
}

.ms-image-badge img,
.ms-related-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ms-image-badge span,
.ms-related-badge span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 0.35rem;
    color: #fff;
    background: #0d1321;
    border: 3px solid #1677ff;
    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
}

.ms-gallery-strip {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding: 0.25rem 0.15rem 0.55rem;
    scrollbar-width: thin;
}

.ms-gallery-thumb {
    display: grid;
    place-items: center;
    flex: 0 0 86px;
    width: 86px;
    height: 74px;
    border: 1px solid transparent;
    border-bottom: 3px solid transparent;
    border-radius: 4px;
    background: #fff;
    padding: 0.3rem;
}

.ms-gallery-thumb.active,
.ms-gallery-thumb:hover {
    border-color: #b91c1c;
    border-bottom-color: #b91c1c;
}

.ms-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ms-purchase-panel {
    padding: 0.5rem 0 1rem;
}

.ms-price {
    color: #dc2626;
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-weight: 900;
}

.ms-review-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.35rem;
    color: #111827;
    font-size: 0.9rem;
}

.ms-stars {
    color: #f59e0b;
}

.ms-cred-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.ms-cred-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2rem;
    padding: 0.25rem 0.55rem;
    border: 1px solid var(--eclise-border);
    border-radius: 4px;
    color: #253044;
    background: #f8fafc;
    font-size: 0.82rem;
    font-weight: 800;
}

.ms-cred-row img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.ms-cart-form,
.ms-related-cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.ms-quantity-control {
    display: inline-flex;
    align-items: stretch;
    height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.ms-quantity-control button,
.ms-quantity-control input {
    width: 42px;
    border: 0;
    border-right: 1px solid #cbd5e1;
    background: #fff;
    text-align: center;
    font-weight: 800;
}

.ms-quantity-control button:last-child {
    border-right: 0;
}

.ms-quantity-control input {
    font-weight: 700;
    appearance: textfield;
}

.ms-quantity-control input::-webkit-outer-spin-button,
.ms-quantity-control input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.ms-add-cart,
.ms-related-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 38px;
    border: 0;
    border-radius: 6px;
    padding: 0.55rem 1.2rem;
    color: #fff;
    background: #020617;
    font-size: 0.86rem;
    font-weight: 900;
    text-transform: uppercase;
}

.ms-stock-line {
    margin: 0.7rem 0 0;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 700;
}

.ms-description-panel {
    margin-top: 1rem;
    border: 1px solid #b7c1d1;
    background: #fff;
}

.ms-description-panel h2 {
    margin: 0;
    padding: 0.8rem 1rem;
    color: #fff;
    background: #4aa3e8;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
}

.ms-description-body {
    padding: 1rem 1.25rem;
    color: #253044;
    font-size: 0.9rem;
    line-height: 1.55;
}

.ms-description-body ul,
.ms-description-body ol {
    margin: 0;
    padding-left: 1.1rem;
}

.ms-description-body li {
    padding: 0.45rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.ms-description-body li::marker {
    color: #38bdf8;
}

.ms-token-panel {
    border: 1px solid #e5e7eb;
    background: #f8fafc;
}

.ms-token-heading {
    margin: 0;
    padding: 0.45rem 0.7rem;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 900;
}

.ms-token-heading-red {
    background: #dc2626;
}

.ms-token-heading-blue {
    background: #459fe8;
}

.ms-token-body {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem;
}

.ms-token-body span {
    padding: 0.25rem 0.6rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #fff;
    color: #334155;
    font-size: 0.76rem;
    font-weight: 800;
}

.ms-related-section {
    margin-top: 2.2rem;
}

.ms-related-section > h2 {
    margin: 0 0 0.8rem;
    padding: 0.9rem 1rem;
    color: #3499df;
    background: #f1f5f9;
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
}

.ms-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.ms-related-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.ms-related-badge {
    left: 0.65rem;
    top: 0.65rem;
    width: 54px;
    height: 54px;
}

.ms-related-image {
    display: grid;
    place-items: center;
    min-height: 150px;
    margin-bottom: 0.75rem;
}

.ms-related-image img {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

.ms-related-variation {
    align-self: center;
    min-width: 72%;
    margin: -0.25rem 0 0.75rem;
    padding: 0.22rem 0.5rem;
    color: #fff;
    background: #111827;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.ms-related-card h3 {
    min-height: 3.2rem;
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.35;
}

.ms-related-card h3 a {
    color: #111827;
    text-decoration: none;
}

.ms-related-card strong {
    margin-top: auto;
    color: #111827;
    font-size: 1.1rem;
}

.ms-related-cart {
    justify-content: center;
    gap: 0.55rem;
}

.ms-quantity-control-sm {
    height: 30px;
}

.ms-quantity-control-sm button,
.ms-quantity-control-sm input {
    width: 34px;
}

.ms-related-add {
    min-height: 32px;
    padding: 0.45rem 1rem;
    font-size: 0.75rem;
    text-transform: none;
}

.parts-menu-page {
    padding: 3.5rem 0 5rem;
}

.parts-menu-header {
    max-width: 780px;
    margin-bottom: 1.5rem;
}

.parts-menu-header h1 {
    margin: 0 0 0.65rem;
    color: #0f172a;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 900;
    line-height: 1.08;
}

.parts-menu-header p:last-child {
    margin: 0;
    color: #64748b;
    font-size: 1rem;
}

.parts-browser {
    position: relative;
    max-width: 100%;
    overflow-x: hidden;
}

.parts-browser *,
.parts-browser *::before,
.parts-browser *::after {
    box-sizing: border-box;
}

.parts-menu-search-wrap {
    position: relative;
    z-index: 4;
    width: min(100%, 980px);
    margin-bottom: 1.1rem;
}

.parts-menu-search {
    display: grid;
    grid-template-columns: 1fr 48px;
    align-items: center;
    min-height: 58px;
    border: 1px solid #d7dde7;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.parts-menu-search input {
    min-width: 0;
    height: 100%;
    border: 0;
    padding: 0 1.35rem;
    color: #111827;
    background: transparent;
    font-size: 1rem;
    font-weight: 700;
}

.parts-menu-search input:focus {
    outline: 0;
}

.parts-menu-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: #020617;
}

.parts-menu-search-results {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    left: 0;
    max-height: 480px;
    overflow-y: auto;
    border: 1px solid var(--eclise-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.16);
}

.parts-menu-search-group {
    padding: 0.85rem;
    border-bottom: 1px solid #e5e7eb;
}

.parts-menu-search-group:last-child {
    border-bottom: 0;
}

.parts-menu-search-group h3 {
    margin: 0 0 0.45rem;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.parts-menu-search-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    width: 100%;
    border: 0;
    border-radius: 6px;
    padding: 0.6rem 0.7rem;
    color: #111827;
    background: transparent;
    text-align: left;
    text-decoration: none;
}

.parts-menu-search-row:hover {
    background: #f1f5f9;
}

.parts-menu-search-row small {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
}

.parts-menu-search-part {
    grid-template-columns: 48px 1fr auto;
}

.parts-menu-search-part img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.parts-menu-search-part strong {
    display: block;
    color: #111827;
    font-size: 0.9rem;
    line-height: 1.25;
}

.parts-menu-search-part b {
    color: #dc2626;
    font-size: 0.9rem;
}

.parts-menu-search-empty {
    padding: 1rem;
    color: #64748b;
    font-weight: 700;
}

.parts-browser-layout {
    display: grid;
    grid-template-columns: minmax(210px, 250px) 1fr;
    max-width: 100%;
    min-width: 0;
    min-height: 560px;
    border: 1px solid var(--eclise-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.parts-menu-sidebar {
    min-width: 0;
    background: #f8fafc;
    border-right: 1px solid var(--eclise-border);
}

.parts-menu-sidebar-title {
    padding: 1rem 1rem 0.55rem;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.parts-menu-list {
    display: grid;
    gap: 0.2rem;
    max-width: 100%;
    padding: 0 0.65rem 1rem;
}

.parts-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    padding: 0.65rem 0.8rem;
    color: #1f2937;
    background: transparent;
    font-weight: 850;
    text-align: left;
}

.parts-menu-item:hover,
.parts-menu-item.active {
    color: #fff;
    background: #0f172a;
}

.parts-menu-content {
    min-width: 0;
    background: #fff;
}

.parts-menu-content-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    min-height: 82px;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.parts-menu-kicker {
    color: var(--eclise-blue);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.parts-menu-content-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.2;
}

.parts-menu-count {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    color: #0b3a72;
    background: #e5f2ff;
    font-size: 0.82rem;
    font-weight: 900;
}

.parts-breadcrumb-wrap {
    display: flex;
    align-items: center;
    width: calc(100% - 2.5rem);
    max-width: calc(100% - 2.5rem);
    margin: 1rem 1.25rem 0;
    padding: 0.45rem;
    padding-left: 0.70rem;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid #dbe7f5;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.04);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.parts-breadcrumb-wrap::-webkit-scrollbar {
    height: 6px;
}

.parts-breadcrumb-wrap::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #c8ddf5;
}

.parts-breadcrumb {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.parts-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    color: #111827;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.parts-breadcrumb-item + .parts-breadcrumb-item::before {
    /* sh:codes */
    /* content: "›";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    margin-right: 0.35rem;
    border-radius: 999px;
    color: var(--eclise-blue);
    background: #e5f2ff;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1; */

    content: "▶";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.35rem;
    border-radius: 999px;
    color: var(--eclise-blue);
    background: #e5f2ff;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;

}

.parts-breadcrumb-link {
    border: 0;
    border-radius: 999px;
    padding: 0.55rem 0.8rem;
    color: #0f172a;
    background: #fff;
    font: inherit;
    box-shadow: 0 0 0 1px #dbe7f5;
    cursor: pointer;
    transition: color .15s ease, background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.parts-breadcrumb-link:hover,
.parts-breadcrumb-link:focus-visible {
    color: var(--eclise-blue);
    background: #eef7ff;
    box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.2);
    text-decoration: none;
}

.parts-breadcrumb-link:focus-visible {
    outline: 2px solid var(--eclise-blue);
    outline-offset: 2px;
}

.parts-breadcrumb-item.active {
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    color: #fff;
    background: linear-gradient(135deg, var(--eclise-navy), var(--eclise-blue));
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
    cursor: default;
}

.parts-menu-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 1rem 1.25rem 0;
    color: #64748b;
    font-weight: 800;
}

.parts-menu-content-body {
    padding: 1.25rem;
}

.parts-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.85rem;
}

.parts-category-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    align-items: center;
    min-height: 86px;
    border: 1px solid #dce2eb;
    border-radius: 8px;
    padding: 0.8rem;
    background: #f8fafc;
    text-align: left;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.parts-category-card:hover {
    border-color: rgba(22, 119, 255, 0.55);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.parts-category-image,
.parts-category-icon {
    position: relative;
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.parts-category-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.parts-category-icon {
    color: #1677ff;
    font-size: 1.15rem;
}

.parts-category-name {
    color: #111827;
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.25;
}

.parts-category-meta {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
}

.parts-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.parts-menu-part-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 455px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.parts-menu-part-image {
    background: #f8fafc;
}

.parts-menu-part-image .parts-card-image {
    padding: 0;
}

.parts-menu-part-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 0.95rem;
}

.parts-menu-part-body h3 {
    margin: 0 0 0.5rem;
    font-size: 0.96rem;
    font-weight: 900;
    line-height: 1.3;
}

.parts-menu-part-body h3 a {
    color: #111827;
    text-decoration: none;
}

.parts-menu-part-body p,
.parts-menu-part-meta {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
}

.parts-menu-part-body p {
    margin: 0 0 0.55rem;
}

.parts-menu-part-meta {
    display: grid;
    gap: 0.15rem;
    margin-bottom: 0.9rem;
}

.parts-menu-part-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
}

.parts-menu-part-footer strong {
    color: #dc2626;
    font-size: 1.05rem;
}

.parts-menu-empty {
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 1rem;
    color: #64748b;
    background: #f8fafc;
    font-weight: 750;
}

.parts-menu-infinite-loader {
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0 1.25rem 1.25rem;
    color: #64748b;
    font-size: 0.86rem;
    font-weight: 800;
}

.parts-menu-infinite-loader:not(.d-none) {
    display: flex;
}

.parts-menu-scroll-sentinel {
    width: 100%;
    height: 1px;
}

/* ********************************************* */
/* sh:codes - Table header height adjustment - Customer */
/* ********************************************* */

.table.table-sm.cpo-table thead th {
    height: 44px;
    padding: 0;
    vertical-align: middle;
    white-space: nowrap;

    text-transform: capitalize;
    font-size: 0.85rem;
    font-weight: 700;
}

.cpo-table thead .dropdown {
    width: 100%;
    height: 100%;
    position: relative;
}

.cpo-th-filter {
    width: 100%;
    height: 100%;
    padding: 8px 10px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-weight: 700;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    cursor: pointer;
    text-align: left;
}

.cpo-th-label {
    text-align: left;
}

/* Hide Bootstrap's default dropdown arrow */
.cpo-th-filter.dropdown-toggle::after {
    display: none;
}

/* Custom bigger arrow on the right */
.cpo-th-arrow::after {
    content: "";
    display: inline-block;
    border-top: 7px solid #ffffff;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
}

/* Dropdown menu opens from left edge of the column header */
/* .cpo-filter-menu {
    left: 0 !important;
    right: auto !important;
    min-width: 240px;
} */

.cpo-th-static {
    padding: 8px 10px !important;
    text-align: left;
    vertical-align: middle;
}

/* ********************************************* */

/* Dropdown box */
.cpo-filter-menu {
    min-width: 225px;
    /* max-width: 260px; */
    padding: 10px 12px;
    border: 1px solid #d8d8d8;
    border-radius: 0;
    background: #ffffff;

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
    font-size: 13px;
}

/* Search input */
.cpo-filter-search {
    height: 36px;
    border: 1px solid #c9c9c9;
    border-radius: 3px;
    padding: 6px 9px;
    font-size: 13px;
    color: #333333;
    box-shadow: none;
}

.cpo-filter-search:focus {
    border-color: #999999;
    box-shadow: none;
}

/* Scrollable option area */
.cpo-filter-options {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Each option row */
.cpo-filter-option {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;

    padding: 6px 0;
    margin: 0;
    border-bottom: 1px solid #eeeeee;

    font-size: 13px;
    line-height: 1.2;
    color: #111111;
    background: transparent;
    cursor: pointer;
}

/* Remove Bootstrap dropdown-item hover background if you want cleaner look */
.cpo-filter-option:hover,
.cpo-filter-option:focus {
    background: transparent;
    color: #111111;
}

/* Left content: checkbox + text */
.cpo-filter-option-left {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

/* Checkbox size */
.cpo-filter-checkbox {
    width: 16px;
    height: 16px;
    margin: 0 7px 0 0;
    border: 1px solid #c9c9c9;
    border-radius: 3px;
    box-shadow: none;
}

/* Option label text */
.cpo-filter-label {
    font-weight: 600;
    color: #111111;
    white-space: nowrap;
}

/* Record count */
.cpo-filter-count {
    color: #58a6dc;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

/* Slim scrollbar similar to screenshot */
.cpo-filter-options::-webkit-scrollbar {
    width: 8px;
}

.cpo-filter-options::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.cpo-filter-options::-webkit-scrollbar-thumb {
    background: #bcbcbc;
    border-radius: 6px;
}

.cpo-filter-options::-webkit-scrollbar-thumb:hover {
    background: #999999;
}

/* ****************** */
.cpo-table td {
    padding-left: 8px;
}

/* ************************************************* */
/* Quantity Column Formatting */
/* ************************************************* */

.cpo-qty-cell {
    /* width: 150px;
    min-width: 150px; */
    width: 180px;
    min-width: 180px;
    vertical-align: middle;
    white-space: nowrap;

    padding-left: 22px !important;
    /* padding-right: 8px !important; */
}

.cpo-qty {
    display: grid;
    /* grid-template-columns: 32px 34px 32px; */
    grid-template-columns: 38px 36px 38px;
    align-items: center;
    justify-content: center;
    /* column-gap: 14px; */
    column-gap: 10px;
    width: 100%;
}

.cpo-qty-btn {
    /* width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important; */

    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;

    /* height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important; */

    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 1px solid #d2d2d2;
    border-radius: 4px;
    background: #ffffff;

    color: #111111;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.cpo-qty-btn span {
    display: block;
    width: 100%;
    text-align: center;
    line-height: 1;
    transform: translateY(-1px);
}

.cpo-qty-btn:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #bfbfbf;
}

.cpo-qty-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.cpo-qty-input {
    width: 34px !important;
    height: 24px !important;
    padding: 0 !important;
    margin: 0 !important;

    border: 0;
    background: transparent;

    color: #111111;
    font-size: 15px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;

    box-shadow: none;
    box-sizing: border-box;

    appearance: textfield;
    -moz-appearance: textfield;
}

.cpo-qty-input:focus {
    outline: none;
    box-shadow: none;
}

.cpo-qty-input::-webkit-outer-spin-button,
.cpo-qty-input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

/* **************************************** */

@media (max-width: 991.98px) {
    .brand-logo {
        width: 162px;
    }

    .hero {
        min-height: 68vh;
    }

    .hero::before {
        background-position: right -80px bottom 30px;
        background-size: 360px;
    }

    .home-slider .carousel,
    .home-slider .carousel-inner,
    .home-slider .carousel-item,
    .home-slide-container {
        min-height: 560px;
    }

    .home-slide-bg {
        right: -6rem;
        width: min(72vw, 430px);
        opacity: 0.22;
    }

    .home-slide-content h1 {
        font-size: clamp(2.25rem, 8vw, 4rem);
    }

    .section-pad {
        padding: 3.5rem 0;
    }

    .part-gallery-main {
        min-height: 340px;
    }

    .part-gallery-main img {
        height: 340px;
    }

    .part-purchase-panel {
        position: static;
    }

    .ms-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .parts-browser-layout {
        grid-template-columns: 1fr;
    }

    .parts-menu-sidebar {
        border-right: 0;
        border-bottom: 1px solid var(--eclise-border);
    }

    .parts-menu-list {
        display: flex;
        gap: 0.5rem;
        grid-auto-flow: column;
        overflow-x: auto;
        padding: 0 0.8rem 0.8rem;
        scrollbar-width: thin;
    }

    .parts-menu-item {
        flex: 0 0 auto;
        min-width: 148px;
        border: 1px solid #e2e8f0;
        background: #fff;
        white-space: nowrap;
    }

    .parts-category-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .parts-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .parts-card-image-wrap {
        height: 220px;
    }
}

@media (max-width: 575.98px) {
    .brand-logo {
        width: 118px;
    }

    .mobile-header-actions {
        gap: 0.25rem;
    }

    .cart-action-compact {
        width: 2rem;
        height: 2rem;
    }

    .customer-avatar {
        width: 32px;
        height: 32px;
    }

    .mobile-auth-btn {
        padding: 0.28rem 0.42rem;
        font-size: 0.76rem;
    }

    .mobile-auth-btn i {
        display: none;
    }

    .home-slider .carousel,
    .home-slider .carousel-inner,
    .home-slider .carousel-item,
    .home-slide-container {
        min-height: 460px;
    }

    .home-slide-container {
        padding-top: 3.75rem;
        padding-bottom: 4.5rem;
    }

    .home-slide-bg {
        top: 68%;
        right: -7rem;
        width: min(96vw, 360px);
        max-height: 230px;
        opacity: 0.18;
    }

    .home-slide-overlay {
        background: linear-gradient(90deg, rgba(13, 19, 33, 0.98), rgba(13, 19, 33, 0.9));
    }

    .home-slide-content h1 {
        font-size: clamp(2rem, 12vw, 3rem);
        line-height: 1.04;
    }

    .home-slide-content p:not(.eyebrow) {
        font-size: 1rem !important;
    }

    .home-slide-actions {
        gap: 0.55rem;
    }

    .home-slide-actions .btn {
        width: 100%;
        padding-right: 0.9rem !important;
        padding-left: 0.9rem !important;
    }

    .home-slider .carousel-control-prev,
    .home-slider .carousel-control-next {
        display: none;
    }

    .navbar-toggler {
        padding: 0.25rem 0.45rem;
    }

    .part-detail-hero {
        padding: 2.5rem 0;
    }

    .part-gallery-main {
        min-height: 260px;
    }

    .part-gallery-main img {
        height: 260px;
        padding: 1rem;
    }

    .part-gallery-thumbs {
        grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    }

    .part-gallery-thumb {
        height: 64px;
    }

    .part-summary-list > div,
    .part-details-table > div {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .ms-product-titlebar {
        align-items: flex-start;
        flex-direction: column;
    }

    .ms-warranty-ribbon img {
        width: 46px;
        height: 46px;
        margin: 0;
    }

    .ms-service-row {
        grid-template-columns: 1fr;
    }

    .ms-service-row span {
        border-right: 0;
        border-bottom: 1px solid var(--eclise-border);
    }

    .ms-gallery-frame {
        min-height: auto;
    }

    .ms-image-badge {
        left: 0.65rem;
        top: 0.65rem;
        width: 54px;
        height: 54px;
    }

    .ms-main-image-wrap {
        min-height: 220px;
    }

    .ms-main-image-wrap img {
        max-height: 230px;
    }

    .ms-related-grid {
        grid-template-columns: 1fr;
    }

    .parts-menu-page {
        padding: 2.25rem 0 3.25rem;
    }

    .parts-menu-search {
        grid-template-columns: 1fr 44px;
        min-height: 52px;
        border-radius: 8px;
    }

    .parts-menu-search input {
        padding: 0 1rem;
        font-size: 0.9rem;
    }

    .parts-menu-content-head {
        flex-direction: column;
        min-height: auto;
        padding: 1rem;
    }

    .parts-menu-content-body {
        padding: 1rem;
    }

    .parts-breadcrumb-wrap {
        width: calc(100% - 2rem);
        max-width: calc(100% - 2rem);
        margin: 0.85rem 1rem 0;
        padding: 0.35rem;
        scrollbar-width: none;
    }

    .parts-breadcrumb-wrap::-webkit-scrollbar {
        display: none;
    }

    .parts-breadcrumb {
        gap: 0.28rem;
    }

    .parts-breadcrumb-item {
        font-size: 0.8rem;
    }

    .parts-breadcrumb-item + .parts-breadcrumb-item::before {
        width: 1.35rem;
        height: 1.35rem;
        margin-right: 0.28rem;
        font-size: 1rem;
    }

    .parts-breadcrumb-link,
    .parts-breadcrumb-item.active {
        padding: 0.48rem 0.65rem;
    }

    .parts-menu-sidebar-title {
        padding-left: 0.85rem;
    }

    .parts-menu-list {
        padding-right: 0.85rem;
        padding-left: 0.85rem;
    }

    .parts-menu-item {
        min-width: auto;
        max-width: 78vw;
        padding: 0.58rem 0.75rem;
        border-radius: 999px;
        font-size: 0.84rem;
    }

    .parts-category-grid {
        grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
        gap: 0.7rem;
    }

    .parts-menu-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .parts-category-card {
        grid-template-columns: 40px 1fr;
        min-height: 78px;
        padding: 0.7rem;
    }

    .parts-category-image,
    .parts-category-icon {
        width: 40px;
        height: 40px;
    }

    .parts-card-image-wrap {
        height: 200px;
    }

    .parts-menu-part-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .parts-menu-part-footer .btn {
        width: 100%;
    }

    .parts-menu-search-part {
        grid-template-columns: 38px 1fr;
    }

    .parts-menu-search-part b {
        grid-column: 2;
    }
}

@media (max-width: 390px) {
    .parts-category-grid,
    .parts-menu-grid {
        grid-template-columns: 1fr;
    }

    .parts-menu-search-results {
        max-height: 70vh;
    }
}

@media (max-width: 575.98px) {
    .page-header {
        padding: 3rem 0;
    }

    .page-hero-image {
        width: min(78vw, 260px);
        max-height: 210px;
    }

    .cta-band .btn {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .brand-logo {
        width: 96px;
    }

    .mobile-header-actions {
        gap: 0.18rem;
    }

    .cart-action-compact {
        width: 1.9rem;
        height: 1.9rem;
    }

    .customer-avatar {
        width: 30px;
        height: 30px;
    }

    .mobile-auth-btn {
        padding: 0.24rem 0.3rem;
        font-size: 0.7rem;
    }

    .navbar-toggler {
        padding: 0.22rem 0.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-slider .carousel-item {
        transition: none;
    }
}
