/* Pointservis – Slash Identity Design System */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

/* Slash Identity — Outfit headings */
.hero-title,
.section-heading {
    font-family: 'Outfit', 'Inter', system-ui, sans-serif;
}

.section-label {
    font-family: 'Outfit', 'Inter', system-ui, sans-serif;
    letter-spacing: 0.15em;
}

/* Slash accent — the red "/" motif */
.slash-accent {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 1.15em;
    margin: 0 -0.05em;
    display: inline;
}

/* Hero mini form selects */
#hero-form-content select,
#hero-form-mobile select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}
#hero-form-content select option,
#hero-form-mobile select option {
    background: #1e293b;
    color: #fff;
}

/* Hero background grid */
.hero-grid {
    background-image:
        linear-gradient(rgba(6, 182, 212, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Gradient mesh glow */
.hero-glow {
    position: relative;
    overflow: hidden;
}
.hero-glow::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero-glow::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(26, 111, 245, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* Glassmorphism header */
.glass-header {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.glass-header.scrolled {
    box-shadow: 0 1px 30px rgba(10, 22, 40, 0.08), 0 0 1px rgba(10, 22, 40, 0.1);
}

/* Scroll reveal */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}
[data-animate="scale"] { transform: scale(0.95); }
[data-animate="scale"].animated { transform: scale(1); }
[data-animate="left"] { transform: translateX(-24px); }
[data-animate="left"].animated { transform: translateX(0); }

[data-stagger] > *:nth-child(1) { transition-delay: 0s; }
[data-stagger] > *:nth-child(2) { transition-delay: 0.07s; }
[data-stagger] > *:nth-child(3) { transition-delay: 0.14s; }
[data-stagger] > *:nth-child(4) { transition-delay: 0.21s; }
[data-stagger] > *:nth-child(5) { transition-delay: 0.28s; }
[data-stagger] > *:nth-child(6) { transition-delay: 0.35s; }
[data-stagger] > *:nth-child(7) { transition-delay: 0.42s; }
[data-stagger] > *:nth-child(8) { transition-delay: 0.49s; }
[data-stagger] > *:nth-child(9) { transition-delay: 0.56s; }
[data-stagger] > *:nth-child(10) { transition-delay: 0.63s; }
[data-stagger] > *:nth-child(11) { transition-delay: 0.7s; }
[data-stagger] > *:nth-child(12) { transition-delay: 0.77s; }
[data-stagger] > *:nth-child(13) { transition-delay: 0.84s; }

/* Cards with premium shadow */
.card-hover {
    transition: box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow:
        0 4px 6px rgba(10, 22, 40, 0.04),
        0 12px 24px rgba(10, 22, 40, 0.08),
        0 24px 48px rgba(220, 38, 38, 0.05);
    border-color: rgba(220, 38, 38, 0.2);
}

/* Glass card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Stats glow */
.stat-item {
    position: relative;
}
.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.6), transparent);
    border-radius: 1px;
}
.stat-item:last-child::after {
    display: none;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Step number glow */
.step-number {
    background: linear-gradient(135deg, #1e40af 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Benefit icon container */
.benefit-icon {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.06) 0%, rgba(220, 38, 38, 0.06) 100%);
    border: 1px solid rgba(220, 38, 38, 0.12);
}
.benefit-icon svg {
    color: #1e40af;
}

/* CTA gradient */
.cta-gradient {
    background: linear-gradient(135deg, #0a1628 0%, #0f2847 50%, #0a1628 100%);
    position: relative;
    overflow: hidden;
}
.cta-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.6), transparent);
}

/* Button glow on hover + arrow micro-interaction */
.btn-glow {
    position: relative;
    transition: all 0.3s ease;
}
.btn-glow:hover {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3), 0 0 40px rgba(220, 38, 38, 0.1);
}
.btn-glow svg,
.btn-arrow svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-glow:hover svg,
.btn-arrow:hover svg {
    transform: translateX(4px);
}

/* Section divider with soft gradient fade */
.section-divider {
    position: relative;
}
.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.35), transparent);
}
.section-fade-in {
    position: relative;
}
.section-fade-in::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(249, 250, 251, 1), transparent);
    pointer-events: none;
    z-index: 1;
}
.section-fade-out {
    position: relative;
}
.section-fade-out::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(249, 250, 251, 1), transparent);
    pointer-events: none;
    z-index: 1;
}

