#custom-swiper-container {
    width: 100%;
    overflow: hidden;
}

.amts-topbar {
    position: relative;
    z-index: 1200;
    background: linear-gradient(90deg, #c62828 0%, #f57c00 50%, #ffb300 100%);
    box-shadow: 0 8px 18px rgba(183, 28, 28, 0.28);
}

.amts-topbar-link {
    letter-spacing: 0.01em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.amts-topbar-coupon {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    margin: 0 0.2rem;
}

.amts-campaign-hero {
    background:
        radial-gradient(1200px 280px at -10% -40%, rgba(255, 255, 255, 0.22), transparent 60%),
        linear-gradient(140deg, #b71c1c 0%, #ef6c00 45%, #ff8f00 100%);
}

.amts-section-card {
    border: 0;
    border-radius: 1.25rem;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.09);
}

.amts-coupon-box {
    border: 1px dashed rgba(183, 28, 28, 0.45);
    background: #fff8f2;
    border-radius: 1rem;
}

@media (max-width: 991.98px) {
    .amts-topbar-link {
        font-size: 0.93rem;
    }
}
#product-gallery-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
}

#product-gallery-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

#product-gallery-swiper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.product-variant-selector {
    padding: 1rem;
    border: 1px solid rgba(24, 29, 37, 0.12);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.98));
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.product-variant-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.product-variant-title {
    color: #181d25;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
}

.product-variant-current {
    color: #5f6c7b;
    font-size: 0.82rem;
    line-height: 1.25;
    text-align: right;
}

