/*
 * Car page (/cars/:slug), views/car.ejs. Built on the lcd.css tokens and
 * components: .data-panel, .range, .stat-row, .ladder, .car-card, .modal.
 *
 * Desktop: photo mosaic and the page's sections on the left, a sticky market
 * panel on the right. Below 960px everything stacks: photos, panel, sections.
 */

/* Head ------------------------------------------------------------------- */

.car-head {
    grid-area: head;
    min-width: 0;
    padding-bottom: clamp(24px, 2vw + 12px, 36px);
}

.car-head__crumbs {
    margin-bottom: clamp(20px, 2vw + 8px, 32px);
}

.car-head .eyebrow {
    margin-bottom: 14px;
}

.car-head__facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 18px;
}

.car-head__fact {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-2);
}

.car-head__fact + .car-head__fact::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--line-strong);
}

/* "1,701 listings across every Mercedes-Benz G-Class" wraps on a phone
   instead of pushing the page sideways */
.car-head__facts .chip {
    padding-block: 8px;
    line-height: 1.3;
    white-space: normal;
    text-wrap: balance;
}

.car-head__facts .chip svg {
    width: 15px;
    height: 15px;
    transition: transform 0.2s var(--ease);
}

.car-head__facts .chip:hover svg {
    transform: translateX(2px);
}

.car-head__lede {
    max-width: 70ch;
    margin-top: 20px;
}

/* Layout ----------------------------------------------------------------- */

.car-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-areas:
        "head aside"
        "gallery aside"
        "main aside";
    column-gap: clamp(32px, 3.2vw, 48px);
    align-items: start;
    padding-top: clamp(20px, 2vw + 8px, 36px);
    padding-bottom: clamp(56px, 5vw, 96px);
}

.car-layout--no-gallery {
    grid-template-areas:
        "head aside"
        "main aside";
}

.car-gallery {
    grid-area: gallery;
}

.car-aside {
    grid-area: aside;
    align-self: stretch;
}

/* The sections size themselves to this column, not the screen */
.car-main {
    grid-area: main;
    min-width: 0;
    container: car-main / inline-size;
}

/* Gallery: one large photo and two stacked beside it --------------------- */

.car-gallery {
    display: grid;
    gap: 6px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.car-gallery--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    aspect-ratio: 2 / 1;
}

.car-gallery--3 {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.car-gallery--3 .car-gallery__item:first-child {
    grid-row: 1 / 3;
}

.car-gallery__item {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background: var(--ink) url("/images/coming-soon.webp") center / cover no-repeat;
}

.car-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Market panel ----------------------------------------------------------- */

.car-panel__note {
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--on-ink-2);
}

/* A lone headline figure reads better with proportional digits */
.car-panel .big-number {
    margin-top: 10px;
    font-variant-numeric: proportional-nums;
}

.car-panel .range {
    margin-top: 8px;
}

.car-panel__stats {
    margin-top: 20px;
}

.car-panel__stats .stat {
    flex-basis: 40%; /* two per row */
    padding: 14px 16px;
}

.car-panel__stats .stat__value {
    font-size: 1.25rem;
}

.car-panel__empty {
    margin-top: 10px;
    font-family: var(--font-display);
    font-size: 2.25rem;
    line-height: 1.05;
}

.car-panel__cta {
    display: grid;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--ink-line);
}

.car-panel__cta p {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--on-ink-2);
}

.car-panel__cta strong,
.deals-unlock-copy strong {
    color: var(--brand-on-ink);
    font-weight: 600;
}

.car-panel__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--on-ink);
    text-decoration: none;
}

.car-panel__link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s var(--ease);
}

.car-panel__link:hover svg {
    transform: translateX(3px);
}

/* Sticky only when the whole panel fits under the header */
@media (min-width: 961px) and (min-height: 760px) {
    .car-panel {
        position: sticky;
        top: calc(var(--header-h) + 20px);
    }
}

/* Sections --------------------------------------------------------------- */

.car-section {
    padding-top: clamp(40px, 3vw + 20px, 64px);
}

.car-section__head {
    margin-bottom: 22px;
}

.car-section__head .eyebrow {
    margin-bottom: 12px;
}

.car-section__head .h2 {
    font-size: clamp(1.875rem, 1.4rem + 1.4vw, 2.5rem);
}

.car-section__lede {
    max-width: 66ch;
    margin-top: 12px;
    color: var(--text-2);
    line-height: 1.6;
}

