@font-face {
    font-family: Manrope;
    src: url('manrope-latin.woff2') format('woff2');
    font-weight: 400 800;
    font-display: swap;
}
body.eapd {
    --ed-font: Manrope, system-ui, sans-serif;
    --ed-ink: #111;
    --ed-muted: #57534e;
    --ed-stone: #e9e5df;
    --ed-line: #d5d0c9;
    --ed-rule: #77716a;
    --ed-paper: #fff;
    --ed-ivory: #f6f3ee;
    margin: 0;
    color: var(--ed-ink);
    background: var(--ed-paper);
    font: 16px/1.5 var(--ed-font);
}

/* The theme declares its base font with !important. */
body.eapd, body.eapd button, body.eapd input, body.eapd select, body.eapd textarea {
    font-family: var(--ed-font) !important;
}
.eapd *, .eapd *::before, .eapd *::after { box-sizing: border-box; }
.eapd a { color: var(--ed-ink); }
.eapd a:focus-visible, .eapd button:focus-visible, .eapd select:focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
}
.ed-wrap { width: min(1390px, calc(100% - 96px)); margin-inline: auto; }
.ed-header { background: var(--ed-ivory); }
.ed-nav, .ed-nav nav, .ed-languages, .ed-footer .ed-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
}
.ed-nav { min-height: 76px; justify-content: space-between; border-bottom: 1px solid var(--ed-rule); }
.ed-nav a { text-decoration: none; }
.ed-logo { display: block; flex: 0 0 auto; width: 206px; }
.ed-logo img { display: block; width: 100%; height: auto; }
.ed-nav nav > a { color: var(--ed-ink); font-weight: 650; }
.ed-nav [aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; }
.ed-languages { border-left: 1px solid var(--ed-line); padding-left: 16px; gap: 12px; }
.ed-languages a { color: var(--ed-muted); font-size: 14px; }
.ed-languages [aria-current] { color: var(--ed-ink); font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }

.ed-hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: clamp(355px, 58svh, 480px);
    background: var(--ed-ivory);
    isolation: isolate;
}
.ed-hero-image {
    position: absolute;
    inset: 0 0 0 auto;
    width: 65%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    object-position: center 77%;
    mask-image: linear-gradient(90deg, transparent, #000 16%);
}
.ed-hero-copy { padding-block: 30px; }
.eapd h1, .eapd h2, .eapd h3 { margin: 0; color: inherit; font-family: inherit; line-height: 1.12; letter-spacing: 0; }
.eapd h1 { font-size: 44px; font-weight: 800; }
.ed-hero h1 { max-width: 52%; font-size: 52px; line-height: 1.08; margin-bottom: 28px; }
.eapd h2 { font-size: 29px; font-weight: 750; }
.ed-button, .eapd a.ed-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 0;
    background: var(--ed-ink);
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.ed-button:hover, .eapd a.ed-button:hover { background: #383532; color: #fff; }
.eapd .ed-hero a.ed-button { min-height: 54px; padding-inline: 28px; font-size: 17px; }
.ed-section { padding-block: 36px 60px; }
.ed-section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 20px; }
.ed-section-head a { font-weight: 650; }
.ed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ed-card {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 8px;
    border: 1px solid var(--ed-line);
    border-radius: 8px;
    background: #fff;
    position: relative;
}
.ed-card:focus-within, .ed-card:hover { border-color: var(--ed-rule); }
.ed-card-info { padding: 8px 6px 8px 0; min-width: 0; }
.ed-card h3 { font-size: 18px; overflow-wrap: anywhere; }
.ed-card h3 a { color: inherit; text-decoration: none; }
.ed-card h3 a::after { content: ""; position: absolute; inset: 0; }
.ed-card p { margin: 6px 0; font-size: 13px; color: var(--ed-muted); }
.ed-card strong { display: block; margin-top: 7px; color: var(--ed-ink); font-size: 18px; }
.ed-photo { margin: 0; min-width: 0; }
.ed-photo img, .ed-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--ed-stone);
    border-radius: 0;
}
.ed-placeholder { display: grid; place-items: center; padding: 8px; color: var(--ed-muted); text-align: center; font-size: 13px; }

