.stock-range-request {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .75rem 1.5rem;
    padding: clamp(16px, 3vw, 30px);
    margin-block-end: 1rem;
    background: #ecefe6;
    border-inline-start: 3px solid #52644d;
}
.stock-range-request p { margin: 0; line-height: 1.55; color: #273c30; }
.stock-range-request .button { max-width: 100%; white-space: normal; }
html:has(.atelier-design.page-catalog) {
    scroll-padding-block-start: calc(88px + var(--wp-admin--admin-bar--height, 0px));
}
@media (max-width: 640px) {
    html:has(.atelier-design.page-catalog) {
        scroll-padding-block-start: calc(76px + var(--wp-admin--admin-bar--height, 0px));
    }
}
.development-reference-collection { margin-block: clamp(32px, 5vw, 64px); }
.development-reference-collection .section-heading { margin-block-end: 20px; }
.development-reference-collection .section-heading h2 { margin: 0; }
.study-card { display: flex; min-width: 0; flex-direction: column; align-items: stretch; }
.study-image { display: block; overflow: hidden; background: #e8e6dc; aspect-ratio: 4 / 5; }
.study-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.study-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .15rem .4rem;
    margin-block-start: .65rem;
    color: #4c584e;
    font-size: .73rem;
    line-height: 1.5;
}
.study-meta bdi { font-variant-numeric: tabular-nums; white-space: nowrap; }
.study-card h3 { font: inherit; font-weight: 600; margin: .25rem 0 0; color: #21372c; overflow-wrap: anywhere; }
.study-card h3 a { text-decoration: none; }
.study-card .study-action { align-self: flex-start; min-height: 44px; text-align: start; white-space: normal; }
.stock-range-request + .catalog-utilities { justify-content: flex-start; }
.set-buying-summary dd { overflow-wrap: anywhere; }
.gallery-detail-caption { color: #48564b; font-size: .875rem; line-height: 1.5; margin: 8px 0; }
.gallery-detail-caption[hidden] { display: none; }
.product-development-actions { align-items: start; flex-wrap: wrap; }
.product-development-actions .alteration-info { flex-basis: 100%; min-width: 0; }
.product-development-actions .alteration-info h2 { font: inherit; font-weight: 600; margin: 0 0 .25em; }
.product-development-actions .alteration-info p { margin: 0; line-height: 1.55; }
.product-assortment .product-freight-policy { margin: 8px 0; font-size: .8125rem; line-height: 1.5; color: #4c584e; }
.product-assortment .product-freight-policy a { color: #243c31; text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 760px) {
    .collection-section .product-grid, .development-reference-collection .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-heading .set-buying-summary { grid-template-columns: 1fr; }
    .stock-range-request { align-items: flex-start; }
}

/* Keep the on-site brief first and the one-style conversation within thumb reach. */
:is(.study-contact-actions,.stock-contact-actions,.oem-contact-actions,.product-contact-actions) {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: .1rem .85rem;
}
:is(.study-contact-actions,.stock-contact-actions) { margin-block-start: auto; }
:is(.stock-contact-actions,.product-contact-actions,.oem-contact-actions) .ybx-quick-chat,
.study-contact-actions .ybx-quick-chat,
.product-mobile-actions .ybx-quick-chat {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 44px;
    color: #384f41;
    border: 0;
    background: transparent;
    font: 500 .8125rem/1.4 var(--sans);
    text-align: start;
    text-decoration: underline;
    text-underline-offset: .2em;
    overflow-wrap: anywhere;
}
.stock-contact-actions .stock-start,
.page-catalog .product-card .stock-contact-actions .catalog-card-configure {
    position: static;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    width: fit-content;
    padding: .45rem .7rem;
    border: 1px solid var(--accent);
    border-radius: 3px;
    color: var(--ink);
    background: var(--paper);
    text-decoration: none;
    font: 600 .86rem/1.4 var(--sans);
    text-align: start;
}
.page-catalog .product-card .product-image-wrap .catalog-card-pick {
    position: absolute;
    inset-block-start: 4px;
    inset-inline-end: 4px;
    display: inline-grid;
    place-content: center;
    width: 44px;
    min-height: 44px;
    padding: 0;
    gap: 0;
    background: transparent;
    margin: 0;
    border: 0;
}
.catalog-card-pick :is(.catalog-pick-plus,.catalog-pick-check) {
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    border: 1px solid #53614e;
    border-radius: 4px;
    background-color: #fff;
}
.page-catalog .catalog-card-pick .catalog-pick-plus .icon { display: none; }
.page-catalog .product-card .catalog-card-pick[aria-pressed=true] .catalog-pick-check {
    align-items: center;
    justify-content: center;
    background-color: var(--ink);
    color: white;
}
.oem-contact-actions { margin-block-start: auto; }
.journey-service .oem-contact-actions > .oem-route-action { margin-block: 0; }
.product-contact-actions { margin-block: .4rem; }
.product-development-actions > .product-contact-actions { width: 100%; }
.product-assortment .product-contact-actions > [data-add-configured] { width: auto; }
.product-mobile-actions > :only-child { grid-column: 1 / -1; }
.product-mobile-actions .ybx-quick-chat { justify-self: center; text-align: center; }
.product-mobile-actions.is-configuring { display: none; }
@media print { .ybx-quick-chat,.stock-contact-actions,.study-contact-actions { display:none!important; } }

.range-detail-link { display: block; color: inherit; text-decoration: none; }
.range-card { min-width: 0; }
.range-card .study-image { position: relative; }
.range-type {
    position: absolute;
    inset-block-start: .5rem;
    inset-inline-start: .5rem;
    max-width: calc(100% - 1rem);
    padding: .21rem .45rem;
    color: #fff;
    background: #2b493b;
    border-radius: 2px;
    font: 600 .75rem/1.4 var(--sans);
    overflow-wrap: anywhere;
    pointer-events: none;
}
.study-card .range-type { background: #f9f5e9; color: #544632; border: 1px solid #c4b69f; }
.range-detail-link h3 { display: flex; align-items: baseline; gap: .35rem; margin: .25rem 0 0; overflow-wrap: anywhere; font: 600 1rem/1.45 var(--sans); }
.range-detail-link h3 .icon { flex: none; width: .9rem; height: .9rem; }
.range-detail-link:hover h3 { text-decoration: underline; text-underline-offset: .18em; }
.range-condition { color: #4c584e; font-size: .83rem; line-height: 1.5; margin: .4rem 0 0; }
.range-references { align-self: flex-start; margin-block-start: 1rem; }
[dir=rtl] .range-detail-link h3 .icon { transform: scaleX(-1); }
#catalog-stock-grid.is-batch-selecting .range-type { max-width: calc(100% - 60px); }
