﻿/* ==================================================================================
EU raskid ugovora – floating gumb (vendidero plugin)
===================================================================================== */
.vdtheme-withdrawal-button-wrap {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9998;
    margin: 0 !important;
    padding: 0;
    pointer-events: none;
}

.vdtheme-withdrawal-button-wrap .vdtheme-withdrawal-button {
    pointer-events: auto;
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.vdtheme-withdrawal-button-wrap .vdtheme-withdrawal-button:hover {
    color: #fff;
    text-decoration: none;
}

form.order-withdrawal-request .form-row-email-repeat {
	display: none !important;
	visibility: hidden !important;
	position: absolute !important;
	left: -9999px !important;
	height: 0 !important;
	width: 0 !important;
	overflow: hidden !important;
}

form.order-withdrawal-request .form-row-email.form-row-first,
form.order-withdrawal-request .form-row-phone.form-row-last {
	float: left;
	width: 48%;
	margin-right: 4%;
}

form.order-withdrawal-request .form-row-phone.form-row-last {
	margin-right: 0;
}

form.order-withdrawal-request .form-row-phone .optional {
	display: inline;
}

.woocommerce form.order-withdrawal-request button.button.woocommerce-form-return_request__submit,
.woocommerce .default-content form.order-withdrawal-request button.button.woocommerce-form-return_request__submit,
form.order-withdrawal-request .woocommerce-form-return_request__submit,
.default-content .order-withdrawal-request .woocommerce-form-return_request__submit {
    display: inline-block;
    min-width: 220px !important;
    width: auto !important;
    max-width: 100%;
    padding: 14px 28px !important;
    padding-right: 28px !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    border: none !important;
    border-radius: 4px !important;
    background-color: #bb0c04 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: none !important;
    text-decoration: none !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    transition: background-color 0.2s ease !important;
    position: relative !important;
    overflow: visible !important;
    vertical-align: middle;
}

.woocommerce form.order-withdrawal-request button.button.woocommerce-form-return_request__submit:hover:not(:disabled):not(.loading),
.woocommerce .default-content form.order-withdrawal-request button.button.woocommerce-form-return_request__submit:hover:not(:disabled):not(.loading),
form.order-withdrawal-request .woocommerce-form-return_request__submit:hover:not(:disabled):not(.loading),
.default-content .order-withdrawal-request .woocommerce-form-return_request__submit:hover:not(:disabled):not(.loading) {
    background-color: #2e2e2e !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.woocommerce form.order-withdrawal-request button.button.woocommerce-form-return_request__submit.loading,
.woocommerce form.order-withdrawal-request button.button.woocommerce-form-return_request__submit:disabled,
.woocommerce .default-content form.order-withdrawal-request button.button.woocommerce-form-return_request__submit.loading,
.woocommerce .default-content form.order-withdrawal-request button.button.woocommerce-form-return_request__submit:disabled,
form.order-withdrawal-request .woocommerce-form-return_request__submit.loading,
form.order-withdrawal-request .woocommerce-form-return_request__submit:disabled,
.default-content .order-withdrawal-request .woocommerce-form-return_request__submit.loading,
.default-content .order-withdrawal-request .woocommerce-form-return_request__submit:disabled {
    padding: 14px 28px !important;
    padding-right: 28px !important;
    background-color: #9a0a03 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 1 !important;
    cursor: wait;
    filter: none !important;
}

.woocommerce form.order-withdrawal-request button.button.woocommerce-form-return_request__submit.loading:hover,
.woocommerce form.order-withdrawal-request button.button.woocommerce-form-return_request__submit:disabled:hover,
.woocommerce .default-content form.order-withdrawal-request button.button.woocommerce-form-return_request__submit.loading:hover,
.woocommerce .default-content form.order-withdrawal-request button.button.woocommerce-form-return_request__submit:disabled:hover,
form.order-withdrawal-request .woocommerce-form-return_request__submit.loading:hover,
form.order-withdrawal-request .woocommerce-form-return_request__submit:disabled:hover,
.default-content .order-withdrawal-request .woocommerce-form-return_request__submit.loading:hover,
.default-content .order-withdrawal-request .woocommerce-form-return_request__submit:disabled:hover {
    background-color: #9a0a03 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.woocommerce form.order-withdrawal-request button.button.woocommerce-form-return_request__submit.loading::before,
.woocommerce form.order-withdrawal-request button.button.woocommerce-form-return_request__submit.loading::after,
.woocommerce form.order-withdrawal-request button.button.woocommerce-form-return_request__submit:disabled::before,
.woocommerce form.order-withdrawal-request button.button.woocommerce-form-return_request__submit:disabled::after,
.woocommerce .default-content form.order-withdrawal-request button.button.woocommerce-form-return_request__submit.loading::before,
.woocommerce .default-content form.order-withdrawal-request button.button.woocommerce-form-return_request__submit.loading::after,
form.order-withdrawal-request .woocommerce-form-return_request__submit.loading::before,
form.order-withdrawal-request .woocommerce-form-return_request__submit.loading::after,
.default-content .order-withdrawal-request .woocommerce-form-return_request__submit.loading::before,
.default-content .order-withdrawal-request .woocommerce-form-return_request__submit.loading::after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    animation: none !important;
    position: static !important;
}

/* Stranica raskida ugovora – custom dizajn */
.default-content .order-withdrawal-request {
    width: 100%;
    margin: 0 auto 3rem;
    padding: 3rem;
    border: 1px solid #d3ced2;
    border-radius: 5px;
    background: #fff;
}

.default-content .order-withdrawal-request .form-row label,
.default-content .order-withdrawal-request .vdtheme-withdrawal-order-summary__title,
.default-content .order-withdrawal-request .vdtheme-withdrawal-items-select__title {
    display: block;
    margin: 0 0 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    color: #2e2e2e;
}

.default-content .order-withdrawal-request .form-row .required {
    visibility: visible;
    color: #bb0c04;
    font-weight: 700;
    text-decoration: none;
    border: none;
}

.default-content .order-withdrawal-request .form-row.woocommerce-invalid label,
.default-content .order-withdrawal-request .form-row.woocommerce-invalid-required-field label,
.default-content .order-withdrawal-request .form-row.woocommerce-invalid-email label {
    color: #2e2e2e;
}

.default-content .order-withdrawal-request .form-row.woocommerce-invalid .required,
.default-content .order-withdrawal-request .form-row.woocommerce-invalid-required-field .required,
.default-content .order-withdrawal-request .form-row.woocommerce-invalid-email .required {
    color: #bb0c04;
    visibility: visible;
}

.default-content .order-withdrawal-request .form-row.woocommerce-invalid input.input-text,
.default-content .order-withdrawal-request .form-row.woocommerce-invalid select,
.default-content .order-withdrawal-request .form-row.woocommerce-invalid textarea,
.default-content .order-withdrawal-request .form-row.woocommerce-invalid-required-field input.input-text,
.default-content .order-withdrawal-request .form-row.woocommerce-invalid-required-field select,
.default-content .order-withdrawal-request .form-row.woocommerce-invalid-required-field textarea,
.default-content .order-withdrawal-request .form-row.woocommerce-invalid-email input.input-text {
    border-color: #bb0c04;
    box-shadow: 0 0 0 1px rgba(187, 12, 4, 0.12);
}

.default-content .order-withdrawal-request .form-row input.input-text,
.default-content .order-withdrawal-request .form-row select,
.default-content .order-withdrawal-request .form-row textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid #d3ced2;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 1.4rem;
    line-height: 1.4;
    color: #2e2e2e;
}

.default-content .order-withdrawal-request .form-row.woocommerce-validated input.input-text,
.default-content .order-withdrawal-request .form-row.woocommerce-validated select,
.default-content .order-withdrawal-request .form-row.woocommerce-validated textarea,
.woocommerce form.order-withdrawal-request .form-row.woocommerce-validated input.input-text,
.woocommerce form.order-withdrawal-request .form-row.woocommerce-validated select,
.woocommerce form.order-withdrawal-request .form-row.woocommerce-validated textarea {
    border-color: #d3ced2;
    box-shadow: none;
}

.default-content .order-withdrawal-request .form-row.woocommerce-validated .select2-container:not(.select2-container--open) .select2-selection,
.woocommerce form.order-withdrawal-request .form-row.woocommerce-validated .select2-container:not(.select2-container--open) .select2-selection {
    border-color: #d3ced2;
}

.default-content .order-withdrawal-request .form-row input.input-text:focus,
.default-content .order-withdrawal-request .form-row select:focus,
.default-content .order-withdrawal-request .form-row textarea:focus,
.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list .quantity .qty:focus,
.default-content .order-withdrawal-request input[type="checkbox"]:focus,
.default-content .order-withdrawal-request input[type="checkbox"]:focus-visible,
.woocommerce form.order-withdrawal-request .form-row input.input-text:focus,
.woocommerce form.order-withdrawal-request .form-row select:focus,
.woocommerce form.order-withdrawal-request .form-row textarea:focus {
    border-color: #d3ced2;
    outline: none;
    box-shadow: none;
}

.default-content .order-withdrawal-request .select2-container--focus .select2-selection,
.default-content .order-withdrawal-request .select2-container--open .select2-selection,
.woocommerce form.order-withdrawal-request .select2-container--focus .select2-selection,
.woocommerce form.order-withdrawal-request .select2-container--open .select2-selection {
    border-color: #d3ced2;
    outline: none;
    box-shadow: none;
}

.default-content .order-withdrawal-request .form-row-first,
.default-content .order-withdrawal-request .form-row-last {
    width: 48%;
}

.default-content .order-withdrawal-request .form-row-submit {
    margin-top: 1.5rem;
    text-align: center;
    min-height: 52px;
}

.default-content .order-withdrawal-request .form-row-submit:has(.woocommerce-form-return_request__submit[style*="display: none"]),
.default-content .order-withdrawal-request .form-row-submit:has(.woocommerce-form-return_request__submit[style*="display:none"]) {
    display: none;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.default-content .order-withdrawal-request .eu-owb-notice-wrapper .woocommerce-message,
.default-content .order-withdrawal-request .eu-owb-notice-wrapper .woocommerce-error,
.default-content .order-withdrawal-request .eu-owb-notice-wrapper .woocommerce-info {
    display: block;
    flex-direction: unset;
    width: 100%;
    margin: 0 0 1.5rem;
    padding: 16px 20px;
    border-radius: 4px;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.6;
    color: #2e2e2e;
    background-color: #f8f8f8;
    border: 1px solid #d3ced2;
}

.default-content .order-withdrawal-request .eu-owb-form-fields .woocommerce-info,
.default-content .order-withdrawal-request .eu-owb-form-fields .woocommerce-message,
.default-content .order-withdrawal-request .eu-owb-form-fields .woocommerce-error {
    display: block;
    flex-direction: unset;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.6;
    color: #2e2e2e;
    background: none;
}

.default-content .order-withdrawal-request .eu-owb-notice-wrapper .woocommerce-error {
    color: #721c24;
    background-color: #f9e8e8;
    border: 1px solid #e8b4b4;
}

.default-content .order-withdrawal-request .eu-owb-form-fields .woocommerce-error {
    color: #721c24;
    background: none;
    border: none;
}

.default-content .order-withdrawal-request .eu-owb-notice-wrapper .woocommerce-message {
    color: #2e2e2e;
    background-color: #f0f7f0;
    border-color: #c3e0c3;
}

.default-content .order-withdrawal-request .eu-owb-form-fields .woocommerce-message {
    color: #2e2e2e;
    background: none;
    border: none;
}

.default-content .order-withdrawal-request .eu-owb-notice-wrapper .woocommerce-info a,
.default-content .order-withdrawal-request .eu-owb-form-fields .woocommerce-info a,
.default-content .order-withdrawal-request .eu-owb-notice-wrapper .woocommerce-message a,
.default-content .order-withdrawal-request .eu-owb-form-fields .woocommerce-message a,
.default-content .order-withdrawal-request .eu-owb-notice-wrapper .woocommerce-error a,
.default-content .order-withdrawal-request .eu-owb-form-fields .woocommerce-error a {
    display: inline;
    width: auto;
    margin: 0 !important;
    padding: 0;
    background: none !important;
    font-weight: 600;
    color: #bb0c04;
    text-decoration: underline;
    text-align: left;
}

.default-content .order-withdrawal-request .eu-owb-notice-wrapper .woocommerce-info a:hover,
.default-content .order-withdrawal-request .eu-owb-form-fields .woocommerce-info a:hover,
.default-content .order-withdrawal-request .eu-owb-notice-wrapper .woocommerce-message a:hover,
.default-content .order-withdrawal-request .eu-owb-form-fields .woocommerce-message a:hover,
.default-content .order-withdrawal-request .eu-owb-notice-wrapper .woocommerce-error a:hover,
.default-content .order-withdrawal-request .eu-owb-form-fields .woocommerce-error a:hover {
    color: #2e2e2e;
}

.default-content .order-withdrawal-request .eu-owb-form-fields .notice {
    margin-bottom: 0;
}

.default-content .order-withdrawal-request .eu-owb-form-fields .woocommerce-info.notice:only-child {
    margin-bottom: 0;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-select:has(.order-withdrawal-request-items-table.hidden) {
    display: none;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 1rem;
    padding: 0;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-select__box {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid #d3ced2;
    border-radius: 4px;
    background: #fafafa;
    overflow: hidden;
}

.default-content .order-withdrawal-request .order-withdrawal-request-items-table.vdtheme-withdrawal-items-list {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list__row {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 68px;
    column-gap: 12px;
    align-items: center;
    min-height: 0;
    padding: 8px 0;
    border-top: 1px solid #e8e8e8;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list__row--select-all {
    border-top: none;
    padding: 0 0 10px;
    margin-bottom: 0;
    border-bottom: 1px solid #e8e8e8;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list__row--select-all + .vdtheme-withdrawal-items-list__row {
    border-top: none;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list__check {
    display: grid;
    place-items: center;
    align-self: center;
    width: 20px;
    min-width: 20px;
    min-height: 20px;
    margin: 0;
    padding: 0;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list__name {
    margin: 0;
    padding: 0;
    min-width: 0;
    font-size: 1.4rem;
    line-height: 1.4;
    color: #2e2e2e;
    overflow-wrap: anywhere;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list__select-all-label {
    display: flex;
    align-items: center;
    min-height: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list__qty {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-self: center;
    width: 68px;
    margin: 0;
    padding: 0;
    text-align: right;
    white-space: nowrap;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list__qty-label {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: right;
    font-size: 1.35rem;
    line-height: 1.35;
    color: #666;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list__check label.checkbox,
.default-content .order-withdrawal-request .vdtheme-withdrawal-items-select__select-all {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    line-height: 1;
    cursor: pointer;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list .woocommerce-form__label {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-select__select-all {
    position: relative;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-select__select-all .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list__name a {
    color: #2e2e2e;
    font-weight: 600;
    text-decoration: none;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list__name a:hover {
    color: #bb0c04;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list .woocommerce-form__input-checkbox,
.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list .order-withdrawal-request-item-checkbox-select-all,
.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list .order-withdrawal-request-item-checkbox {
    display: block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin: 0 !important;
    padding: 0;
    border: 0;
    accent-color: #bb0c04 !important;
    cursor: pointer;
    flex-shrink: 0;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list .quantity {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list .quantity .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list .quantity .qty {
    width: 100%;
    max-width: 68px;
    box-sizing: border-box;
    margin: 0;
    padding: 6px 8px;
    border: 1px solid #d3ced2;
    border-radius: 4px;
    font-size: 1.35rem;
    line-height: 1.2;
    text-align: center;
    color: #2e2e2e;
    background: #fff;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-items-list .order-item-non-withdrawable {
    color: #888;
}

@media only screen and (max-width: 48em) {
    .default-content .order-withdrawal-request .vdtheme-withdrawal-items-list__row {
        grid-template-columns: 20px minmax(0, 1fr) 60px;
    }

    .default-content .order-withdrawal-request .vdtheme-withdrawal-items-list__qty {
        width: 60px;
    }

    .default-content .order-withdrawal-request .vdtheme-withdrawal-items-list .quantity .qty {
        max-width: 60px;
        padding: 6px 4px;
    }
}

.default-content .order-withdrawal-request .eu-owb-form-fields .notice span.notice,
.default-content .order-withdrawal-request .eu-owb-select-certain-items-desc {
    display: block;
    margin-top: 0.75rem;
    font-size: 1.35rem;
    line-height: 1.5;
    color: #555;
}

.default-content .order-withdrawal-request .form-row-manually-select-items label.checkbox,
.default-content .order-withdrawal-request .order-withdrawal-manually-select-items-checkbox label.checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 1.25rem 0 0;
    padding: 14px 16px;
    border: 1px solid #d3ced2;
    border-radius: 4px;
    background: #fafafa;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.4;
    color: #2e2e2e;
    cursor: pointer;
}

.default-content .order-withdrawal-request label.checkbox .optional {
    display: none !important;
}

.default-content .order-withdrawal-request .form-row-manually-select-items label.checkbox .input-checkbox,
.default-content .order-withdrawal-request .order-withdrawal-manually-select-items-checkbox label.checkbox .input-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin: 0;
    flex-shrink: 0;
    accent-color: #bb0c04;
    cursor: pointer;
    transform: none;
}

.default-content .order-withdrawal-request .order-supports-partial-withdrawal .eu-owb-woocommerce-select-certain-items-desc {
    margin-top: 0.75rem;
    padding: 0 2px;
    font-size: 1.35rem;
    line-height: 1.55;
    color: #555;
}

/* Gost – bez ručnog odabira artikala (samo puni raskid putem broja narudžbe). */
.default-content .order-withdrawal-request:has(#order-withdrawal-request-order-number) .order-supports-partial-withdrawal {
    display: none !important;
}

.default-content .order-withdrawal-request .eu-owb-order-item-select-wrapper {
    width: 100%;
    max-width: 100%;
}

.default-content .order-withdrawal-request .woocommerce-input-wrapper {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-order-summary {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 1rem;
    padding: 0;
    border: none;
    background: none;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-order-summary__title {
    display: block;
    margin: 0 0 0.5rem;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-order-summary__box {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid #d3ced2;
    border-radius: 4px;
    background: #fafafa;
    overflow: hidden;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-order-summary__items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-order-summary__items li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e8e8e8;
    font-size: 1.4rem;
    line-height: 1.4;
    color: #2e2e2e;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-order-summary__items li:last-child {
    border-bottom: none;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-order-summary__name {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-order-summary__qty {
    flex-shrink: 0;
    color: #666;
}

.default-content .order-withdrawal-request .vdtheme-withdrawal-order-summary__total {
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid #d3ced2;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2e2e2e;
}

.default-content .order-withdrawal-request .eu-owb-order-item-select-wrapper.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Informativni blok o pravu na raskid – iznad forme. */

.pages .vdtheme-withdrawal-info {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 2.4rem;
    padding: 2.4rem;
    border: 1px solid #ebe2e2;
    border-left: 4px solid #bb0c04;
    border-radius: 6px;
    background: #fbf7f7;
}

.pages .vdtheme-withdrawal-info__title {
    margin: 0 0 0.8rem;
    padding: 0;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #2e2e2e;
}

.pages .vdtheme-withdrawal-info__lead {
    margin: 0 0 1.6rem;
    font-size: 1.5rem;
    line-height: 1.6;
    color: #4a4a4a;
}

.pages .vdtheme-withdrawal-info__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pages .vdtheme-withdrawal-info__item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    box-sizing: border-box;
    padding: 1.4rem 1.6rem;
    background: #fff;
    border: 1px solid #efe7e7;
    border-radius: 4px;
}

.pages .vdtheme-withdrawal-info__item-title {
    position: relative;
    padding-left: 2.4rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: #bb0c04;
}

.pages .vdtheme-withdrawal-info__item-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2rem;
    width: 1.6rem;
    height: 1.6rem;
    background-color: #bb0c04;
    -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}

.pages .vdtheme-withdrawal-info__item-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #4a4a4a;
}

.pages .vdtheme-withdrawal-info__item-text a {
    color: #bb0c04;
    font-weight: 600;
    text-decoration: underline;
}

.pages .vdtheme-withdrawal-info__item-text a:hover {
    color: #2e2e2e;
}

.pages .vdtheme-withdrawal-info__note {
    margin: 1.6rem 0 0;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #6b6b6b;
}

@media (max-width: 782px) {
    .pages .vdtheme-withdrawal-info {
        padding: 1.8rem;
    }

    .pages .vdtheme-withdrawal-info__list {
        grid-template-columns: minmax(0, 1fr);
    }

    form.order-withdrawal-request .form-row-email.form-row-first,
    form.order-withdrawal-request .form-row-phone.form-row-last {
        float: none;
        width: 100%;
        margin-right: 0;
    }
}

/* Uspjeh i greška – isti notice wrapper unutar forme. */

.pages .vdtheme-withdrawal-page-notices {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 1.5rem;
    padding: 0;
}

.pages #werkteh-withdrawal-page-notices:empty {
    display: none;
    margin: 0;
}

.pages .vdtheme-withdrawal-page-notices .woocommerce-message,
.pages .vdtheme-withdrawal-page-notices .woocommerce-error,
.pages .vdtheme-withdrawal-page-notices .woocommerce-info {
    display: block;
    flex-direction: unset;
    width: 100%;
    margin: 0 0 1rem;
    padding: 16px 20px;
    border-radius: 4px;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.6;
    color: #2e2e2e;
    background-color: #f8f8f8;
    border: 1px solid #d3ced2;
    list-style: none;
}

.pages .vdtheme-withdrawal-page-notices .woocommerce-message:last-child,
.pages .vdtheme-withdrawal-page-notices .woocommerce-error:last-child,
.pages .vdtheme-withdrawal-page-notices .woocommerce-info:last-child {
    margin-bottom: 0;
}

.pages .vdtheme-withdrawal-page-notices .woocommerce-message::before,
.pages .vdtheme-withdrawal-page-notices .woocommerce-error::before,
.pages .vdtheme-withdrawal-page-notices .woocommerce-info::before {
    display: none;
}

.pages .vdtheme-withdrawal-page-notices .woocommerce-message {
    color: #2e2e2e;
    background-color: #f0f7f0;
    border-color: #c3e0c3;
}

.pages .vdtheme-withdrawal-page-notices .woocommerce-error {
    color: #721c24;
    background-color: #f9e8e8;
    border-color: #e8b4b4;
}

.pages .vdtheme-withdrawal-page-notices .woocommerce-info {
    color: #2e2e2e;
    background-color: #f8f8f8;
    border-color: #d3ced2;
}

.pages .vdtheme-withdrawal-page-notices .woocommerce-message a,
.pages .vdtheme-withdrawal-page-notices .woocommerce-error a,
.pages .vdtheme-withdrawal-page-notices .woocommerce-info a {
    color: #bb0c04;
    font-weight: 600;
    text-decoration: none;
}

.pages .vdtheme-withdrawal-page-notices .woocommerce-message a:hover,
.pages .vdtheme-withdrawal-page-notices .woocommerce-error a:hover,
.pages .vdtheme-withdrawal-page-notices .woocommerce-info a:hover {
    text-decoration: underline;
}

.pages .vdtheme-withdrawal-requests-outer {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 2rem;
    padding: 0;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__title {
    display: block;
    margin: 0 0 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    color: #2e2e2e;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__box {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid #d3ced2;
    border-radius: 4px;
    background: #fafafa;
    overflow: hidden;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e8e8e8;
    font-size: 1.4rem;
    line-height: 1.4;
    color: #2e2e2e;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__item:first-child {
    padding-top: 0;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__order {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__date {
    font-size: 1.35rem;
    color: #666;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    align-items: center;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__badge--requested {
    color: #7a5b00;
    background: #fff4cc;
    border: 1px solid #ecd98a;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__badge--confirmed {
    color: #1f5f2d;
    background: #e8f5ea;
    border: 1px solid #b9d9bf;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__badge--rejected {
    color: #8a1f1f;
    background: #f9e8e8;
    border: 1px solid #e8b4b4;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__type {
    font-size: 1.25rem;
    color: #666;
    white-space: nowrap;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__link {
    font-size: 1.35rem;
    font-weight: 600;
    color: #bb0c04;
    text-decoration: none;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__link:hover {
    text-decoration: underline;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__link--delete {
    color: #a00;
}

/* EU plugin: checkbox za brisanje pri promjeni narudžbe u formi – ne koristimo */
.default-content .order-withdrawal-request .order-withdrawal-delete-original-request-checkbox,
.default-content .order-withdrawal-request .werkteh-withdrawal-delete-original-request-hidden,
form.order-withdrawal-request .order-withdrawal-delete-original-request-checkbox,
form.order-withdrawal-request .werkteh-withdrawal-delete-original-request-hidden {
    display: none !important;
}

.pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__hint {
    margin: 0.75rem 0 0;
    font-size: 1.35rem;
    line-height: 1.5;
    color: #555;
}

@media only screen and (max-width: 48em) {
    .pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__item {
        grid-template-columns: 1fr;
    }

    .pages .vdtheme-withdrawal-requests-outer .vdtheme-withdrawal-requests__meta {
        justify-content: flex-start;
    }
}

@media only screen and (min-width: 37.5625em) {
    .default-content .order-withdrawal-request {
        padding: 5rem;
    }
}

@media (max-width: 768px) {
    .default-content .order-withdrawal-request {
        padding: 2rem 1.5rem;
    }

    .default-content .order-withdrawal-request .form-row-first,
    .default-content .order-withdrawal-request .form-row-last {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .vdtheme-withdrawal-button-wrap {
        bottom: 16px;
        left: 16px;
        right: 16px;
        transform: none;
        text-align: center;
    }

    .vdtheme-withdrawal-button-wrap .vdtheme-withdrawal-button {
        font-size: 1.3rem;
        padding: 10px 18px;
        white-space: normal;
    }
}