.ed-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.ed-filters label { display: grid; gap: 4px; font-size: 13px; font-weight: 650; }
.ed-filters select {
    min-height: 44px;
    padding: 8px 28px 8px 10px;
    border: 1px solid var(--ed-rule);
    border-radius: 0;
    background: #fff;
    color: var(--ed-ink);
    font: inherit;
    font-size: 15px;
}
.ed-filters > a { align-self: center; }
.ed-count { color: var(--ed-muted); margin: 16px 0; }
.ed-back { display: inline-block; margin-bottom: 18px; }
.ed-detail { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; }
.ed-detail-media img { object-fit: contain; }
.ed-gallery-stage { position: relative; touch-action: pan-y pinch-zoom; }
.ed-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--ed-line);
    border-radius: 50%;
    color: var(--ed-ink);
    background: var(--ed-paper);
    cursor: pointer;
}
.ed-gallery-arrow:hover { background: var(--ed-ivory); }
.ed-gallery-arrow[hidden] { display: none; }
.ed-gallery-prev { left: 8px; }
.ed-gallery-next { right: 8px; }
.ed-gallery-thumbs { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 9px; }
.ed-gallery-thumbs a { display: block; flex: 0 0 80px; border: 2px solid transparent; border-radius: 5px; }
.ed-gallery-thumbs a[aria-current] { border-color: var(--ed-ink); }
.ed-gallery-thumbs img { display: block; width: 100%; height: 52px; object-fit: cover; border-radius: 3px; }
.ed-gallery-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ed-gallery-count { margin: 4px 0; color: var(--ed-muted); font-size: 13px; }
.ed-gallery-jumps { display: flex; gap: 16px; font-size: 13px; font-weight: 650; }
.ed-gallery-jumps a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.ed-colors { margin-top: 32px; padding: 22px 0 0; border-top: 1px solid var(--ed-line); }
.ed-colors h3 { margin-top: 16px; font-size: 16px; }
.ed-colors ul { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 8px 0; padding: 0; }
.ed-colors li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.ed-colors li span { width: 19px; height: 19px; flex: 0 0 19px; border: 1px solid var(--ed-rule); border-radius: 50%; background: var(--swatch); }
.ed-colors p { color: var(--ed-muted); font-size: 14px; }
.ed-status { color: var(--ed-muted); margin: 8px 0 0; }
.ed-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; margin-block: 8px 16px; }
.ed-price-row span { color: var(--ed-muted); font-size: 13px; }
.ed-detail-price { font-size: 35px; color: var(--ed-ink); }
.ed-offer { width: 100%; margin-bottom: 24px; }
.ed-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin: 12px 0; }
.ed-specs div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; padding-block: 9px; border-bottom: 1px solid var(--ed-line); }
.ed-specs dt, .ed-price-note { color: var(--ed-muted); }
.ed-specs dd { margin: 0; font-weight: 650; }
.ed-price-note { font-size: 14px; margin-top: 16px; }
.ed-catalog-price-note { margin: 0 0 14px; color: var(--ed-muted); font-size: 14px; }
.ed-trims { margin-top: 36px; }
.ed-trims h2 { margin-bottom: 14px; }
.ed-trim { border-block-start: 1px solid var(--ed-line); }
.ed-trim:last-child { border-block-end: 1px solid var(--ed-line); }
.ed-trim summary { padding-block: 14px; cursor: pointer; font-weight: 650; overflow-wrap: anywhere; }
.ed-trim summary span { margin-inline-start: 8px; color: var(--ed-muted); font-size: 14px; font-weight: 500; }
.ed-trim h3 { margin-top: 18px; font-size: 18px; }
.ed-trim .ed-specs { margin-bottom: 20px; }
.ed-trim .ed-specs div { min-width: 0; overflow-wrap: anywhere; }
.ed-footer { padding-block: 24px; border-top: 1px solid var(--ed-line); background: var(--ed-ivory); }
.ed-footer .ed-wrap { justify-content: space-between; }
.ed-footer .ed-logo { width: 126px; }

.ed-showroom { background: var(--ed-ivory); }
.ed-brand-strip ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border-block: 1px solid var(--ed-rule);
}
.ed-brand-strip a { display: grid; place-items: center; min-height: 68px; font-size: 24px; font-weight: 780; text-decoration: none; }
.ed-brand-strip a:hover { text-decoration: underline; text-underline-offset: 5px; }
.ed-showroom-models .ed-section-head a { text-decoration: none; }
.ed-showroom-models h2 { font-size: 38px; }
.ed-showroom-models .ed-section-head a:hover { text-decoration: underline; text-underline-offset: 5px; }
.ed-showroom-models .ed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ed-showroom-models .ed-card { display: block; padding: 0 0 14px; border: 0; border-bottom: 1px solid var(--ed-line); border-radius: 0; background: transparent; }
.ed-showroom-models .ed-card-info { padding: 10px 0 0; }
.ed-showroom-models .ed-card h3 { font-size: 22px; }
.ed-showroom-models .ed-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ed-showroom-models .ed-photo img, .ed-showroom-models .ed-placeholder { aspect-ratio: 16 / 9; border-radius: 0; }
.ed-showroom-models .ed-photo { position: relative; }

@media (max-width: 1080px) {
    .ed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ed-detail { gap: 24px; }
    .ed-hero h1 { font-size: 40px; }
}
@media (max-width: 700px) {
    .ed-wrap { width: calc(100% - 36px); }
    .ed-nav { min-height: 60px; flex-wrap: wrap; padding-block: 12px; }
    .ed-nav, .ed-nav nav, .ed-languages { gap: 12px; }
    .ed-languages { padding-left: 10px; gap: 8px; }
    .ed-logo { width: 141px; }
    .ed-nav nav { font-size: 13px; }
    .ed-hero { min-height: 0; display: block; }
    .ed-hero-image { position: static; display: block; width: 100%; height: auto; aspect-ratio: 16 / 8; object-position: center 78%; mask-image: none; }
    .ed-hero-copy { padding-block: 23px; }
    .eapd h1 { font-size: 36px; }
    .ed-hero h1 { max-width: none; font-size: 34px; margin-bottom: 16px; }
    .eapd .ed-hero a.ed-button { min-height: 45px; padding-inline: 17px; font-size: 14px; }
    .eapd h2 { font-size: 25px; }
    .ed-section { padding-block: 24px 36px; }
    .ed-grid, .ed-detail { grid-template-columns: minmax(0, 1fr); }
    .ed-filters label { flex: 1 1 135px; }
    .ed-filters select { width: 100%; }
    .ed-trim .ed-specs { grid-template-columns: minmax(0, 1fr); }
    .ed-brand-strip a { min-height: 52px; font-size: 15px; }
    .ed-showroom-models .ed-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .ed-showroom-models h2 { font-size: 25px; }
}

@media (max-width: 375px) {
    .ed-hero h1 { font-size: 29px; }
    .ed-brand-strip a { font-size: 13px; }
}
