/**
 * Repair Alliance — Booking System Styles
 * Design tokens: Montserrat (headings), Nunito Sans (body/buttons), #7141B1 purple, #1a1a2e/#1c1842 dark, 10px border-radius
 */

/* ─── Reset & Base ─────────────────────────────────────────────────── */
.ra-booking-page {
    font-family: 'Nunito Sans', sans-serif;
    color: #1B1D21;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Kill ALL purple visited links across entire booking system */
.ra-booking-page a,
.ra-booking-page a:visited,
.ra-booking-page a:link {
    color: inherit;
}

.ra-booking-page a:visited {
    color: inherit !important;
}

.ra-booking-page *,
.ra-booking-page *::before,
.ra-booking-page *::after {
    box-sizing: border-box;
}

.ra-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Section Label ────────────────────────────────────────────────── */
.ra-section-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #7141B1;
    margin-bottom: 12px;
}

.ra-section-label.ra-label-dark {
    color: #7141B1;
}

/* ─── Hero Section (dark #1a1a2e) — 2-Column ──────────────────────── */
.ra-hero-section {
    background: #1a1a2e;
    padding: 50px 0 60px;
    color: #fff;
}

.ra-hero-section .ra-section-label {
    color: #7141B1;
}

.ra-hero-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.ra-hero-text {
    flex: 1;
    min-width: 0;
}

.ra-hero-image {
    flex: 0 0 auto;
    width: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ra-hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
}

/* ─── Device Hero Showcase (glow + reflection + float) ────────────── */
.ra-device-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-bottom: 80px;
}

/* Purple spotlight glow behind device */
.ra-device-showcase::before {
    content: '';
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(
        ellipse at center,
        rgba(113, 65, 177, 0.5) 0%,
        rgba(113, 65, 177, 0.3) 25%,
        rgba(113, 65, 177, 0.15) 45%,
        transparent 65%
    );
    border-radius: 50%;
    filter: blur(30px);
    z-index: 0;
    pointer-events: none;
}

.ra-device-showcase .ra-device-img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
    filter:
        brightness(1.3)
        drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5))
        drop-shadow(0 0 40px rgba(113, 65, 177, 0.3));
    animation: ra-float 6s ease-in-out infinite;
}

.ra-device-showcase .ra-device-reflection {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleY(-1);
    z-index: 1;
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
    opacity: 0.2;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 40%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 40%);
    filter: blur(2px) brightness(1.3);
    pointer-events: none;
}

@keyframes ra-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.ra-device-placeholder {
    width: 160px;
    max-height: 300px;
    opacity: 0.4;
}

.ra-device-placeholder svg {
    width: 100%;
    height: auto;
    max-height: 300px;
}

.ra-breadcrumb {
    font-size: 13px;
    margin-bottom: 30px;
}

.ra-breadcrumb a,
.ra-breadcrumb a:visited {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.ra-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.ra-breadcrumb span {
    margin: 0 6px;
    color: rgba(255,255,255,0.5);
}

.ra-hero-text h1,
.ra-hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.15;
    color: #fff !important;
}

.ra-hero-desc {
    font-size: 17px;
    line-height: 1.7;
    opacity: 0.85;
    max-width: 700px;
    margin: 0 0 24px;
}

/* Archive hero stat highlights (inside dark hero) */
.ra-hero-highlights {
    display: flex;
    gap: 32px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.ra-hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ra-hero-stat strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #7141B1;
}

.ra-hero-stat span {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.ra-hero-reviews {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ra-hero-rating {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.ra-hero-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.ra-hero-reviews-link {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-left: 4px;
}

.ra-hero-reviews-link:hover {
    color: #7141B1;
}

/* ─── About This Device Section (light) ────────────────────────────── */
.ra-about-section {
    background: #fff;
    padding: 60px 0;
}

.ra-about-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 16px;
    color: #1B1D21;
}

.ra-about-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 0 28px;
}

.ra-model-numbers {
    margin-bottom: 28px;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ra-model-numbers strong {
    color: #1B1D21;
    margin-right: 4px;
}

.ra-model-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #F0F1F4;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.5px;
}

.ra-common-issues {
    margin-bottom: 28px;
}

.ra-common-issues h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 14px;
    color: #1B1D21;
}