/* Dropdown glass */
.dropdown-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Pulse dot */
.pulse-dot { position: relative; }
.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: inherit;
    animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Counter */
.counter { display: inline-block; }
[data-count] {
    font-variant-numeric: tabular-nums;
}

/* Prose */
.prose p { margin-bottom: 1rem; line-height: 1.8; color: #4b5563; }
.prose h2 { font-size: 1.5rem; font-weight: 700; color: #111827; margin-top: 2rem; margin-bottom: 1rem; }
.prose h3 { font-size: 1.25rem; font-weight: 600; color: #1f2937; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.prose ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.5rem; color: #4b5563; }
.prose strong { color: #111827; }

/* FAQ */
details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; }

/* Focus */
:focus-visible {
    outline: 2px solid #1e40af;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Badge shimmer */
.badge-shimmer {
    position: relative;
    overflow: hidden;
}
.badge-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* Mobile sticky CTA */
.mobile-cta-bar {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.mobile-cta-bar.visible {
    transform: translateY(0);
}
@media (max-width: 1023px) {
    body { padding-bottom: 72px; }
}

/* Brand strip */
.brand-strip {
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: 0.05em;
}

/* Nav link hover underline */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1e40af, #dc2626);
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 1px;
}
.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Scroll to top */
.scroll-top-btn {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.2), 0 0 0 1px rgba(220, 38, 38, 0.15);
}

/* Typing cursor */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 0.85em;
    background: #dc2626;
    margin-left: 4px;
    animation: cursor-blink 0.75s ease-in-out infinite;
    vertical-align: baseline;
    border-radius: 2px;
}
@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Cookie consent */
.cookie-banner {
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.visible {
    transform: translateY(0);
}

/* FAQ plus icon rotation */
details[open] .faq-icon {
    transform: rotate(45deg);
}
.faq-icon {
    transition: transform 0.25s ease;
}
details[open] summary {
    border-color: rgba(220, 38, 38, 0.15);
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
details[open] .faq-content {
    max-height: 500px;
}

/* Review card accent top border */
.review-card {
    position: relative;
    overflow: hidden;
}
.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e40af, #dc2626);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.review-card:hover::before {
    opacity: 1;
}

/* Brand strip premium hover */
.brand-strip span {
    transition: color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.4;
}
.brand-strip:hover span {
    opacity: 0.25;
}
.brand-strip span:hover {
    opacity: 1;
    transform: scale(1.08);
    color: #374151;
}

/* Steps mobile timeline */
@media (max-width: 1023px) {
    .steps-timeline {
        position: relative;
    }
    .steps-timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 29px;
        width: 2px;
        background: linear-gradient(to bottom, rgba(30, 64, 175, 0.3), rgba(220, 38, 38, 0.3));
        border-radius: 1px;
    }
    .steps-timeline > div {
        padding-left: 56px !important;
        position: relative;
    }
    .steps-timeline > div .benefit-icon {
        position: absolute;
        left: 8px;
        top: 24px;
        z-index: 1;
    }
}

/* PPL ParcelShop Map */
.map-grid-pattern {
    background-image:
        linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

.ppl-map-wrapper {
    min-height: 600px;
}
.ppl-map-wrapper #ppl-parcelshop-map {
    min-height: 600px;
    border-radius: 16px;
    overflow: hidden;
}
/* Zmenšit levý sidebar PPL widgetu */
.ppl-map-wrapper .ppl-parcelshop-map-sidebar {
    max-width: 280px;
    flex: 0 0 280px;
}
@media (max-width: 768px) {
    .ppl-map-wrapper,
    .ppl-map-wrapper #ppl-parcelshop-map {
        min-height: 420px;
    }
}

/* Footer trust badges */
.trust-badge {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Footer grid pattern */
.footer-pattern {
    background-image:
        linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(30, 64, 175, 0.2);
    border-top-color: #1e40af;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
.spinner--lg {
    width: 40px;
    height: 40px;
    border-width: 4px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Selectable card (defects, branches, PPL shops) */
.selectable-card {
    display: block;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.selectable-card:hover {
    border-color: #bfdbfe;
    background: #f9fafb;
}
.selectable-card.selected {
    border-color: #93c5fd;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Delivery tab */
.delivery-tab {
    flex: 1;
    padding-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    color: #6b7280;
    background: none;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
    text-align: center;
}
.delivery-tab:hover {
    color: #374151;
}
.delivery-tab.active {
    border-color: #1e40af;
    color: #1e40af;
}

/* Progress steps (tracking) */
.progress-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: 0 0.5rem;
}
.progress-bar::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 36px;
    right: 36px;
    height: 3px;
    background: #e5e7eb;
    z-index: 0;
}
.progress-bar-fill {
    position: absolute;
    top: 18px;
    left: 36px;
    height: 3px;
    background: linear-gradient(90deg, #1e40af, #2563eb);
    z-index: 1;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}
.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 72px;
}
.progress-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    background: #e5e7eb;
    color: #9ca3af;
    transition: all 0.3s ease;
}
.progress-step.completed .progress-step-circle {
    background: #1e40af;
    color: #fff;
}
.progress-step.active .progress-step-circle {
    background: #1e40af;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.15);
}
.progress-step-label {
    margin-top: 0.5rem;
    font-size: 0.65rem;
    color: #9ca3af;
    text-align: center;
    font-weight: 500;
    line-height: 1.2;
}
.progress-step.completed .progress-step-label,
.progress-step.active .progress-step-label {
    color: #1e40af;
    font-weight: 600;
}

/* Wizard step indicator line */
.step-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 2rem;
}
.step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    background: #e5e7eb;
    color: #6b7280;
    transition: all 0.3s ease;
}
.step-dot.done {
    background: #1e40af;
    color: #fff;
}
.step-dot.current {
    background: #1e40af;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.15);
}
.step-connector {
    width: 48px;
    height: 2px;
    background: #e5e7eb;
    margin-bottom: 0;
}
.step-connector.done {
    background: #1e40af;
}
.step-label {
    font-size: 0.7rem;
    color: #9ca3af;
    margin-top: 4px;
    font-weight: 500;
}
.step-dot.done + .step-label,
.step-dot.current + .step-label {
    color: #1e40af;
}

/* Status badge (tracking) */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.status-badge--received { background: #dbeafe; color: #1e40af; }
.status-badge--diagnosing { background: #ede9fe; color: #6d28d9; }
.status-badge--in_progress { background: #ffedd5; color: #c2410c; }
.status-badge--waiting_parts { background: #fef9c3; color: #a16207; }
.status-badge--done { background: #dcfce7; color: #15803d; }
.status-badge--handed_over { background: #f3f4f6; color: #6b7280; }
.status-badge--cancelled { background: #fee2e2; color: #dc2626; }

/* Timeline (tracking logs) */
.timeline {
    position: relative;
    padding-left: 1.5rem;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 5px;
    width: 2px;
    background: #e5e7eb;
    border-radius: 1px;
}
.timeline-item {
    position: relative;
    padding-bottom: 1.25rem;
}
.timeline-item:last-child {
    padding-bottom: 0;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #93c5fd;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #dbeafe;
}
.timeline-item:first-child::before {
    background: #1e40af;
    box-shadow: 0 0 0 2px #bfdbfe;
}

/* Booking wizard design system */
.bk-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.bk-card-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
}
.bk-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bk-icon--blue  { background: #eff6ff; color: #2563eb; }
.bk-icon--red   { background: #fef2f2; color: #dc2626; }
.bk-icon--green { background: #f0fdf4; color: #16a34a; }
.bk-icon--orange{ background: #fff7ed; color: #ea580c; }
.bk-icon--purple{ background: #faf5ff; color: #9333ea; }
.bk-icon--gray  { background: #f3f4f6; color: #6b7280; }
.bk-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.375rem;
}
.bk-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.625rem;
    background: #f9fafb;
    font-size: 0.9375rem;
    color: #111827;
    transition: all 0.15s ease;
}
.bk-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.08);
}
.bk-input::placeholder {
    color: #9ca3af;
}
.bk-select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.625rem;
    background: #f9fafb;
    font-size: 0.9375rem;
    color: #111827;
    transition: all 0.15s ease;
    cursor: pointer;
}
.bk-select:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.08);
}
.bk-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
}
.bk-btn--primary {
    background: #dc2626;
    color: #fff;
    box-shadow: 0 2px 8px rgba(220,38,38,0.2);
}
.bk-btn--primary:hover {
    background: #b91c1c;
    box-shadow: 0 4px 12px rgba(220,38,38,0.3);
}
.bk-btn--ghost {
    background: #f3f4f6;
    color: #374151;
}
.bk-btn--ghost:hover {
    background: #e5e7eb;
}
.bk-btn--submit {
    background: #dc2626;
    color: #fff;
    padding: 0.75rem 2rem;
    font-size: 0.9375rem;
    box-shadow: 0 4px 14px rgba(220,38,38,0.25);
}
.bk-btn--submit:hover {
    background: #b91c1c;
    box-shadow: 0 6px 20px rgba(220,38,38,0.35);
}
.bk-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.bk-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    background: #f3f4f6;
    border-radius: 0.5rem;
    padding: 0.25rem;
}
.bk-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
    background: none;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.15s ease;
}
.bk-tab:hover {
    color: #374151;
}
.bk-tab.active {
    background: #fff;
    color: #111827;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.bk-summary-row {
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}
.bk-summary-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}
.bk-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #eef2ff 0%, #dbeafe 50%, #ede9fe 100%);
    border-radius: 1rem;
    animation: deviceFadeIn 0.35s ease;
}
.bk-hero-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}
@keyframes deviceFadeIn {
    from { opacity: 0; transform: scale(0.92) translateY(6px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Custom device dropdown */
.device-dropdown {
    position: relative;
}
.device-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0.875rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.625rem;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.15s ease;
    min-height: 48px;
    text-align: left;
}
.device-dropdown-trigger:hover:not(:disabled) {
    border-color: #93c5fd;
    background: #fff;
}
.device-dropdown-trigger:disabled {
    background: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.5;
}
.device-dropdown-trigger.open {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.08);
    background: #fff;
    border-radius: 0.625rem 0.625rem 0 0;
}
.device-dropdown-value {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 0;
    flex: 1;
}
.device-dropdown-thumb {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 6px;
    background: #eef2ff;
    padding: 3px;
    flex-shrink: 0;
}
.device-dropdown-label {
    font-size: 0.9375rem;
    color: #9ca3af;
}
.device-dropdown-label.has-value {
    color: #111827;
    font-weight: 500;
}
.device-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #3b82f6;
    border-top: 1px solid #e5e7eb;
    border-radius: 0 0 0.625rem 0.625rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    z-index: 50;
    animation: dropdownSlide 0.15s ease;
}
@keyframes dropdownSlide {
    from { opacity: 0; transform: translateY(-2px); }
    to { opacity: 1; transform: translateY(0); }
}
.device-dropdown-search-wrap {
    padding: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
}
.device-dropdown-search {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    background: #f9fafb;
}
.device-dropdown-search:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
}
.device-dropdown-options {
    overflow-y: auto;
    max-height: 260px;
    padding: 0.25rem;
}
.device-dropdown-option {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.625rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background 0.1s ease;
}
.device-dropdown-option:hover {
    background: #f3f4f6;
}
.device-dropdown-option.selected {
    background: #eff6ff;
}
.device-dropdown-option img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    background: #eef2ff;
    padding: 3px;
    flex-shrink: 0;
}
.device-dropdown-option-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.device-dropdown-option-info {
    flex: 1;
    min-width: 0;
}
.device-dropdown-option-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #111827;
}
.device-dropdown-option-model {
    font-size: 0.6875rem;
    color: #6b7280;
}
/* Category card grid */
.bk-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 0.5rem;
}
.bk-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    padding: 0.875rem 0.5rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #fff;
    cursor: pointer;
    transition: all 0.15s ease;
}
.bk-cat-card:hover {
    border-color: #93c5fd;
    background: #f8faff;
}
.bk-cat-card.active {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.bk-cat-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.bk-cat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
    line-height: 1.2;
}
.device-dropdown-empty {
    padding: 1.25rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.8125rem;
}
.spinner--sm {
    width: 18px;
    height: 18px;
    border-width: 2px;
}