.car-section__lede strong {
    color: var(--text);
    font-weight: 600;
}

.car-section__lede a {
    color: var(--text);
    font-weight: 500;
}

.car-section__more {
    margin-top: 14px;
}

.car-figure {
    padding: clamp(10px, 1.4vw, 18px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

/* Deals ------------------------------------------------------------------ */

.deals-access-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: var(--brand-tint);
    color: var(--brand-tint-ink);
    font-size: 0.875rem;
    line-height: 1.5;
}

.deals-access-note svg {
    flex: none;
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

.deal-list {
    display: grid;
    gap: 12px;
}

.deal-row {
    display: grid;
    grid-template-columns: 208px minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas:
        "media head price"
        "media reason reason"
        "media facts facts"
        "media actions actions";
    column-gap: 20px;
    padding: 12px 20px 12px 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.deal-row:target {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px var(--brand);
}

.deal-row__media {
    grid-area: media;
    position: relative;
    align-self: start;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--ink) url("/images/coming-soon.webp") center / cover no-repeat;
}

.deal-row__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deal-row__rank {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    border-radius: var(--radius-pill);
    background: rgba(11, 11, 12, 0.72);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.deal-row__head {
    grid-area: head;
    min-width: 0;
    padding-top: 6px;
}

.deal-row__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-bottom: 8px;
}

.deal-row__live {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--good-strong);
}

.deal-row__live svg {
    width: 14px;
    height: 14px;
}

.deal-row__title {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.deal-row__meta {
    margin-top: 4px;
    font-size: 0.875rem;
    color: var(--text-2);
}

.deal-row__price {
    grid-area: price;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    padding-top: 6px;
    text-align: right;
}

.deal-row__amount {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.deal-row__save {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    border-radius: var(--radius-pill);
    background: var(--good-tint);
    color: var(--good-strong);
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.deal-row__score {
    font-size: 0.75rem;
    color: var(--text-3);
    white-space: nowrap;
}

.deal-row__score strong {
    color: var(--text);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.deal-row__reason {
    grid-area: reason;
    margin-top: 10px;
    max-width: 72ch;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text-2);
}

.deal-row__actions {
    grid-area: actions;
    align-self: end;
    margin-top: 14px;
    padding-bottom: 6px;
}

/* Fair value and negotiation numbers (lib/market) */
.deal-row__facts {
    grid-area: facts;
    margin-top: 14px;
}

.deal-facts {
    border-radius: var(--radius-md);
}

.deal-facts .stat {
    flex-basis: 120px;
    gap: 4px;
    padding: 10px 14px;
    background: var(--paper);
}

.deal-facts .stat__label {
    letter-spacing: 0.08em;
}

.deal-facts .stat__value {
    font-size: 1.0625rem;
    letter-spacing: -0.015em;
}

.deal-facts .stat__note {
    font-size: 0.75rem;
}

.deal-facts .redacted {
    width: 5.5em;
    height: 1em;
    vertical-align: -0.1em;
}

.deal-facts__note {
    margin-top: 8px;
    font-size: 0.8125rem;
    color: var(--text-2);
}

/* Dealer name hidden on locked deals */
.deal-row__dealer {
    white-space: nowrap;
}

.redacted {
    display: inline-block;
    width: 7.5em;
    height: 1.05em;
    vertical-align: -0.15em;
    overflow: hidden;
    border-radius: 4px;
    background: repeating-linear-gradient(-45deg, var(--surface-2) 0 6px, var(--line) 6px 12px);
    color: transparent;
    user-select: none;
}

/* Locked deal call to action (views/partials/deal-lock.ejs) */
.deal-lock {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 10px 10px 10px 16px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-md);
    background: var(--paper);
}

.deal-lock-copy {
    display: flex;
    flex: 1 1 220px;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--text-2);
}

.deal-lock-copy .icon {
    color: var(--text-3);
}

.deal-lock-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: var(--radius-sm, 4px);
    background: var(--ink);
    color: var(--on-ink);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.2s var(--ease);
}

.deal-lock-btn:hover {
    background: var(--ink-3);
}

/* Open deal: VIN, listing link and negotiation email */
.deal-row__open {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.deal-unlocked {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 26px;
    padding: 0 10px;
    border-radius: var(--radius-pill);
    background: var(--brand-tint);
    color: var(--brand-tint-ink);
    font-size: 0.8125rem;
    font-weight: 600;
}

.deal-unlocked svg {
    width: 14px;
    height: 14px;
}

.deal-row__sample {
    flex-basis: 100%;
    font-size: 0.8125rem;
    color: var(--text-3);
}

.deal-row__vin {
    font-size: 0.875rem;
    color: var(--text-2);
}

.deal-row__vin .mono {
    color: var(--text);
}

.deal-row__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

.deal-row__buttons .btn svg {
    width: 16px;
    height: 16px;
}

/* Unlock every deal */
.deals-unlock-panel {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    margin-top: 20px;
    padding: clamp(24px, 2.5vw, 36px);
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--ink);
    color: var(--on-ink);
    isolation: isolate;
}

.deals-unlock-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(90% 120% at 100% 0%, rgba(var(--brand-rgb), 0.16), transparent 60%);
    pointer-events: none;
}

