/* Compact catalog header and full-width quote form; scoped to product archives. */
.edl-tax-page .edl-tax-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
}
.edl-tax-page .edl-tax-hero__content { flex: 1; min-width: 0; max-width: none; }
.edl-tax-page .edl-tax-hero h1 { font-size: 36px; line-height: 1.12; }
.edl-tax-page .edl-tax-hero__text { margin-top: 8px; font-size: 16px; line-height: 1.5; }
.edl-tax-page .edl-tax-hero__text p { margin: 0; }
.edl-tax-page .edl-tax-hero .edl-tax-actions { flex: 0 0 auto; width: auto; margin-top: 0; }
.edl-tax-page .edl-tax-hero .edl-tax-button { min-height: 38px; padding: 0 12px; font-size: 13px; }

.edl-tax-page .edl-tax-section { margin-top: 24px; }
.edl-tax-page .edl-tax-content-layout:not(.edl-tax-content-layout--with-sidebar) { display: block; }
.edl-tax-page .edl-tax-category-navigation { margin-top: 18px; }
.edl-tax-page .edl-tax-category-navigation .edl-tax-section__head { margin-bottom: 8px; }
.edl-tax-page .edl-tax-category-navigation .edl-tax-kicker { display: none; }
.edl-tax-page .edl-tax-category-navigation h2 { font-size: 16px; }
.edl-tax-category-navigation__hint { display: none; }
.edl-tax-page .edl-tax-category-navigation .edl-tax-related--primary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}
.edl-tax-page .edl-tax-category-navigation .edl-tax-related--primary a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    max-width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    background: #f8fafb;
}
.edl-tax-page .edl-tax-category-navigation .edl-tax-related--primary strong {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.edl-tax-page #edl-tax-request {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 18px 0 0;
    padding: 0;
    border: 1px solid #e6d4d6;
    border-radius: 8px;
    background: #fff8f8;
    box-shadow: none;
    scroll-margin-top: 90px;
}
#edl-tax-request > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 74px;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
}
#edl-tax-request > summary::-webkit-details-marker { display: none; }
#edl-tax-request > summary::marker { content: ''; }
#edl-tax-request > summary:focus-visible { outline: 3px solid #315ea8; outline-offset: 3px; }
.edl-tax-request__intro { display: block; min-width: 0; }
.edl-tax-request__intro strong { display: block; color: #172231; font-size: 17px; font-weight: 850; line-height: 1.3; }
.edl-tax-request__intro > span { display: block; margin-top: 4px; color: #5c6c7f; font-size: 14px; line-height: 1.45; }
.edl-tax-request__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 10px;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 6px;
    background: #c73f48;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}
.edl-tax-request__icon { font-size: 22px; line-height: 1; transition: transform .15s ease; }
#edl-tax-request[open] .edl-tax-request__icon { transform: rotate(45deg); }
.edl-tax-request__body { padding: 18px; border-top: 1px solid #e6d4d6; background: #fff; }
.edl-tax-page #edl-tax-request .edl-tax-request-form { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.edl-tax-page #edl-tax-request .edl-tax-request-field input,
.edl-tax-page #edl-tax-request .edl-tax-request-field textarea { min-width: 0; font-family: inherit; font-size: 16px; }
.edl-tax-page #edl-tax-request .edl-tax-request-field textarea { min-height: 84px; }

@media (max-width: 900px) {
    .edl-tax-page .edl-tax-hero { flex-direction: column; gap: 12px; }
    .edl-tax-page .edl-tax-hero__content { width: 100%; }
    .edl-tax-page .edl-tax-hero h1 { font-size: 30px; line-height: 1.12; }
    .edl-tax-page .edl-tax-hero__text { font-size: 15px; }
    .edl-tax-page #edl-tax-request .edl-tax-request-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .edl-tax-page .edl-tax-hero h1 { font-size: 28px; }
    .edl-tax-page .edl-tax-hero .edl-tax-button { min-height: 34px; }
    #edl-tax-request > summary { gap: 10px; padding: 12px; min-height: 68px; }
    .edl-tax-request__intro strong { font-size: 15px; }
    .edl-tax-request__intro > span { display: none; }
    .edl-tax-request__toggle { gap: 6px; padding: 8px; font-size: 12px; }
    .edl-tax-request__body { padding: 14px; }
    .edl-tax-page #edl-tax-request .edl-tax-request-form { grid-template-columns: minmax(0, 1fr); }
    .edl-tax-page .edl-tax-category-navigation .edl-tax-related--primary a { min-height: 40px; }
    .edl-tax-page .edl-tax-category-navigation .edl-tax-section__head > div {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 4px 12px;
        width: 100%;
    }
    .edl-tax-category-navigation__hint { display: block; color: #5c6c7f; font-size: 12px; }
    .edl-tax-page .edl-tax-category-navigation .edl-tax-related--primary {
        display: grid;
        grid-auto-flow: column;
        grid-template-columns: none;
        grid-template-rows: repeat(2, max-content);
        grid-auto-columns: max-content;
        justify-content: start;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
        padding-bottom: 6px;
    }
    .edl-tax-page .edl-tax-category-navigation .edl-tax-related--primary a { max-width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
    .edl-tax-request__icon { transition: none; }
}
