/* Autoglo category detail: catalog pages (left) + sticky enquiry (right) */
.autoglo-catalog {
    padding: 2rem 0 3.5rem;
    background: #f3f5f7;
}

.autoglo-catalog__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.4fr);
    gap: 1.75rem;
    align-items: start;
}

.autoglo-catalog__pages {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.autoglo-catalog__page {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.autoglo-catalog__page img {
    display: block;
    width: 100%;
    height: auto;
}

.autoglo-catalog__aside {
    position: sticky;
    top: 100px;
}

.autoglo-catalog__note {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    padding: 1.6rem 1.4rem 1.5rem;
}

.autoglo-catalog__note-title {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0f172a;
}

.autoglo-catalog__note-text {
    margin: 0 0 1.35rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #64748b;
}

.autoglo-catalog__note-text strong {
    color: #0f172a;
    font-weight: 600;
}

.autoglo-catalog__note .enquiry {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.autoglo-catalog__note .enquiry form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    box-shadow: none;
    padding: 0;
}

.autoglo-catalog__note .formInput {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 !important;
    padding: 0.85rem 0.95rem !important;
    border: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #f8fafc;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.autoglo-catalog__note .formInput:focus-within {
    background: #fff;
    border-color: #09529d !important;
    box-shadow: 0 0 0 3px rgba(9, 82, 157, 0.12);
}

.autoglo-catalog__note .formInput img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.55;
}

.autoglo-catalog__note .formInput--message {
    align-items: flex-start;
}

.autoglo-catalog__note .formInput--message img {
    margin-top: 0.2rem;
}

.autoglo-catalog__note .formInput input,
.autoglo-catalog__note .formInput textarea {
    width: 100%;
    border: 0 !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
    margin: 0;
    color: #0f172a;
    font-size: 0.95rem;
    line-height: 1.45;
    font-family: inherit;
}

.autoglo-catalog__note .formInput textarea {
    min-height: 110px;
    resize: vertical;
}

.autoglo-catalog__note .formInput input::placeholder,
.autoglo-catalog__note .formInput textarea::placeholder {
    color: #94a3b8;
}

.autoglo-catalog__note .formSubmit,
.autoglo-catalog__note .enquiry form button.formSubmit {
    width: 100%;
    margin-top: 0.35rem !important;
    padding: 0.9rem 1rem !important;
    border: 0;
    outline: none;
    background: #09529d !important;
    color: #fff !important;
    font-size: 0.95rem !important;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.autoglo-catalog__note .formSubmit:hover,
.autoglo-catalog__note .enquiry form button.formSubmit:hover {
    background: #07427e !important;
}

.autoglo-catalog__note .formSubmit:active,
.autoglo-catalog__note .enquiry form button.formSubmit:active {
    transform: translateY(1px);
}

.autoglo-catalog__empty {
    padding: 2rem;
    background: #fff;
    border: 1px dashed rgba(15, 23, 42, 0.15);
    color: #64748b;
    text-align: center;
}

@media (max-width: 991px) {
    .autoglo-catalog__grid {
        grid-template-columns: 1fr;
    }

    .autoglo-catalog__pages {
        order: 1;
    }

    .autoglo-catalog__aside {
        position: static;
        top: auto;
        order: 2;
    }
}