.hal-estimate {
    --hal-blue: #087eaa;
    --hal-blue-dark: #075c82;
    --hal-cyan: #eaf8fc;
    --hal-green: #2e9e52;
    --hal-orange: #f39800;
    --hal-border: #cce1e9;
    --hal-text: #24343d;
    --hal-card: #fff;
    --hal-result-start: #075c82;
    --hal-result-end: #087eaa;
    --hal-font-family: inherit;
    --hal-main-heading-size: 40px;
    --hal-section-heading-size: 21px;
    --hal-body-size: 16px;
    --hal-label-size: 15px;
    --hal-button-size: 17px;
    --hal-mobile-heading-size: 28px;
    --hal-mobile-body-size: 15px;
    --hal-radius: 14px;
    --hal-action-note-size: 14px;
    --hal-action-note-gap: 18px;
    --hal-action-note-color: #5b7079;
    color: var(--hal-text);
    font-family: var(--hal-font-family);
    font-size: var(--hal-body-size);
    max-width: 1100px;
    margin: 0 auto;
}

.hal-option-with-image {
    align-items: flex-start;
    flex-direction: column;
    max-width: 220px;
    vertical-align: top;
}

.hal-option-with-image img {
    background: #fff;
    border: 1px solid #dcebf0;
    border-radius: 6px;
    height: 135px;
    object-fit: contain;
    width: 190px;
}

.hal-option-with-image span {
    align-items: center;
    display: flex;
    min-height: 24px;
}

.hal-input-with-unit {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(100px, 220px) auto;
}

.hal-input-with-unit input {
    margin-top: 8px;
}

.hal-paper-note,
.hal-pdf-paper {
    background: #f7fafb;
    border: 1px solid var(--hal-border);
    border-radius: calc(var(--hal-radius) / 2);
    color: var(--hal-text);
    padding: 12px 16px;
}

