.hcp-wrap {
    position: relative;
}

.hcp-wrap:before {
    content: '';
    position: absolute;
    width: 10000%;
    height: 100%;
    background: url(/wp-content/uploads/2026/08/bg-liner.jpg);
    left: -390px;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.hcp-wrap .container {
    position: relative;
    z-index: 1;
}

.hcp-wrap .hcp-container {
    position: relative;
    z-index: 1;
}

.hcp-hero-copy {
    max-width: 510px;
    padding: 38px 12px 0;
    color: #222;
    text-align: left;
}

.hcp-hero-copy .carname {
    color: #c72026;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.hcp-hero-copy .slogan {
    margin-top: 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    text-transform: uppercase;
}

.hcp-hero-copy .summary {
    min-height: 44px;
    margin-top: 25px;
    font-size: 16px;
    line-height: 1.5;
}

.hcp-hero-ctas {
    display: flex;
    gap: 20px;
    margin-top: 17px;
}

.hcp-hero-button {
    display: inline-flex;
    min-width: 230px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    background: #002f6c;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.hcp-hero-button:hover,
.hcp-hero-button:focus {
    background: #001f4a;
    color: #fff;
}

.hcp-wrap .image-reel {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    padding: 16px 0 24px;
    text-align: center;
}

.hcp-car-stage {
    position: relative;
    display: flex;
    min-height: 380px;
    align-items: center;
    justify-content: center;
}

.hcp-car-main-image {
    display: block;
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    cursor: grab;
}

.hcp-car-main-image:active {
    cursor: grabbing;
}

.hcp-360-hint {
    position: absolute;
    right: 12px;
    bottom: 14px;
    padding: 7px 11px;
    border-radius: 16px;
    background: rgba(0, 0, 0, .62);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    pointer-events: none;
}

.hcp-color-picker {
    margin-top: 8px;
}

.hcp-color-name {
    display: block;
    min-height: 25px;
    color: #252525;
    font-size: 15px;
    line-height: 1.25;
    text-align: right;
}

.hcp-color-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 11px;
}

.hcp-color-button {
    width: 50px;
    background: transparent;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.hcp-color-swatch {
    display: block;
    width: 100%;
    height: 100%;
}

.hcp-quick-links {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin: 0 auto 0;
}

.hcp-quick-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 74px;
    color: #666666;
    font-size: 14px;
    text-align: center;
}

.hcp-quick-links a:hover {
    color: #ed7b05;
}

.hcp-versions h2 {
    margin: 0 0 28px;
    color: #c72026;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
}

.hcp-version-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
    justify-content: center;
    gap: 36px 56px;
}

.hcp-version-card {
    text-align: center;
}

.hcp-version-image {
    display: flex;
    height: 210px;
    align-items: center;
    justify-content: center;
}

