/* EKR Customize landing page - Hyva migration.
 * Migrated from Ekrcover_Diy vehicle landing styles without Porto/Luma dependencies.
 */
.page-main {
    margin-block: 0 !important;
}

.ekr-customize-landing {
    --ekr-customize-red: #e61f19;
    --ekr-customize-ink: #111111;
    --ekr-customize-muted: #666666;
    --ekr-customize-soft: #f2f3f4;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    overflow-x: clip;
    background: #fff;
    color: var(--ekr-customize-ink);
}

.ekr-customize-landing *,
.ekr-customize-landing *::before,
.ekr-customize-landing *::after {
    box-sizing: border-box;
}

.ekr-customize-landing__container {
    width: min(100% - 40px, 1280px);
    margin-inline: auto;
}

.ekr-customize-landing__hero {
    position: relative;
    min-height: clamp(520px, 56.25vw, 760px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #050505;
}

.ekr-customize-landing__hero-media,
.ekr-customize-landing__hero-shade {
    position: absolute;
    inset: 0;
}

.ekr-customize-landing__hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ekr-customize-landing__hero-shade {
    background: linear-gradient(180deg, rgba(0,0,0,.20) 0%, rgba(0,0,0,.42) 100%);
    pointer-events: none;
}

.ekr-customize-landing__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding-block: 70px;
}

.ekr-customize-landing__hero-title {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.025em;
}

.ekr-customize-landing__hero-subtitle {
    max-width: 780px;
    margin: 18px auto 0;
    color: rgba(255,255,255,.84);
    font-size: clamp(15px, 1.5vw, 20px);
}

.ekr-customize-landing__steps {
    display: block;
    max-width: min(680px, 92%);
    height: auto;
    margin: 26px auto 0;
}

.ekr-customize-landing__primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    min-height: 54px;
    margin-top: 32px;
    padding: 14px 32px;
    border: 0;
    border-radius: 10px;
    background: var(--ekr-customize-red);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity .18s ease, transform .18s ease;
}

.ekr-customize-landing__primary-cta:hover,
.ekr-customize-landing__primary-cta:focus-visible {
    color: #fff;
    opacity: .92;
}

.ekr-customize-landing__primary-cta:active {
    transform: translateY(1px);
}

.ekr-customize-landing__primary-cta--small {
    min-width: 240px;
    min-height: 48px;
    font-size: 16px;
    text-transform: none;
}

.ekr-customize-landing__section {
    padding: 64px 0;
}

.ekr-customize-landing__section-head {
    margin-bottom: 28px;
    text-align: center;
}

.ekr-customize-landing__section-head h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.12;
    font-weight: 800;
}

.ekr-customize-landing__section-head p {
    margin: 10px 0 0;
    color: var(--ekr-customize-muted);
    font-size: 15px;
}

.ekr-customize-landing__section-head a {
    color: #2b6fff;
    text-decoration: none;
}

.ekr-customize-landing__material-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ekr-customize-landing__material-card {
    overflow: hidden;
    border-radius: 12px;
    background: #f5f5f5;
}

.ekr-customize-landing__material-card picture,
.ekr-customize-landing__material-card img {
    display: block;
    width: 100%;
}

.ekr-customize-landing__material-card img {
    height: auto;
}

.ekr-customize-landing__workflow {
    background: #fff;
    padding-top: 24px;
}

.ekr-customize-landing__workflow-inner {
    max-width: 1120px;
    text-align: center;
}

.ekr-customize-landing__workflow-inner > h2 {
    margin: 0 0 24px;
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 600;
}

.ekr-customize-landing__workflow-list {
    display: grid;
    gap: 16px;
    width: min(100%, 1000px);
    margin-inline: auto;
}

.ekr-customize-landing__workflow-item {
    position: relative;
    min-height: 58px;
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    padding: 0 24px 0 58px;
    background: #000;
    color: #fff;
    text-align: left;
}

.ekr-customize-landing__workflow-item::before {
    content: "»";
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-52%);
    font-size: 28px;
    line-height: 1;
}

