/* ============================================================
   REPAIRS SYSTEM — CSS (ported from the old betheme-child theme)
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
    --rp-blue: #2195CE;
    --rp-blue-dark: #1b7fb0;
    --rp-blue-light: #EFF5FF;
    --rp-text: #111827;
    --rp-text-muted: #6B7280;
    --rp-border: #E5E7EB;
    --rp-bg: #F9FAFB;
    --rp-white: #ffffff;
    --rp-radius: 12px;
    --rp-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    --rp-shadow-hover: 0 8px 28px rgba(27, 111, 232, .18);
    --rp-max-width: 1200px;
}

/* Remove underlines from all repair system links */
.repairs-archive a,
.repairs-manufacturer-page a,
.repairs-device-page a,
.repairs-service-page a {
    text-decoration: none;
}

.repairs-archive a:hover,
.repairs-manufacturer-page a:hover,
.repairs-device-page a:hover,
.repairs-service-page a:hover {
    text-decoration: none;
}

/* ── Shared wrappers ───────────────────────────────────────── */
.repairs-archive,
.repairs-manufacturer-page,
.repairs-device-page {
    max-width: var(--rp-max-width);
    margin: 0 auto;
    padding: 48px 24px 80px;
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.repairs-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--rp-text-muted);
    margin-bottom: 32px;
}

.repairs-breadcrumb a {
    color: var(--rp-text-muted);
    text-decoration: none;
}

.repairs-breadcrumb a:hover {
    color: var(--rp-blue);
    text-decoration: none;
}

/* ── Breadcrumb: single-row scroll on mobile ────────────────── */
@media (max-width: 768px) {
    .repairs-breadcrumb {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        padding-bottom: 4px;
        /* tiny breathing room */
        margin-bottom: 32px;
    }

    .repairs-breadcrumb::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .repairs-breadcrumb a,
    .repairs-breadcrumb span {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* ── Archive header ────────────────────────────────────────── */
.repairs-archive__header {
    text-align: center;
    margin-bottom: 48px;
}

.repairs-archive__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--rp-text);
    margin: 0 0 12px;
}

.repairs-archive__subtitle {
    font-size: 17px;
    color: var(--rp-text-muted);
    margin: 0;
}

/* ── Manufacturer grid (archive page) ─────────────────────── */
.repairs-manufacturer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.repairs-manufacturer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 20px 24px;
    background: var(--rp-white);
    border: 1.5px solid var(--rp-border);
    border-radius: var(--rp-radius);
    text-decoration: none;
    color: var(--rp-text);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.repairs-manufacturer-card:hover {
    border-color: var(--rp-blue);
    box-shadow: var(--rp-shadow-hover);
    transform: translateY(-3px);
}

.repairs-manufacturer-card__logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.repairs-manufacturer-card__name {
    font-size: 16px;
    font-weight: 600;
}

/* ── Manufacturer hero (single manufacturer page) ─────────── */
.repairs-manufacturer-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.repairs-manufacturer-hero__logo img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background-color: #F7F7F7;
    padding: 1em;
    border-radius: var(--rp-radius);
}

.repairs-manufacturer-hero__text h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 4px;
}

.repairs-manufacturer-hero__text p {
    color: var(--rp-text-muted);
    margin: 0;
}

/* ── Device grid (single manufacturer page) ───────────────── */
.repairs-device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 64px;
}

.repairs-device-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px 20px;
    background: var(--rp-white);
    border: 1.5px solid var(--rp-border);
    border-radius: var(--rp-radius);
    text-decoration: none;
    color: var(--rp-text);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.repairs-device-card:hover {
    border-color: var(--rp-blue);
    box-shadow: var(--rp-shadow-hover);
    transform: translateY(-3px);
}

.repairs-device-card__image img {
    width: 200px;
    height: 180px;
    object-fit: contain;
}

.repairs-device-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 140px;
    background: var(--rp-bg);
    border-radius: 8px;
}

.repairs-device-card__image--placeholder svg {
    width: 40px;
    height: 40px;
    stroke: var(--rp-text-muted);
}

