/* ====================================================================
   EUROTYRE Pro - Signature European Automotive Theme
   Precision Engineering, Cyber Euro-Blue & Racing Gold Accents
   ==================================================================== */

:root {
    --euro-primary: #f59e0b;       /* Racing Gold */
    --euro-primary-hover: #d97706;
    --euro-blue: #1d4ed8;          /* Euro Cobalt Blue */
    --euro-blue-light: #3b82f6;
    --euro-dark: #070b14;          /* Deep Obsidian Asphalt */
    --euro-dark-surface: #0f172a;  /* Dark Blue-Gray Card */
    --euro-dark-elevated: #1e293b;
    --euro-border: #334155;
    --euro-border-glow: rgba(59, 130, 246, 0.3);
    --euro-cyan: #06b6d4;
    --euro-success: #10b981;
    --euro-danger: #ef4444;
    --euro-gray-bg: #f8fafc;
    --euro-plate-bg: #fde047;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
    background-color: var(--euro-gray-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

/* Unique Topbar & Header Livery */
.topbar-micro {
    background: #050811;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.5rem 0;
    font-size: 0.8rem;
    color: #94a3b8;
}

.pulse-beacon {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.navbar-unique-euro {
    background: rgba(7, 11, 20, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    padding: 0.9rem 0;
    transition: all 0.3s ease;
}

/* Unique Brand Mark */
.navbar-brand-euro {
    font-weight: 900;
    font-size: 1.45rem;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.euro-star-badge {
    background: linear-gradient(135deg, #1e40af 0%, #0284c7 100%);
    color: #fde047;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 0 16px rgba(37, 99, 235, 0.45);
    border: 1px solid rgba(253, 224, 71, 0.4);
    position: relative;
    overflow: hidden;
}

.brand-meta-sub {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #64748b;
    display: block;
    line-height: 1;
    margin-top: 1px;
}

.nav-link-euro {
    color: #cbd5e1 !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.55rem 0.95rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link-euro:hover, .nav-link-euro.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 12px rgba(245, 158, 11, 0.08);
}

.nav-chip-ai {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #000000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.btn-nav-scanner {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #0b0f19 !important;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 0.55rem 1.15rem;
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.25s ease;
}

.btn-nav-scanner:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    color: #000000 !important;
}

.btn-nav-book {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-nav-book:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.brand-text-euro {
    color: #ffffff;
    font-weight: 800;
}

.brand-text-tyre {
    color: var(--euro-primary);
    font-weight: 900;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--euro-primary) !important;
}

/* Hero Section with Euro Automotive Backdrop */
.hero-section {
    background:
        linear-gradient(135deg, rgba(5, 8, 17, 0.75) 0%, rgba(8, 15, 29, 0.68) 42%, rgba(6, 13, 24, 0.8) 100%),
        url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat,
        radial-gradient(circle at 85% 15%, rgba(30, 64, 175, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 10% 85%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        linear-gradient(145deg, #050811 0%, #0d1527 60%, #070b14 100%);
    color: #ffffff;
    padding: 5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.hero-badge-euro {
    background: rgba(30, 64, 175, 0.28);
    color: rgba(147, 197, 253, 0.9);
    border: 1px solid rgba(147, 197, 253, 0.25);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.26);
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.hero-lead {
    font-size: 1.15rem;
    color: rgba(226, 232, 240, 0.8);
    max-width: 600px;
    line-height: 1.65;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

/* Glassmorphism Hero Card */
.hero-glass-card {
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 1.25rem;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 25px rgba(37, 99, 235, 0.15);
}

/* Scanner Drop Zone */
.scanner-dropzone {
    border: 2px dashed #475569;
    background: #ffffff;
    border-radius: 1rem;
    padding: 2.25rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.scanner-dropzone:hover, .scanner-dropzone.dragover {
    border-color: var(--euro-primary);
    background-color: #fffbeb;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.18);
}

.scanner-icon-bubble {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fef3c7;
    color: #d97706;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: transform 0.25s ease;
}

.scanner-dropzone:hover .scanner-icon-bubble {
    transform: scale(1.1);
}

.scanner-preview-wrapper {
    max-height: 320px;
    border-radius: 0.75rem;
    overflow: hidden;
    position: relative;
    background: #000000;
}

.scanner-preview-wrapper img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    display: block;
}

.scanner-reticle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 82%;
    height: 62%;
    border: 2px dashed rgba(245, 158, 11, 0.95);
    border-radius: 8px;
    pointer-events: none;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.45);
}

.reticle-label {
    position: absolute;
    top: 8px;
    left: 12px;
    background: rgba(245, 158, 11, 0.95);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Brand Ticker Ribbon */
/* ====================================================================
   3D Interactive Animated Tyre Showcase (Hero Stage)
   ==================================================================== */
.tyre-3d-stage {
    perspective: 1200px;
    position: relative;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tyre-3d-container {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
}

.tyre-3d-wrapper {
    position: relative;
    width: 88%;
    height: 88%;
    transform-style: preserve-3d;
    animation: tyreFloat3D 5s ease-in-out infinite alternate;
}

.tyre-3d-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 30px rgba(37, 99, 235, 0.35));
    animation: tyreRollingRotation 16s linear infinite;
    user-select: none;
    pointer-events: none;
}

@keyframes tyreRollingRotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes tyreFloat3D {
    0% {
        transform: translateY(0px) rotateY(-12deg) rotateX(6deg);
    }
    50% {
        transform: translateY(-16px) rotateY(10deg) rotateX(-5deg);
    }
    100% {
        transform: translateY(0px) rotateY(-12deg) rotateX(6deg);
    }
}

/* Hologram laser scanner beam running over the tyre */
.tyre-3d-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, transparent 0%, rgba(245, 158, 11, 0.85) 50%, #06b6d4 80%, transparent 100%);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.9), 0 0 24px rgba(6, 182, 212, 0.8);
    border-radius: 9999px;
    pointer-events: none;
    animation: scanLineSweep 3.5s ease-in-out infinite;
    z-index: 5;
}

/* Showroom Turntable Glowing Base */
.tyre-3d-pedestal {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) rotateX(75deg);
    width: 80%;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.5) 0%, rgba(245, 158, 11, 0.25) 45%, transparent 70%);
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.4), inset 0 0 30px rgba(245, 158, 11, 0.3);
    border: 2px dashed rgba(56, 189, 248, 0.3);
    pointer-events: none;
    animation: pedestalPulse 4s ease-in-out infinite alternate;
}

/* Floating 3D Info Badges */
.tyre-badge-float {
    position: absolute;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.45rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45), 0 0 12px rgba(37, 99, 235, 0.25);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    pointer-events: auto;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.tyre-badge-float:hover {
    transform: scale(1.06);
    border-color: var(--euro-primary);
    color: var(--euro-primary);
}

.tyre-badge-top-right {
    top: 8%;
    right: -5%;
}

.tyre-badge-bottom-left {
    bottom: 12%;
    left: -5%;
}

.tyre-badge-bottom-right {
    bottom: 4%;
    right: 2%;
}

/* 3D Stage Interactive Controls */
.tyre-3d-controls {
    display: flex;
    gap: 8px;
    margin-top: 1.5rem;
    z-index: 10;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-3d-ctrl {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-3d-ctrl:hover, .btn-3d-ctrl.active {
    background: rgba(245, 158, 11, 0.25);
    border-color: var(--euro-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Keyframe animations */
@keyframes tyreFloatAndWobble {
    0% {
        transform: translateY(0px) rotateY(-8deg) rotateX(4deg);
    }
    50% {
        transform: translateY(-14px) rotateY(12deg) rotateX(-6deg);
    }
    100% {
        transform: translateY(0px) rotateY(-8deg) rotateX(4deg);
    }
}

@keyframes tyreContinuousSpin {
    from {
        transform: rotateZ(0deg);
    }
    to {
        transform: rotateZ(360deg);
    }
}

@keyframes scanLineSweep {
    0% {
        top: 5%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        top: 92%;
        opacity: 0;
    }
}

@keyframes pedestalPulse {
    0% {
        box-shadow: 0 0 35px rgba(37, 99, 235, 0.3);
        transform: translateX(-50%) rotateX(75deg) scale(0.96);
    }
    100% {
        box-shadow: 0 0 65px rgba(37, 99, 235, 0.55), 0 0 25px rgba(245, 158, 11, 0.35);
        transform: translateX(-50%) rotateX(75deg) scale(1.04);
    }
}

.brand-ticker-bar {
    background: #0b1120;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
    padding: 1.25rem 0;
}

.brand-ticker-content {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem 1.25rem;
}

.brand-ticker-label {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

.brand-ticker-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}

.brand-ticker-pill {
    font-weight: 800;
    letter-spacing: 0;
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 0;
    padding: 0.5rem 0.45rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.brand-ticker-pill:hover {
    color: #ffffff;
    border-color: var(--euro-primary);
    transform: translateY(-2px);
}

.quick-lookup-section {
    background:
        radial-gradient(ellipse at 8% 0%, rgba(245, 158, 11, 0.09), transparent 38%),
        linear-gradient(135deg, #f1f5f9, #ffffff 54%, #f8fafc);
}

.quick-lookup-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.35rem;
}

.quick-lookup-icon {
    flex: 0 0 3.4rem;
    width: 3.4rem;
    height: 3.4rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 1rem;
    background: linear-gradient(145deg, #fff7e0, #ffffff);
    color: #b45309;
    font-size: 1.55rem;
    box-shadow: 0 8px 20px rgba(180, 83, 9, 0.1);
}

.quick-lookup-kicker {
    display: block;
    margin-bottom: 0.15rem;
    color: #a16207;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.quick-lookup-heading h2 {
    color: #172033;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    letter-spacing: -0.035em;
}

.quick-lookup-form {
    position: relative;
    margin: 0;
    padding: clamp(0.75rem, 2.2vw, 1.5rem);
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.1);
}

.quick-lookup-form-banner {
    position: relative;
    display: flex;
    min-height: 7rem;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    margin-bottom: 0.3rem;
    padding: 1.3rem clamp(1.15rem, 3vw, 2rem);
    border-radius: 1rem;
    background:
        radial-gradient(circle at 88% 28%, rgba(245, 158, 11, 0.22), transparent 18%),
        linear-gradient(115deg, #111827 0%, #1e293b 62%, #26364c 100%);
    color: #fff;
}

.quick-lookup-form-banner::after {
    position: absolute;
    right: 4.5rem;
    bottom: -3.5rem;
    width: 12rem;
    height: 12rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow: 0 0 0 1rem rgba(255, 255, 255, 0.025), 0 0 0 2rem rgba(255, 255, 255, 0.02);
    content: "";
    pointer-events: none;
}

.quick-lookup-form-eyebrow {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: #fbbf24;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.quick-lookup-form-banner h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.quick-lookup-form-banner p {
    margin: 0.25rem 0 0;
    color: #cbd5e1;
    font-size: 0.86rem;
}

.quick-lookup-form-mark {
    z-index: 1;
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    flex: 0 0 3.5rem;
    place-items: center;
    margin-right: 0.6rem;
    border: 1px solid rgba(251, 191, 36, 0.55);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.08);
    color: #fbbf24;
    font-size: 1.8rem;
    transform: rotate(-12deg);
}

.quick-lookup-form .form-label {
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.quick-lookup-field {
    --field-accent: #b45309;
}

.quick-lookup-field--profile {
    --field-accent: #2563eb;
}

.quick-lookup-field--diameter {
    --field-accent: #7c3aed;
}

.quick-lookup-field--load {
    --field-accent: #0891b2;
}

.quick-lookup-field--speed {
    --field-accent: #059669;
}

.quick-lookup-field--brand {
    --field-accent: #db2777;
}

.quick-lookup-field-label {
    display: flex;
    min-height: 2.5rem;
    align-items: center;
    gap: 0.55rem;
}

.quick-lookup-field-icon {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--field-accent) 22%, white);
    border-radius: 0.65rem;
    background: color-mix(in srgb, var(--field-accent) 9%, white);
    color: var(--field-accent);
    font-size: 0.92rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.quick-lookup-field:focus-within .quick-lookup-field-icon {
    background: color-mix(in srgb, var(--field-accent) 15%, white);
    transform: translateY(-1px);
}

.quick-lookup-field-label small {
    display: block;
    margin-top: 0.12rem;
    color: #94a3b8;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.035em;
}

.quick-lookup-form .form-select,
.quick-lookup-form .form-control {
    min-height: 3rem;
    border-color: #d7dee8;
    border-radius: 0.95rem;
    background-color: #f9fbfd;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.025);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.quick-lookup-form .form-select:focus,
.quick-lookup-form .form-control:focus {
    border-color: #e9a20b;
    background-color: #fff;
    box-shadow: 0 0 0 0.22rem rgba(245, 158, 11, 0.16);
}

.quick-lookup-form textarea.form-control {
    min-height: 4rem;
    border-radius: 0.9rem;
}

.quick-lookup-form .btn-group {
    gap: 0.4rem;
}

.quick-lookup-form .btn-group > .btn {
    border-radius: 999px !important;
    padding: 0.42rem 0.9rem;
}

.quick-lookup-form .btn-group > .btn-outline-secondary {
    border-color: #d7dee8;
    background: #f9fbfd;
}

.quick-lookup-form .btn-group > .btn-outline-secondary:hover {
    border-color: #e9a20b;
    background: #fff7e0;
    color: #854d0e;
}

.quick-lookup-form .btn-check:checked + .btn-outline-secondary {
    border-color: #475569;
    background: #475569;
    color: #fff;
}

.quick-lookup-form .form-check-input:checked {
    border-color: #b45309;
    background-color: #b45309;
}

.quick-lookup-form .btn-warning {
    min-height: 2.8rem;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(217, 119, 6, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-lookup-form .btn-warning:hover {
    box-shadow: 0 9px 18px rgba(217, 119, 6, 0.28);
    transform: translateY(-1px);
}

.quick-lookup-form .btn-outline-dark {
    min-height: 2.8rem;
    border-radius: 999px;
}

@media (max-width: 991.98px) {
    .brand-ticker-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.65rem;
    }

    .brand-ticker-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .quick-lookup-heading {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .quick-lookup-icon {
        flex-basis: 2.85rem;
        width: 2.85rem;
        height: 2.85rem;
        border-radius: 0.8rem;
        font-size: 1.3rem;
    }

    .quick-lookup-form .btn-group {
        display: flex;
        flex-wrap: wrap;
    }

    .quick-lookup-form-banner {
        min-height: 6.4rem;
        padding: 1rem;
    }

    .quick-lookup-form-banner p {
        max-width: 19rem;
        font-size: 0.78rem;
    }

    .quick-lookup-form-mark {
        width: 2.7rem;
        height: 2.7rem;
        flex-basis: 2.7rem;
        margin-right: 0.15rem;
        font-size: 1.4rem;
    }

    .brand-ticker-bar {
        padding: 0.85rem 0;
    }

    .brand-ticker-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .brand-ticker-pill {
        font-size: 0.72rem;
        gap: 0.3rem;
        padding: 0.48rem 0.25rem;
        justify-content: flex-start;
    }

    .brand-ticker-pill i {
        flex: 0 0 0.9rem;
        text-align: center;
    }
}

.tyre-brands-heading {
    position: relative;
    width: fit-content;
    max-width: 100%;
    padding: 0.2rem 0 0.7rem 1rem;
    border-left: 4px solid var(--euro-primary);
}

.tyre-brands-heading::after {
    position: absolute;
    bottom: 0;
    left: 1rem;
    width: 3.5rem;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--euro-primary), var(--euro-blue));
    content: "";
}

.tyre-brands-heading-kicker {
    display: block;
    margin-bottom: 0.3rem;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.tyre-brands-heading h2 {
    color: #172033;
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    font-weight: 850;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.tyre-brand-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.75rem 0.5rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}

.tyre-brand-item {
    min-width: 0;
    min-height: 4.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
}

.tyre-brand-item img {
    display: block;
    width: 100%;
    max-width: 138px;
    height: 48px;
    object-fit: contain;
}

.tyre-brand-item span {
    color: #172033;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.2;
}

@media (max-width: 991.98px) {
    .tyre-brand-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .tyre-brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem 0.35rem;
        padding: 0.75rem 0.5rem;
    }

    .tyre-brand-item {
        min-height: 4rem;
    }
}

/* Service Card Design */
.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.15rem;
    padding: 2rem 1.75rem;
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1d4ed8, #f59e0b);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.service-card:hover::before {
    opacity: 1;
}

.workshop-service-card {
    padding: 0;
}

.workshop-service-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-bottom: 1px solid #e2e8f0;
}

.workshop-service-card .service-icon-box,
.workshop-service-card h4,
.workshop-service-card p,
.workshop-service-card .border-top {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
}

.workshop-service-card .service-icon-box {
    margin-top: -28px;
    position: relative;
    background: #ffffff;
}

.workshop-service-card h4 {
    font-size: 1.1rem;
}

.workshop-service-card .border-top {
    margin-bottom: 1.25rem;
}

.service-price {
    color: var(--euro-blue);
    font-size: 0.8rem;
    font-weight: 700;
}

.labour-rate-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
}

.labour-rate-card .service-icon-box {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.labour-rate-price {
    color: var(--euro-blue);
    font-size: 1.05rem;
    font-weight: 700;
}

@media (min-width: 1200px) {
    .labour-rate-grid > [class*='col-'] {
        flex: 0 0 20%;
        max-width: 20%;
    }

    .labour-rate-card {
        padding: 1.15rem;
    }
}

.service-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: var(--euro-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: transform 0.25s ease;
}

.service-card:hover .service-icon-box {
    transform: scale(1.08) rotate(3deg);
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    color: #ffffff;
}

#tyre-services .service-card {
    min-height: 100px;
    flex-direction: row;
    padding: 1.25rem;
    cursor: pointer;
}

#tyre-services .service-card:has(input:checked) {
    border-color: #f59e0b;
    background: #fffbeb;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

#tyre-services .service-card:focus-within {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

@media (max-width: 575.98px) {
    #tyre-services .tyre-category-card {
        min-height: 110px;
        flex-direction: column;
        justify-content: center;
        padding: 0.6rem 0.2rem;
        text-align: center;
    }

    #tyre-services .tyre-category-card .form-check-input {
        width: 0.8rem;
        height: 0.8rem;
        margin: 0.45rem !important;
    }

    #tyre-services .tyre-category-content {
        flex-direction: column !important;
        gap: 0.4rem !important;
        width: 100%;
        margin-top: 0 !important;
    }

    #tyre-services .tyre-category-content .service-icon-box {
        width: 40px;
        height: 40px;
        border-radius: 11px;
        font-size: 1.15rem;
    }

    #tyre-services .tyre-category-content > .fw-bold {
        padding-right: 0 !important;
        font-size: 0.68rem;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }
}

.service-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    align-self: flex-start;
    margin-bottom: 0.75rem;
}

