/* Use the browser's own scrollbar gutter while Popup Maker locks the product page. */
html:has(body.single-product #pum-2784) {
    scrollbar-gutter: stable;
}

html.pum-open-scrollable:has(#pum-2784.pum-active) body.single-product #Wrapper {
    padding-right: 0 !important;
}

#pum-2784 {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    box-sizing: border-box;
    width: 100vw !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    background: rgb(33 27 22 / 52%) !important;
}

/* Keep the dialog measurable during Popup Maker's first position calculation and fade. */
#pum-2784.pum-active,
#pum-2784.pum-active > #popmake-2784 {
    display: block !important;
}

#pum-2784 > #popmake-2784 {
    position: relative !important;
    inset: auto !important;
    box-sizing: border-box;
    width: min(460px, calc(100% - 24px)) !important;
    margin: clamp(12px, 5dvh, 44px) auto !important;
    padding: clamp(18px, 4vw, 28px);
    border: 1px solid #e3d8cc;
    border-radius: 16px;
    background: #fcfaf7;
    box-shadow: 0 18px 56px rgb(33 27 22 / 26%);
    color: #30271e;
    -webkit-text-size-adjust: 100%;
}

#pum-2784 #pum_popup_title_2784 {
    margin: 0 0 16px;
    padding-inline-end: 44px;
    color: #30271e;
    font-family: inherit;
    font-size: clamp(23px, 5.7vw, 28px);
    font-weight: 500;
    line-height: 1.2;
}

#pum-2784 .pum-close {
    position: absolute;
    inset: 10px 10px auto auto;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid #e3d8cc;
    border-radius: 10px;
    background: #f6f0e8;
    box-shadow: none;
    color: #513e2e;
    font: 400 24px/1 sans-serif;
    text-shadow: none;
}

#pum-2784 .pum-close:focus-visible,
#pum-2784 .cf-quick-field input:focus-visible,
#pum-2784 .wpcf7-submit:focus-visible {
    outline: 2px solid #8b7455;
    outline-offset: 2px;
}

#pum-2784 .pum-content:focus {
    outline: none;
}

#pum-2784 .wpcf7-form p {
    margin: 0 0 12px;
}

#pum-2784 .wpcf7-form p:last-of-type {
    margin-bottom: 0;
}

#pum-2784 .cf-quick-size-summary {
    color: #625449;
    font-size: 14px;
    line-height: 1.4;
}

#pum-2784 .cf-quick-field {
    display: block;
    margin: 0;
}

#pum-2784 .cf-quick-field > br,
#pum-2784 .cf-quick-field + br {
    display: none;
}

#pum-2784 .cf-quick-field .wpcf7-form-control-wrap {
    display: block;
}

#pum-2784 .cf-quick-field input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #ded3c6;
    border-radius: 9px;
    background: #fff;
    box-shadow: none;
    color: #30271e;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.35;
}

#pum-2784 .cf-quick-field input::placeholder {
    color: #74685d;
    opacity: 1;
}

#pum-2784 .wpcf7-acceptance {
    display: block;
    margin-top: 12px;
}

#pum-2784 .wpcf7-acceptance .wpcf7-list-item {
    display: block;
    margin: 0;
}

#pum-2784 .wpcf7-acceptance label {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    margin: 0;
    border: 1px solid #e3d8cc;
    border-radius: 9px;
    background: #f6f0e8;
    color: #41362d;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.45;
}

#pum-2784 .wpcf7-acceptance input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    position: static;
    display: block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin: 0;
    padding: 0;
    opacity: 1;
    cursor: pointer;
    accent-color: #513e2e;
}

#pum-2784 .wpcf7-acceptance a {
    color: #604b35;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#pum-2784 .wpcf7-acceptance label:has(input:checked) {
    border-color: #a68e72;
}

#pum-2784 .wpcf7-acceptance label:focus-within {
    outline: 2px solid #8b7455;
    outline-offset: 2px;
}

#pum-2784 .wpcf7-submit {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 16px;
    border: 1px solid #513e2e;
    border-radius: 9px;
    background: #513e2e;
    box-shadow: none;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
}

#pum-2784 .wpcf7-submit:disabled {
    border-color: #dfd4c7;
    background: #eee7de;
    color: #6d6358;
    opacity: 1;
}

#pum-2784 .wpcf7-spinner {
    margin: 8px 0 0;
}

#pum-2784 .wpcf7-not-valid-tip {
    margin-top: 5px;
    line-height: 1.4;
}