.hal-repeat-honeypot {
    height: 0;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

.hal-repeat-order__form > .hal-card + .hal-card {
    margin-top: 22px;
}

.hal-estimate button,
.hal-estimate .hal-button,
.hal-estimate .hal-preview-button {
    font-weight: 700 !important;
}

.hal-estimate .hal-button,
.hal-estimate .hal-preview-button,
.hal-estimate .hal-link-button,
.hal-estimate .hal-design-choice button {
    font-size: var(--hal-button-size) !important;
}

.hal-estimate *,
.hal-estimate *::before,
.hal-estimate *::after {
    box-sizing: border-box;
}

html.hal-modal-open {
    overflow: hidden;
}

.hal-estimate__header {
    text-align: center;
    margin-bottom: 36px;
}

.hal-estimate__eyebrow {
    color: var(--hal-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
}

.hal-estimate__header h2 {
    color: var(--hal-blue-dark);
    font-size: var(--hal-main-heading-size);
    margin: 8px 0 12px;
}

.hal-estimate__header p {
    margin: 0;
}

.hal-card {
    background: var(--hal-card);
    border: 1px solid var(--hal-border);
    border-radius: var(--hal-radius);
    box-shadow: 0 6px 22px rgba(9, 84, 116, .07);
    margin-bottom: 22px;
    padding: 28px;
}

.hal-validation-summary[hidden] {
    display: none;
}

.hal-validation-summary {
    background: #fff3f1;
    border: 2px solid #c7352d;
    border-radius: var(--hal-radius);
    color: #8d211b;
    margin-bottom: 22px;
    padding: 18px 20px;
}

.hal-validation-summary strong {
    display: block;
}

.hal-validation-summary ul {
    margin: 8px 0 0;
    padding-left: 1.4em;
}

.hal-estimate .hal-has-error select,
.hal-estimate .hal-has-error input[type="text"],
.hal-estimate .hal-has-error input[type="email"],
.hal-estimate .hal-has-error input[type="number"],
.hal-estimate .hal-has-error input[type="tel"],
.hal-estimate .hal-has-error textarea {
    border-color: #c7352d !important;
    box-shadow: 0 0 0 2px rgba(199, 53, 45, .13);
}

.hal-estimate fieldset.hal-has-error,
.hal-estimate .hal-color-swatches.hal-has-error,
.hal-estimate .hal-name-layout-options.hal-has-error {
    background: #fff8f7;
    border: 1px solid #c7352d;
    border-radius: 10px;
    padding: 12px;
}

.hal-estimate .hal-field-error {
    color: #aa2922 !important;
    font-size: 13px !important;
    font-weight: 700;
    margin: 8px 0 0;
}

.hal-card h3 {
    align-items: center;
    color: var(--hal-blue-dark);
    display: flex;
    font-size: var(--hal-section-heading-size);
    gap: 10px;
    margin: 0 0 24px;
}

.hal-card h3 span {
    align-items: center;
    background: var(--hal-blue);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.hal-grid {
    display: grid;
    gap: 22px;
}

.hal-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hal-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hal-estimate label,
.hal-estimate legend {
    color: #304650;
    display: block;
    font-size: var(--hal-label-size);
    font-weight: 700;
}

.hal-estimate input[type="text"],
.hal-estimate input[type="email"],
.hal-estimate input[type="number"],
.hal-estimate input[type="tel"],
.hal-estimate input[type="file"],
.hal-estimate textarea,
.hal-estimate select {
    background: #fff;
    border: 1px solid #b8ccd5;
    border-radius: calc(var(--hal-radius) / 2);
    color: var(--hal-text);
    font-size: var(--hal-body-size);
    margin-top: 8px;
    min-height: 48px;
    padding: 10px 12px;
    width: 100%;
}

.hal-estimate input[type="text"],
.hal-estimate input[type="email"],
.hal-estimate input[type="number"],
.hal-estimate input[type="tel"],
.hal-estimate input[type="file"],
.hal-estimate textarea,
.hal-estimate select {
    color: #1d2d35 !important;
    -webkit-text-fill-color: #1d2d35;
    opacity: 1;
}

.hal-estimate input::placeholder {
    color: #667780 !important;
    opacity: 1;
}

.hal-field-note {
    color: #52666f;
    display: block;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
    margin-top: 7px;
}

.hal-contact-form__form .hal-grid + label,
.hal-contact-form__form .hal-card > label + label {
    margin-top: 22px;
}

.hal-selected-product {
    align-items: center;
    background: #f4f9fb;
    border: 2px solid var(--hal-blue);
    border-radius: var(--hal-radius);
    display: grid;
    gap: 24px;
    grid-template-columns: 190px 1fr;
    margin-bottom: 22px;
    padding: 18px;
}

.hal-selected-product__image {
    align-items: center;
    background: #fff;
    display: flex;
    justify-content: center;
    min-height: 210px;
}

.hal-selected-product__image img {
    height: 210px;
    object-fit: contain;
    width: 100%;
}

.hal-selected-product__label {
    color: var(--hal-blue);
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
}

.hal-selected-product strong,
.hal-service-product strong {
    display: block;
    font-size: 22px;
}

.hal-selected-product a,
.hal-service-product a {
    color: var(--hal-blue-dark);
    font-weight: 700;
}

.hal-service-product {
    background: #f4f9fb;
    border: 2px solid var(--hal-blue);
    border-radius: var(--hal-radius);
    padding: 22px;
}

.hal-name-layout-picker {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.hal-name-layout-selected {
    align-items: center;
    background: #f7fafb;
    border: 2px solid var(--hal-border);
    border-radius: calc(var(--hal-radius) / 1.4);
    display: grid;
    gap: 18px;
    grid-row: span 2;
    grid-template-columns: minmax(180px, 320px) 1fr;
    padding: 14px;
}

.hal-name-layout-selected__image {
    align-items: center;
    background: #fff;
    border: 1px solid #d8e3e7;
    display: flex;
    justify-content: center;
    min-height: 145px;
    overflow: hidden;
}

.hal-name-layout-selected__image img {
    height: auto;
    max-width: 100%;
}

.hal-name-layout-selected__image span {
    color: #71848c;
    font-weight: 700;
}

.hal-name-layout-selected strong {
    display: block;
    font-size: 22px;
    margin-top: 6px;
}

.hal-name-layout-selected small {
    color: #d05d00;
    display: block;
    font-weight: 700;
    margin-top: 6px;
}

.hal-name-layout-picker > .hal-preview-button {
    align-self: center;
}

.hal-name-layout-picker.hal-has-error {
    background: #fff8f7;
    border: 1px solid #c7352d;
    border-radius: 10px;
    padding: 12px;
}

.hal-estimate fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

.hal-estimate legend {
    margin-bottom: 9px;
}

.hal-radio,
.hal-check {
    align-items: center;
    background: #f7fbfc;
    border: 1px solid #dcebf0;
    border-radius: calc(var(--hal-radius) / 2);
    cursor: pointer;
    display: inline-flex !important;
    font-weight: 500 !important;
    gap: 7px;
    margin: 0 7px 7px 0;
    padding: 10px 13px;
}

.hal-radio input,
.hal-check input {
    accent-color: var(--hal-blue);
    height: 18px;
    margin: 0;
    width: 18px;
}

.hal-conditional {
    margin-top: 14px;
}

.hal-conditional[hidden] {
    display: none !important;
}

.hal-design-field {
    min-width: 0;
}

.hal-preview-button {
    background: #fff;
    border: 1px solid var(--hal-blue);
    border-radius: calc(var(--hal-radius) / 2);
    color: var(--hal-blue-dark);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    margin-top: 10px;
    padding: 10px 14px;
    width: 100%;
}

.hal-preview-button:hover {
    background: #f2fafc;
}

.hal-color-swatches {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: 18px;
}

.hal-color-swatch {
    align-items: center;
    background: #fff;
    border: 2px solid #dce7eb;
    border-radius: calc(var(--hal-radius) / 2);
    cursor: pointer;
    display: flex !important;
    flex-direction: column;
    font-weight: 600 !important;
    gap: 7px;
    padding: 12px 6px;
    text-align: center;
}

.hal-color-swatch:has(input:checked) {
    border-color: var(--hal-blue);
    box-shadow: 0 0 0 2px rgba(8,126,170,.16);
}

.hal-color-swatch input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.hal-color-swatch__color {
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 50%;
    height: 34px;
    width: 34px;
}

.hal-color-note {
    color: #5b7079;
    font-size: 12px;
    grid-column: 1 / -1;
    margin: 2px 0 0;
}

.hal-note {
    color: #5b7079;
    font-size: 13px;
    margin: 10px 0 0;
}

.hal-size-contact {
    align-items: center;
    background: #f3f8fc;
    border-left: 4px solid var(--hal-blue);
    border-radius: calc(var(--hal-radius) / 2);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: 18px;
    padding: 16px 18px;
}

.hal-size-contact strong {
    color: var(--hal-blue-dark);
    display: block;
}

.hal-size-contact p {
    color: #4e626d;
    font-size: 13px;
    margin: 5px 0 0;
}

.hal-size-contact__button {
    background: var(--hal-blue);
    border-radius: calc(var(--hal-radius) / 2);
    color: #fff !important;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 16px;
    text-decoration: none !important;
    white-space: nowrap;
}

.hal-size-contact__button:hover {
    background: var(--hal-blue-dark);
    color: #fff !important;
}

.hal-result {
    background: linear-gradient(135deg, var(--hal-result-start), var(--hal-result-end));
    border-radius: var(--hal-radius);
    color: #fff;
    margin: 28px 0 22px;
    padding: 26px 32px;
}

.hal-result > div {
    border-bottom: 1px solid rgba(255,255,255,.25);
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
}

.hal-result strong {
    font-size: 18px;
}

.hal-result .hal-result__total {
    border-bottom: 0;
    padding-top: 16px;
}

.hal-result__total span,
.hal-result__total strong {
    font-size: 25px;
}

.hal-result p {
    color: #fff;
    font-size: 13px;
    margin: 12px 0 0;
}

.hal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    text-align: center;
}

.hal-button {
    background: var(--hal-orange);
    border: 0;
    border-radius: calc(var(--hal-radius) / 2);
    box-shadow: 0 5px 14px rgba(243, 152, 0, .24);
    color: #fff;
    cursor: pointer;
    font-size: var(--hal-button-size);
    font-weight: 700;
    min-width: 300px;
    padding: 16px 28px;
}

.hal-button:hover {
    filter: brightness(.95);
}

.hal-button:disabled {
    cursor: wait;
    opacity: .7;
}

.hal-estimate .hal-actions .hal-button--pdf {
    background-color: var(--hal-orange) !important;
    color: #fff !important;
}

.hal-estimate .hal-actions .hal-button--order-start {
    background: var(--hal-blue-dark);
    color: #fff;
}

.hal-estimate .hal-actions .hal-actions__note {
    flex-basis: 100%;
    color: var(--hal-action-note-color) !important;
    font-size: var(--hal-action-note-size);
    line-height: 1.8;
    margin: var(--hal-action-note-gap) 0 0;
}

.hal-issued-quote {
    align-items: center;
    background: #f2f7fb;
    border: 1px solid var(--hal-border);
    border-radius: calc(var(--hal-radius) / 2);
    display: flex;
    flex-basis: 100%;
    flex-wrap: wrap;
    gap: 10px 16px;
    justify-content: center;
    padding: 14px 18px;
}

.hal-issued-quote[hidden] {
    display: none;
}

.hal-issued-quote strong {
    color: var(--hal-blue-dark);
    font-size: 18px;
    letter-spacing: .04em;
}

.hal-issued-quote__copy,
.hal-issued-quote__contact {
    border: 1px solid var(--hal-blue);
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 13px;
}

.hal-issued-quote__copy {
    background: #fff;
    color: var(--hal-blue-dark);
}

.hal-estimate .hal-issued-quote a.hal-issued-quote__contact,
.hal-estimate .hal-issued-quote a.hal-issued-quote__contact:visited {
    background: var(--hal-blue-dark);
    border-color: var(--hal-blue-dark);
    color: #fff !important;
    text-decoration: none;
}

.hal-estimate .hal-issued-quote a.hal-issued-quote__contact:hover,
.hal-estimate .hal-issued-quote a.hal-issued-quote__contact:focus {
    background: var(--hal-blue);
    border-color: var(--hal-blue);
    color: #fff !important;
    text-decoration: none;
}

.hal-issued-quote small {
    color: #17663b;
    flex-basis: 100%;
}

.hal-order-panel[hidden] {
    display: none;
}

.hal-order-panel {
    margin-top: 28px;
}

.hal-order-prefecture {
    align-items: end;
    display: grid;
    gap: 10px;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
}

.hal-order-prefecture input[readonly] {
    background: #edf3f6;
    cursor: default;
    font-weight: 700;
}

.hal-link-button {
    background: transparent;
    border: 0;
    color: var(--hal-blue-dark);
    cursor: pointer;
    padding: 14px 4px;
    text-decoration: underline;
}

.hal-card em {
    color: #d63b31;
    font-size: 12px;
    font-style: normal;
    margin-left: 5px;
}

.hal-order-summary {
    background: #f4f8fa;
    border: 1px solid #c8d9e1;
    border-radius: calc(var(--hal-radius) / 2);
    margin-bottom: 20px;
    padding: 18px 20px;
}

.hal-order-summary dl {
    display: grid;
    grid-template-columns: 150px 1fr;
    margin: 0;
}

.hal-order-summary dt,
.hal-order-summary dd {
    border-bottom: 1px solid #dce7ec;
    margin: 0;
    padding: 9px 0;
}

.hal-order-summary dt {
    font-weight: 700;
}

.hal-order-consent {
    margin: 18px 0;
}

.hal-estimate .hal-privacy-link {
    -webkit-appearance: none;
    appearance: none;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #4a4f54 !important;
    cursor: pointer;
    display: inline !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: 600 !important;
    line-height: inherit !important;
    margin: 0 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    padding: 0 1px !important;
    text-decoration: underline !important;
    text-decoration-color: #8a9298 !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
    width: auto !important;
}

.hal-estimate .hal-privacy-link:hover,
.hal-estimate .hal-privacy-link:focus-visible {
    background: transparent !important;
    color: #1f2529 !important;
    text-decoration-color: #1f2529 !important;
}

.hal-privacy-modal[hidden] {
    display: none;
}

.hal-privacy-modal {
    inset: 0;
    position: fixed;
    z-index: 1000000;
}

.hal-privacy-modal__backdrop {
    background: rgba(15, 29, 36, .72);
    inset: 0;
    position: absolute;
}

.hal-privacy-modal__dialog {
    background: #fff;
    border-radius: var(--hal-radius);
    box-shadow: 0 18px 60px rgba(0,0,0,.25);
    left: 50%;
    max-height: calc(100vh - 50px);
    max-width: 820px;
    overflow-y: auto;
    padding: 32px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 40px);
}

.hal-privacy-modal__dialog > h2 {
    color: var(--hal-blue-dark);
    font-size: 26px;
    margin: 0 50px 24px 0;
}

.hal-privacy-modal__dialog > h3 {
    color: var(--hal-blue-dark);
    font-size: 18px;
    margin: 24px 0 8px;
}

.hal-privacy-modal__dialog p,
.hal-privacy-modal__dialog li {
    font-size: 14px;
    line-height: 1.8;
}

.hal-privacy-modal__dialog ul {
    padding-left: 1.5em;
}

.hal-privacy-modal__close {
    align-items: center;
    background: #eef3f5;
    border: 0;
    border-radius: 50%;
    color: #344b55;
    cursor: pointer;
    display: flex;
    font-size: 27px;
    height: 40px;
    justify-content: center;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 40px;
}

.hal-privacy-modal__actions {
    margin-top: 28px;
    text-align: center;
}

.hal-order-buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: center;
}

.hal-order-buttons > .hal-button,
.hal-order-buttons > .hal-preview-button {
    align-items: center;
    display: inline-flex;
    flex: 1 1 0;
    justify-content: center;
    margin-top: 0;
    max-width: 360px;
    min-height: 52px;
    width: auto;
}

.hal-order-buttons > .hal-preview-button {
    background: #4a4f54;
    border-color: #4a4f54;
    color: #fff;
}

.hal-order-buttons > .hal-preview-button:hover {
    background: #34383c;
    border-color: #34383c;
    color: #fff;
}

.hal-preview-button {
    background: #fff;
    border: 1px solid var(--hal-blue);
    border-radius: calc(var(--hal-radius) / 2);
    color: var(--hal-blue-dark);
    cursor: pointer;
    font-weight: 700;
    padding: 14px 24px;
}

.hal-order-message {
    border-radius: calc(var(--hal-radius) / 2);
    font-weight: 700;
    margin-bottom: 20px;
    padding: 16px 20px;
}

.hal-order-message--success {
    background: #e8f7ee;
    color: #17663b;
}

.hal-order-message--error {
    background: #fff0ef;
    color: #a52a22;
}

.hal-flow-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0 0 36px;
    padding: 0;
}