.deals-unlock-copy {
    flex: 1 1 320px;
}

.deals-unlock-copy h3 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.deals-unlock-copy p {
    margin-top: 10px;
    color: var(--on-ink-2);
    line-height: 1.55;
}

.deals-unlock-action {
    display: grid;
    flex: 0 1 280px;
    gap: 10px;
    text-align: center;
}

.deals-unlock-trust {
    font-size: 0.8125rem;
    color: var(--on-ink-3);
    text-wrap: balance;
}

/* Price by model year ---------------------------------------------------- */

.car-ladder {
    --ladder-label: 80px;
}

.car-ladder .ladder__year a {
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
}

.car-ladder .ladder__year a:hover {
    text-decoration-color: currentColor;
}

/* Price trend ------------------------------------------------------------ */

.trend {
    padding: clamp(16px, 2vw, 24px) clamp(12px, 1.6vw, 20px) clamp(12px, 1.4vw, 16px);
}

.trend__chart {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 52px;
    grid-template-rows: clamp(170px, 20vw, 240px) auto;
    grid-template-areas:
        "y plot ."
        ". x .";
    column-gap: 10px;
    border-radius: var(--radius-sm);
}

.trend__chart:focus-visible {
    outline-offset: 8px;
}

.trend__y {
    grid-area: y;
    position: relative;
}

