.brochure-container[hidden],
.brochure-container[aria-hidden="true"] {
    display: none !important;
}

.rock-brochure__button,
.rock-brochure__submit {
    appearance: none;
    position: relative !important;
    isolation: isolate;
    overflow: hidden;
    border: 0 !important;
    border-radius: 14px;
    background: linear-gradient(135deg, #f35916 0%, #fb611b 55%, #f35916 100%) !important;
    color: #fff !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: top !important;
    min-height: 0 !important;
    margin: 0 !important;
    font: inherit;
    font-weight: 700;
    line-height: 1.2 !important;
    padding: 14px 22px;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(243, 89, 22, .24), 0 2px 5px rgba(56, 22, 8, .16), inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -1px 0 rgba(100, 25, 0, .1);
    transform: translate3d(0, 0, 0);
    will-change: transform, box-shadow;
    transition: color 500ms ease, background 800ms ease, box-shadow 900ms cubic-bezier(.16, 1, .3, 1), transform 900ms cubic-bezier(.16, 1, .3, 1);
}

.rock-brochure__button:hover,
.rock-brochure__button:focus-visible,
.rock-brochure__submit:hover,
.rock-brochure__submit:focus-visible {
    color: #fff !important;
    background: linear-gradient(135deg, #ff6825 0%, #f35916 48%, #ff7133 100%) !important;
    box-shadow: 0 14px 32px rgba(243, 89, 22, .34), 0 0 26px rgba(243, 89, 22, .2), 0 0 44px rgba(255, 113, 51, .09), inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(100, 25, 0, .08);
    transform: translate3d(0, -2px, 0) scale(1.025);
}

.rock-brochure__submit:disabled {
    cursor: wait;
    opacity: .65;
}

.rock-brochure__modal[hidden] {
    display: none;
}

.rock-brochure__modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 999999;
}

.rock-brochure__backdrop {
    background: rgba(43, 29, 34, .68);
    inset: 0;
    position: absolute;
}

.rock-brochure__dialog {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    max-height: calc(100vh - 40px);
    max-width: 560px;
    overflow: auto;
    padding: 30px;
    position: relative;
    width: 100%;
    z-index: 1;
    color: #2b1d22;
    font-family: Poppins, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.rock-brochure__dialog h2 {
    margin: 0 35px 8px 0;
    color: #2b1d22;
    font-family: Poppins, sans-serif;
    font-weight: 600;
}

.rock-brochure__close {
    appearance: none;
    background: transparent;
    border: 0;
    color: #2b1d22;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
    padding: 5px;
    position: absolute;
    right: 15px;
    top: 12px;
}

.rock-brochure .rock-brochure__dialog .rock-brochure__close:hover,
.rock-brochure .rock-brochure__dialog .rock-brochure__close:focus-visible {
    background: #f7eee9 !important;
    color: #f35916 !important;
    box-shadow: none !important;
    transform: none !important;
}

.rock-brochure__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
}

.rock-brochure__form > label:first-of-type,
.rock-brochure__consent,
.rock-brochure__message,
.rock-brochure__submit {
    grid-column: 1 / -1;
}

.rock-brochure__submit {
    justify-self: start;
}

.rock-brochure__form > label:not(.rock-brochure__consent) {
    display: block;
    margin: 0 0 15px;
}

.rock-brochure__form > label > span {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.rock-brochure__form input[type="text"],
.rock-brochure__form input[type="email"],
.rock-brochure__form input[type="tel"] {
    border: 1px solid #ded5d2;
    border-radius: 10px;
    box-sizing: border-box;
    font: inherit;
    padding: 11px 12px;
    width: 100%;
}

.rock-brochure__form input:focus-visible,
.rock-brochure__button:focus-visible,
.rock-brochure__submit:focus-visible,
.rock-brochure__close:focus-visible {
    outline: 3px solid #fb500e;
    outline-offset: 3px;
}

.rock-brochure__consent {
    align-items: flex-start;
    display: flex;
    font-size: 14px;
    gap: 8px;
    margin: 5px 0 18px;
}

.rock-brochure__consent input {
    margin-top: 4px;
}

.rock-brochure__consent span {
    font-weight: 400 !important;
}

.rock-brochure__message {
    margin: 0 0 12px;
}

.rock-brochure__message.is-error {
    color: #b32d2e;
}

.rock-brochure__message.is-success {
    color: #087c39;
}

.rock-brochure__trap {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

body.rock-brochure-modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .rock-brochure__form {
        grid-template-columns: minmax(0, 1fr);
    }

    .rock-brochure__dialog {
        padding: 24px 20px;
    }

    .rock-brochure__button,
    .rock-brochure__submit {
        width: 100%;
    }
}