.hcp-version-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hcp-version-card h3 {
    margin: 18px 0 8px;
    color: #c72026;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.hcp-version-price,
.hcp-version-description {
    margin: 0 0 10px;
    color: #555;
    font-size: 15px;
}

.hcp-estimate-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    padding: 9px 18px;
    background: #ed7b05;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.hcp-estimate-button:hover,
.hcp-estimate-button:focus {
    background: #c72026;
    color: #fff;
}

.hcp-detail-tabs {
    margin-top: 46px;
}

.hcp-tab-list {
    display: grid;
    grid-template-columns: repeat(7, minmax(110px, 1fr));
    border-bottom: 1px solid #9b9b9b;
    overflow-x: auto;
}

.hcp-tab-button {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #444;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}

.hcp-tab-button.active,
.hcp-tab-button:hover,
.hcp-tab-button:focus-visible {
    background: #087ab7;
    color: #fff;
}

.hcp-tab-panel {
    min-height: 140px;
    padding: 42px 2px 28px;
    color: #4b4b4b;
    scroll-margin-top: 90px;
}

.hcp-tab-panel+.hcp-tab-panel {
    border-top: 1px solid #e4e4e4;
}

.hcp-tab-panel> :first-child {
    margin-top: 0;
}

.hcp-tab-panel img {
    max-width: 100%;
    height: auto;
}

.hcp-empty-panel {
    color: #777;
    text-align: center;
}

@media (min-width: 850px) {
    .hcp-wrap .image-reel {
        margin-top: -25px;
    }

    .hcp-quick-links {
        width: 50%;
        margin-left: auto;
    }
}

@media (max-width: 849px) {
    .hcp-car-stage {
        min-height: 260px;
    }

    .hcp-color-name,
    .hcp-color-list {
        text-align: center;
        justify-content: center;
    }

    .hcp-car-main-image {
        max-height: 360px;
    }

    .hcp-tab-list {
        display: flex;
        padding-bottom: 2px;
    }

    .hcp-tab-button {
        flex: 0 0 auto;
    }
}

@media (max-width: 549px) {
    .hcp-wrap {
        min-height: 0;
        padding-top: 10px;
    }

    .hcp-hero-copy {
        padding-top: 15px;
    }

    .hcp-hero-ctas {
        gap: 10px;
    }

    .hcp-hero-button {
        min-width: 0;
        flex: 1;
        font-size: 12px;
    }

    .hcp-quick-links {
        gap: 16px;
    }

    .hcp-product-details {
        padding: 28px 0 42px;
    }

    .hcp-versions h2 {
        font-size: 22px;
    }

    .hcp-version-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .hcp-version-image {
        height: 180px;
    }

    .hcp-detail-tabs {
        margin-top: 38px;
    }
}

.menu-click {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.menu-click li a {
    font-size: 12px;
    line-height: 18px;
    color: #474747;
    font-family: 'HyundaiSansVNHeadOffice-Medium';
    text-transform: uppercase;
    display: inline-block;
    padding: 0 14px 6px;
    text-decoration: none;
}

.menu-click li {
    list-style: none;
    margin-bottom: 0;
}

.section-title-main {
    text-align: center;
    font-size: 26px;
    color: #b73030;
    font-weight: bold;
    padding-top: 20px;
    padding-bottom: 20px;
}

.box-image img {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.box-text-inner h4 {
    color: #b73030;
    font-size: 16px;
    font-weight: bold;
}

.box-text p {
    margin-top: .1em;
    margin-bottom: .1em;
    font-size: 14px;
}

.btn-buycar {
    background-color: #ed7b05;
    color: #213f81;
    margin-top: 35px;
    border-radius: 0px;
    margin-bottom: 10px;
}

.hcp-product-details .container-fluid {
    padding: 28px 0 0;
    scroll-margin-top: 90px;
}

.hcp-product-details .title-block.line {
    display: flex;
    width: 100%;
    align-items: flex-end;
    border-bottom: 1px solid #474747;
    margin-bottom: 30px;
}

.hcp-product-details .title-block.line h3 {
    display: inline-flex;
    width: auto;
    min-width: 140px;
    min-height: 46px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 9px 22px;
    border: 0;
    background: #087ab7;
    color: #fff;
    font-family: 'HyundaiSansVNHeadOffice-Medium', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0;
}

@media (max-width: 549px) {
    .hcp-product-details .container-fluid {
        padding-top: 22px;
        scroll-margin-top: 72px;
    }

    .hcp-product-details .title-block.line h3 {
        min-width: 120px;
        min-height: 42px;
        padding: 8px 16px;
        font-size: 14px;
    }
}


.main-container {
    font-size: 18px;
    line-height: 26px;
    color: #474747;
}

.main-container h1,
.main-container h2,
.main-container h3,
.main-container h4 {
    font-weight: 500;
}

.main-container td {
    border: 0;
}

.hcp-car-list {
    width: 100%;
}

.hcp-products {
    display: grid;
    grid-template-columns: repeat(var(--hcp-columns, 5), minmax(0, 1fr));
    gap: 38px 28px;
}

.hcp-product-card,
.hcp-product-card a {
    display: block;
    margin: 0;
    text-align: center;
}

.hcp-product-image {
    display: flex;
    width: 100%;
    aspect-ratio: 1.65 / 1;
    align-items: center;
    justify-content: center;
}

.hcp-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .2s ease;
}

.hcp-product-card a:hover .hcp-product-image img {
    transform: translateY(-4px);
}

.hcp-product-card h3 {
    margin: 12px 0 0;
    color: #474747;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0;
}

.hcp-products-footer {
    margin-top: 38px;
    text-align: center;
}

.hcp-all-products {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: 6px;
    background: #0068a9;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.hcp-all-products:hover,
.hcp-all-products:focus {
    background: #002c5f;
    color: #fff;
}

.hcp-all-products span {
    font-size: 25px;
    line-height: .7;
}

.hcp-news-focus {
    position: relative;
    width: 100%;
}

.hcp-news-focus-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hcp-news-focus-item {
    position: relative;
    display: flex;
    min-height: 300px;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding: 24px 30px;
    background-color: #d9dde3;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    text-align: center;
}

.hcp-news-focus-shade {
    position: absolute;
    inset: 42% 0 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .68));
    transition: opacity .25s ease;
}

.hcp-news-focus-title {
    position: relative;
    z-index: 1;
    max-width: 92%;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    text-transform: uppercase;
}

.hcp-news-focus-item:hover .hcp-news-focus-shade,
.hcp-news-focus-item:focus .hcp-news-focus-shade {
    opacity: .78;
}

.hcp-news-focus-center {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: flex;
    width: 150px;
    height: 150px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 18px rgba(0, 0, 0, .08);
    color: #4a4a4a;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
    transform: translate(-50%, -50%);
    transition: background-color .2s ease, color .2s ease;
}

.hcp-news-focus-center:hover,
.hcp-news-focus-center:focus {
    background: #002c5f;
    color: #fff;
}

@media (max-width: 849px) {
    .hcp-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px 20px;
    }

    .hcp-news-focus-item {
        min-height: 240px;
        padding: 22px;
    }

    .hcp-news-focus-title {
        font-size: 17px;
    }

    .hcp-news-focus-center {
        width: 120px;
        height: 120px;
        font-size: 15px;
    }
}

@media (max-width: 549px) {
    .hcp-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 14px;
    }

    .hcp-product-card h3 {
        margin-top: 8px;
        font-size: 15px;
    }

    .hcp-products-footer {
        margin-top: 30px;
    }

    .hcp-news-focus-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hcp-news-focus-item {
        min-height: 220px;
    }

    .hcp-news-focus-center {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        height: auto;
        min-height: 48px;
        margin: 16px auto 0;
        border-radius: 4px;
        transform: none;
    }
}

