/* Use the cart summary's heading and supporting-text scale. */
.ch-product-info .ch-preorder-note:not([hidden]),
.ch-preorder-checkout {
    border: 0;
    padding: 20px 24px;
    border-radius: var(--card-radius, 12px);
    background-color: var(--color-secondary, #f1f2f3);
    color: var(--ch-dark, #202124);
    font-size: var(--text-sm, 14px);
    line-height: var(--text-sm--line-height, 20px);
}
.ch-preorder-checkout { margin: 0 0 24px; }
.ch-product-info .ch-preorder-note:not([hidden]) { margin: 16px 0; }
.ch-product-info .ch-preorder-note p { margin: 0 0 4px; }
.ch-product-info .ch-product-stock:has([data-state="preorder"], [data-state="mixed"]) {
    --ch-preorder: var(--color-secondary, #f1f2f3);
    --ch-preorder-text: var(--ch-dark, #202124);
}
.ch-preorder-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 4px 20px;
}
.ch-preorder-header h2 {
    margin: 0;
    font-size: var(--text-lg, 18px);
    font-weight: var(--font-weight-bold, 700);
    font-family: inherit;
    line-height: 1.15;
    letter-spacing: -.025em;
    text-wrap: balance;
}
.ch-product-info .ch-preorder-note a,
.ch-preorder-header a {
    color: var(--ch-action, #176b50);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ch-product-info .ch-preorder-note a:hover,
.ch-preorder-header a:hover { color: var(--ch-success-hover, #11523d); }
.ch-preorder-header .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.ch-preorder-copy {
    margin-top: 6px;
    max-width: 75ch;
}
.ch-preorder-copy p {
    margin: 0;
    text-wrap: pretty;
}
.ch-preorder-copy p + p { margin-top: 4px; }
.ch-preorder-copy strong { font-weight: 500; }
.ch-preorder-copy details { margin-top: 10px; }
.ch-preorder-copy summary {
    display: list-item;
    list-style: disclosure-closed inside;
    width: fit-content;
    padding-block: 3px;
    cursor: pointer;
    font-weight: 500;
}
.ch-preorder-copy details[open] > summary { list-style-type: disclosure-open; }
.ch-preorder-copy details > div {
    padding-top: 4px;
    color: var(--ch-muted, #62656a);
}
.ch-product-info .ch-preorder-note a:focus-visible,
.ch-preorder-checkout :is(a, summary):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
@media (max-width: 639px) {
    .ch-product-info .ch-preorder-note:not([hidden]),
    .ch-preorder-checkout { padding: 16px; }
    .ch-preorder-header { display: grid; }
}