.ra-common-issues ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ra-common-issues ul li::before {
    display: none !important;
}

.ra-common-issues li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
    padding: 8px 0;
}

.ra-common-issues li i {
    color: #7141B1;
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.ra-part-table-wrap {
    margin-bottom: 28px;
    font-size: 14px;
    color: #555;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ra-part-table-wrap strong {
    display: block;
    color: #1B1D21;
    margin-bottom: 10px;
}

.ra-part-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
}

.ra-part-table th {
    background: #1B1D21;
    color: #fff;
    font-weight: 700;
    padding: 10px 14px;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ra-part-table th:first-child {
    border-radius: 4px 0 0 0;
}

.ra-part-table th:last-child {
    border-radius: 0 4px 0 0;
}

.ra-part-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #E8E9EC;
    color: #555;
}

.ra-part-table td:first-child {
    color: #1B1D21;
    font-weight: 600;
}

.ra-part-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 4px;
}

.ra-part-table tbody tr:last-child td:last-child {
    border-radius: 0 0 4px 0;
}

.ra-part-table tbody tr:hover td {
    background: #F8F9FA;
}

@media (max-width: 600px) {
    .ra-part-table {
        font-size: 11px;
    }
    .ra-part-table th,
    .ra-part-table td {
        padding: 8px 8px;
    }
}

.ra-about-links {
    margin-top: 8px;
}

.ra-about-links p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.ra-about-links a {
    color: #7141B1;
    text-decoration: none;
    font-weight: 600;
}

.ra-about-links a:hover {
    text-decoration: underline;
}

/* ─── Repair Cards Section (dark #1c1842) ──────────────────────────── */
.ra-repairs-section {
    background: #1c1842;
    padding: 60px 0;
    color: #fff;
}

.ra-repairs-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 8px;
    color: #fff !important;
}

.ra-repairs-section .ra-section-label {
    color: #7141B1;
}

.ra-repairs-section .ra-section-subtitle {
    color: rgba(255,255,255,0.7);
}

.ra-repairs-section .ra-section-subtitle strong {
    color: #fff;
}

.ra-section-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0 0 32px;
    max-width: 600px;
}

.ra-repair-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.ra-repair-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: rgba(255,255,255,0.06);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-align: center;
}

.ra-repair-card i {
    font-size: 28px;
    color: #7141B1;
    transition: transform 0.2s ease;
}

.ra-repair-card:hover {
    border-color: #7141B1;
    background: rgba(113,65,177,0.1);
}

.ra-repair-card:hover i {
    transform: scale(1.1);
}

.ra-repair-card.active {
    border-color: #7141B1;
    background: #7141B1;
    color: #fff;
}

.ra-repair-card.active i {
    color: #fff;
}

/* ─── Urgency / Booking Section (light) ────────────────────────────── */
.ra-booking-section {
    background: #ffffff;
    padding: 60px 0;
    color: #1B1D21;
}

.ra-booking-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 8px;
    color: #1B1D21 !important;
}

.ra-booking-section .ra-section-subtitle {
    color: #666;
}

/* Urgency state (before repair selected) */
.ra-urgency-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 0;
}

.ra-urgency-content h2 {
    color: #1B1D21 !important;
    margin-bottom: 28px;
}

.ra-urgency-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.ra-urgency-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    color: #333;
}

.ra-urgency-item i {
    color: #22c55e;
    font-size: 20px;
    flex-shrink: 0;
}

.ra-urgency-cta {
    font-size: 14px;
    color: #888;
    margin: 0 0 20px;
}

/* Fix theme overriding link colors on urgency button */
.ra-urgency-content .ra-btn.ra-btn-primary,
.ra-urgency-content .ra-btn.ra-btn-primary:visited,
.ra-urgency-content .ra-btn.ra-btn-primary:link {
    color: #fff !important;
    background: #7141B1 !important;
    text-decoration: none !important;
}