@media (max-width: 575.98px) {
    #maintenance .row > [class*='col-'] > a {
        min-height: 104px;
        flex-direction: column;
        align-items: center !important;
        justify-content: center;
        gap: 0.3rem !important;
        padding: 0.55rem 0.25rem !important;
        text-align: center;
    }

    #maintenance .row > [class*='col-'] > a > i {
        flex: 0 0 auto;
        font-size: 0.95rem;
        line-height: 1;
    }

    #maintenance .row > [class*='col-'] > a > span {
        font-size: 0.64rem;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }
}

@media (min-width: 992px) {
    #services .service-card {
        padding: 1.25rem;
    }

    #services .service-card .service-icon-box {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        margin-bottom: 0.9rem;
    }

    #services .service-card h4 {
        font-size: 1.12rem;
        line-height: 1.25;
    }

    #services .service-card p,
    #services .service-card li {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    #services .service-card .border-top {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.65rem;
    }

    #services .service-card .border-top .btn {
        width: 100%;
    }
}

@media (min-width: 1200px) {
    #services .workshop-service-grid > [class*='col-'] {
        flex: 0 0 20%;
        max-width: 20%;
    }

    #services .workshop-service-image {
        height: 105px;
    }

    #services .workshop-service-card .service-icon-box {
        width: 40px;
        height: 40px;
        margin-top: -20px;
        margin-bottom: 0.45rem;
        font-size: 1.1rem;
    }

    #services .workshop-service-card h4 {
        margin-bottom: 0.3rem !important;
        font-size: 0.98rem;
    }

    #services .workshop-service-card p {
        margin-bottom: 0.5rem !important;
        font-size: 0.74rem;
        line-height: 1.32;
    }

    #services .workshop-service-card .border-top {
        gap: 0.4rem;
        margin-bottom: 0.7rem;
        padding-top: 0.55rem !important;
    }

    #services .workshop-service-card .service-price,
    #services .workshop-service-card .btn {
        font-size: 0.72rem;
    }

    #services .workshop-service-card .btn {
        padding: 0.35rem 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .service-card {
        min-height: 100%;
        padding: 1rem;
    }

    #services .workshop-service-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.75rem;
        padding-bottom: 0.35rem;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0.25rem;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    #services .workshop-service-grid > [class*='col-'] {
        flex: 0 0 88%;
        max-width: 88%;
        scroll-snap-align: start;
    }

    #services .workshop-service-grid::-webkit-scrollbar {
        display: none;
    }

    #services .workshop-service-card {
        min-height: 100%;
        padding: 0;
        text-align: left;
    }

    #services .workshop-service-card::before {
        display: none;
    }

    #services .workshop-service-card .workshop-service-image {
        display: block;
        height: 180px;
    }

    #services .workshop-service-card .service-icon-box {
        display: inline-flex;
        margin-top: -22px;
        margin-bottom: 0.65rem;
    }

    #services .workshop-service-card h4 {
        margin-left: 1.25rem;
        margin-right: 1.25rem;
        font-size: 1rem;
        line-height: 1.25;
    }

    #services .workshop-service-card p {
        display: block;
        margin-left: 1.25rem;
        margin-right: 1.25rem;
        font-size: 0.76rem;
        line-height: 1.45;
    }

    #services .workshop-service-card .border-top {
        margin: 0 1.25rem 1.25rem;
        padding-top: 0.8rem !important;
    }

    #services .workshop-service-card .service-price {
        font-size: 0.75rem;
    }

    #services .workshop-service-card .btn {
        font-size: 0.68rem;
        line-height: 1.15;
        padding: 0.4rem 0.55rem;
    }

    #services .labour-rates .row {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    #services .labour-rate-card {
        padding: 0.8rem;
    }

    #services .labour-rate-card .service-icon-box {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin-bottom: 0.7rem;
    }

    #services .labour-rate-card h4 {
        font-size: 0.78rem;
        line-height: 1.25;
    }

    #services .labour-rate-price {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    #services .labour-rate-card .small {
        font-size: 0.62rem;
        line-height: 1.35;
    }
}

