.shop_cat_link {
    text-decoration: none;
}

.shopcontainer {
    display: flex;
    align-items: stretch;
}

[role='tablist'] {
    gap: 0px 0.5rem;
    margin: 0;
    border-bottom: 0.5rem solid var(--white);
}

[role='tab'] {
    display: block;
    width: fit-content;
    padding: 1rem 2rem;
    font-weight: bold;
    position: relative;
}

[role='tab'][aria-selected='false'] {
    cursor: pointer;
    box-shadow: inset 0px -3px 10px rgba(0, 0, 0, 0.15);
    background-color: var(--white);
    color: var(--creart);
}

[role='tab'][aria-selected='true'] {
    background: none;
    background-color: var(--creart);
    color: var(--white);
    border-color: inherit;
}

[role='tab'][aria-selected='true']:after {
    content: '';
    background: inherit;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    height: 2rem;
    width: 5rem;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}

[aria-hidden='true'] {
    display: none !important;
}

[role='tabpanel'] {
    min-height: 10rem;
    align-items: flex-start;
}

.table {
    display: block;
    margin: -0.25rem -1rem;
}

.tr {
    display: table-row;
}

.th {
    display: table-cell;
    font-weight: bold;
    padding: 0.25rem 1rem;
}

.td {
    display: table-cell;
    padding: 0.25rem 1rem;
}

.flexbox.checkbox {
    gap: 0.5em;
    align-items: baseline;
    flex-wrap: nowrap;
    overflow: hidden;
    position: relative;
}

.price_info {
    border-spacing: 0;
    width: 100%;
}

.price_info > tbody > tr > td,
.price_info > tr > td {
    /* font-variant-numeric: tabular-nums; */
    text-align: right;
}

.price_info > tbody > tr > th,
.price_info > tr > th {
    text-align: left;
    padding-right: 0.5em;
}

.price_info > tbody > tr > th:after,
.price_info > tr > th:after {
    content: ':';
}

.price_info data {
    font-variant-numeric: tabular-nums;
}

.price_info .price {
    font-weight: bold;
}

.price_info .price span {
    font-weight: normal;
}

.price_info .form-row {
    background: none;
    color: inherit;
}

.price_info .form-row {
    width: 100%;
    justify-content: space-between;
}

.price_info .form-row > input {
    border: 2px solid;
    text-align: right;
    width: 10rem;
    flex-grow: 0;
}

.price_info .form-row > label {
    min-width: 0;
    width: fit-content;
    max-width: 100%;
    padding-left: 0;
    align-self: baseline;
}

tr {
    position: relative;
    position: -webkit-sticky;
}

tr:after {
    content: '';
    width: 100%;
    height: 0px;
    border-top: 1px solid;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.25;
    transform: translateY(-50%);
}

tr:first-child:after {
    content: none;
}

tr.separated {
    position: relative;
    position: -webkit-sticky;
}

tr.separated:after {
    border-top: 2px solid;
    top: 0.5em;
    opacity: 1;
}

tr.separated > * {
    padding-top: 1em;
}

.price_info > tbody > tr > td > input[type='number'],
.price_info > tr > td > input[type='number'] {
    padding: 0.25em 0 0.25em 2em;
    text-align: right;
    border: none;
    background: var(--creart);
    width: 5em;
    margin-top: 2px;
    color: var(--white);
    background-image: url(../images/icon_edit.svg);
    background-position: 0.5em 50%;
    background-size: auto 70%;
    background-repeat: no-repeat;
}

.overlay {
    position: fixed;
    height: 100vh;
    width: 100vw;
    padding: var(--padding);
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
}

.overlay.hidden {
    display: none;
}

.overlay p {
    font-size: 1.5em;
    margin-bottom: 2em;
    width: 50rem;
    max-width: 100%;
    font-weight: bold;
}

.overlay > .box {
    width: fit-content;
    max-width: 100%;
    overflow: auto;
}

dl {
    display: grid;
    grid-template-columns: auto auto;
    width: 100%;
}

dt:after {
    content: ':';
}

dt {
    grid-column-start: 1;
}

dd {
    justify-self: end;
    grid-column-start: 2;
}

/* .add_to_cart .form-row {
  background: none;
  color: inherit;
} */

.add_to_cart > *:not(.overlay),
.add_to_cart > .form-row {
    width: fit-content;
    max-width: 100%;
}

.add_to_cart .shipping {
    width: 100%;
    display: flex;
}

.add_to_cart .form-row > input {
    padding-top: 1rem;
    padding-bottom: 1rem;
    width: 7em;
}