.repairs-device-card__name {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* ── Device hero (single device page) ─────────────────────── */
.repairs-device-hero {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 48px;
    padding: 40px;
    background: var(--rp-bg);
    border: 1.5px solid var(--rp-border);
    border-radius: 16px;
}

.repairs-device-hero__image-wrap img {
    width: 200px;
    height: 260px;
    object-fit: contain;
}

.repairs-device-hero__brand {
    font-size: 13px;
    font-weight: 600;
    color: var(--rp-blue);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 8px;
}

.repairs-device-hero__title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    margin: 0 0 8px;
}

.repairs-device-hero__subtitle {
    color: var(--rp-text-muted);
    margin: 0 0 24px;
}

.repairs-device-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.repairs-device-hero__trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.repairs-device-hero__trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--rp-blue-light);
    border-radius: 50%;
    flex-shrink: 0;
}

.repairs-device-hero__trust-icon svg {
    stroke: var(--rp-blue);
    width: 20px;
    height: 20px;
}

.repairs-device-hero__trust-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.repairs-device-hero__trust-text strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--rp-text);
    line-height: 1.2;
}

.repairs-device-hero__trust-text small {
    font-size: 13px;
    color: var(--rp-text-muted);
    line-height: 1.2;
}

/* ── Services section ──────────────────────────────────────── */
.repairs-services-section__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--rp-blue);
    display: inline-block;
}

.repairs-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 32px;
    margin-bottom: 64px;
}

/* ── Service card ──────────────────────────────────────────── */
.repair-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--rp-white);
    border: 1.5px solid var(--rp-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .07);
    transition: box-shadow .25s, transform .25s, border-color .25s;
}

.repair-service-card:hover {
    border-color: var(--rp-blue);
    box-shadow: var(--rp-shadow-hover);
    transform: translateY(-4px);
}

/* Icon badge — top-left over the image */
.repair-service-card__icon-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--rp-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(27, 111, 232, .35);
}

/* Image area — tall, gray background, image fills it well */
.repair-service-card__image {
    background: #F2F4F7;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 210px;
    overflow: hidden;
}

.repair-service-card__image img {
    height: 190px !important;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Body */
.repair-service-card__body {
    padding: 18px 20px 4px;
    flex: 1;
}

.repair-service-card__name {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 3px;
    color: var(--rp-text);
    line-height: 1.3;
}

.repair-service-card__for {
    font-size: 13px;
    color: var(--rp-text-muted);
    margin: 0 0 16px;
}

/* Price row — ex + inc side by side */
.repair-service-card__price {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.repair-service-card__price-ex {
    font-size: 17px;
    font-weight: 600;
    color: var(--rp-text);
}

.repair-service-card__price-ex small {
    font-size: 11px;
    font-weight: 400;
    color: var(--rp-text-muted);
    margin-left: 3px;
}

.repair-service-card__price-inc {
    font-size: 19px;
    font-weight: 800;
    color: var(--rp-blue);
}

.repair-service-card__price-inc small {
    font-size: 11px;
    font-weight: 400;
    color: var(--rp-text-muted);
    margin-left: 3px;
}

.repair-service-card__price-free {
    font-size: 19px;
    font-weight: 800;
    color: #16a34a;
}

/* Meta row — two pill boxes side by side */
.repair-service-card__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.repair-service-card__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--rp-bg);
    border: 1px solid var(--rp-border);
    border-radius: 10px;
    padding: 10px 12px;
}

.repair-service-card__meta-item svg {
    flex-shrink: 0;
    stroke: var(--rp-blue);
    width: 16px;
    height: 16px;
}

.repair-service-card__meta-item>span {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.repair-service-card__meta-item strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--rp-text);
    line-height: 1.2;
    white-space: nowrap;
}

.repair-service-card__meta-item small {
    display: block;
    font-size: 10px;
    color: var(--rp-text-muted);
    line-height: 1.2;
}

/* CTA — full-width button with padding, not flush */
.repair-service-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 20px 20px;
    padding: 14px 18px;
    background: var(--rp-blue);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: background .2s, box-shadow .2s;
    box-shadow: 0 2px 8px rgba(27, 111, 232, .25);
}

.repair-service-card__cta:hover {
    background: var(--rp-blue-dark);
    color: #fff;
    box-shadow: 0 4px 14px rgba(27, 111, 232, .4);
    text-decoration: none;
}