/* Booking form state (after repair selected) */
.ra-booking-form-state .ra-step-num {
    color: #1B1D21;
    background: rgba(0,0,0,0.08);
}

.ra-booking-form-state .ra-progress-step.active .ra-step-num {
    background: #7141B1;
    color: #fff;
}

.ra-booking-form-state .ra-progress-step.completed .ra-step-num {
    background: #7141B1;
    color: #fff;
}

.ra-booking-form-state .ra-step-label {
    color: #1B1D21;
}

.ra-booking-form-state .ra-progress-line {
    background: rgba(0,0,0,0.12);
}

/* Calendar on light bg */
.ra-booking-form-state .ra-calendar-wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.ra-booking-form-state .ra-cal-month {
    color: #1B1D21;
}

.ra-booking-form-state .ra-cal-nav {
    background: #F0F1F4;
    color: #1B1D21;
}

.ra-booking-form-state .ra-cal-nav:hover:not(:disabled) {
    background: #7141B1;
    color: #fff;
}

.ra-booking-form-state .ra-cal-day-name {
    color: #999;
}

.ra-booking-form-state .ra-cal-day-name.ra-cal-sunday {
    color: #ccc;
}

.ra-booking-form-state .ra-cal-day {
    background: #F5F7FA;
    color: #1B1D21;
    border-radius: 6px;
}

.ra-booking-form-state .ra-cal-day:hover:not(.ra-cal-disabled):not(.ra-cal-empty) {
    background: #7141B1;
    color: #fff;
}

.ra-booking-form-state .ra-cal-day.ra-cal-empty {
    background: transparent;
}

.ra-booking-form-state .ra-cal-day.ra-cal-disabled {
    background: transparent;
    color: #ccc;
}

.ra-booking-form-state .ra-cal-day.ra-cal-selected {
    background: #7141B1;
    color: #fff;
}

.ra-booking-form-state .ra-cal-day.ra-cal-today {
    border: 2px solid #7141B1;
}

.ra-booking-form-state .ra-cal-day.ra-cal-sunday {
    color: #ccc;
}

/* Time slots on light bg */
.ra-booking-form-state .ra-time-wrap h3 {
    color: #1B1D21;
}

.ra-booking-form-state .ra-time-btn {
    background: #fff;
    border: 2px solid #e5e7eb;
    color: #1B1D21;
    border-radius: 10px;
}

.ra-booking-form-state .ra-time-btn:hover {
    border-color: #7141B1;
    background: #f3edf9;
}

.ra-booking-form-state .ra-time-btn.active {
    background: #7141B1;
    border-color: #7141B1;
    color: #fff;
}

/* Form fields on light bg */
.ra-booking-form-state .ra-field label {
    color: #1B1D21;
}

.ra-booking-form-state .ra-field input,
.ra-booking-form-state .ra-field textarea {
    background: #fff;
    border: 2px solid #e5e7eb;
    color: #1B1D21;
    border-radius: 10px;
}

.ra-booking-form-state .ra-field input::placeholder,
.ra-booking-form-state .ra-field textarea::placeholder {
    color: #aaa;
}

.ra-booking-form-state .ra-field input:focus,
.ra-booking-form-state .ra-field textarea:focus {
    border-color: #7141B1;
}

/* Summary on light bg */
.ra-booking-form-state .ra-summary {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.ra-booking-form-state .ra-summary-row {
    border-bottom-color: #eee;
}

.ra-booking-form-state .ra-summary-label {
    color: #888;
}

.ra-booking-form-state .ra-summary-value {
    color: #1B1D21;
}

/* Buttons on light bg */
.ra-booking-form-state .ra-btn-ghost {
    border-color: rgba(0,0,0,0.2);
    color: #1B1D21;
}

.ra-booking-form-state .ra-btn-ghost:hover {
    border-color: #1B1D21;
}

/* Success on light bg */
.ra-booking-form-state .ra-success p {
    color: #555;
}

.ra-booking-form-state .ra-success-info {
    background: #F5F7FA;
    border-radius: 10px;
}

.ra-booking-form-state .ra-success-info p {
    color: #555;
}

/* Error on light bg */
.ra-booking-form-state .ra-error-message {
    border-radius: 10px;
}

/* ─── Progress Bar ─────────────────────────────────────────────────── */
.ra-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
    padding: 0 20px;
}