/* Step-by-Step Workflow Cards */
.step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    position: relative;
    text-align: center;
    height: 100%;
    transition: all 0.2s ease;
}

.step-card:hover {
    border-color: var(--euro-blue-light);
    box-shadow: 0 12px 24px -6px rgba(37, 99, 235, 0.1);
    transform: translateY(-4px);
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--euro-dark);
    color: var(--euro-primary);
    font-weight: 800;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 2px solid var(--euro-primary);
}

@media (max-width: 767.98px) {
    .step-process-row {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -0.35rem;
    }

    .step-process-col {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 0.35rem;
    }

    .step-card {
        padding: 1.2rem 0.8rem;
        min-height: 240px;
    }

    .step-card h5 {
        font-size: 1rem;
        line-height: 1.3;
    }

    .step-card p {
        font-size: 0.72rem;
        line-height: 1.45;
    }
}

/* Vehicle Model Fast Search Chips */
.vehicle-chip {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    border-radius: 9999px;
    padding: 0.5rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.vehicle-chip:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

@media (max-width: 575.98px) {
    #vehicleFitments .d-flex.max-w-900 {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem !important;
    }

    #vehicleFitments .vehicle-chip {
        justify-content: center;
        min-width: 0;
        padding: 0.45rem 0.35rem;
        font-size: 0.68rem;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

/* Homepage tyre brand tiers */
.brand-tier-card {
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top-width: 4px;
    border-radius: 1.15rem;
}

.brand-tier-premium {
    border-top-color: #f59e0b;
}

.brand-tier-quality {
    border-top-color: #2563eb;
}

.brand-tier-budget {
    border-top-color: #16a34a;
}

.brand-tier-title {
    margin: 0 0 1rem;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 800;
}

.brand-tier-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.brand-tier-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #334155;
    font-size: 0.875rem;
    line-height: 1.3;
}

