.la-page-wrapper {
    min-height: 100vh;
    background: #f8fafc;
}

/* Override per garantire che [hidden] vinca su .la-model{display:flex} ecc. */
.la-brand[hidden],
.la-model[hidden],
.la-empty[hidden],
.la-search-clear[hidden] {
    display: none !important;
}

.la-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* Breadcrumb (above hero, left-aligned) */
.la-breadcrumb {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
    text-align: left;
}

/* Hero */
.la-hero {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e5e7eb;
}

.la-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.la-breadcrumb a:hover {
    text-decoration: underline;
}

.la-breadcrumb-sep {
    margin: 0 8px;
    color: #cbd5e1;
}

.la-hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.la-hero-subtitle {
    font-size: 17px;
    color: #475569;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto 18px;
}

.la-hero-subtitle strong {
    color: #0f172a;
    font-weight: 700;
}

.la-disclaimer {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.la-disclaimer strong {
    color: #475569;
}

.la-asterisk {
    color: #2563eb;
    font-weight: 700;
}

/* Layout: brands 2/3 + search 1/3 */
.la-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-areas: "brands search";
    gap: 28px;
    align-items: start;
}

.la-brands {
    grid-area: brands;
    display: grid;
    gap: 14px;
    min-width: 0;
}

.la-search-aside {
    grid-area: search;
    position: sticky;
    top: 96px;
    align-self: start;
}

.la-search-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 22px 18px;
    box-shadow: 0 4px 14px -8px rgba(15, 23, 42, 0.08);
}

.la-search-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.la-search-hint {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 14px;
    line-height: 1.5;
}

.la-search-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.la-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.la-search-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}

.la-search-input {
    width: 100%;
    padding: 11px 38px 11px 38px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: #0f172a;
    background: #f8fafc;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    -webkit-appearance: none;
    appearance: none;
}

.la-search-input::placeholder {
    color: #94a3b8;
}

.la-search-input:focus {
    outline: none;
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.la-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.la-search-clear {
    position: absolute;
    right: 8px;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: background 0.15s;
}

.la-search-clear:hover {
    background: #cbd5e1;
}

.la-search-btn {
    padding: 11px 16px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.la-search-btn:hover {
    background: #1d4ed8;
}

.la-search-btn:active {
    transform: translateY(1px);
}

.la-search-select {
    width: 100%;
    padding: 10px 36px 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: #0f172a;
    background: #f8fafc url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%2364748b' d='M6 8 0 0h12z'/></svg>") no-repeat right 14px center;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.la-search-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* Blog news box in sidebar */
.la-news-box {
    margin-top: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 24px 20px;
    box-shadow: 0 4px 14px -8px rgba(15, 23, 42, 0.08);
}
.la-news-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}
.la-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.la-news-item {
    display: flex;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    align-items: stretch;
    padding: 8px;
    margin: -8px;
    border-radius: 10px;
    transition: background 0.15s;
    min-height: 86px;
}
.la-news-item:hover { background: #f8fafc; }
.la-news-thumb {
    flex: 0 0 100px;
    width: 100px;
    height: 70px;
    align-self: center;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 22px;
}
.la-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.la-news-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.la-news-headline {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.la-news-date {
    font-size: 12px;
    color: #94a3b8;
}
.la-news-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.la-news-more:hover { text-decoration: underline; }
.la-news-more i { font-size: 11px; transition: transform 0.15s; }
.la-news-more:hover i { transform: translateX(3px); }

.la-search-status {
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
    min-height: 20px;
}

.la-search-status:empty {
    display: none;
}

/* Empty state ricerca */
.la-empty {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.la-empty i {
    font-size: 36px;
    margin-bottom: 14px;
    color: #cbd5e1;
}

.la-empty p {
    margin: 0;
    font-size: 15px;
}

.la-brand {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.la-brand:hover {
    border-color: #cbd5e1;
}

.la-brand[open] {
    border-color: #2563eb;
    box-shadow: 0 8px 24px -10px rgba(37, 99, 235, 0.18);
}

.la-brand-summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    user-select: none;
}

.la-brand-summary::-webkit-details-marker {
    display: none;
}

.la-brand-logo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 12px;
    padding: 2px;
}

.la-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.la-logo-placeholder {
    color: #94a3b8;
    font-size: 22px;
}

.la-brand-info {
    flex: 1;
    min-width: 0;
}

.la-brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px;
    line-height: 1.2;
}

.la-brand-count {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.la-brand-toggle {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s, background 0.2s;
    font-size: 14px;
}

.la-brand[open] .la-brand-toggle {
    transform: rotate(180deg);
    background: #2563eb;
    color: #fff;
}

/* Models list - una riga per modello */
.la-models {
    padding: 4px 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #f1f5f9;
}

.la-model {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.la-model:hover {
    background: #fff;
    border-color: #e2e8f0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.08);
}

.la-model-img {
    flex-shrink: 0;
    width: 160px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.la-model-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.la-img-placeholder {
    color: #cbd5e1;
    font-size: 44px;
}

.la-model-info {
    flex: 1;
    min-width: 0;
}

.la-model-name {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.la-model-price {
    font-size: 15px;
    color: #64748b;
    margin: 0;
    line-height: 1.3;
}

.la-model-price strong {
    font-size: 18px;
    font-weight: 700;
    color: #2563eb;
}

.la-model-price--quote {
    color: #94a3b8;
    font-style: italic;
}

/* Footnote */
.la-footnote {
    margin-top: 40px;
    padding: 22px 24px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.la-footnote p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.7;
}

.la-footnote strong {
    color: #475569;
}

/* Responsive: tablet -> stack search sopra brands */
@media (max-width: 900px) {
    .la-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "search"
            "brands";
        gap: 20px;
    }

    .la-search-aside {
        position: static;
    }
}

@media (max-width: 640px) {
    .la-container {
        padding: 24px 16px 60px;
    }

    .la-hero h1 {
        font-size: 30px;
    }

    .la-hero-subtitle {
        font-size: 15px;
    }

    .la-brand-summary {
        padding: 14px 16px;
        gap: 14px;
    }

    .la-brand-logo {
        width: 44px;
        height: 44px;
        padding: 2px;
        border-radius: 10px;
    }

    .la-brand-name {
        font-size: 17px;
    }

    .la-brand-count {
        font-size: 13px;
    }

    .la-brand-toggle {
        width: 32px;
        height: 32px;
    }

    .la-models {
        padding: 4px 10px 14px;
    }

    .la-model {
        padding: 12px;
        gap: 12px;
    }

    .la-model-img {
        width: 110px;
        height: 70px;
    }
}
