/* "Explore All Models" (AGSAMAG-300) — Figma screen 8. Prefixed with the body
   class because the theme applies heavy typography to .column.main. */
.denza-models-page .page-main {
    max-width: 1440px;
    padding: 0 100px;
}
/* the theme's category layout is 2columns-left; this page has no sidebar */
.denza-models-page .sidebar { display: none; }
.denza-models-page .columns .column.main {
    width: 100%;
    float: none;
    padding-left: 0;
    padding-right: 0;
}
.denza-models {
    padding: 28px 0 120px;
    color: #111;
}

.denza-models-page .denza-models .denza-models__crumbs {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    font-size: 14px;
    color: #9b9b9b;
}
.denza-models-page .denza-models .denza-models__crumbs a {
    color: #111 !important;
    font-weight: 500;
    text-decoration: none;
}
.denza-models__crumbs svg { color: #9b9b9b; }

.denza-models-page .denza-models .denza-models__title {
    margin: 0 0 46px;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    color: #111;
}

.denza-models__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 20px;
}
.denza-models-page .denza-models .denza-models__card {
    display: block;
    color: inherit !important;
    text-decoration: none !important;
}
.denza-models__image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 400 / 190;
    margin-bottom: 24px;
}
.denza-models__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .25s ease;
}
.denza-models__card:hover .denza-models__image img { transform: scale(1.03); }

.denza-models-page .denza-models .denza-models__name {
    display: block;
    margin-bottom: 6px;
    font-size: 20px;
    font-weight: 600;
    color: #111;
}
.denza-models-page .denza-models .denza-models__price {
    display: flex;
    align-items: baseline;
    gap: 14px;
}
.denza-models-page .denza-models .denza-models__from {
    font-size: 15px;
    font-weight: 400; /* the card is a link; the theme makes links bold */
    color: #9b9b9b;
}
.denza-models-page .denza-models .denza-models__price strong {
    font-size: 18px;
    font-weight: 600;
    color: #103561;
}

@media (max-width: 1023px) {
    .denza-models-page .page-main { padding: 0 40px; }
    .denza-models__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
    .denza-models-page .page-main { padding: 0 16px; }
    .denza-models { padding-bottom: 64px; }
    .denza-models-page .denza-models .denza-models__title { font-size: 28px; margin-bottom: 28px; }
    .denza-models__grid { grid-template-columns: 1fr; }
}