/* UX Builder: test-drive registration form. */
.hcp-test-drive {
    color: #333
}

.hcp-test-drive__title {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 500;
    margin: 0 0 48px;
    color: #333;
}

.hcp-test-drive__form {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(250px, .8fr);
    gap: 70px
}

.hcp-test-drive__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px 54px
}

.hcp-test-drive__fields label {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    margin: 0;
    font-size: 15px;
    font-weight: 400
}

.hcp-test-drive__fields label span {
    padding-right: 12px
}

.hcp-test-drive__fields em {
    color: #e42525;
    font-style: normal
}

.hcp-test-drive__fields input,
.hcp-test-drive__fields textarea,
.hcp-test-drive__car select {
    width: 100%;
    margin: 0;
    background: #fff;
    border: 1px solid #c9c9d3;
    border-radius: 0;
    box-shadow: none;
    color: #444;
    font-size: 15px
}

.hcp-test-drive__fields input {
    height: 45px
}

.hcp-test-drive__fields textarea {
    min-height: 165px;
    resize: vertical
}

.hcp-test-drive__notes {
    align-items: start !important
}

.hcp-test-drive__notes>span {
    padding-top: 13px
}

.hcp-test-drive__right {
    display: flex;
    flex-direction: column;
    gap: 32px
}