.product-variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.product-variant-option {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    min-width: 0;
    gap: 0.5rem;
    padding: 0.42rem 0.72rem 0.42rem 0.48rem;
    border: 1px solid rgba(24, 29, 37, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: #333d4c;
    text-decoration: none;
    touch-action: manipulation;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.product-variant-option:hover,
.product-variant-option:focus-visible {
    color: #181d25;
    border-color: rgba(245, 82, 102, 0.45);
    box-shadow: 0 8px 20px rgba(245, 82, 102, 0.14);
    transform: translateY(-1px);
}

.product-variant-option.is-active {
    color: #181d25;
    border-color: rgba(245, 82, 102, 0.68);
    box-shadow: 0 0 0 3px rgba(245, 82, 102, 0.12);
}

.product-variant-swatch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border: 1px solid rgba(24, 29, 37, 0.18);
    border-radius: 50%;
    color: #181d25;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.product-variant-swatch.is-light {
    border-color: rgba(24, 29, 37, 0.28);
    box-shadow: inset 0 0 0 2px rgba(24, 29, 37, 0.06);
}

.product-variant-label {
    min-width: 0;
    max-width: 11rem;
    overflow: hidden;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[data-bs-theme="dark"] .product-variant-selector {
    border-color: rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(34, 41, 52, 0.98), rgba(24, 29, 37, 0.98));
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

[data-bs-theme="dark"] .product-variant-title,
[data-bs-theme="dark"] .product-variant-option,
[data-bs-theme="dark"] .product-variant-option:hover,
[data-bs-theme="dark"] .product-variant-option:focus-visible,
[data-bs-theme="dark"] .product-variant-option.is-active {
    color: #ffffff;
}

[data-bs-theme="dark"] .product-variant-current {
    color: #cad0d9;
}

[data-bs-theme="dark"] .product-variant-option {
    border-color: rgba(255, 255, 255, 0.12);
    background: #181d25;
}

[data-bs-theme="dark"] .product-variant-option:hover,
[data-bs-theme="dark"] .product-variant-option:focus-visible,
[data-bs-theme="dark"] .product-variant-option.is-active {
    border-color: rgba(245, 82, 102, 0.7);
}

@media (max-width: 575.98px) {
    .product-variant-selector {
        padding: 0.85rem;
        border-radius: 14px;
    }

    .product-variant-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .product-variant-current {
        text-align: left;
    }

    .product-variant-option {
        min-height: 44px;
        padding-right: 0.66rem;
    }

    .product-variant-label {
        max-width: 8.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-variant-option {
        transition: none;
    }

    .product-variant-option:hover,
    .product-variant-option:focus-visible {
        transform: none;
    }
}

.price-alert-card {
    --price-alert-accent: #f55266;
    --price-alert-accent-strong: #d9364d;
    --price-alert-ink: #181d25;
    --price-alert-muted: #5f6c7b;
    --price-alert-surface: #ffffff;
    --price-alert-soft: #fff5f7;
    position: relative;
    scroll-margin-top: 7rem;
    padding: 1rem;
    overflow: hidden;
    border: 1px solid rgba(245, 82, 102, 0.2);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(245, 82, 102, 0.11), transparent 40%),
        var(--price-alert-surface);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
}

.price-alert-card__heading {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.price-alert-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 2.75rem;
    border-radius: 14px;
    background: var(--price-alert-soft);
    color: var(--price-alert-accent-strong);
    font-size: 1.15rem;
}

.price-alert-card__title {
    margin: 0 0 0.2rem;
    color: var(--price-alert-ink);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
    text-wrap: balance;
}

.price-alert-card__intro {
    margin: 0;
    color: var(--price-alert-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.price-alert-form {
    display: grid;
    gap: 0.9rem;
}

.price-alert-field,
.price-alert-triggers {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.price-alert-target-field[hidden] {
    display: none;
}

.price-alert-label {
    display: block;
    margin-bottom: 0.42rem;
    color: var(--price-alert-ink);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
}

.price-alert-form .form-control {
    min-height: 46px;
    border-color: rgba(24, 29, 37, 0.15);
    background-color: var(--price-alert-surface);
    color: var(--price-alert-ink);
    font-size: 1rem;
}

.price-alert-form .form-control:hover {
    border-color: rgba(245, 82, 102, 0.5);
}

.price-alert-form .form-control:focus {
    border-color: var(--price-alert-accent);
    box-shadow: 0 0 0 0.2rem rgba(245, 82, 102, 0.14);
}

.price-alert-form .form-control[aria-invalid="true"] {
    border-color: #c83248;
    box-shadow: 0 0 0 0.2rem rgba(200, 50, 72, 0.12);
}

.price-alert-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.price-alert-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    min-width: 0;
    min-height: 66px;
    gap: 0.45rem;
    padding: 0.65rem 0.55rem;
    border: 1px solid rgba(24, 29, 37, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--price-alert-ink);
    cursor: pointer;
    touch-action: manipulation;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.price-alert-option:hover {
    border-color: rgba(245, 82, 102, 0.5);
    background-color: var(--price-alert-soft);
    transform: translateY(-1px);
}

.price-alert-option:has(input:checked) {
    border-color: var(--price-alert-accent);
    background-color: var(--price-alert-soft);
    box-shadow: 0 0 0 2px rgba(245, 82, 102, 0.11);
}

.price-alert-option:has(input:focus-visible) {
    border-color: var(--price-alert-accent-strong);
    box-shadow: 0 0 0 3px rgba(245, 82, 102, 0.2);
}

.price-alert-option input {
    width: 1rem;
    height: 1rem;
    flex: 0 0 1rem;
    margin: 0.12rem 0 0;
    accent-color: var(--price-alert-accent-strong);
}

.price-alert-option span {
    min-width: 0;
}

.price-alert-option strong,
.price-alert-option small {
    display: block;
    overflow-wrap: anywhere;
}

.price-alert-option strong {
    font-size: 0.77rem;
    line-height: 1.25;
}

.price-alert-option small {
    margin-top: 0.18rem;
    color: var(--price-alert-muted);
    font-size: 0.67rem;
    line-height: 1.25;
}

.price-alert-input-suffix {
    position: relative;
}

.price-alert-input-suffix .form-control {
    padding-right: 3rem;
    font-variant-numeric: tabular-nums;
}

.price-alert-input-suffix > span {
    position: absolute;
    top: 50%;
    right: 1rem;
    color: var(--price-alert-muted);
    font-size: 0.85rem;
    font-weight: 700;
    transform: translateY(-50%);
    pointer-events: none;
}

.price-alert-summary {
    margin: 0;
    padding: 0.7rem 0.8rem;
    border-left: 3px solid var(--price-alert-accent);
    border-radius: 0 10px 10px 0;
    background: var(--price-alert-soft);
    color: var(--price-alert-ink);
    font-size: 0.78rem;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    line-height: 1.4;
}

.price-alert-privacy {
    margin: -0.25rem 0 0;
    color: var(--price-alert-muted);
    font-size: 0.7rem;
    line-height: 1.4;
}

.price-alert-error,
.price-alert-status {
    min-height: 0;
    margin: 0.35rem 0 0;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.35;
}

.price-alert-error:empty,
.price-alert-status:empty {
    display: none;
}

.price-alert-error,
.price-alert-status.is-error {
    color: #b42336;
}

.price-alert-status.is-success {
    color: #197044;
}

.price-alert-submit {
    min-height: 46px;
    touch-action: manipulation;
}

.price-alert-submit__spinner {
    display: none;
    margin-right: 0.45rem;
}

.price-alert-submit[aria-busy="true"] .price-alert-submit__spinner {
    display: inline-block;
}

.price-alert-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

[data-bs-theme="dark"] .price-alert-card {
    --price-alert-ink: #ffffff;
    --price-alert-muted: #c5ccd6;
    --price-alert-surface: #181d25;
    --price-alert-soft: #2b2029;
    border-color: rgba(245, 82, 102, 0.3);
    background:
        radial-gradient(circle at 100% 0, rgba(245, 82, 102, 0.16), transparent 42%),
        var(--price-alert-surface);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

[data-bs-theme="dark"] .price-alert-option {
    border-color: rgba(255, 255, 255, 0.13);
    background-color: rgba(255, 255, 255, 0.035);
}

[data-bs-theme="dark"] .price-alert-option:hover,
[data-bs-theme="dark"] .price-alert-option:has(input:checked) {
    border-color: rgba(245, 82, 102, 0.75);
    background-color: var(--price-alert-soft);
}

[data-bs-theme="dark"] .price-alert-form .form-control {
    border-color: rgba(255, 255, 255, 0.16);
    background-color: #212833;
    color: #ffffff;
}

[data-bs-theme="dark"] .price-alert-form .form-control::placeholder {
    color: #9ba6b5;
}

[data-bs-theme="dark"] .price-alert-status.is-error,
[data-bs-theme="dark"] .price-alert-error {
    color: #ff9dac;
}

[data-bs-theme="dark"] .price-alert-status.is-success {
    color: #7fe0ad;
}

@media (max-width: 575.98px) {
    .price-alert-card {
        padding: 0.85rem;
        border-radius: 16px;
    }

    .price-alert-options {
        grid-template-columns: 1fr;
    }

    .price-alert-option {
        align-items: center;
        min-height: 52px;
        padding: 0.6rem 0.7rem;
    }

    .price-alert-option small {
        margin-top: 0.1rem;
    }

    .price-alert-submit {
        width: 100%;
        min-height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .price-alert-option {
        transition: none;
    }

    .price-alert-option:hover {
        transform: none;
    }

    .price-alert-submit__spinner {
        animation: none;
    }
}

.product-relations-mini-panel[hidden],
.product-relations-section[hidden] {
    display: none !important;
}

.product-relations-mini-panel {
    scroll-margin-top: 6.5rem;
    padding: 0.9rem;
    border: 1px solid rgba(24, 29, 37, 0.1);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(245, 82, 102, 0.08), rgba(255, 255, 255, 0) 46%),
        #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.product-relations-zone-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.product-relations-stack {
    display: grid;
    gap: 0.85rem;
}

.product-relations-section {
    scroll-margin-top: 7rem;
}

.product-relations-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.55rem;
}

.product-relations-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.35rem;
    color: #f55266;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.product-relations-title {
    margin: 0;
    color: #181d25;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}

.product-relations-mini-list {
    display: grid;
    gap: 0.6rem;
}

.product-relations-mini-list > .position-relative {
    min-height: 76px;
    padding: 0.55rem;
    border: 1px solid rgba(24, 29, 37, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.product-relations-mini-list > .position-relative > .flex-shrink-0 {
    width: 58px !important;
}

.product-relations-mini-list img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.product-relations-mini-list .badge {
    padding: 0.22rem 0.4rem;
    font-size: 0.66rem;
}

.product-relations-mini-list .fs-xs,
.product-relations-mini-list .fs-sm {
    font-size: 0.72rem !important;
    line-height: 1.2;
}

.product-relations-mini-list h4 {
    margin-bottom: 0.25rem !important;
    line-height: 1.18;
}

.product-relations-mini-list h4 a {
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-relations-mini-list .h5 {
    margin-bottom: 0 !important;
    font-size: 0.9rem;
    line-height: 1.1;
}

.product-mini-card__purchase-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    min-width: 0;
}

.product-mini-card__purchase-row .h5 {
    min-width: 0;
}

.product-mini-card__cart {
    position: relative;
    z-index: 3;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    touch-action: manipulation;
}

.product-mini-card__cart i {
    font-size: 0.95rem;
}

[data-bs-theme="dark"] .product-relations-mini-panel {
    border-color: rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(135deg, rgba(245, 82, 102, 0.12), rgba(24, 29, 37, 0) 48%),
        #181d25;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

[data-bs-theme="dark"] .product-relations-title {
    color: #ffffff;
}

[data-bs-theme="dark"] .product-relations-mini-list > .position-relative {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
}

@media (max-width: 575.98px) {
    .product-relations-mini-panel {
        padding: 0.75rem;
        border-radius: 14px;
    }

    .product-relations-zone-header {
        margin-bottom: 0.7rem;
    }

    .product-relations-header {
        margin-bottom: 0.5rem;
    }

    .product-relations-kicker {
        font-size: 0.72rem;
    }

    .product-mini-card__cart {
        width: 2.75rem;
        height: 2.75rem;
        min-width: 2.75rem;
    }
}

@media (max-width: 767.98px) {
    #productRelationsMobileSlot .product-relations-mini-panel {
        margin-top: 0 !important;
        margin-bottom: 1rem;
    }
}

/* Styles for Elismeréseink (egységes badge megjelenés) */
.awards-content {
    max-width: 260px;
}

/* Lista és elemek */
.award-list {
    gap: 8px;
}

/* Egy badge kártya: középre rendezett, egységes méret */
.award-item {
    width: 100%;
    display: flex;
    padding: 6px 0;
}

/* A kártya maga: link vagy elválasztott wrapper */
.award-card {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: transparent;
    border: 0;
    padding: 4px;
    text-decoration: none;
    color: inherit;
}

/* Logo konténer — egységes max magasság, megőrzi az arányt */
.award-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px; /* egységesített szélesség */
    height: 56px; /* egységesített magasság */
    flex: 0 0 120px;
}

.award-logo img {
    max-height: 56px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border: 0;
}

/* Ha van szöveges cím (pl. Árukereső), kicsi betűméret */
.award-label {
    font-size: 11px;
    line-height: 1;
    color: #000;
    font-family: Arial, Verdana, sans-serif;
}

/* Pepita badge special: a beágyazott markup szelídítése */



/* Mobilon a tartalom kicsit szélesebb, hogy jól legyen olvasható */
@media (max-width: 575.98px) {
    .awards-content {
        max-width: 100%;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .award-logo {
        width: 110px;
        height: 48px;
        flex: 0 0 110px;
    }
    .award-logo img {
        max-height: 48px;
    }
}

/* ParcelShop modal refresh */
#parcelShopModal .modal-content {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

#parcelShopModal .modal-header {
    border-bottom: 0;
    padding: 1.5rem 1.5rem 1rem;
    background:
        radial-gradient(900px 200px at -10% -10%, rgba(14, 116, 144, 0.18), transparent 60%),
        linear-gradient(135deg, #eefcf8 0%, #f8fafc 70%);
}

#parcelShopModal .modal-title {
    margin: 0.25rem 0 0.25rem;
    font-size: 1.2rem;
    color: #0f172a;
}

#parcelShopModal .parcelshop-subtitle {
    font-size: 0.9rem;
    color: #475569;
}

#parcelShopModal .parcelshop-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #0f766e;
    background: rgba(15, 118, 110, 0.12);
}

#parcelShopModal .modal-body {
    padding: 1rem 1.5rem 1.5rem;
}

#parcelShopModal .parcelshop-map {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    height: 420px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

#parcelShopModal .gls-dpm-wrapper {
    width: 100%;
    height: 100%;
}

#parcelShopModal .modal-footer {
    border-top: 0;
    padding: 0 1.5rem 1.5rem;
    gap: 0.75rem;
}

#parcelShopModal .btn {
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
}