/* Tyre Product Cards */
.tyre-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.15rem;
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tyre-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.08);
}

.tyre-card.out-of-stock {
    opacity: 0.8;
    background: #fafafa;
}

.tyre-badge-size {
    font-family: monospace;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    background: #0f172a;
    color: #f8fafc;
    padding: 0.3rem 0.75rem;
    border-radius: 0.4rem;
    display: inline-block;
}

.tyre-price {
    font-size: 1.85rem;
    font-weight: 900;
    color: #0f172a;
}

/* UK / European License Plate */
.reg-plate {
    display: inline-flex;
    align-items: center;
    background: var(--euro-plate-bg);
    color: #000000;
    font-family: "Lucida Console", Monaco, monospace, sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    border: 2px solid #000000;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 2px 4px rgba(0, 0, 0, 0.15);
}

.reg-plate .gb-flag {
    background: #1d4ed8;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0 4px;
    margin-right: 8px;
    border-radius: 3px;
    letter-spacing: 0;
}

/* Buttons */
.btn-euro-primary, .btn-tyre-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: #000000;
    font-weight: 800;
    padding: 0.7rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.btn-euro-primary:hover, .btn-euro-primary:focus,
.btn-tyre-primary:hover, .btn-tyre-primary:focus {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.btn-euro-blue {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    border: none;
    color: #ffffff;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.25s ease;
}

.btn-euro-blue:hover {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

/* Emergency Hotline Ribbon */
.emergency-hotline-ribbon {
    background: linear-gradient(90deg, #b91c1c 0%, #dc2626 50%, #991b1b 100%);
    color: #ffffff;
    padding: 0.75rem 0;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Stat & Diagnostic Cards */
.stat-card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    transition: transform 0.15s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.admin-dashboard {
    background: #f3f5f7 !important;
    color: #1f2933;
}

.admin-dashboard .admin-topbar {
    min-height: 56px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.16);
}

.admin-dashboard .admin-sidebar-panel {
    position: sticky;
    top: 76px;
    border: 1px solid #e3e8ee !important;
    border-radius: 12px !important;
    padding: 0.75rem !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.045) !important;
}

.admin-dashboard .admin-sidebar-panel .nav-link {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0.55rem 0.7rem;
    border-radius: 7px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background-color 0.16s ease, color 0.16s ease;
}

.admin-dashboard .admin-sidebar-panel .nav-link i {
    width: 1.25rem;
    flex: 0 0 1.25rem;
    margin-right: 0.5rem !important;
    text-align: center;
    font-size: 1rem;
}

.admin-dashboard .admin-sidebar-panel .nav-link > span {
    display: flex;
    align-items: center;
}

.admin-dashboard .admin-sidebar-panel .nav-link:not(.active):hover {
    background: #f1f4f6;
    color: #111827 !important;
}

.admin-dashboard .admin-sidebar-panel .nav-link.active {
    background: #20262d !important;
    color: #ffffff !important;
}

.admin-dashboard .admin-sidebar-panel .nav-link.active i {
    color: #fbbf24 !important;
}

.admin-dashboard .admin-page-heading {
    padding: 0.1rem 0 1rem;
    border-bottom: 1px solid #dfe4e9;
}

.admin-dashboard .admin-page-heading h2 {
    font-size: 1.5rem;
}

.admin-dashboard .stat-card {
    position: relative;
    min-height: 132px;
    padding: 1.1rem 1.15rem;
    border: 1px solid #e3e8ee;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.045);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.admin-dashboard .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.admin-dashboard .stat-icon-wrapper {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 1.15rem;
}

.admin-dashboard .card:not(.admin-sidebar-panel) {
    border: 1px solid #e3e8ee !important;
    border-radius: 10px !important;
    box-shadow: 0 3px 14px rgba(15, 23, 42, 0.045) !important;
}

.admin-dashboard .table thead th {
    color: #667085;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .admin-dashboard .admin-sidebar-panel {
        position: static;
    }
}

/* ---- Admin enhanced theme (A-ONE GARAGE: charcoal + amber) ---- */
.admin-dashboard {
    background: linear-gradient(180deg, #eef1f5 0%, #f6f7f9 320px) fixed !important;
}

.admin-dashboard .admin-topbar {
    background: linear-gradient(90deg, #12161b 0%, #232a33 100%) !important;
    border-bottom: 3px solid #fbbf24 !important;
}

.admin-dashboard .admin-topbar .btn-outline-light {
    border-radius: 999px;
    font-size: 0.8rem;
    padding: 0.3rem 0.9rem;
}

.admin-dashboard .admin-topbar .btn-outline-light:hover {
    background: #fbbf24;
    border-color: #fbbf24;
    color: #12161b;
}

.admin-dashboard .admin-sidebar-panel {
    border-top: 3px solid #fbbf24 !important;
}

.admin-dashboard .admin-sidebar-panel .nav-link:not(.active):hover {
    transform: translateX(3px);
    background: #fff7e0;
}

.admin-dashboard .admin-sidebar-panel .nav-link.active {
    background: linear-gradient(90deg, #12161b, #2b333d) !important;
    box-shadow: 0 4px 10px rgba(18, 22, 27, 0.25);
}

/* Page headings */
.admin-dashboard .admin-main-content h2 {
    position: relative;
    padding-left: 0.9rem;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

.admin-dashboard .admin-main-content h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12%;
    height: 76%;
    width: 5px;
    border-radius: 4px;
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
}

.admin-dashboard .admin-main-content > .d-flex:first-of-type,
.admin-dashboard .admin-main-content > .admin-page-heading {
    padding-bottom: 1rem;
    border-bottom: 1px solid #dfe4e9;
}

/* Cards */
.admin-dashboard .card:not(.admin-sidebar-panel) {
    background: #fff;
    transition: box-shadow 0.18s ease;
}

.admin-dashboard .card:not(.admin-sidebar-panel):hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
}

.admin-dashboard .stat-card {
    border-left: 4px solid #fbbf24;
    background: linear-gradient(135deg, #ffffff 60%, #fffaf0 100%);
}

.admin-dashboard .stat-icon-wrapper {
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

/* Tables */
.admin-dashboard .table {
    --bs-table-hover-bg: #fff9e8;
    margin-bottom: 0;
}

.admin-dashboard .table thead th {
    background: #f6f8fa;
    border-bottom: 2px solid #e3e8ee;
    padding: 0.85rem 1rem;
}

.admin-dashboard .table tbody td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
    font-size: 0.9rem;
}

/* Buttons */
.admin-dashboard .btn {
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.admin-dashboard .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.14);
}

.admin-dashboard .btn-warning,
.admin-dashboard .btn-primary {
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
    border-color: #f59e0b;
    color: #12161b;
}

.admin-dashboard .btn-dark {
    background: linear-gradient(180deg, #2b333d, #12161b);
    border-color: #12161b;
}

/* Forms */
.admin-dashboard .form-control,
.admin-dashboard .form-select {
    border-radius: 8px;
    border-color: #d5dbe3;
    font-size: 0.9rem;
}

.admin-dashboard .form-control:focus,
.admin-dashboard .form-select:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 0.2rem rgba(251, 191, 36, 0.25);
}

.admin-dashboard .form-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #475467;
}

/* Badges and alerts */
.admin-dashboard .badge {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.4em 0.75em;
}

.admin-dashboard .alert {
    border: 0;
    border-left: 4px solid currentColor;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
}

/* Hero banner */
.admin-hero {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    padding: 1.15rem 1.4rem;
    border-radius: 14px;
    color: #fff;
    background:
        radial-gradient(circle at 92% 10%, rgba(251, 191, 36, 0.35), transparent 45%),
        linear-gradient(120deg, #12161b 0%, #2b333d 100%);
    box-shadow: 0 10px 26px rgba(18, 22, 27, 0.22);
    position: relative;
    overflow: hidden;
}

.admin-hero::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -60px;
    width: 180px;
    height: 180px;
    border: 22px solid rgba(251, 191, 36, 0.12);
    border-radius: 50%;
}

.admin-hero-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.5rem;
    color: #12161b;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
    box-shadow: 0 6px 14px rgba(245, 158, 11, 0.4);
}

.admin-hero-text { flex: 1 1 240px; min-width: 0; z-index: 1; }
.admin-hero-crumb { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fbbf24; font-weight: 700; }
.admin-hero-crumb i { font-size: 0.6rem; margin: 0 0.2rem; }
.admin-hero-title { font-size: 1.35rem; font-weight: 800; line-height: 1.3; }
.admin-hero-sub { font-size: 0.8rem; color: #aab4c0; }

.admin-hero-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; z-index: 1; }

.admin-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background 0.16s ease, transform 0.16s ease;
}