.hal-flow-steps li {
    align-items: center;
    border-bottom: 4px solid #d7e1e6;
    color: #758891;
    display: flex;
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    padding: 0 6px 12px;
}

.hal-flow-steps li span {
    align-items: center;
    background: #d7e1e6;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    height: 26px;
    justify-content: center;
    width: 26px;
}

.hal-flow-steps li.is-current,
.hal-flow-steps li.is-complete {
    border-color: var(--hal-blue);
    color: var(--hal-blue-dark);
}

.hal-flow-steps li.is-current span,
.hal-flow-steps li.is-complete span {
    background: var(--hal-blue);
}

.hal-postal-field {
    align-items: end;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.hal-postal-field .hal-preview-button {
    white-space: nowrap;
}

.hal-postal-field p {
    color: var(--hal-blue-dark);
    font-size: 13px;
    grid-column: 1 / -1;
    margin: 0;
}

.hal-order-page .hal-order-buttons {
    margin: 24px 0;
}

.hal-order-page a.hal-preview-button {
    display: inline-flex;
    text-decoration: none;
}

.hal-order-complete {
    text-align: center;
}

.hal-order-complete h2 {
    color: var(--hal-blue-dark);
}

.hal-design-modal[hidden] {
    display: none;
}

.hal-design-modal {
    inset: 0;
    position: fixed;
    z-index: 999999;
}

.hal-design-modal__backdrop {
    background: rgba(15, 29, 36, .72);
    inset: 0;
    position: absolute;
}

.hal-design-modal__dialog {
    background: #fff;
    border-radius: var(--hal-radius);
    box-shadow: 0 18px 60px rgba(0,0,0,.25);
    left: 50%;
    max-height: calc(100vh - 60px);
    max-width: 1000px;
    overflow-y: auto;
    padding: 30px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 40px);
}