/* ── Reasons tooltip (appears on card hover) ───────────────── */
.repair-service-card__reasons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 76px;
    background: var(--rp-white);
    border-radius: 16px 16px 0 0;
    padding: 24px 22px 12px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .22s ease, transform .22s ease;
    z-index: 10;
    overflow: hidden;
}

.repair-service-card:hover .repair-service-card__reasons {
    opacity: 1;
    pointer-events: none;
    /* tooltip is display-only — click still goes to CTA */
    transform: translateY(0);
}

.repair-service-card__reasons-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--rp-text);
    margin: 0 0 6px;
    line-height: 1.3;
}

.repair-service-card__reasons-intro {
    font-size: 13px;
    color: var(--rp-text-muted);
    margin: 0 0 14px;
}

.repair-service-card__reasons-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
    overflow: hidden;
}

.repair-service-card__reasons-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--rp-text);
    line-height: 1.3;
}

.repair-service-card__reasons-list li::before {
    content: '';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--rp-blue);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' width='14' height='14' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 13px 13px;
}

/* ── Trust bar ─────────────────────────────────────────────── */
.repairs-trust-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    padding: 40px;
    background: var(--rp-bg);
    border: 1.5px solid var(--rp-border);
    border-radius: var(--rp-radius);
}

.repairs-trust-bar__item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.repairs-trust-bar__item svg {
    stroke: var(--rp-blue);
    flex-shrink: 0;
    width: 36px;
    height: 36px;
}

.repairs-trust-bar__item span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.repairs-trust-bar__item strong {
    font-size: 14px;
    color: var(--rp-text);
}

.repairs-trust-bar__item small {
    font-size: 12px;
    color: var(--rp-text-muted);
}

/* ── Empty state ───────────────────────────────────────────── */
.repairs-empty {
    color: var(--rp-text-muted);
    padding: 40px;
    text-align: center;
    background: var(--rp-bg);
    border-radius: var(--rp-radius);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .repairs-device-hero {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
    }

    .repairs-device-hero__image-wrap img {
        width: 140px;
        height: 180px;
    }

    .repairs-manufacturer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .repairs-device-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .repairs-services-grid {
        grid-template-columns: 1fr;
    }

    .repairs-trust-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: 24px;
    }
}

@media (max-width: 480px) {

    .repairs-archive,
    .repairs-manufacturer-page,
    .repairs-device-page {
        padding: 24px 16px 48px;
    }

    .repairs-trust-bar {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   SINGLE SERVICE PAGE
   ============================================================ */

.repairs-service-page {
    max-width: var(--rp-max-width);
    margin: 0 auto;
    padding: 48px 24px 80px;
}

/* Layout: main + sidebar, with CTA spanning below both */
.repairs-service-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-template-rows: auto auto;
    gap: 32px;
    align-items: start;
}

/* Main card */
.repairs-service-card-single {
    display: flex;
    background: var(--rp-white);
    border: 1.5px solid var(--rp-border);
    border-radius: 16px;
    overflow: hidden;
    align-items: stretch;
    min-height: 480px;
}

.repairs-service-card-single__image {
    flex-shrink: 0;
    width: 40%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.repairs-service-card-single__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 32px 24px;
    box-sizing: border-box;
}

.repairs-service-card-single__info {
    flex: 1;
    padding: 40px;
}

.repairs-service-card-single__brand {
    font-size: 12px;
    font-weight: 700;
    color: var(--rp-blue);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin: 0 0 6px;
}

.repairs-service-card-single__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    margin: 0 0 4px;
}

.repairs-service-card-single__for {
    color: var(--rp-text-muted);
    font-size: 14px;
    margin: 0 0 24px;
}

/* Price block */
.repairs-service-price {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: var(--rp-bg);
    border: 1px solid var(--rp-border);
    border-radius: 12px;
    flex-wrap: wrap;
}