#parcelShopModal .btn-primary {
    background: #0f766e;
    border-color: #0f766e;
}

#parcelShopModal .btn-primary:hover,
#parcelShopModal .btn-primary:focus {
    background: #0b6a63;
    border-color: #0b6a63;
}

#parcelShopModal .btn-secondary {
    background: #e2e8f0;
    border: 0;
    color: #0f172a;
}

#parcelShopModal .btn-secondary:hover,
#parcelShopModal .btn-secondary:focus {
    background: #d6dee8;
    color: #0b1220;
}

@media (max-width: 575.98px) {
    #parcelShopModal .modal-header {
        padding: 1.1rem 1.1rem 0.8rem;
    }
    #parcelShopModal .modal-body {
        padding: 0.8rem 1.1rem 1.1rem;
    }
    #parcelShopModal .modal-footer {
        padding: 0 1.1rem 1.1rem;
    }
    #parcelShopModal .parcelshop-map {
        height: 360px;
    }
}

@media (min-width: 992px) {
    #parcelShopModal .modal-dialog {
        max-width: 1200px;
        width: calc(100vw - 4rem);
    }
    #parcelShopModal .modal-body {
        padding: 0;
    }
    #parcelShopModal .parcelshop-map {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        height: 65vh;
    }
}

/* Spare parts search */
.spare-parts-page {
    background: linear-gradient(180deg, rgba(47, 110, 213, 0.06), transparent 320px);
}