.ra-progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.ra-progress-step.active {
    opacity: 1;
}

.ra-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    border-radius: 50%;
}

.ra-progress-step.active .ra-step-num {
    background: #7141B1;
}

.ra-progress-step.completed .ra-step-num {
    background: #7141B1;
}

.ra-step-label {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.ra-progress-line {
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    margin: 0 12px;
}

/* ─── Calendar ─────────────────────────────────────────────────────── */
.ra-datetime-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.ra-calendar-wrap {
    background: rgba(255,255,255,0.06);
    padding: 24px;
    border-radius: 10px;
}

.ra-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ra-cal-month {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.ra-cal-nav {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    border-radius: 10px;
}

.ra-cal-nav:hover:not(:disabled) {
    background: #7141B1;
}

.ra-cal-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.ra-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.ra-cal-day-name {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    padding: 8px 0;
}

.ra-cal-day-name.ra-cal-sunday {
    color: rgba(255,255,255,0.2);
}

.ra-cal-day {
    text-align: center;
    padding: 10px 4px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    border-radius: 6px;
}

.ra-cal-day:hover:not(.ra-cal-disabled):not(.ra-cal-empty) {
    background: #7141B1;
}

.ra-cal-day.ra-cal-empty {
    background: transparent;
    cursor: default;
}

.ra-cal-day.ra-cal-disabled {
    opacity: 0.2;
    cursor: not-allowed;
    background: transparent;
}

.ra-cal-day.ra-cal-today {
    border: 2px solid #7141B1;
}

.ra-cal-day.ra-cal-selected {
    background: #7141B1;
    color: #fff;
}

.ra-cal-day.ra-cal-sunday {
    color: rgba(255,255,255,0.3);
}

/* ─── Time Slots ───────────────────────────────────────────────────── */
.ra-time-wrap h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #fff;
}

.ra-time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.ra-time-btn {
    padding: 12px 8px;
    background: rgba(255,255,255,0.08);
    border: 2px solid transparent;
    color: #fff;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
    border-radius: 10px;
}

.ra-time-btn:hover {
    border-color: #7141B1;
    background: rgba(113,65,177,0.15);
}

.ra-time-btn.active {
    background: #7141B1;
    border-color: #7141B1;
    color: #fff;
}

/* ─── Form Fields ──────────────────────────────────────────────────── */
.ra-form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
    max-width: 700px;
}

.ra-field-full {
    grid-column: 1 / -1;
}

.ra-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
}

.ra-required {
    color: #e63946;
}

.ra-optional {
    font-weight: 400;
    opacity: 0.6;
    font-size: 12px;
}

.ra-field input,
.ra-field textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.15);
    color: #fff;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 15px;
    transition: border-color 0.2s;
    border-radius: 10px;
}

.ra-field input::placeholder,
.ra-field textarea::placeholder {
    color: rgba(255,255,255,0.35);
}

.ra-field input:focus,
.ra-field textarea:focus {
    outline: none;
    border-color: #7141B1;
}

.ra-field input.ra-field-error,
.ra-field textarea.ra-field-error {
    border-color: #e63946;
}

/* ─── Address Lookup ───────────────────────────────────────────────── */
.ra-postcode-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.ra-postcode-row .ra-field {
    flex: 1;
}

.ra-postcode-row .ra-btn-find-address {
    height: 47px;
    padding: 0 20px;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 14px;
    margin-bottom: 0;
}

.ra-address-dropdown {
    grid-column: 1 / -1;
}