.trend__y span {
    position: absolute;
    right: 0;
    transform: translateY(-50%);
    font-size: 0.75rem;
    line-height: 1;
    color: var(--text-3);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.trend__plot {
    grid-area: plot;
    position: relative;
    cursor: crosshair;
    touch-action: pan-y;
}

.trend__plot svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.trend__grid {
    stroke: var(--line);
    stroke-width: 1;
}

.trend__plot svg {
    color: var(--ink);
}

.trend__area {
    fill: url(#trend-wash);
}

.trend__line {
    fill: none;
    stroke: var(--ink);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trend__end-dot,
.trend__hover {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ink);
    box-shadow: 0 0 0 2px var(--surface);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.trend__end {
    position: absolute;
    left: calc(100% + 10px);
    transform: translateY(-50%);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.trend__cursor {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line-strong);
    pointer-events: none;
}

.trend__tip {
    position: absolute;
    z-index: 2;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: var(--ink);
    color: var(--on-ink);
    font-size: 0.8125rem;
    line-height: 1.35;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: var(--shadow-2);
    transform: translate(-50%, calc(-100% - 14px));
}

.trend__tip.is-start {
    transform: translate(-12px, calc(-100% - 14px));
}

.trend__tip.is-end {
    transform: translate(calc(-100% + 12px), calc(-100% - 14px));
}

.trend__tip strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.trend__tip span {
    color: var(--on-ink-3);
}

.trend__cursor[hidden],
.trend__hover[hidden],
.trend__tip[hidden] {
    display: none;
}

.trend__x {
    grid-area: x;
    position: relative;
    height: 30px;
}

.trend__x span {
    position: absolute;
    top: 12px;
    transform: translateX(-50%);
    font-size: 0.75rem;
    line-height: 1;
    color: var(--text-3);
    white-space: nowrap;
}

.trend__x .is-first {
    transform: none;
}

.trend__x .is-last {
    transform: translateX(-100%);
}

.trend__table {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.trend__table summary {
    width: fit-content;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-2);
    cursor: pointer;
}

.trend__table summary:hover {
    color: var(--text);
}

.trend__table .data-table {
    margin-top: 8px;
}

.trend__table .is-num {
    text-align: right;
}

/* Our read --------------------------------------------------------------- */

.car-read {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.car-read__item {
    padding: 18px 20px;
    background: var(--surface);
}

.car-read__item--wide {
    grid-column: 1 / -1;
}

.car-read dt {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-3);
}

.car-read dd {
    margin-top: 8px;
    line-height: 1.6;
    color: var(--text-2);
}

.car-read__item--stat dd {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--text);
}

/* Live listings ---------------------------------------------------------- */

.car-listings {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

.car-listing:hover {
    border-color: var(--line);
    box-shadow: none;
    transform: none;
}

.car-listing:hover .car-card__media img {
    transform: none;
}

.car-listing .car-card__body {
    padding: 14px 16px 16px;
}

.car-listing .car-card__title {
    font-size: 1rem;
}

.car-listing .car-card__price {
    font-size: 1.125rem;
}

/* Similar cars and footnote ---------------------------------------------- */

.car-similar .section-head .eyebrow {
    margin-bottom: 12px;
}

.car-footnote {
    padding-block: 28px 8px;
    font-size: 0.8125rem;
    color: var(--text-3);
}

/* Negotiation email ------------------------------------------------------ */

.email-modal .modal__dialog {
    width: min(640px, 100%);
}

.email-modal .eyebrow {
    margin-bottom: 8px;
}

.email-modal__info {
    margin-top: 6px;
    font-size: 0.875rem;
    color: var(--text-2);
}

.email-modal__text {
    min-height: 280px;
    font-size: 0.9375rem;
    background: var(--paper);
}

.email-modal__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.email-modal__status {
    font-size: 0.875rem;
    color: var(--good-strong);
}

.email-modal__status.is-error {
    color: var(--bad);
}

/* Narrow screens --------------------------------------------------------- */

@media (max-width: 960px) {
    .car-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "head"
            "gallery"
            "aside"
            "main";
    }

    .car-layout--no-gallery {
        grid-template-areas:
            "head"
            "aside"
            "main";
    }

    .car-aside {
        margin-top: 20px;
    }

    /* Photos become a swipeable strip that bleeds to the screen edges */
    .car-gallery,
    .car-gallery--2,
    .car-gallery--3 {
        display: flex;
        gap: 8px;
        aspect-ratio: auto;
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
        overflow-x: auto;
        border-radius: 0;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
    }

    .car-gallery::-webkit-scrollbar {
        display: none;
    }

    .car-gallery__item {
        flex: 0 0 min(86%, 560px);
        aspect-ratio: 4 / 3;
        border-radius: var(--radius-lg);
        scroll-snap-align: start;
    }

    .car-gallery--1 .car-gallery__item {
        flex-basis: 100%;
        aspect-ratio: 16 / 10;
    }
}

@container car-main (max-width: 640px) {
    .deal-row {
        grid-template-columns: 112px minmax(0, 1fr);
        grid-template-rows: none;
        grid-template-areas:
            "media head"
            "price price"
            "reason reason"
            "facts facts"
            "actions actions";
        column-gap: 14px;
        padding: 12px;
    }

    .deal-row__media {
        aspect-ratio: 1;
    }

    .deal-row__head {
        padding-top: 0;
    }

    .deal-row__tags {
        gap: 4px 10px;
        margin-bottom: 6px;
    }

    .deal-row__title {
        font-size: 1.0625rem;
    }

    .deal-row__price {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 12px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--line);
        text-align: left;
    }

    .deal-row__amount {
        font-size: 1.375rem;
    }

    .deal-row__score {
        margin-left: auto;
    }

    .deal-row__actions {
        padding-bottom: 0;
    }

    /* Three numbers to a row */
    .deal-facts .stat {
        flex-basis: 96px;
        padding: 10px 10px 10px 12px;
    }

    .deal-facts .stat__label {
        letter-spacing: 0.06em;
    }

    .deal-lock {
        padding: 12px;
    }

    .deal-lock-btn {
        width: 100%;
    }

    .deal-row__buttons {
        width: 100%;
        margin-left: 0;
    }

    .deal-row__buttons .btn {
        flex: 1 1 auto;
    }

    .car-read__item:not(.car-read__item--stat) {
        grid-column: 1 / -1;
    }

    .trend__chart {
        grid-template-columns: 42px minmax(0, 1fr) 44px;
        column-gap: 8px;
    }

    .car-listings {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .car-listing .car-card__body {
        padding: 12px;
    }

    .car-listing .car-card__title {
        font-size: 0.9375rem;
    }
}

@media (max-width: 380px) {
    .car-listings {
        grid-template-columns: minmax(0, 1fr);
    }
}
