/* Text links across storefront content and transactional messages. */
:where(.wz-prose, .category-text, .article-content, .blog-record-description, .record-description, .wz-account-nav, .simplecheckout-tooltip, #agreement_checkbox, #notification, .alert, .form-error, .form-success, .mfp-content, .modal-body, .popup-wrapper, #cboxLoadedContent) a[href]:not(.btn):not(.button),
a.wz-text-link[href] {
    color: #963c00;
    text-decoration: underline;
    text-decoration-thickness: .08em;
    text-underline-offset: .16em;
}

:where(.wz-prose, .category-text, .article-content, .blog-record-description, .record-description, .wz-account-nav, .simplecheckout-tooltip, #agreement_checkbox, #notification, .alert, .form-error, .form-success, .mfp-content, .modal-body, .popup-wrapper, #cboxLoadedContent) a[href]:not(.btn):not(.button):hover,
a.wz-text-link[href]:hover {
    color: #703000;
    text-decoration-thickness: .13em;
}

:where(.wz-prose, .category-text, .article-content, .blog-record-description, .record-description, .simplecheckout-tooltip, #agreement_checkbox, .mfp-content, .modal-body, .popup-wrapper, #cboxLoadedContent) a[href]:not(.btn):not(.button):is(.agree, .cboxElement, .colorbox, .fancybox, .image-popup, .lightbox, .popup-ajax, .popup-inline, .popup-iframe, .wz-opens-popup, [data-lightbox], [data-fancybox], [data-colorbox], [data-toggle="modal"], [rel^="lightbox"], [rel^="colorbox"]) {
    text-decoration-style: dotted;
}

:where(.wz-prose, .category-text, .article-content, .blog-record-description, .record-description, .wz-account-nav, .simplecheckout-tooltip, #agreement_checkbox, #notification, .alert, .form-error, .form-success, .mfp-content, .modal-body, .popup-wrapper, #cboxLoadedContent) a[href]:focus-visible,
a.wz-text-link[href]:focus-visible,
a.wz-account-action[href]:focus-visible {
    outline: 2px solid #963c00;
    outline-offset: 3px;
}

#notification a[href]:not(.btn):not(.button),
.alert a[href]:not(.btn):not(.button) {
    font-weight: 700;
}

.checkout-heading-button a[data-onclick="openLoginBox"] {
    color: #963c00;
    text-decoration: underline dotted;
    text-underline-offset: .16em;
}

a.wz-account-action.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45em;
    min-height: 44px;
    padding: .55em .8em;
    white-space: nowrap;
}

a.wz-account-action--download.btn {
    background-color: #963c00;
    border-color: #963c00;
    color: #fff;
}

a.wz-account-action--download.btn:hover {
    background-color: #703000;
    border-color: #703000;
    color: #fff;
}

@media (max-width: 767px) {
    .wz-download-list {
        display: block;
    }

    .wz-download-list thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .wz-download-list tbody {
        display: block;
    }

    .wz-download-list tbody tr {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .5rem;
        padding: .9rem;
        border-bottom: 1px solid #d8c9b5;
    }

    .wz-download-list tbody td {
        min-width: 0;
        padding: 0;
        border: 0;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .wz-download-list .wz-download-name {
        grid-area: 1 / 1 / 2 / -1;
        font-weight: 700;
    }

    .wz-download-list .wz-download-action {
        grid-column: 1 / -1;
    }
}

select:is([name="shipping_address[country_id]"], [name="payment_address[country_id]"], #input-payment-country, #input-shipping-country) option:is([value="223"], [value="38"], [value="176"]) {
    font-weight: 700;
}

.wz-order-survey {
    --survey-padding: clamp(1rem, 4vw, 1.5rem);
    box-sizing: border-box;
    width: 100%;
    max-width: 36rem;
    margin: 1.75rem auto;
    padding: var(--survey-padding);
    background: #fff6e3;
    border: 1px solid #e2d9d0;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgb(0 0 0 / 6%);
    color: #222;
}

.wz-order-survey h2 {
    margin: calc(0px - var(--survey-padding)) calc(0px - var(--survey-padding)) 1rem;
    padding: .9rem var(--survey-padding);
    border-radius: 7px 7px 0 0;
    border-bottom: 4px solid #fbbb21;
    background: #2e2621;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.3;
}

.wz-order-survey textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 5rem;
    padding: .65rem .75rem;
    margin: .35rem 0 .75rem;
    border: 1px solid #97877a;
    border-radius: 4px;
    background: #fff;
    color: #222;
    font: inherit;
    resize: vertical;
}

.wz-order-survey button {
    padding: .65rem 1.1rem;
    border: 0;
    border-radius: 4px;
    background: #963c00;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.wz-order-survey button:disabled {
    opacity: .65;
    cursor: wait;
}

.wz-order-survey :is(button, textarea):focus-visible {
    outline: 2px solid #963c00;
    outline-offset: 3px;
}

.wz-order-survey .wz-survey-message {
    margin: .75rem 0 0;
}

.wz-order-survey [hidden] {
    display: none !important;
}