.ra-address-dropdown select {
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: 2px solid #e5e7eb;
    color: #1B1D21;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    border-radius: 10px;
    cursor: pointer;
    appearance: auto;
}

.ra-booking-form-state .ra-address-dropdown select {
    background: #fff;
    border: 2px solid #e5e7eb;
    color: #1B1D21;
}

.ra-booking-form-state .ra-address-dropdown select:focus {
    border-color: #7141B1;
    outline: none;
}

/* ─── Summary ──────────────────────────────────────────────────────── */
.ra-summary {
    background: rgba(255,255,255,0.06);
    padding: 24px;
    margin-bottom: 32px;
    max-width: 600px;
    border-radius: 10px;
}

.ra-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ra-summary-row:last-child {
    border-bottom: none;
}

.ra-summary-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
}

.ra-summary-value {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-align: right;
}

/* ─── Buttons ──────────────────────────────────────────────────────── */
.ra-step-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ra-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border-radius: 10px;
}

.ra-btn-primary {
    background: #7141B1;
    color: #fff;
}

.ra-btn-primary:hover:not(:disabled) {
    background: #5c2fa0;
}

.ra-btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ra-btn-ghost {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
}

.ra-btn-ghost:hover {
    border-color: #fff;
}

.ra-btn-submit {
    background: #7141B1;
    min-width: 200px;
    justify-content: center;
}

.ra-btn-submit:hover:not(:disabled) {
    background: #5c2fa0;
}

/* ─── Error Message ────────────────────────────────────────────────── */
.ra-error-message {
    background: rgba(230,57,70,0.15);
    border: 1px solid #e63946;
    color: #e63946;
    padding: 14px 20px;
    margin-top: 16px;
    font-size: 14px;
    max-width: 600px;
    border-radius: 10px;
}

/* ─── Success ──────────────────────────────────────────────────────── */
.ra-success {
    text-align: center;
    padding: 20px 0;
}

.ra-success-icon {
    font-size: 64px;
    color: #7141B1;
    margin-bottom: 20px;
}

.ra-success h2 {
    text-align: center;
}

.ra-success p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}

.ra-success-details {
    max-width: 500px;
    margin: 32px auto;
}

.ra-success-info {
    background: rgba(255,255,255,0.06);
    padding: 32px;
    margin-top: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    border-radius: 10px;
}

.ra-success-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #7141B1;
}

.ra-success-info p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.7;
}

.ra-success-info a {
    color: #7141B1;
    text-decoration: none;
    font-weight: 600;
}

/* ─── FAQ Section (dark #1a1a2e) ───────────────────────────────────── */
.ra-faq-section {
    background: #1a1a2e;
    padding: 60px 0;
    color: #fff;
}

.ra-faq-section .ra-section-label {
    color: #7141B1;
}

.ra-faq-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 32px;
    color: #fff !important;
}

.ra-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.ra-faq-item {
    background: rgba(255,255,255,0.06);
    padding: 24px;
    border-left: 4px solid #7141B1;
    border-radius: 10px;
}

.ra-faq-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}

.ra-faq-item p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    color: rgba(255,255,255,0.7);
}

/* ─── Google Map Section (light) ───────────────────────────────────── */
.ra-map-section {
    background: #fff;
    padding: 60px 0;
}

.ra-map-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 24px;
    color: #1B1D21 !important;
}

.ra-map-wrap {
    margin-bottom: 32px;
    border-radius: 10px;
    overflow: hidden;
}

.ra-map-wrap iframe {
    display: block;
    width: 100%;
    height: 400px;
}

.ra-map-info {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.ra-map-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.ra-map-info-item i {
    color: #7141B1;
    font-size: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.ra-map-info-item strong {
    color: #1B1D21;
}

.ra-map-info-item a {
    color: #7141B1;
    text-decoration: none;
    font-weight: 600;
}

.ra-map-info-item a:hover {
    text-decoration: underline;
}

/* ─── CTA Section (dark #1c1842) — Matches Service Pages ──────────── */
.ra-cta-section {
    background: #1c1842;
    padding: 70px 0;
    color: #fff;
}

.ra-cta-content {
    text-align: center;
}

.ra-cta-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #7141B1;
    margin-bottom: 12px;
}

.ra-cta-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 30px;
    margin: 0 0 12px;
    color: #fff !important;
}