.admin-chip b {
    min-width: 1.4rem;
    padding: 0 0.4rem;
    text-align: center;
    border-radius: 999px;
    background: #fbbf24;
    color: #12161b;
}

.admin-chip:hover { background: rgba(255, 255, 255, 0.2); color: #fff; transform: translateY(-2px); }
.admin-chip-total { background: #fbbf24; color: #12161b; border-color: #fbbf24; }

/* Footer */
.admin-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem 0 0.5rem;
    border-top: 1px solid #dfe4e9;
    font-size: 0.8rem;
    color: #667085;
}

.admin-footer a { color: #b45309; text-decoration: none; font-weight: 600; }

/* Scrollbar and selection */
.admin-dashboard ::selection { background: #fde68a; }
.admin-dashboard ::-webkit-scrollbar { width: 10px; height: 10px; }
.admin-dashboard ::-webkit-scrollbar-thumb { background: #c5ccd6; border-radius: 8px; }
.admin-dashboard ::-webkit-scrollbar-thumb:hover { background: #fbbf24; }

/* Appointments page */
.apt-stat {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    height: 100%;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.apt-stat:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1); }

.apt-stat-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.3rem;
    color: #fff;
}

.apt-stat-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #667085; }
.apt-stat-value { font-size: 1.7rem; font-weight: 800; line-height: 1.1; color: #12161b; }
.apt-stat-sub { font-size: 0.75rem; color: #98a2b3; }

.apt-stat-today .apt-stat-icon { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #12161b; }
.apt-stat-pending .apt-stat-icon { background: linear-gradient(135deg, #fb923c, #ea580c); }
.apt-stat-confirmed .apt-stat-icon { background: linear-gradient(135deg, #38bdf8, #0369a1); }
.apt-stat-completed .apt-stat-icon { background: linear-gradient(135deg, #4ade80, #15803d); }

.apt-count {
    display: inline-block;
    min-width: 1.3rem;
    margin-left: 0.2rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.12);
    font-size: 0.7rem;
    font-weight: 700;
}

.admin-dashboard .apt-row td:first-child { border-left: 4px solid transparent; }
.admin-dashboard .apt-row-pending td:first-child { border-left-color: #f59e0b; }
.admin-dashboard .apt-row-confirmed td:first-child { border-left-color: #0ea5e9; }
.admin-dashboard .apt-row-completed td:first-child { border-left-color: #22c55e; }
.admin-dashboard .apt-row-cancelled td:first-child { border-left-color: #98a2b3; }
.admin-dashboard .apt-row-cancelled { opacity: 0.7; }
.apt-today-badge { margin-left: 0.3rem; animation: aptPulse 1.6s ease-in-out infinite; }

@keyframes aptPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.6); }
    50% { box-shadow: 0 0 0 6px rgba(251, 191, 36, 0); }
}

/* Unseen (new) rows */
.admin-dashboard tr[data-unseen="1"] > td { background: #fffbeb; font-weight: 600; }
.admin-dashboard tr[data-unseen="1"] > td:first-child { box-shadow: inset 4px 0 0 #ef4444; }
.admin-dashboard tr[data-unseen="1"] > td:first-child::after {
    content: "NOUVEAU";
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    vertical-align: middle;
    animation: aptPulse 1.6s ease-in-out infinite;
}

/* Row detail popup */
.admin-dashboard .row-clickable { cursor: pointer; }
.admin-dashboard .row-clickable:hover td { background: #fff4cf !important; }

.detail-modal { border: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35); }
.detail-modal-header {
    color: #fff;
    border: 0;
    border-bottom: 3px solid #fbbf24;
    background: linear-gradient(120deg, #12161b, #2b333d);
}
.detail-modal-kicker { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fbbf24; font-weight: 700; }
.detail-modal .modal-title { font-weight: 800; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.detail-item { padding: 0.9rem 1.25rem; border-bottom: 1px solid #edf0f4; }
.detail-item:nth-child(odd) { border-right: 1px solid #edf0f4; }
.detail-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #98a2b3; margin-bottom: 0.25rem; }
.detail-value { font-size: 0.95rem; color: #1f2933; word-break: break-word; }
.detail-value img { max-width: 100%; border-radius: 8px; }
.detail-value [style*="max-width"] { max-width: none !important; }

@media (max-width: 575.98px) {
    .detail-grid { grid-template-columns: 1fr; }
    .detail-item:nth-child(odd) { border-right: 0; }
}

/* Smooth page entrance */
.admin-dashboard .admin-main-content {
    animation: adminFadeUp 0.35s ease both;
}

@keyframes adminFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

/* Testimonial Cards */
.review-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.75rem;
    height: 100%;
}

.review-stars {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

/* Footer */
.footer-tyre {
    background-color: #060911;
    color: #94a3b8;
    padding: 4rem 0 2rem;
    border-top: 1px solid #1e293b;
}

.footer-tyre a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-tyre a:hover {
    color: var(--euro-primary);
}

/* ====================================================================
   3D Motion Tyre Showcase Livery
   ==================================================================== */
.hero-motion-card {
    background: radial-gradient(circle at 50% 30%, rgba(30, 58, 138, 0.28) 0%, rgba(10, 15, 29, 0.92) 80%);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 1.5rem;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(37, 99, 235, 0.25);
    backdrop-filter: blur(16px);
}

.hero-motion-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
    pointer-events: none;
    animation: ambientPulse 6s ease-in-out infinite alternate;
}

@keyframes ambientPulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    100% { transform: scale(1.05); opacity: 1; }
}

.motion-tyre-stage {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

/* Ambient glow ring behind tyre */
.motion-tyre-halo {
    position: absolute;
    width: 88%;
    height: 88%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, rgba(245, 158, 11, 0.15) 50%, transparent 72%);
    filter: blur(20px);
    z-index: 1;
    animation: haloGlow 4s ease-in-out infinite alternate;
}

@keyframes haloGlow {
    0% { transform: scale(0.92); opacity: 0.6; }
    100% { transform: scale(1.08); opacity: 0.95; }
}

/* Floating animated wrapper */
.motion-tyre-bobbing {
    width: 84%;
    height: 84%;
    position: relative;
    z-index: 2;
    animation: tyreFloat 4.5s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes tyreFloat {
    0%, 100% {
        transform: translateY(0px) rotateX(4deg);
    }
    50% {
        transform: translateY(-10px) rotateX(-4deg);
    }
}

/* The spinning tyre image */
.motion-tyre-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.12);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.motion-tyre-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    animation: tyreSpin 24s linear infinite;
    transform-origin: center center;
    will-change: transform;
}

.motion-tyre-wheel:hover .motion-tyre-img {
    animation-duration: 8s; /* Spins faster on hover */
}

@keyframes tyreSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* High-tech HUD scanning laser */
.motion-laser-line {
    position: absolute;
    left: 4%;
    right: 4%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #38bdf8 30%, #f59e0b 50%, #38bdf8 70%, transparent 100%);
    box-shadow: 0 0 16px #38bdf8, 0 0 25px #f59e0b;
    z-index: 5;
    pointer-events: none;
    border-radius: 50%;
    animation: laserScanSweep 3.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

@keyframes laserScanSweep {
    0% {
        top: 10%;
        opacity: 0.15;
    }
    15% {
        opacity: 0.95;
    }
    85% {
        opacity: 0.95;
    }
    100% {
        top: 90%;
        opacity: 0.15;
    }
}

/* Circular HUD reticle markings */
.motion-hud-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96%;
    height: 96%;
    border-radius: 50%;
    border: 1px dashed rgba(56, 189, 248, 0.4);
    z-index: 3;
    pointer-events: none;
    animation: reticleSpin 40s linear infinite reverse;
}

@keyframes reticleSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Floating telemetry badges */
.motion-hud-badge {
    position: absolute;
    z-index: 6;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    animation: badgeFloat 3.5s ease-in-out infinite alternate;
}

.motion-hud-badge.badge-top-left {
    top: 8px;
    left: 0;
    animation-delay: 0s;
}

.motion-hud-badge.badge-top-right {
    top: 8px;
    right: 0;
    animation-delay: 0.8s;
}

@keyframes badgeFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

/* ====================================================================
   Official Eurotyre Campaign & Media Livery
   ==================================================================== */
.garage-official-logo {
    display: block;
    width: 92px;
    height: 58px;
    border-radius: 4px;
    background: #231f20;
    object-fit: contain;
}

@media (min-width: 992px) {
    .main-navbar {
        padding-top: 0.58rem !important;
        padding-bottom: 0.58rem !important;
    }

    .main-navbar .navbar-brand {
        margin-right: 0.4rem;
        padding: 0;
    }

    .main-navbar .garage-official-logo {
        width: 92px;
        height: 58px;
    }

    .main-navbar .navbar-collapse,
    .main-navbar .main-navbar-links {
        flex-wrap: nowrap;
    }

    .main-navbar .main-navbar-links {
        flex: 0 1 auto;
        justify-content: flex-start;
        gap: 0.45rem;
        margin-left: auto;
        margin-right: auto;
    }

    .main-navbar .nav-link {
        padding: 0.42rem 0.18rem;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    .main-navbar .navbar-actions {
        flex-shrink: 0;
        margin-left: 0.35rem;
        gap: 0.25rem !important;
    }

    .main-navbar .navbar-actions .btn {
        min-width: 38px;
        min-height: 38px;
        padding: 0.38rem;
        font-size: 0.82rem;
        line-height: 1.25;
        white-space: nowrap;
    }

    .main-navbar .navbar-actions .btn i {
        font-size: 1rem;
    }

    .emergency-hotline-ribbon {
        padding: 0.46rem 0;
        font-size: 0.8rem;
    }

    .compact-topbar-content,
    .compact-topbar-content > div {
        flex-wrap: nowrap;
        white-space: nowrap;
    }
}

@media (max-width: 991.98px) {
    .compact-topbar-content {
        flex-wrap: wrap;
        justify-content: center !important;
        text-align: center;
    }

    .hero-section {
        padding: 3.25rem 0 2.75rem;
    }

    .hero-section > .container > .row {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    .hero-section > .container > .row > .col-lg-7,
    .hero-section > .container > .row > .col-lg-5 {
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
    }

    .hero-title {
        font-size: clamp(1.85rem, 4vw, 2.8rem);
    }

    .hero-lead {
        font-size: 0.98rem;
        max-width: 100%;
    }

    .hero-motion-card {
        padding: 1rem;
        margin-top: 0;
    }

    .motion-tyre-stage {
        max-width: 240px;
    }

    .motion-hud-badge {
        font-size: 0.58rem;
        padding: 0.22rem 0.5rem;
    }

    .motion-hud-badge.badge-top-left {
        left: 6px;
    }

    .motion-hud-badge.badge-top-right {
        right: 6px;
    }
}

@media (max-width: 575.98px) {
    .container > .row.g-5 {
        --bs-gutter-x: 1.5rem;
    }

    .hero-section {
        padding: 2rem 0 1.5rem;
        background-image:
            linear-gradient(135deg, rgba(5, 8, 17, 0.62) 0%, rgba(8, 15, 29, 0.52) 42%, rgba(6, 13, 24, 0.7) 100%),
            url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&crop=entropy&w=900&h=1200&q=80'),
            radial-gradient(circle at 85% 15%, rgba(30, 64, 175, 0.4) 0%, transparent 60%),
            radial-gradient(circle at 10% 85%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
            linear-gradient(145deg, #050811 0%, #0d1527 60%, #070b14 100%);
        background-size: auto, cover, auto, auto, auto;
        background-position: 0 0, center 55%, 0 0, 0 0, 0 0;
    }

    .hero-section > .container > .row {
        --bs-gutter-x: 0.75rem;
        align-items: flex-start;
        flex-wrap: nowrap;
        margin-right: -0.5rem;
    }

    .hero-section > .container > .row > .col-lg-7,
    .hero-section > .container > .row > .col-lg-5 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
        width: 58.333333%;
    }

    .hero-section > .container > .row > .col-lg-5 {
        flex-basis: 41.666667%;
        max-width: 41.666667%;
        width: 41.666667%;
    }

    .hero-section > .container > .row > .col-lg-5 {
        padding-right: 0;
    }

    .hero-badge-euro {
        font-size: 0.58rem;
        line-height: 1.35;
        padding: 0.35rem 0.45rem;
        margin-bottom: 0.75rem;
    }

    .hero-title {
        font-size: 1.35rem;
        line-height: 1.08;
        letter-spacing: 0;
        overflow-wrap: anywhere;
        margin-bottom: 0.8rem;
    }

    .hero-lead {
        font-size: 0.72rem;
        line-height: 1.45;
        margin-bottom: 0.9rem;
    }

    .hero-section .col-lg-7 > .d-flex {
        gap: 0.45rem !important;
        margin-bottom: 0.9rem !important;
    }

    .hero-section .col-lg-7 > .d-flex > .btn-lg {
        flex: 1 1 100%;
        min-width: 0;
        padding: 0.5rem 0.35rem !important;
        font-size: 0.68rem;
        line-height: 1.25;
        white-space: normal;
    }

    .hero-motion-card {
        padding: 0.55rem;
        border-radius: 0.8rem;
    }

    .hero-motion-card > .d-flex {
        gap: 0.25rem !important;
        padding-bottom: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .hero-motion-card > .d-flex > div {
        font-size: 0.67rem;
        line-height: 1.25;
    }

    .hero-motion-card > .d-flex > div > i {
        flex: 0 0 auto;
        font-size: 0.85rem !important;
    }

    .motion-tyre-stage {
        max-width: 100%;
        margin-top: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .motion-hud-ring {
        width: 70%;
        height: 70%;
    }

    .hero-motion-card .row > .col-auto {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        min-width: 0;
    }

    .hero-motion-card .row > .col-auto > i {
        flex: 0 0 auto;
        font-size: 0.8rem !important;
    }

    .hero-motion-card .row > .col-auto > span {
        font-size: 0.58rem;
        white-space: normal;
    }

    .hero-trust-indicators > .hero-trust-item {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .hero-trust-item > i {
        flex: 0 0 auto;
    }
}

.euro-campaign-card {
    background: #ffffff;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.euro-campaign-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.euro-campaign-card .banner-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #0f172a;
}

.euro-campaign-card .banner-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.euro-campaign-card:hover .banner-img-wrap img {
    transform: scale(1.05);
}

@media (max-width: 575.98px) {
    #campaigns .row.g-4 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.75rem;
    }

    .euro-campaign-card > .p-3 {
        padding: 0.55rem !important;
    }

    .euro-campaign-card .p-3 > .d-flex {
        flex-wrap: wrap;
        align-items: flex-start !important;
        gap: 0.25rem 0.4rem;
    }

    .euro-campaign-card h5 {
        font-size: 0.92rem;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .euro-campaign-card .btn {
        font-size: 0.7rem;
        line-height: 1.25;
        white-space: normal;
    }
}

.euro-guide-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    padding: 1.25rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.euro-guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.euro-guide-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.photo-guide-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
}

.photo-guide-track {
    display: flex;
    width: max-content;
    gap: 0.9rem;
    animation: photo-guide-scroll 22s linear infinite alternate;
    will-change: transform;
}

.photo-guide-item {
    flex: 0 0 80vw;
    max-width: 80vw;
    min-height: 100%;
}

@keyframes photo-guide-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.expert-advice-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
}

.expert-advice-track {
    display: flex;
    width: max-content;
    gap: 0.9rem;
    animation: expert-advice-scroll 22s linear infinite alternate;
    will-change: transform;
}

.expert-advice-item {
    flex: 0 0 80vw;
    max-width: 80vw;
    min-height: 100%;
}

@keyframes expert-advice-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 767.98px) {
    .photo-guide-marquee {
        display: block;
    }

    .photo-guide-item {
        flex-basis: 78vw;
        max-width: 78vw;
    }

    .expert-advice-marquee {
        display: block;
    }

    .expert-advice-item {
        flex-basis: 78vw;
        max-width: 78vw;
    }
}

.euro-network-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.euro-network-pill img {
    height: 42px;
    width: auto;
}

/* Offers page */
.offers-hero {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 7rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #312e81 100%);
    color: #fff;
}

.offers-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.45;
}

.offers-hero-glow--one {
    width: 320px;
    height: 320px;
    background: #f59e0b;
    top: -120px;
    left: -80px;
}

.offers-hero-glow--two {
    width: 380px;
    height: 380px;
    background: #3b82f6;
    bottom: -180px;
    right: -100px;
}

.offers-hero-pill {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fbbf24;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.offers-hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    margin: 1rem 0 0.75rem;
}

.offers-hero-title span {
    background: linear-gradient(90deg, #fbbf24, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.offers-hero-text {
    max-width: 640px;
    margin: 0 auto;
    color: #cbd5e1;
}

.offers-section {
    position: relative;
    margin-top: -4.5rem;
    padding-bottom: 4rem;
}

.offer-featured {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    padding: 2.5rem;
    background: linear-gradient(120deg, #fbbf24 0%, #f59e0b 55%, #ea580c 100%);
    color: #1c1917;
    box-shadow: 0 25px 50px -12px rgba(234, 88, 12, 0.45);
}

.offer-featured::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    right: -120px;
    top: -140px;
    background: rgba(255, 255, 255, 0.18);
}

.offer-featured-ribbon {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 2;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: #1c1917;
    color: #fbbf24;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.offer-featured .row {
    position: relative;
    z-index: 1;
}

.offer-featured-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #1c1917;
    color: #fbbf24;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.offer-featured-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
}

.offer-featured-text {
    font-size: 1.05rem;
    margin: 0.75rem 0 1rem;
}

.offer-featured-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    font-weight: 600;
}

.offer-featured-points li {
    margin-bottom: 0.4rem;
}

.offer-featured-points i {
    color: #1c1917;
    margin-right: 0.4rem;
}

.offer-featured-btn {
    background: #1c1917;
    color: #fbbf24;
    font-weight: 700;
    padding: 0.8rem 1.6rem;
    border-radius: 0.85rem;
}

.offer-featured-btn:hover {
    background: #000;
    color: #fde68a;
}

.offer-featured-amount {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 1.25rem;
    background: #1c1917;
    color: #fff;
    border: 3px dashed rgba(251, 191, 36, 0.6);
}

.offer-featured-amount-label {
    display: block;
    color: #fbbf24;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.offer-featured-amount-range {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0.5rem 0;
}

.offer-featured-amount-range small {
    font-size: 0.55em;
    color: #fbbf24;
    margin-right: 2px;
}

.offer-featured-amount-range i {
    font-size: 0.6em;
    color: #fbbf24;
}

.offer-featured-amount-note {
    color: #d6d3d1;
    font-size: 0.9rem;
}

.offer-card {
    --offer-accent: #2563eb;
    --offer-soft: #dbeafe;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: 5px solid var(--offer-accent);
    box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px -14px rgba(15, 23, 42, 0.28);
}

.offer-card--green {
    --offer-accent: #16a34a;
    --offer-soft: #dcfce7;
}

.offer-card--cyan {
    --offer-accent: #0891b2;
    --offer-soft: #cffafe;
}

.offer-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.offer-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--offer-soft);
    color: var(--offer-accent);
    font-size: 1.5rem;
}

.offer-card-tag {
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--offer-soft);
    color: var(--offer-accent);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.offer-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.offer-card-text {
    color: #64748b;
    font-size: 0.92rem;
    flex-grow: 1;
}

.offer-card-divider {
    border-top: 2px dashed #e2e8f0;
    margin: 1rem 0;
}

.offer-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.offer-card-price strong {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--offer-accent);
    line-height: 1;
}

.offer-card-price small {
    color: #64748b;
}

.offer-card-options {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.offer-card-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.9rem;
    border-radius: 0.8rem;
    background: var(--offer-soft);
}

.offer-card-option span {
    font-weight: 700;
    color: #0f172a;
}

.offer-card-option small {
    display: block;
    font-weight: 500;
    color: #475569;
}

.offer-card-option strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--offer-accent);
}

.offer-card-btn {
    display: block;
    text-align: center;
    padding: 0.7rem 1rem;
    border-radius: 0.8rem;
    background: var(--offer-accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.offer-card-btn:hover {
    color: #fff;
    filter: brightness(1.1);
}

@media (max-width: 575.98px) {
    .offers-hero {
        padding: 3rem 0 6rem;
    }

    .offer-featured {
        padding: 1.75rem 1.25rem;
    }

    .offer-featured-ribbon {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }
}

/* Appointment page */
.apt-hero {
    padding-bottom: 7.5rem;
}

.apt-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.apt-steps span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem 0.4rem 0.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.85rem;
    font-weight: 600;
}

.apt-steps b,
.apt-section-title b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    color: #111827;
    font-size: 0.85rem;
}

.apt-main {
    position: relative;
    margin-top: -5rem;
    padding-top: 0 !important;
}

.apt-card {
    border-top: 5px solid #f59e0b !important;
    box-shadow: 0 24px 50px -20px rgba(15, 23, 42, 0.35) !important;
}

.apt-section-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px dashed #e5e7eb;
    font-weight: 800;
    color: #0f172a;
}

.apt-section-title small {
    font-weight: 500;
    color: #94a3b8;
}

.apt-card .form-control:focus,
.apt-card .form-select:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.2);
}

.apt-side--hours {
    border-left: 5px solid #3b82f6 !important;
}

.apt-side--dark {
    background: linear-gradient(145deg, #0f172a, #1e293b) !important;
    border-left: 5px solid #f59e0b !important;
}

.apt-offer-banner {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 1.25rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    color: #1f2937;
    text-decoration: none;
    box-shadow: 0 14px 28px -14px rgba(249, 115, 22, 0.7);
    transition: transform 0.2s;
}

.apt-offer-banner:hover {
    color: #111827;
    transform: translateY(-3px);
}

.apt-offer-banner > i:first-child {
    font-size: 1.8rem;
}

.apt-offer-banner span {
    flex: 1;
    line-height: 1.25;
}

.apt-offer-banner small {
    display: block;
    font-size: 0.78rem;
    opacity: 0.85;
}

@media (max-width: 991.98px) {
    .apt-side,
    .apt-offer-banner {
        width: 86%;
        margin-left: auto;
        margin-right: auto;
    }
}

.apt-side {
    padding: 2.25rem 1.75rem !important;
}

.apt-side h5 {
    margin-bottom: 1.5rem !important;
}

.apt-side .d-flex.justify-content-between {
    padding-top: 0.9rem !important;
    padding-bottom: 0.9rem !important;
}

.apt-side ul {
    gap: 1.1rem !important;
}

.apt-offer-banner {
    padding: 1.6rem 1.5rem;
}

/* Tyre help card */
.tyre-help-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #f3e3b8 !important;
    background: linear-gradient(160deg, #ffffff 55%, #fff7e0 100%) !important;
    box-shadow: 0 14px 34px rgba(245, 158, 11, 0.14) !important;
}

.tyre-help-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #fbbf24, #f97316);
}

.tyre-help-card::after {
    content: "";
    position: absolute;
    right: -46px;
    top: -46px;
    width: 130px;
    height: 130px;
    border: 16px solid rgba(251, 191, 36, 0.14);
    border-radius: 50%;
    pointer-events: none;
}

.tyre-help-card h5 {
    margin-bottom: 0 !important;
}

.tyre-help-card .form-label {
    color: #475467;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.tyre-help-card .form-control {
    border-radius: 10px;
    border-color: #e5e7eb;
    background: #fff;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.tyre-help-card .form-control:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 0.2rem rgba(251, 191, 36, 0.28);
}

.tyre-help-card .btn-warning {
    padding: 0.7rem 1rem;
    border: 0;
    border-radius: 10px;
    color: #12161b;
    background: linear-gradient(90deg, #fbbf24, #f97316);
    box-shadow: 0 8px 18px rgba(249, 115, 22, 0.3);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.tyre-help-card .btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.38);
}

.apt-lookup {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 1.1rem;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.apt-lookup-banner {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 1rem;
    padding: 0.9rem 1.1rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #0f172a, #312e81);
    color: #fff;
}

.apt-lookup-banner span {
    color: #fbbf24;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.apt-lookup-banner strong {
    font-size: 1.15rem;
}

.apt-lookup .form-label {
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
}

.apt-lookup .form-select {
    min-height: 3rem;
    border-color: #d7dee8;
    border-radius: 0.95rem;
    background-color: #f9fbfd;
}

.apt-lookup .form-select:focus {
    border-color: #e9a20b;
    background-color: #fff;
    box-shadow: 0 0 0 0.22rem rgba(245, 158, 11, 0.16);
}

.apt-lookup .btn-group {
    gap: 0.4rem;
}

.apt-lookup .btn-group > .btn {
    border-radius: 999px !important;
    padding: 0.42rem 0.9rem;
}

.apt-lookup .btn-group > .btn-outline-secondary {
    border-color: #d7dee8;
    background: #f9fbfd;
}

.apt-lookup .btn-group > .btn-outline-secondary:hover {
    border-color: #e9a20b;
    background: #fff7e0;
    color: #854d0e;
}

.apt-lookup .btn-check:checked + .btn-outline-secondary {
    border-color: #475569;
    background: #475569;
    color: #fff;
}

.apt-lookup .form-check-input:checked {
    border-color: #b45309;
    background-color: #b45309;
}

.page-hero {
    padding: 3.5rem 0 4rem;
}

.ev-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #064e3b, #0f766e 60%, #0891b2);
    color: #fff;
    box-shadow: 0 20px 40px -20px rgba(8, 145, 178, 0.6);
}

.ev-banner-icon {
    display: grid;
    flex: 0 0 4rem;
    width: 4rem;
    height: 4rem;
    place-items: center;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: #fde047;
    font-size: 2rem;
}

.ev-banner-body {
    flex: 1;
}

.ev-banner-tag {
    color: #fde047;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.ev-banner h3 {
    margin: 0.2rem 0 0.4rem;
    font-size: 1.4rem;
    font-weight: 800;
}

.ev-banner p {
    margin: 0;
    color: #d1fae5;
}

@media (max-width: 767.98px) {
    .ev-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .apt-hero {
        padding-bottom: 6.5rem;
    }
}