.hcp-test-drive__right label {
    width: 100%
}

.hcp-test-drive__right button {
    align-self: flex-end;
    min-width: 165px;
    height: 50px;
    padding: 0 28px;
    border: 0;
    border-radius: 28px;
    background: #f58200;
    color: #16418b;
    font-size: 20px;
    font-weight: 400;
    text-transform: none;
    transition: .2s
}

.hcp-test-drive__right button:hover {
    background: #e87500;
    color: #fff
}

.hcp-test-drive__car {
    text-align: center
}

.hcp-test-drive__car.is-hidden {
    display: none
}

.hcp-test-drive__car select {
    height: 52px;
    border: 3px solid #f58200;
    padding: 0 40px 0 24px
}

.hcp-test-drive__car img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: contain;
    margin: 26px auto 10px
}

.hcp-test-drive__car h3 {
    font-size: 30px;
    font-weight: 500;
    margin: 0 0 24px;
    color: #333;
}

.hcp-test-drive__car a {
    color: #213f81;
    font-size: 15px
}

.hcp-form-message {
    margin: -25px 0 30px;
    padding: 13px 16px;
    border-left: 4px solid
}

.hcp-form-message--success {
    background: #effaf2;
    border-color: #2e9d50
}

.hcp-form-message--error {
    background: #fff2f2;
    border-color: #d63638
}

.hcp-form-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important
}

@media(max-width:900px) {
    .hcp-test-drive__form {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .hcp-test-drive__car {
        max-width: 430px;
        margin: auto
    }

    .hcp-test-drive__title {
        font-size: 27px;
        margin-bottom: 35px
    }
}

@media(max-width:600px) {
    .hcp-test-drive {
        padding: 0 10px
    }

    .hcp-test-drive__title {
        font-size: 23px
    }

    .hcp-test-drive__fields {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .hcp-test-drive__fields label {
        grid-template-columns: 1fr;
        gap: 7px
    }

    .hcp-test-drive__notes>span {
        padding-top: 0
    }

    .hcp-test-drive__right {
        gap: 24px
    }

    .hcp-test-drive__right button {
        align-self: stretch
    }

    .hcp-test-drive__car img {
        height: 160px
    }
}

/* UX Builder: vehicle price list. */
.hcp-price-list {
    width: 100%;
    color: #333
}

.hcp-price-list__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 58px
}

.hcp-price-list__nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 195px;
    min-height: 58px;
    padding: 0 12px;
    border: 1px solid #ccc;
    color: #666;
    font-size: 14px
}

.hcp-price-list__nav span {
    color: #aaa;
    font-size: 36px;
    font-weight: 200;
    line-height: 1
}

.hcp-price-list__nav .is-left span {
    margin-right: 24px
}

.hcp-price-list__nav .is-right span {
    margin-left: 24px
}

.hcp-price-car {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 36px;
    border-bottom: 1px dashed #444;
    padding: 0 16px 0 0
}

.hcp-price-car__intro {
    text-align: center;
    padding: 0 10px 28px
}

.hcp-price-car__intro img {
    display: block;
    width: 100%;
    height: 155px;
    object-fit: contain;
    margin: 0 auto 8px
}

.hcp-price-car__intro h2 {
    margin: 0;
    color: #555;
    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: 400;
    text-transform: none
}

.hcp-price-car__versions {
    min-width: 0
}

.hcp-price-version {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 220px 170px;
    align-items: start;
    gap: 20px;
    min-height: 178px;
    padding: 22px 0 16px;
    border-bottom: 1px dashed #444
}

.hcp-price-version:last-child {
    border-bottom: 0
}

.hcp-price-version__name strong {
    display: block;
    margin: 0 0 66px;
    font-size: 19px;
    font-weight: 500
}

.hcp-price-version__name a {
    color: #16418b;
    font-size: 13px;
    text-transform: uppercase
}