table th {
    text-align: left;
}
.box > table {
    width: 100%;
}
table tr > th:last-child,
table tr > td:last-child {
    text-align: right;
}
.price_calculation_table {
    width: 100%;
}

.tax-table {
    margin-left: auto;
}

.tax-table > tbody > tr > td {
    text-align: left;
}

.flexbox.checkbox.toggler {
    position: relative;
}

.flexbox.checkbox.toggler input {
    position: absolute;
    opacity: 0;
}

.delivery_adresse fieldset {
    margin: 2rem 0 0;
}

.flexbox.checkbox input {
    position: absolute;
    opacity: 0;
}

.flexbox.checkbox label {
    background-color: var(--creart);
    color: var(--white);
    padding: 0.5rem 5rem 0.5rem 1rem;
    position: relative;
    cursor: pointer;
}

.flexbox.checkbox input:focus-visible + label {
    outline: -webkit-focus-ring-color auto 1px;
    outline-offset: 1px;
}

.flexbox.checkbox label:before {
    content: '';
    display: block;
    width: 1em;
    height: 1em;
    border: 2px solid;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}
.flexbox.checkbox.business_customer label {
    padding: 0.5rem 0.5rem 0.5rem 5rem;
}
.flexbox.checkbox.business_customer :checked + label:after,
.flexbox.checkbox.business_customer label:before {
    right: unset;
    left: 1rem;
}

.flexbox.checkbox [type='radio'] + label:before {
    border-radius: 50%;
}

.flexbox.checkbox :checked + label:after {
    content: '✓';
    font-size: 1em;
    position: absolute;
    right: calc(1rem + 0.5em);
    top: 50%;
    transform: translate(40%, -50%);
    color: var(--lightblue);
    font-weight: bold;
}

.price_calculation_table td {
    vertical-align: middle;
}

.price_calculation_table img {
    aspect-ratio: 1;
    object-fit: contain;
    width: 3em;
    padding: 0.5rem;
}

.price_calculation_table .flexbox {
    align-items: center;
    /* margin-top: 1rem; */
}

table .nr {
    text-align: right !important;
}

.product_price_calculation p.flexbox {
    justify-content: space-between;
}

/* #shopcontact_form, */
.checkout_page.shop-overview-content {
    row-gap: 6rem;
    /* margin-top: 3rem; */
}

.shop-overview-content:not(.checkout_page) {
    margin-top: 3rem;
}

/* .template-4953  .shop-overview-content {
    row-gap: var(--gap);
} */

.step-data,
.upload-widget-wrapper .product_info,
.upload-widget-wrapper {
    color: var(--creart);
}

.step-data .overview {
    flex-grow: 1;
}

#stripe-box input {
    flex-grow: 1;
    border: none;
    align-self: stretch;
    padding: 0.5rem 1rem;
    font: inherit;
}

.next-button {
    margin-left: auto;
}

.product_info .h4 {
    font-weight: bold;
}
.product_info .file .delete {
    display: none;
}
.files-uploaded {
    width: 100%;
}
.files-uploaded .file-container .file {
    /* padding: 0; */
}

.cart_product_box p[role='heading'] {
    width: 100%;
}

.page-4950 .buttons .btn {
    margin-left: auto;
}

.buttons {
    display: flex;
    justify-content: space-between;
}

.shopcontainer #cart_product_remove {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: inherit;
}

#sidebar_cart table {
    width: 100%;
    border-spacing: 1rem;
    margin: -1rem;
}

/* NEU HINZUGEFÜGT */

.details.box p:last-child {
    margin-top: 1.5rem;
}

/* .button-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.shop-overview-content .button-wrapper .leftalign,
.shop-overview-content .button-wrapper .rightalign {
    width: fit-content;
} */

.cart_img {
    width: 100%;
    max-height: 20rem;
    object-fit: contain;
}

#card-element {
    border: 2px solid var(--creart);
    padding: 1rem 2rem;
}

/* .edit_order button .accordion.active::after {
    content:'';
    background-color: var(--headline-color);
    background-image: url(../images/arrow-down.svg);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 2rem auto;
    color: var(--white);
    display: inline-block;
    padding: 1rem 4rem 1rem 2rem;
    transition: all 0.3s ease;
} */
/* .edit_order button .accordion.active::after */

@media only screen and (max-width: 485px) {
    table .nr {
        text-align: center !important;
    }

    .price_calculation_table tr span {
        padding: 0 !important;
    }
}

.fullsize-notice {
    background-color: var(--pink);
    color: var(--white);
    /* font-size: 1.6rem; */
    width: 100%;
    padding-left: var(--padding);
    padding-right: var(--padding);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
}