.spare-parts-hero {
    padding: 3rem 0;
    background:
        linear-gradient(135deg, rgba(34, 41, 52, 0.94), rgba(18, 29, 49, 0.94)),
        url("/assets/img/navbar/header_hififutar_logo.png") right 3rem center / 260px auto no-repeat;
    color: #fff;
}

.spare-parts-title {
    max-width: 760px;
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    line-height: 1.12;
}

.spare-parts-lead {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
}

.spare-parts-search {
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 42px rgba(8, 11, 18, 0.24);
}

.spare-parts-search .form-label {
    color: #fff;
}

.spare-parts-grid {
    display: grid;
    gap: 1rem;
}

.spare-parts-filter .offcanvas-body {
    gap: 1rem;
}

.spare-filter-block {
    padding: 1rem;
    border: 1px solid rgba(108, 114, 127, 0.18);
    border-radius: 10px;
    background: var(--cz-body-bg);
}

.spare-filter-title {
    margin-bottom: 0.75rem;
    color: var(--cz-heading-color);
    font-size: 0.92rem;
    font-weight: 700;
}

.spare-filter-options {
    display: grid;
    gap: 0.35rem;
    max-height: 340px;
    overflow: auto;
    padding-right: 0.15rem;
}

.spare-filter-option {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    gap: 0.5rem;
    align-items: center;
    min-height: 32px;
    margin: 0;
    color: var(--cz-body-color);
    font-size: 0.86rem;
    cursor: pointer;
}