.hcp-price-version__price {
    color: #16418b;
    font-size: 20px;
    font-weight: 500
}

.hcp-price-version__button {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 33px;
    padding: 7px 13px;
    background: #f58200;
    color: #073f8f !important;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap
}

.hcp-price-version__button:hover {
    background: #e87500;
    color: #fff !important
}

@media(max-width:900px) {
    .hcp-price-list__nav {
        margin-bottom: 35px
    }

    .hcp-price-car {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 22px
    }

    .hcp-price-version {
        grid-template-columns: minmax(200px, 1fr) 150px
    }

    .hcp-price-version__button {
        grid-column: 2
    }

    .hcp-price-version__name {
        grid-row: 1 / span 2
    }

    .hcp-price-version__name strong {
        margin-bottom: 35px
    }
}

@media(max-width:600px) {
    .hcp-price-list__nav a {
        width: auto;
        min-height: 46px;
        padding: 0 10px;
        font-size: 12px
    }

    .hcp-price-list__nav span {
        font-size: 27px
    }

    .hcp-price-list__nav .is-left span {
        margin-right: 8px
    }

    .hcp-price-list__nav .is-right span {
        margin-left: 8px
    }

    .hcp-price-car {
        display: block;
        padding: 0
    }

    .hcp-price-car__intro {
        padding-bottom: 12px
    }

    .hcp-price-car__intro img {
        height: 145px
    }

    .hcp-price-car__intro h2 {
        font-size: 23px
    }

    .hcp-price-version {
        grid-template-columns: 1fr auto;
        min-height: 0;
        padding: 20px 5px;
        gap: 12px
    }

    .hcp-price-version__name strong {
        margin-bottom: 12px;
        font-size: 16px
    }

    .hcp-price-version__price {
        font-size: 17px;
        text-align: right
    }

    .hcp-price-version__button {
        grid-column: 2;
        font-size: 11px
    }

    .hcp-price-version__name {
        grid-row: 1 / span 2
    }
}

body.hcp-modal-open {
    overflow: hidden
}

.hcp-cost-modal[hidden] {
    display: none
}

.hcp-cost-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px
}

.hcp-cost-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .58)
}

.hcp-cost-modal__dialog {
    position: relative;
    display: grid;
    grid-template-columns: 32% 68%;
    max-width: 900px;
    max-height: 900px;
    overflow: hidden;
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, .45)
}

.hcp-cost-modal__close {
    position: absolute;
    z-index: 2;
    top: 13px;
    right: 22px;
    border: 0;
    background: none;
    color: #ccc;
    font-size: 66px;
    font-weight: 200;
    line-height: 1;
    padding: 0;
    margin: 0;
    min-height: auto;
}

.hcp-cost-modal__sidebar {
    background: #f0f1f3
}

.hcp-cost-modal__sidebar>h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    background: #f58200;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    line-height: 4.5;
    padding: 15px;
}

.hcp-cost-modal__controls {
    padding: 0 22px;
    padding-top: 15px;
}

.hcp-cost-modal__controls label {
    display: block;
    margin: 0 0 25px;
    font-size: 15px;
    font-weight: 700
}

.hcp-cost-modal__controls select {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #ccc;
    font-size: 14px;
    color: #555;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.hcp-cost-calculate {
    display: block;
    margin: 10px 0 0 auto;
    padding: 6px 12px;
    border: 0;
    border-radius: 28px;
    background: #f7f7f7;
    color: #333;
    font-size: 14px;
    min-height: auto;
    text-transform: capitalize;
}

.hcp-cost-calculate:hover {
    background: #ed7b05;
    color: #fff;
}

.hcp-cost-modal__result {
    overflow: auto;
    padding: 7% 5% 4%;
    color: #666
}

.hcp-cost-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 22px
}

.hcp-cost-image {
    display: block;
    width: 62%;
    height: 150px;
    object-fit: contain;
    margin: 0 auto 15px
}

