.webive-vratky {
    max-width: 46rem;
    margin-block: 1.5rem;
    overflow-wrap: anywhere;
}

.webive-vratky [hidden] {
    display: none !important;
}

.webive-vratky #wvr-number:disabled {
    background-color: #e9e9e9;
    color: #555;
    border-color: #aaa;
    cursor: not-allowed;
    opacity: 1;
}

.webive-vratky :where(input:not([type="checkbox"], [type="radio"], [type="hidden"]), textarea) {
    box-sizing: border-box;
    width: 100%;
    min-height: 2.75rem;
    padding: .5rem .65rem;
    font: inherit;
}

.webive-vratky :where(button, .wvr-choice) {
    min-height: 2.75rem;
}

.webive-vratky button {
    padding: .5rem .75rem;
    font: inherit;
    cursor: pointer;
}

.webive-vratky button:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.webive-vratky fieldset {
    min-width: 0;
    margin: 0 0 1.25rem;
    padding: 1rem;
    border: 1px solid currentColor;
    border-radius: .25rem;
}

.webive-vratky legend {
    padding-inline: .35rem;
    font-weight: 700;
}

.webive-vratky .wvr-modes,
.webive-vratky .wvr-actions,
.webive-vratky .wvr-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1rem;
}

.webive-vratky .wvr-modes {
    border-block-end: 1px solid currentColor;
    margin-block-end: 1.25rem;
}

.webive-vratky .wvr-modes a {
    display: block;
    padding: .65rem .25rem;
}

.webive-vratky .wvr-modes [aria-current="page"] {
    border-block-end: .2rem solid currentColor;
    font-weight: 700;
}

.webive-vratky .wvr-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    column-gap: 1rem;
}

.webive-vratky .wvr-field {
    margin-block-end: 1rem;
}

.webive-vratky .wvr-field label,
.webive-vratky .wvr-quantity label {
    display: block;
    font-weight: 600;
    margin-block-end: .25rem;
}

.webive-vratky .wvr-choice {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.webive-vratky .wvr-choice input {
    flex: none;
    margin: 0;
}

.webive-vratky .wvr-code {
    max-width: 16rem;
    margin-block-start: 1rem;
}

.webive-vratky .wvr-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.webive-vratky .wvr-items li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .5rem 1rem;
    padding-block: .75rem;
    border-block-start: 1px solid currentColor;
}

.webive-vratky .wvr-quantity {
    width: 7rem;
}

.webive-vratky .wvr-notice {
    border-inline-start: .25rem solid currentColor;
    padding: .65rem .9rem;
    margin-block: 1rem;
}

.webive-vratky .wvr-error {
    border-inline-start-color: #b42424;
}

.webive-vratky .wvr-notice ul {
    margin-block: 0;
}

.webive-vratky .wvr-summary,
.webive-vratky .wvr-summary-grid,
.webive-vratky .wvr-summary-fields {
    display: grid;
}

.webive-vratky .wvr-summary,
.webive-vratky .wvr-summary-grid {
    gap: 1rem;
}

.webive-vratky .wvr-summary-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.webive-vratky .wvr-summary-header h2,
.webive-vratky .wvr-summary-card h3 {
    margin: 0;
    line-height: 1.3;
}

.webive-vratky .wvr-summary-kind {
    margin: .35rem 0 0;
}

.webive-vratky .wvr-summary-card,
.webive-vratky .wvr-summary-receipt {
    min-width: 0;
    padding: clamp(1rem, 3vw, 1.25rem);
    border: 1px solid rgba(127, 127, 127, .35);
    border-radius: .5rem;
}

.webive-vratky .wvr-summary-receipt {
    background: #16803c0d;
    border-inline-start: .25rem solid #21834a;
}

.webive-vratky .wvr-summary-card h3 {
    margin-bottom: .85rem;
    font-size: 1em;
    font-weight: 650;
}

.webive-vratky .wvr-summary-fields,
.webive-vratky .wvr-summary-description {
    margin: 0;
}

.webive-vratky .wvr-summary-fields {
    gap: .75rem;
}

.webive-vratky .wvr-summary-shipping {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    gap: .9rem 1rem;
}

.webive-vratky .wvr-summary-fields dt {
    margin: 0 0 .15rem;
    font-weight: 600;
    font-size: .85em;
}

.webive-vratky .wvr-summary-fields dd,
.webive-vratky .wvr-summary-description {
    margin: 0;
    white-space: pre-wrap;
}

.webive-vratky .wvr-summary-reference {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .75rem 2rem;
    margin-top: 1rem;
}

.webive-vratky .wvr-summary-reference > div:first-child dd {
    font-size: 1.25em;
    font-weight: 700;
}

.webive-vratky .wvr-summary-mail {
    margin: .9rem 0 0;
}

.webive-vratky .wvr-summary-mail--attention {
    padding: .55rem .75rem;
    border-inline-start: .2rem solid #b66a16;
    background: #b66a1614;
}

.webive-vratky .wvr-summary-items {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.webive-vratky .wvr-summary-items :where(th, td) {
    padding: .5rem .35rem;
    border: 0;
    border-block-end: 1px solid rgba(127, 127, 127, .35);
    text-align: start;
    vertical-align: top;
}

.webive-vratky .wvr-summary-items thead {
    background: rgba(127, 127, 127, .08);
}

.webive-vratky .wvr-summary-items :where(th, td):last-child {
    width: 1%;
    padding-inline: .75rem;
    text-align: end;
    white-space: nowrap;
}

.webive-vratky .wvr-summary-items tbody th {
    font-weight: 500;
}

.webive-vratky .wvr-summary-items tbody small {
    display: block;
    margin-top: .12rem;
}

.webive-vratky .wvr-summary-items + .wvr-summary-fields {
    margin-top: 1rem;
}

.webive-vratky .wvr-summary-actions {
    margin: 1.25rem 0 0;
}

.webive-vratky .wvr-summary-actions button {
    max-width: 100%;
    white-space: normal;
}