.spare-filter-option input {
    width: 16px;
    height: 16px;
    margin: 0;
}

.spare-filter-option span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spare-filter-option small {
    color: var(--cz-secondary-color);
    font-variant-numeric: tabular-nums;
}

.spare-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.spare-active-filter {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(47, 110, 213, 0.24);
    border-radius: 999px;
    background: rgba(47, 110, 213, 0.08);
    color: #244f9b;
    font-size: 0.82rem;
}

.spare-active-filter:hover,
.spare-active-filter:focus-visible {
    border-color: rgba(47, 110, 213, 0.44);
    background: rgba(47, 110, 213, 0.14);
}

.spare-part-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) minmax(180px, auto);
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid rgba(108, 114, 127, 0.2);
    border-radius: 10px;
    background: var(--cz-body-bg);
    box-shadow: 0 12px 28px rgba(34, 41, 52, 0.06);
}

.spare-part-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 132px;
    border-radius: 8px;
    background: #fff;
}

.spare-part-media img {
    max-width: 112px;
    max-height: 112px;
    object-fit: contain;
}

.spare-part-body {
    min-width: 0;
}

.spare-part-manufacturer,
.spare-part-codes,
.spare-part-delivery {
    color: var(--cz-body-color);
    font-size: 0.82rem;
}