.repairs-service-price__inc {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.repairs-service-price__inc .repairs-service-price__amount {
    font-size: 34px;
    font-weight: 800;
    color: var(--rp-blue);
    line-height: 1;
}

.repairs-service-price__inc .repairs-service-price__label {
    font-size: 12px;
    color: var(--rp-text-muted);
    font-weight: 500;
}

.repairs-service-price__divider {
    width: 1px;
    height: 36px;
    background: var(--rp-border);
    flex-shrink: 0;
}

.repairs-service-price__ex {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.repairs-service-price__ex .repairs-service-price__amount {
    font-size: 15px;
    font-weight: 600;
    color: var(--rp-text);
    line-height: 1.2;
}

.repairs-service-price__ex .repairs-service-price__label {
    font-size: 11px;
    color: var(--rp-text-muted);
}

.repairs-service-price__free {
    font-size: 30px;
    font-weight: 800;
    color: #16a34a;
}

/* Meta — matches repair-service-card__meta-item style */
.repairs-service-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.repairs-service-meta__pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--rp-bg);
    border: 1px solid var(--rp-border);
    border-radius: 10px;
    padding: 10px 12px;
}

.repairs-service-meta__pill svg {
    flex-shrink: 0;
    stroke: var(--rp-blue);
    width: 16px;
    height: 16px;
}

.repairs-service-meta__pill>span {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.repairs-service-meta__pill strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--rp-text);
    line-height: 1.2;
    white-space: nowrap;
}

.repairs-service-meta__pill small {
    display: block;
    font-size: 10px;
    color: var(--rp-text-muted);
    line-height: 1.2;
}

/* Description */
.repairs-service-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--rp-text-muted);
    margin-bottom: 28px;
    border-top: 1px solid var(--rp-border);
    padding-top: 20px;
}

/* CTA button */
.repairs-service-cta-wrap {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.repairs-service-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    min-height: 52px;
    padding: 14px 24px;
    background: var(--rp-blue);
    color: #fff;
    font-family: inherit;       /* <button> doesn't inherit the site font by default */
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    border: 0;                  /* removes the browser's default gray button border */
    border-radius: 8px;
    box-shadow: none;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background .2s, transform .2s;
}

.repairs-service-cta svg { flex-shrink: 0; }

.repairs-service-cta:hover {
    background: var(--rp-blue-dark);
    color: #fff;
    transform: translateY(-1px);
}

.repairs-service-cta:focus-visible {
    outline: 2px solid var(--rp-blue-dark);
    outline-offset: 3px;
}

/* Separator styling */
.repairs-service-cta-divider {
    font-size: 15px;
    font-weight: 500;
    color: #666;
}

/* Sidebar */
.repairs-service-sidebar {
    background: var(--rp-white);
    border: 1.5px solid var(--rp-border);
    border-radius: var(--rp-radius);
    padding: 24px;
    position: sticky;
    top: 24px;
}

.repairs-service-sidebar__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--rp-text);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rp-border);
}

.repairs-service-sidebar__list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.repairs-service-sidebar__item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 7px;
    text-decoration: none;
    color: var(--rp-text);
    font-size: 14px;
    transition: background .15s;
}

.repairs-service-sidebar__item a:hover {
    background: var(--rp-bg);
}

.repairs-service-sidebar__item.is-active a {
    background: var(--rp-blue-light);
    color: var(--rp-blue);
    font-weight: 600;
}

.repairs-service-sidebar__price {
    font-size: 13px;
    font-weight: 600;
    color: var(--rp-blue);
    white-space: nowrap;
}

.repairs-service-sidebar__price--free {
    color: #16a34a;
}

.repairs-service-sidebar__back {
    display: block;
    font-size: 13px;
    color: var(--rp-text-muted);
    text-decoration: none;
    padding-top: 12px;
    border-top: 1px solid var(--rp-border);
}

.repairs-service-sidebar__back:hover {
    color: var(--rp-blue);
}