.ekr-customize-landing__workflow-item strong,
.ekr-customize-landing__workflow-item span {
    font-size: 19px;
}

.ekr-customize-landing__workflow-item span {
    font-weight: 600;
}

.ekr-customize-landing__expect {
    padding-top: 36px;
}

.ekr-customize-landing__expect-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ekr-customize-landing__expect-card {
    position: relative;
    overflow: hidden;
    border: 1px dashed rgba(0,0,0,.25);
    background: #f5f5f5;
}

.ekr-customize-landing__expect-card picture,
.ekr-customize-landing__expect-card img {
    display: block;
    width: 100%;
}

.ekr-customize-landing__expect-card img {
    height: auto;
}

.ekr-customize-landing__expect-card > span {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 12px;
    color: rgba(255,255,255,.96);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0,0,0,.72);
}

.ekr-customize-landing__faq {
    background: var(--ekr-customize-soft);
}

.ekr-customize-landing__faq-inner {
    max-width: 860px;
}

.ekr-customize-landing__faq-list {
    border-top: 1px solid rgba(0,0,0,.18);
}

.ekr-customize-landing__faq-item {
    border-bottom: 1px solid rgba(0,0,0,.18);
}

.ekr-customize-landing__faq-item summary {
    position: relative;
    padding: 18px 42px 18px 0;
    list-style: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
}

.ekr-customize-landing__faq-item summary::-webkit-details-marker {
    display: none;
}

.ekr-customize-landing__faq-item summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 12px;
    font-size: 26px;
    font-weight: 400;
}

.ekr-customize-landing__faq-item[open] summary::after {
    content: "−";
}

.ekr-customize-landing__faq-item > div {
    padding: 0 36px 20px 0;
    color: #444;
    font-size: 14px;
    line-height: 1.65;
}

.ekr-customize-landing__final-cta {
    padding: 58px 0 68px;
    background: #fff;
    text-align: center;
}

.ekr-customize-landing__final-cta h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
}

/* Existing CMS compatibility sections surrounding this landing page. */
.ekrcover_customize-index-index .page-main,
.ekrcover_customize-index-index main#maincontent {
    max-width: none;
    padding-inline: 0;
}

.ekrcover_customize-index-index .column.main {
    padding-bottom: 0;
}

@media (max-width: 767px) {
    .ekr-customize-landing__container {
        width: min(100% - 28px, 1280px);
    }

    .ekr-customize-landing__hero {
        min-height: 620px;
        align-items: flex-end;
    }

    .ekr-customize-landing__hero-shade {
        background: linear-gradient(180deg, rgba(0,0,0,.08) 8%, rgba(0,0,0,.72) 100%);
    }

    .ekr-customize-landing__hero-content {
        padding-bottom: 52px;
    }

    .ekr-customize-landing__hero-title {
        font-size: 38px;
    }

    .ekr-customize-landing__hero-subtitle {
        font-size: 14px;
    }

    .ekr-customize-landing__steps {
        max-width: 100%;
        margin-top: 20px;
    }

    .ekr-customize-landing__primary-cta {
        width: min(100%, 320px);
        min-width: 0;
        margin-top: 24px;
    }

    .ekr-customize-landing__section {
        padding: 46px 0;
    }

    .ekr-customize-landing__material-grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
    }

    .ekr-customize-landing__material-card {
        flex: 0 0 88%;
        scroll-snap-align: start;
    }

    .ekr-customize-landing__workflow-item {
        min-height: 44px;
        grid-template-columns: 78px 1fr;
        padding: 0 12px 0 44px;
    }

    .ekr-customize-landing__workflow-item::before {
        left: 14px;
        font-size: 22px;
    }

    .ekr-customize-landing__workflow-item strong,
    .ekr-customize-landing__workflow-item span {
        font-size: 13px;
    }

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

    .ekr-customize-landing__expect-card > span {
        bottom: 8px;
        font-size: 12px;
    }
}