.spare-part-codes,
.spare-part-delivery {
    color: var(--cz-secondary-color);
}

.spare-part-name {
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
    line-height: 1.25;
}

.spare-compatible-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.spare-compatible-chip {
    display: inline-flex;
    max-width: 100%;
    padding: 0.28rem 0.58rem;
    border: 1px solid rgba(47, 110, 213, 0.2);
    border-radius: 999px;
    background: rgba(47, 110, 213, 0.08);
    color: #244f9b;
    font-size: 0.78rem;
    text-decoration: none;
}

.spare-compatible-chip:hover,
.spare-compatible-chip:focus-visible {
    border-color: rgba(47, 110, 213, 0.45);
    background: rgba(47, 110, 213, 0.14);
    color: #173d82;
}

.spare-part-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
}

.spare-part-price {
    color: var(--cz-heading-color);
    font-size: 1.15rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.spare-parts-empty {
    padding: 2rem;
    border: 1px solid rgba(108, 114, 127, 0.18);
    border-radius: 10px;
    background: var(--cz-body-bg);
    text-align: center;
}

@media (max-width: 991.98px) {
    .spare-parts-hero {
        padding: 2.25rem 0;
        background: linear-gradient(135deg, rgba(34, 41, 52, 0.96), rgba(18, 29, 49, 0.96));
    }

    .spare-part-card {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .spare-part-media {
        width: 104px;
        height: 104px;
    }

    .spare-part-media img {
        max-width: 88px;
        max-height: 88px;
    }

    .spare-part-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(108, 114, 127, 0.16);
    }
}

@media (max-width: 575.98px) {
    .spare-parts-search {
        padding: 1rem;
    }

    .spare-parts-search .input-group {
        flex-direction: column;
        gap: 0.65rem;
    }

    .spare-parts-search .input-group-text,
    .spare-parts-search .form-control,
    .spare-parts-search .btn {
        width: 100%;
        border-radius: 8px !important;
    }

    .spare-part-card {
        grid-template-columns: 88px minmax(0, 1fr);
        padding: 0.85rem;
    }

    .spare-part-media {
        width: 88px;
        height: 88px;
    }

    .spare-part-media img {
        max-width: 74px;
        max-height: 74px;
    }

    .spare-part-actions {
        align-items: stretch;
        flex-direction: column;
    }
}
