/* ═══════════════════════════════════════════════════════════════
   seleziona-laboratorio.css — Page-specific styles (shared base in booking-flow.css)
   ═══════════════════════════════════════════════════════════════ */

/* ── Province select (desktop filter) ── */
.province-select {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    min-width: 200px;
    cursor: pointer;
}

/* ── Notice modal footer ── */
.notice-modal-footer {
    display: flex;
    justify-content: flex-end;
}

/* ── Step connector done state ── */
.step-connector-done { background: #10b981; }

/* ── Province header icon ── */
.province-group-header h2 i {
    color: #94a3b8;
    margin-right: 4px;
    font-size: 0.8em;
}

/* ── Button container spacing ── */
.button-container-bottom { margin-bottom: 80px; }

/* ═══════════════════════════════════════
   Collapsible Info Notice
   ═══════════════════════════════════════ */
.info-notice {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 18px;
    overflow: hidden;
}
.info-notice-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.82em;
    font-weight: 600;
    color: #64748b;
    transition: background 0.2s;
}
.info-notice-toggle:hover { background: #f1f5f9; }
.info-notice-toggle i:first-child {
    width: 24px; height: 24px;
    background: #eff6ff;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: #3b82f6; font-size: 11px; flex-shrink: 0;
}
.info-notice-toggle .chevron {
    margin-left: auto;
    font-size: 11px;
    color: #94a3b8;
    transition: transform 0.3s;
}
.info-notice.open .info-notice-toggle .chevron { transform: rotate(180deg); }
.info-notice-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.info-notice.open .info-notice-body { max-height: 300px; }
.info-notice-body-inner {
    padding: 0 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.info-notice-body-inner .info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.84em;
    line-height: 1.6;
    color: #475569;
}
.info-notice-body-inner .info-item i {
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 11px;
}
.info-notice-body-inner .info-item.blue i { color: #3b82f6; }
.info-notice-body-inner .info-item.amber i { color: #f59e0b; }

/* ═══════════════════════════════════════
   Unified Filter Bar
   ═══════════════════════════════════════ */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.filter-bar-search {
    flex: 1;
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 14px;
    transition: all 0.25s;
}
.filter-bar-search:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}
.filter-bar-search i { color: #94a3b8; font-size: 14px; flex-shrink: 0; }
.filter-bar-search input {
    flex: 1;
    border: none;
    background: none;
    padding: 10px 4px;
    font-size: 0.88em;
    outline: none;
    min-height: 42px;
    color: #1e293b;
}
.filter-bar-search input::placeholder { color: #94a3b8; }
.filter-bar-divider {
    width: 1px; height: 24px;
    background: #e2e8f0;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════
   Lab-Type Badge
   ═══════════════════════════════════════ */
.lab-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.65em;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    vertical-align: middle;
}
.lab-type-badge-fioroni { background: #2563eb; color: #fff; }
.lab-type-badge-synlab { background: #db2777; color: #fff; }
.lab-type-badge-santagostino { background: #059669; color: #fff; }
.lab-type-badge-butterfly { background: #d97706; color: #fff; }
.lab-type-badge-custom { background: #4f46e5; color: #fff; }

/* ═══════════════════════════════════════
   Card Visual Refresh
   ═══════════════════════════════════════ */
/* Accent stripe at top per lab type */
.center-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
}
.center-card[data-type="fioroni"]::before { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.center-card[data-type="synlab"]::before { background: linear-gradient(90deg, #db2777, #f472b6); }
.center-card[data-type="santagostino"]::before { background: linear-gradient(90deg, #059669, #34d399); }
.center-card[data-type="butterfly"]::before { background: linear-gradient(90deg, #d97706, #fbbf24); }
.center-card[data-type="custom"]::before { background: linear-gradient(90deg, #4f46e5, #818cf8); }

/* ═══════════════════════════════════════
   Card Entrance Animation
   ═══════════════════════════════════════ */
@keyframes cardSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.center-card {
    opacity: 0;
    animation: cardSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
/* Stagger: each card gets a small delay via nth-child */
.centers-grid .center-card:nth-child(1) { animation-delay: 0.03s; }
.centers-grid .center-card:nth-child(2) { animation-delay: 0.08s; }
.centers-grid .center-card:nth-child(3) { animation-delay: 0.13s; }
.centers-grid .center-card:nth-child(4) { animation-delay: 0.18s; }
.centers-grid .center-card:nth-child(5) { animation-delay: 0.23s; }
.centers-grid .center-card:nth-child(6) { animation-delay: 0.28s; }
.centers-grid .center-card:nth-child(n+7) { animation-delay: 0.32s; }

/* ═══════════════════════════════════════
   Map-click Card Pulse
   ═══════════════════════════════════════ */
@keyframes cardPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,99,235,0.4); }
    70%  { box-shadow: 0 0 0 10px rgba(37,99,235,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); }
}
.center-card.pulse {
    animation: cardPulse 0.6s ease;
}

/* ── Container (wider for lab grid) ── */
.container {
    max-width: 1100px;
    width: 100%;
    margin: -20px auto 40px;
    padding: 0;
    position: relative;
    z-index: 10;
}

/* ── Layout ── */
.lab-page-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.lab-page-layout > div:first-child {
    flex: 1;
    min-width: 0;
}

/* Map above list */
.map-panel {
    height: 300px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    border-bottom: none;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.map-panel #labMap {
    width: 100%;
    height: 100%;
}
.map-toggle-btn {
    display: none;
}
.list-panel {
    background: #fff;
    border-radius: 0 0 16px 16px;
    border: 1px solid rgba(0,0,0,0.05);
    border-top: none;
    padding: 28px 32px;
}

/* Geolocation button */
.geo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.82em;
    font-weight: 600;
    color: #2563eb;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.geo-btn:hover {
    background: #eff6ff;
    border-color: #2563eb;
}
.geo-btn.loading {
    opacity: 0.6;
    pointer-events: none;
}
.geo-btn i { font-size: 14px; }
.distance-badge {
    display: inline-block;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.75em;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 6px;
    border: 1px solid #a7f3d0;
}

/* Mobile bottom-sheet filter */
.mobile-filter-toggle {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 16px;
    z-index: 300;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(37,99,235,0.4);
    font-size: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: bottom 0.3s ease;
}
.mobile-filter-toggle.shifted {
    bottom: 140px;
}
.bottom-sheet-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 400;
}
.bottom-sheet-overlay.show { display: block; }
.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 24px 20px 32px;
    z-index: 401;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 75vh;
    overflow-y: auto;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.15);
}
.bottom-sheet.show { transform: translateY(0); }
.bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background: #d1d5db;
    border-radius: 2px;
    margin: 0 auto 16px;
}
.bottom-sheet h3 {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 16px;
    color: #111827;
}
.bottom-sheet .filter-group {
    margin-bottom: 16px;
}
.bottom-sheet .filter-group label {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 8px;
}
.bottom-sheet select,
.bottom-sheet input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    background: #f9fafb;
    -webkit-appearance: none;
    appearance: none;
}
.bottom-sheet .chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.bottom-sheet .chip-grid .quick-filter-chip {
    padding: 10px 16px;
    font-size: 14px;
}
.bottom-sheet-apply {
    width: 100%;
    padding: 16px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
}

/* Geo + Filters Wrapper */
.geo-filters-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.geo-filters-wrapper .quick-filters {
    margin-bottom: 0;
    flex: 1;
}

/* Quick Province Filters */
.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.quick-filter-chip {
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 0.8em;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.quick-filter-chip:hover {
    background: #f1f5f9;
    color: #1e293b;
}
.quick-filter-chip.active {
    background: #1e293b;
    color: #fff;
    border-color: #1e293b;
}

.search-box {
    margin-bottom: 30px;
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 14px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    -webkit-tap-highlight-color: transparent;
    min-height: 48px;
}

.search-box input:focus {
    outline: none;
    border-color: #3f51b5;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.tab {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.tab:hover {
    color: #3f51b5;
}

.tab.active {
    color: #3f51b5;
    border-bottom-color: #3f51b5;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Province group header */
.province-group {
    margin-bottom: 12px;
}
.province-group-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 8px;
    margin-bottom: 16px;
}
.province-group-header h2 {
    font-size: 0.82em;
    font-weight: 700;
    color: #94a3b8;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.province-group-header .lab-count {
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.7em;
    font-weight: 700;
}

/* Result counter */
.result-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.82em;
    color: #64748b;
    font-weight: 600;
}
.result-counter i { color: #94a3b8; font-size: 13px; }

.centers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.center-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    overflow: hidden;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
}

.center-card:hover {
    border-color: rgba(37,99,235,0.2);
    box-shadow: 0 8px 30px rgba(37,99,235,0.10), 0 2px 8px rgba(0,0,0,0.04);
    transform: translateY(-3px);
}

.center-card:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(37,99,235,0.08);
}

.center-card.selected {
    border-color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f7ff 100%);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12), 0 8px 24px rgba(37,99,235,0.10);
}
.center-card.selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    box-shadow: 0 2px 8px rgba(37,99,235,0.35);
}

.center-card input[type="radio"] {
    display: none;
}

.card-inner {
    padding: 20px 22px 18px;
}

.card-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.center-name {
    font-size: 0.95em;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    line-height: 1.3;
}

/* Price pulled up to top-right of card */
.card-price-tag {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #065f46;
    font-size: 0.95em;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 10px;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -0.01em;
}
.card-price-tag-info {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1e40af;
    font-size: 0.78em;
    font-weight: 600;
}

.center-details {
    font-size: 0.85em;
    color: #64748b;
    line-height: 1.55;
}
.center-details .detail-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}
.center-details .detail-row i {
    color: #94a3b8;
    font-size: 11px;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

/* Price detail row (below card details — for sample cost) */
.center-price-row {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}
.center-price {
    font-size: 0.8em;
    font-weight: 600;
    color: #64748b;
}

.center-sample-cost {
    font-size: 0.76em;
    color: #92400e;
    background: #fffbeb;
    padding: 6px 10px;
    border-radius: 8px;
    line-height: 1.4;
    font-weight: 500;
}

.center-price-info {
    color: #2563eb;
    font-size: 0.9em;
    font-weight: 600;
}

.no-results-icon {
    font-size: 2em;
    color: #d1d5db;
    margin-bottom: 12px;
    display: block;
}

.center-location {
    font-size: 0.82em;
    color: #9ca3af;
    margin-top: 4px;
}

.warning-inline {
    color: #dc2626;
    font-weight: 600;
    font-size: 0.76em;
    margin-top: 10px;
    background: #fff5f5;
    padding: 6px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
}
.warning-inline i {
    font-size: 10px;
    flex-shrink: 0;
}
.warning-inline-amber {
    background: #fffbeb;
    color: #b45309;
}

.santagostino-activation-warning {
    display: none;
    width: 100%;
    margin-top: 10px;
    padding: 8px 10px;
    align-items: center;
    gap: 8px;
    color: #92400e;
    background: #fffbeb;
    border-radius: 8px;
    font-size: 0.76em;
    font-weight: 600;
    line-height: 1.4;
}

.santagostino-activation-warning i {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #b45309;
    background: rgba(245, 158, 11, 0.14);
    border-radius: 50%;
    font-size: 10px;
}

.center-card.selected .santagostino-activation-warning {
    display: flex;
}

.button-container {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    justify-content: center;
}

.notice-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 9999;
}

.notice-overlay.show {
    display: flex;
}

.notice-modal {
    width: 100%;
    max-width: 560px;
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 22px 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.30);
}

.notice-modal h2 {
    font-size: 1.15em;
    margin-bottom: 10px;
    color: #111827;
}

.notice-modal p {
    color: #374151;
    margin-bottom: 16px;
}

/* Sticky Selection Bar */
.sticky-selection {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 14px 24px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 200;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.06);
}
.sticky-selection.show { display: flex; }
.sticky-selection-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sticky-lab-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.sticky-lab-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 14px;
}
.sticky-lab-location {
    font-size: 12px;
    color: #64748b;
}
.sticky-selection .btn-primary {
    padding: 10px 24px;
    font-size: 14px;
    border-radius: 10px;
}


/* Sidebar - hide on mobile */
@media (max-width: 900px) {
    .lab-page-layout { flex-direction: column !important; }
    .fdt-sidebar { display: none !important; }
}

@media (max-width: 768px) {
    /* ── Map: collapsible on mobile ── */
    .map-panel {
        height: 180px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        transition: height 0.35s ease;
    }
    .map-panel.collapsed { height: 0; border: none; }
    .map-toggle-btn {
        display: flex;
        align-items: center; justify-content: center;
        gap: 6px; width: 100%; padding: 10px;
        background: #f0f4ff; border: none;
        border-bottom: 1px solid #dbeafe;
        color: #2563eb; font-size: 0.82rem; font-weight: 600;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .map-toggle-btn i { font-size: 12px; transition: transform 0.3s; }
    .map-panel.collapsed + .map-toggle-btn i,
    .map-toggle-btn.map-hidden i { transform: rotate(180deg); }

    .container { margin: 0; padding: 0; max-width: 100vw; overflow-x: hidden; }

    .list-panel {
        border-radius: 0; border-left: none; border-right: none;
        padding: 20px 14px 160px;
        box-shadow: none; max-width: 100vw;
        overflow-wrap: break-word; word-wrap: break-word;
    }
    .list-panel > div, .list-panel p, .list-panel form {
        max-width: 100%; overflow-wrap: break-word; word-wrap: break-word; box-sizing: border-box;
    }
    #provinceFilter { min-width: 0 !important; }

    /* ── Filters ── */
    .geo-filters-wrapper {
        flex-direction: column; align-items: stretch;
        gap: 10px; margin-bottom: 16px; overflow: hidden;
    }
    .geo-filters-wrapper .quick-filters { flex: none; width: 100%; max-width: 100%; }
    .geo-btn { width: 100%; justify-content: center; padding: 12px 16px; font-size: 14px; min-height: 48px; }
    .quick-filters {
        gap: 6px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px;
        -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; margin-bottom: 0;
    }
    .quick-filters::-webkit-scrollbar { display: none; }
    .quick-filter-chip { flex-shrink: 0; padding: 8px 16px; font-size: 13px; min-height: 38px; }

    /* ── Filter bar ── */
    .filter-bar { flex-direction: column; gap: 8px; padding: 10px 14px; }
    .filter-bar-search { min-width: 0; width: 100%; }
    .filter-bar-search input { font-size: 16px; min-height: 44px; }
    .filter-bar-divider { display: none; }
    .filter-bar .geo-btn { width: 100%; min-height: 44px; font-size: 14px; }
    .filter-bar .quick-filters { width: 100%; }

    /* ── Info notice ── */
    .info-notice-toggle { padding: 12px 14px; font-size: 0.84em; }
    .info-notice-body-inner { padding: 0 14px 14px; }
    .info-notice-body-inner .info-item { font-size: 0.8em; }

    /* ── Card price tag ── */
    .card-price-tag { font-size: 0.82em; padding: 5px 10px; }
    .card-price-tag-info { font-size: 0.72em; }

    /* ── Center cards: better touch ── */
    .centers-grid { grid-template-columns: 1fr; gap: 10px; }
    .center-card { border-radius: 12px; }
    .center-card:active { transform: scale(0.98); }
    .center-card.selected { box-shadow: 0 0 0 3px rgba(37,99,235,0.2); }
    .center-card.selected::after { top: 12px; right: 12px; width: 24px; height: 24px; font-size: 11px; }
    .card-inner { padding: 14px 16px; }
    .center-name { font-size: 0.95em; }
    .center-details { font-size: 0.83em; }
    .center-details .detail-row { margin-bottom: 3px; }
    .center-price { font-size: 1.05em; }
    .center-price-row { margin-top: 10px; padding-top: 10px; }
    .center-sample-cost { font-size: 0.75em; padding: 3px 8px; }
    .result-counter { font-size: 0.84em; padding: 10px 14px; border-radius: 10px; }
    .warning-inline { font-size: 0.78em; padding: 5px 8px; }
    .santagostino-activation-warning { margin-top: 10px; padding: 11px 12px; gap: 9px; font-size: 0.8em; border-radius: 11px; }
    .santagostino-activation-warning i { width: 26px; height: 26px; font-size: 0.9em; }

    .tabs { flex-direction: column; }
    .search-box { flex-direction: column; align-items: stretch; gap: 8px; }
    .search-box input, #provinceFilter { width: 100%; padding: 14px 16px; font-size: 16px; min-height: 50px; border-radius: 12px; }

    /* ── Buttons ── */
    .button-container { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 24px; }

    /* ── Sticky selection bar ── */
    .sticky-selection { flex-direction: row; gap: 12px; padding: 12px 16px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
    .sticky-selection-info { flex: 1; min-width: 0; }
    .sticky-lab-icon { width: 38px; height: 38px; border-radius: 10px; font-size: 15px; }
    .sticky-lab-name { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .sticky-lab-location { font-size: 12px; }
    .sticky-selection .btn-primary { flex-shrink: 0; padding: 12px 20px; font-size: 14px; min-height: auto; width: auto; }

    /* ── Province group headings ── */
    .province-group-header { padding: 12px 0 8px; margin-bottom: 10px; }
    .province-group-header h2 { font-size: 0.92em; }
    .province-group-header .lab-count { font-size: 0.7em; padding: 2px 8px; }

    /* ── Fai da Te card mobile ── */
    .faidate-card .card-inner { gap: 12px; }
    .faidate-card .faidate-icon { width: 36px; height: 36px; border-radius: 10px; font-size: 14px; }

    /* ── Notice modal mobile ── */
    .notice-modal { padding: 20px 18px 16px; border-radius: 14px; }
    .notice-modal h2 { font-size: 1.05em; }
    .notice-modal p { font-size: 0.9em; line-height: 1.6; }
}

@media (max-width: 480px) {
    .list-panel { padding: 16px 14px 160px; }
    .card-inner { padding: 12px 14px; }
    .center-name { font-size: 0.9em; }
    .center-details { font-size: 0.8em; }
    .quick-filter-chip { padding: 7px 14px; font-size: 12px; min-height: 34px; }
    .center-price { font-size: 0.98em; }
    .sticky-selection { padding: 10px 12px; gap: 10px; }
    .sticky-lab-name { font-size: 13px; }
    .sticky-selection .btn-primary { padding: 10px 16px; font-size: 13px; }
}

/* ── Safe area bottom insets (notch phones) ── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .sticky-selection {
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }
    .list-panel {
        padding-bottom: calc(160px + env(safe-area-inset-bottom));
    }
}