.ra-cta-address {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    margin: 0 0 32px;
}

.ra-cta-address strong {
    color: #fff;
    font-weight: 700;
}

.ra-reviews-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.ra-reviews-google-text {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-left: 4px;
}

.ra-reviews-rating {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.ra-reviews-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.ra-reviews-link {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-left: 4px;
}

.ra-reviews-link:hover {
    color: #7141B1;
}

.ra-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ra-cta-call-btn {
    background-color: #7141B1 !important;
    border-radius: 10px !important;
    color: #fff !important;
    padding: 16px 32px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 28px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none !important;
}

.ra-cta-call-btn:hover {
    background-color: #5c2fa0 !important;
    color: #fff !important;
}

.ra-cta-book-btn {
    background: transparent !important;
    border: 2px solid rgba(255,255,255,0.2) !important;
    border-radius: 10px !important;
    color: #fff !important;
    padding: 16px 32px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 28px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none !important;
}

.ra-cta-book-btn:hover {
    border-color: #fff !important;
    color: #fff !important;
}

/* ─── Search (Archive Page) ────────────────────────────────────────── */
.ra-search-section {
    background: #fff;
    padding: 48px 0 32px;
}

.ra-search-wrap {
    max-width: 700px;
    margin: 0 auto;
}

.ra-search-input-wrap {
    position: relative;
}

.ra-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
    pointer-events: none;
}

.ra-search-input {
    width: 100%;
    padding: 16px 20px 16px 56px !important;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: #fff;
    transition: border-color 0.2s;
}

.ra-search-input:focus {
    outline: none;
    border-color: #7141B1;
}

.ra-search-help {
    font-size: 13px;
    color: #888;
    margin: 12px 0 0;
    text-align: center;
}

.ra-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #7141B1;
    border-top: none;
    border-radius: 0 0 10px 10px;
    z-index: 100;
    max-height: 320px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.ra-search-result {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    text-decoration: none;
    color: #1B1D21;
    transition: background 0.15s;
    border-bottom: 1px solid #eee;
}

.ra-search-result:last-child {
    border-bottom: none;
}

.ra-search-result:hover {
    background: #f3edf9;
}

.ra-search-result i {
    color: #7141B1;
    font-size: 20px;
}

.ra-search-result-thumb {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f7fa;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ra-search-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ra-search-result strong {
    display: block;
    font-size: 15px;
}

.ra-search-brand {
    font-size: 12px;
    color: #999;
}

.ra-search-empty {
    padding: 20px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* ─── Archive Intro (Local SEO) ────────────────────────────────────── */
/* ─── Brand Grid (Archive) ─────────────────────────────────────────── */
.ra-brands-section {
    background: #F5F7FA;
    padding: 48px 0;
}

.ra-brands-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 24px;
}

.ra-brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.ra-brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 28px 20px;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 10px;
    text-decoration: none;
    color: #1B1D21;
    transition: all 0.2s;
}

.ra-brand-card:hover {
    border-color: #7141B1;
    color: #1B1D21;
}

.ra-brand-name {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.ra-brand-count {
    font-size: 13px;
    color: #999;
}

/* ─── Device List (Archive) ────────────────────────────────────────── */
.ra-devices-section {
    background: #fff;
    padding: 48px 0 60px;
}

.ra-brand-group {
    margin-bottom: 40px;
}

.ra-brand-group:last-child {
    margin-bottom: 0;
}

.ra-brand-group h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #7141B1;
    display: inline-block;
}

.ra-device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 10px;
}