/* Responsive */
@media (max-width: 900px) {
    .repairs-service-layout {
        grid-template-columns: 1fr;
    }

    .repairs-service-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .repairs-service-card-single {
        flex-direction: column;
    }

    .repairs-service-card-single__image {
        width: 100%;
        height: 260px;
    }

    .repairs-service-card-single__image img {
        width: 100%;
        height: 100% !important;
        object-fit: contain;
    }

    .repairs-service-card-single__info {
        padding: 28px 24px 32px;
    }

    .repairs-service-meta {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .repairs-service-card-single__image {
        height: 220px;
    }

    .repairs-service-card-single__info {
        padding: 20px 16px 24px;
    }

    .repairs-service-meta {
        grid-template-columns: 1fr;
    }

    .repairs-service-price__inc .repairs-service-price__amount {
        font-size: 28px;
    }
}

/* ============================================================
   BOOKING MODAL
   ============================================================ */

.repairs-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 16px
}

.repairs-modal.is-open {
    display: flex
}

.repairs-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px)
}

.repairs-modal__box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .22);
    width: 100%;
    max-width: 540px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 32px 28px 28px;
    animation: rmIn .22s cubic-bezier(.34, 1.56, .64, 1)
}

@keyframes rmIn {
    from {
        opacity: 0;
        transform: scale(.92) translateY(12px)
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0)
    }
}

/* Updated Close Button */
.repairs-modal__close {
    position: absolute;
    right: 16px;
    width: 16px;
    height: 16px;
    border: none;
    background: #f0f0f0;
    border-radius: 16px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: background .15s, color .15s
}

.repairs-modal__close:hover {
    background: #e0e0e0;
    color: #111
}

.repairs-modal__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
    padding-right: 32px
}

.repairs-modal__header svg {
    flex-shrink: 0;
    color: #2195CE
}

.repairs-modal__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 2px;
    line-height: 1.2;
    color: #1a1a1a
}

.repairs-modal__service-title {
    font-size: .88rem;
    color: #666;
    margin: 0;
    font-weight: 500
}

.repairs-modal__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px
}

.repairs-modal__field {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.repairs-modal__field--full {
    grid-column: 1/-1
}

.repairs-modal__field label {
    font-size: .82rem;
    font-weight: 600;
    color: #444;
    letter-spacing: .01em
}

.repairs-modal__field label span {
    color: #e44
}

.repairs-modal__field label small {
    font-weight: 400;
    color: #888
}

.repairs-modal__field input,
.repairs-modal__field textarea {
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: .93rem;
    color: #222;
    background: #fafafa;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
    width: 100%
}

.repairs-modal__field input:focus,
.repairs-modal__field textarea:focus {
    outline: none;
    border-color: #0073aa;
    background: #fff
}

/* Style for readonly inputs */
.repairs-modal__field input[readonly] {
    background-color: #f0f0f0;
    color: #666;
    cursor: not-allowed;
    border-color: #e2e2e2;
}

.repairs-modal__status {
    font-size: .9rem;
    min-height: 1.4em;
    margin-bottom: 14px;
    border-radius: 8px;
    padding: 0;
    transition: all .2s
}

.repairs-modal__status.is-success {
    color: #1a7a42;
    background: #edfaf2;
    padding: 10px 14px;
    border: 1px solid #b2e8c8
}

.repairs-modal__status.is-error {
    color: #b91c1c;
    background: #fef2f2;
    padding: 10px 14px;
    border: 1px solid #fecaca
}

.repairs-modal__footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px
}

.repairs-modal__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px 24px;
    font-size: .97rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .01em;
    transition: background .18s, transform .15s;
    font-family: inherit
}

.repairs-modal__submit:hover:not(:disabled) {
    color: #fff;
    background: #005f8a;
    transform: translateY(-1px)
}

.repairs-modal__submit:disabled {
    opacity: .65;
    cursor: not-allowed
}

.repairs-modal__disclaimer {
    text-align: center;
    font-size: .78rem;
    color: #888;
    margin: 0
}

@media (max-width: 768px) {
    .repairs-service-cta-wrap {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 10px;
    }

    .repairs-service-cta {
        justify-content: center;
    }

    .repairs-service-cta-divider {
        display: none;
    }
    
    .repairs-modal {
        padding: 8px;
    }

    .repairs-modal__field {
        gap: 0;
    }

    .repairs-modal__fields {
        grid-template-columns: 1fr;
        margin-bottom: 0px;
        gap: 0;
    }

    .repairs-modal__fields input{
        width: 100% !important;
    }

    .repairs-modal__box {
        padding: 20px 14px 20px;
    }
}