.hcp-cost-row,
.hcp-cost-breakdown>div,
.hcp-cost-summary>div,
.hcp-cost-total {
    display: flex;
    justify-content: space-between;
    gap: 25px
}

.hcp-cost-sale {
    padding: 0 4% 42px;
    border-bottom: 1px solid #ccc;
    font-size: 15px
}

.hcp-cost-breakdown {
    padding: 40px 4%;
    border-bottom: 1px solid #ccc;
    font-size: 15px
}

.hcp-cost-breakdown>div {
    margin: 0 0 5px
}

.hcp-cost-breakdown b,
.hcp-cost-summary b,
.hcp-cost-total b {
    font-weight: 500;
    text-align: right;
    white-space: nowrap
}

.hcp-cost-summary {
    padding: 38px 4%;
    border-bottom: 1px solid #ccc;
    font-size: 18px
}

.hcp-cost-summary span {
    max-width: 55%
}

.hcp-cost-total {
    padding: 37px 4%;
    color: #ed7100;
    font-size: 18px
}

.hcp-cost-total b {
    font-size: 31px
}

.hcp-cost-modal__dialog {
    width: min(1300px, calc(100vw - 40px));
    height: min(805px, calc(100vh - 60px));
    grid-template-columns: 33.333% 66.667%
}

.hcp-cost-modal__result {
    padding: 5% 5% 3%
}

.hcp-cost-sale {
    padding-bottom: 30px
}

.hcp-cost-breakdown {
    padding-top: 30px;
    padding-bottom: 30px
}

.hcp-cost-summary {
    padding-top: 28px;
    padding-bottom: 28px
}

.hcp-cost-total {
    padding-top: 27px;
    padding-bottom: 27px
}

@media(max-width:900px) {
    .hcp-cost-modal {
        padding: 12px
    }

    .hcp-cost-modal__dialog {
        grid-template-columns: 1fr;
        width: min(700px, calc(100vw - 24px));
        height: 95vh;
        overflow: auto
    }

    .hcp-cost-modal__sidebar>h2 {
        height: auto;
        min-height: 100px;
        font-size: 30px
    }

    .hcp-cost-modal__controls {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 20px
    }

    .hcp-cost-modal__controls label {
        font-size: 18px;
        margin: 0
    }

    .hcp-cost-modal__controls select {
        height: 48px;
        margin-top: 7px;
        padding: 0 12px;
        font-size: 16px
    }

    .hcp-cost-calculate {
        align-self: end;
        margin: 0;
        height: 48px;
        font-size: 18px
    }

    .hcp-cost-modal__result {
        overflow: visible;
        padding: 25px
    }

    .hcp-cost-image {
        height: 190px
    }

    .hcp-cost-modal__close {
        font-size: 48px;
        color: #fff
    }
}

@media(max-width:600px) {
    .hcp-cost-modal {
        padding: 0
    }

    .hcp-cost-modal__dialog {
        width: 100vw;
        height: 100vh;
        border-radius: 0
    }

    .hcp-cost-modal__sidebar>h2 {
        min-height: 80px;
        font-size: 25px
    }

    .hcp-cost-modal__controls {
        grid-template-columns: 1fr;
        padding: 15px
    }

    .hcp-cost-modal__controls label {
        font-size: 16px
    }

    .hcp-cost-calculate {
        width: 100%
    }

    .hcp-cost-modal__result {
        padding: 18px 15px
    }

    .hcp-cost-image {
        height: 150px
    }

    .hcp-cost-sale,
    .hcp-cost-breakdown,
    .hcp-cost-summary,
    .hcp-cost-total {
        padding: 20px 0;
        font-size: 15px
    }

    .hcp-cost-summary {
        font-size: 17px
    }

    .hcp-cost-total,
    .hcp-cost-total b {
        font-size: 20px
    }

    .hcp-cost-breakdown>div {
        align-items: flex-start
    }

    .hcp-cost-breakdown span {
        max-width: 62%
    }
}