.ra-device-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #F5F7FA;
    text-decoration: none;
    color: #1B1D21;
    transition: all 0.2s;
    border: 2px solid transparent;
    border-radius: 10px;
}

.ra-device-card:visited {
    color: #1B1D21;
}

.ra-device-card:hover {
    border-color: #7141B1;
    background: #f3edf9;
    color: #1B1D21;
}

.ra-device-thumb {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.ra-device-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ra-device-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    flex-shrink: 0;
}

.ra-device-icon i {
    font-size: 20px;
    color: #7141B1;
}

.ra-device-info {
    flex: 1;
    min-width: 0;
}

.ra-device-name {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

.ra-device-type {
    display: block;
    font-size: 12px;
    color: #999;
}

.ra-device-arrow {
    color: #ccc;
    font-size: 14px;
    transition: color 0.2s;
}

.ra-device-card:hover .ra-device-arrow {
    color: #7141B1;
}

.ra-no-devices {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

/* ─── Mobile Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .ra-hero-grid {
        flex-direction: column;
        gap: 30px;
    }

    .ra-hero-image {
        width: 100%;
        max-width: 250px;
    }

    .ra-device-showcase::before {
        width: 300px;
        height: 300px;
    }

    .ra-device-showcase .ra-device-img,
    .ra-device-showcase .ra-device-reflection {
        max-height: 260px;
    }

    .ra-hero-text h1 {
        font-size: 28px;
    }

    .ra-hero-desc {
        font-size: 15px;
    }

    .ra-about-section h2 {
        font-size: 24px;
    }

    .ra-common-issues ul {
        grid-template-columns: 1fr;
    }

    .ra-repair-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .ra-repair-card {
        padding: 18px 12px;
        font-size: 12px;
    }

    .ra-repair-card i {
        font-size: 22px;
    }

    .ra-datetime-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ra-time-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ra-form-fields {
        grid-template-columns: 1fr;
    }

    .ra-faq-grid {
        grid-template-columns: 1fr;
    }

    .ra-progress {
        padding: 0;
    }

    .ra-step-label {
        display: none;
    }

    .ra-progress-line {
        width: 20px;
        margin: 0 4px;
    }

    .ra-step-actions {
        flex-wrap: wrap;
    }

    .ra-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .ra-map-wrap iframe {
        height: 300px;
    }

    .ra-map-info {
        flex-direction: column;
        gap: 20px;
    }

    .ra-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .ra-cta-buttons .ra-btn {
        justify-content: center;
    }

    .ra-hero-highlights {
        gap: 20px;
    }

    .ra-hero-stat strong {
        font-size: 18px;
    }

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

    .ra-device-grid {
        grid-template-columns: 1fr;
    }

    .ra-brands-section h2,
    .ra-faq-section h2,
    .ra-cta-content h2,
    .ra-repairs-section h2,
    .ra-map-section h2 {
        font-size: 24px;
    }

    .ra-booking-section h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .ra-repair-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .ra-hero-text h1 {
        font-size: 24px;
    }
}

/* ─── Engitech Theme Overrides ─────────────────────────────────────── */
.ra-booking-page .entry-content {
    padding-top: 0 !important;
}

/* Remove default page header (pheader) for booking pages */
.single-ra_device .page-header,
.single-ra_device .pheader,
.single-ra_device #pheader,
.single-ra_device .page-title-area,
.post-type-archive-ra_device .page-header,
.post-type-archive-ra_device .pheader,
.post-type-archive-ra_device #pheader,
.post-type-archive-ra_device .page-title-area {
    display: none !important;
}

/* Ensure full-width sections break out of any container */
.ra-hero-section,
.ra-about-section,
.ra-search-section,
.ra-brands-section,
.ra-repairs-section,
.ra-booking-section,
.ra-faq-section,
.ra-map-section,
.ra-cta-section,
.ra-devices-section {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
}

/* Grid pattern removed - not used on RA */

.ra-about-section > .ra-container,
.ra-booking-section > .ra-container,
.ra-map-section > .ra-container {
    position: relative;
    z-index: 1;
}