.hal-design-modal__dialog > h3 {
    color: var(--hal-blue-dark);
    font-size: 24px;
    margin: 0 50px 24px 0;
}

.hal-design-modal__close {
    align-items: center;
    background: #eef3f5;
    border: 0;
    border-radius: 50%;
    color: #344b55;
    cursor: pointer;
    display: flex;
    font-size: 27px;
    height: 40px;
    justify-content: center;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 40px;
}

.hal-design-modal__list {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hal-design-modal__list[hidden] {
    display: none;
}

.hal-design-choice {
    border: 1px solid var(--hal-border);
    border-radius: calc(var(--hal-radius) / 1.4);
    overflow: hidden;
    padding: 12px;
    text-align: center;
}

.hal-design-choice__image {
    align-items: center;
    background: #f4f7f8;
    color: #7d9098;
    display: flex;
    height: 210px;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
}

.hal-design-choice__image img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.hal-design-choice h4 {
    color: var(--hal-text);
    font-size: 16px;
    margin: 0 0 4px;
}

.hal-design-choice p {
    color: #60737b;
    margin: 0 0 10px;
}

.hal-design-choice button {
    background: var(--hal-blue);
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    padding: 10px;
    width: 100%;
}

.hal-name-layout-modal-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hal-name-layout-choice .hal-design-choice__image {
    height: 160px;
}

.hal-pdf-sheet {
    background: #fff;
    color: #222;
    display: none;
    font-family: var(--hal-font-family);
    font-size: 14px;
    padding: 42px;
    width: 794px;
}

.hal-pdf-sheet.is-rendering {
    display: block;
    left: -10000px;
    position: fixed;
    top: 0;
    z-index: -1;
}

.hal-pdf-sheet__top {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
}

.hal-pdf-sheet h1 {
    border-bottom: 3px solid var(--hal-blue);
    font-size: 30px;
    letter-spacing: .2em;
    margin: 0;
    padding-bottom: 8px;
}

.hal-pdf-meta {
    font-size: 12px;
}

.hal-pdf-meta p {
    margin: 0 0 4px;
}

.hal-pdf-address {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr;
    margin: 40px 0 28px;
}

.hal-pdf-address > div:last-child {
    text-align: right;
}

.hal-pdf-company {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: flex-end;
}

.hal-pdf-seal {
    flex: 0 0 auto;
    height: 74px;
    object-fit: contain;
    width: 74px;
}

.hal-pdf-seal[hidden] {
    display: none;
}

.hal-pdf-total {
    background: #eaf8fc;
    border-bottom: 2px solid var(--hal-blue);
    font-size: 18px;
    margin: 20px 0;
    padding: 14px;
    text-align: center;
}

.hal-pdf-total strong {
    font-size: 25px;
    margin-left: 22px;
}

.hal-pdf-sheet table {
    border-collapse: collapse;
    margin: 18px 0;
    width: 100%;
}

.hal-pdf-sheet th,
.hal-pdf-sheet td {
    border: 1px solid #aab9c0;
    padding: 8px 10px;
}

.hal-pdf-sheet th {
    background: #f2f7f9;
    text-align: left;
    width: 35%;
}

.hal-pdf-prices {
    margin-left: auto !important;
    width: 58% !important;
}

.hal-pdf-prices td {
    text-align: right;
}

.hal-pdf-note {
    border: 1px solid #ccd8dd;
    margin-top: 24px;
    min-height: 80px;
    padding: 12px;
    white-space: pre-line;
}

.hal-pdf-note p {
    margin: 6px 0 0;
}

@media (max-width: 767px) {
    .hal-estimate {
        font-size: var(--hal-mobile-body-size);
    }

    .hal-estimate__header h2 {
        font-size: var(--hal-mobile-heading-size);
    }

    .hal-estimate input[type="text"],
    .hal-estimate input[type="email"],
    .hal-estimate input[type="number"],
    .hal-estimate input[type="tel"],
    .hal-estimate input[type="file"],
    .hal-estimate textarea,
    .hal-estimate select {
        font-size: var(--hal-mobile-body-size);
    }

    .hal-card {
        padding: 20px;
    }

    .hal-grid--2,
    .hal-grid--3 {
        grid-template-columns: 1fr;
    }

    .hal-selected-product {
        grid-template-columns: 1fr;
    }

    .hal-name-layout-picker,
    .hal-name-layout-selected {
        grid-template-columns: 1fr;
    }

    .hal-name-layout-selected {
        grid-row: auto;
    }

    .hal-name-layout-picker > .hal-preview-button {
        width: 100%;
    }

    .hal-result {
        padding: 22px 20px;
    }

    .hal-result__total span,
    .hal-result__total strong {
        font-size: 20px;
    }

    .hal-button {
        min-width: 0;
        width: 100%;
    }

    .hal-size-contact {
        align-items: stretch;
        flex-direction: column;
    }

    .hal-size-contact__button {
        text-align: center;
        white-space: normal;
    }

    .hal-order-buttons {
        flex-direction: column;
    }

    .hal-order-buttons > .hal-button,
    .hal-order-buttons > .hal-preview-button {
        flex-basis: auto;
        max-width: none;
        width: 100%;
    }

    .hal-order-summary dl {
        grid-template-columns: 1fr;
    }

    .hal-privacy-modal__dialog {
        border-radius: 0;
        max-height: 100vh;
        padding: 24px 18px;
        width: 100%;
    }

    .hal-order-prefecture {
        grid-template-columns: 1fr;
    }

    .hal-order-summary dt {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .hal-flow-steps li {
        flex-direction: column;
        font-size: 11px;
        gap: 4px;
        text-align: center;
    }

    .hal-postal-field {
        grid-template-columns: 1fr;
    }

    .hal-postal-field p {
        grid-column: auto;
    }

    .hal-color-swatches {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hal-design-modal__dialog {
        border-radius: 0;
        height: 100%;
        max-height: none;
        padding: 22px 16px;
        width: 100%;
    }

    .hal-design-modal__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hal-name-layout-modal-list {
        grid-template-columns: 1fr;
    }

    .hal-design-choice__image {
        height: 180px;
    }
}
