.beda-woo-options-form {
    display: grid;
    gap: 16px;
    margin: 24px 0;
}

.beda-product-notice,
.beda-checkout-binding-note,
.beda-pickup-warning {
    background: #f7f4ed;
    border-left: 4px solid #e0b44b;
    color: #333;
    margin: 18px 0;
    padding: 12px 14px;
}

.beda-pickup-warning[hidden] {
    display: none;
}

.beda-pickup-warning p {
    margin: 0 0 6px;
}

.beda-pickup-warning p:last-child {
    margin-bottom: 0;
}

@media (min-width: 960px) {
    .woocommerce-checkout .beda-pickup-warning {
        margin-left: 190px;
    }
}

.beda-family-rule {
    color: #555;
    font-size: 0.9rem;
    margin: 0;
}

.beda-family-rule.is-invalid {
    color: #b81c23;
    font-weight: 700;
}

.beda-dietary-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.beda-dietary-badges--product {
    margin: 12px 0;
}

.beda-dietary-badges--row {
    grid-column: 1 / -1;
}

.beda-dietary-badge {
    background: #f1f4ed;
    border: 1px solid rgba(63, 93, 56, 0.28);
    border-radius: 999px;
    color: #365332;
    display: inline-flex;
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.7px;
    line-height: 1.2;
    padding: 5px 9px;
    text-transform: uppercase;
}

.beda-pretzel-options,
.beda-inscription-field {
    display: grid;
    gap: 8px;
}

.beda-pretzel-options > label:first-child,
.beda-inscription-field {
    max-width: 520px;
}

.beda-pretzel-options > label:first-child > span,
.beda-inscription-field > label {
    color: #333;
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.beda-pretzel-options select,
.beda-inscription-field textarea {
    width: 100%;
}

.beda-inscription-field small {
    color: #666;
}

.beda-product-notice p {
    margin: 4px 0 0;
}

.beda-checkout-binding-note {
    font-size: 13px;
    line-height: 1.5;
}

.beda-checkout-binding-note p {
    margin: 0 0 10px;
}

.beda-checkout-binding-note p:last-child {
    margin-bottom: 0;
}

.beda-options-table,
.beda-bread-rows {
    display: grid;
    gap: 10px;
}

.beda-checkbox-person-select {
    display: grid;
    gap: 6px;
}

.beda-checkbox-person-select label {
    color: #333;
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.beda-options-row,
.beda-bread-row {
    align-items: center;
    border: 1px solid #000;
    border-radius: 6px;
    display: grid;
    gap: 12px;
    padding: 12px;
}

.beda-options-row {
    grid-template-columns: minmax(180px, 1fr) auto 110px;
}

.beda-bread-row {
    align-items: start;
    grid-template-columns: auto 1fr;
}

.beda-bread-row .beda-filling-options {
    min-width: 0;
}

.beda-bread-row .beda-bread-format-select,
.beda-bread-row .beda-bread-select,
.beda-bread-row .beda-filling-options {
    grid-column: 1 / -1;
    width: 100%;
}

.beda-bread-row .beda-filling-options {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 780px) {
    .beda-bread-row .beda-filling-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.beda-bread-row .beda-quantity-picker,
.beda-bread-row .beda-remove-row,
.beda-bread-row .beda-filling-limit {
    justify-self: start;
}

.beda-bread-row .beda-filling-limit {
    grid-column: 1 / -1;
}

.beda-option-check,
.beda-filling-option {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.beda-option-check input[type="checkbox"],
.beda-filling-option input[type="checkbox"] {
    accent-color: #000;
}

.beda-option-check input[type="checkbox"]:checked,
.beda-option-check input[type="checkbox"]:checked:focus,
.beda-filling-option input[type="checkbox"]:checked,
.beda-filling-option input[type="checkbox"]:checked:focus {
    background-color: #000 !important;
    border-color: #000 !important;
}

.beda-option-price {
    white-space: nowrap;
}

.beda-option-quantity,
.beda-bread-quantity {
    max-width: 110px;
}

.beda-quantity-picker {
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(32, 32, 32, 0.18);
    border-radius: 3px;
    display: inline-grid;
    grid-template-columns: 32px 48px 32px;
    height: 34px;
    justify-self: end;
    overflow: hidden;
    width: 112px;
}

.single-product .beda-woo-options-form .beda-quantity-picker input.beda-option-quantity,
.single-product .beda-woo-options-form .beda-quantity-picker input.beda-bread-quantity {
    -moz-appearance: textfield;
    background: transparent;
    border: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box;
    color: #777;
    font-size: 14px;
    height: 100%;
    line-height: 34px;
    margin: 0;
    max-width: none;
    min-width: 0;
    padding: 0 !important;
    text-align: center;
    width: 100% !important;
}

.single-product .beda-woo-options-form .beda-quantity-picker input.beda-option-quantity::-webkit-inner-spin-button,
.single-product .beda-woo-options-form .beda-quantity-picker input.beda-option-quantity::-webkit-outer-spin-button,
.single-product .beda-woo-options-form .beda-quantity-picker input.beda-bread-quantity::-webkit-inner-spin-button,
.single-product .beda-woo-options-form .beda-quantity-picker input.beda-bread-quantity::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.beda-quantity-button {
    align-items: center;
    background: transparent;
    border: 0;
    color: #aaa;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    justify-content: center;
    line-height: 1;
    margin: 0;
    min-height: 0;
    padding: 0;
}

.beda-quantity-button:hover,
.beda-quantity-button:focus {
    background: #f6f6f6;
    color: #333;
    outline: none;
}

.beda-filling-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.beda-filling-limit {
    color: #666;
    font-size: 0.875rem;
    white-space: nowrap;
}

.beda-add-row {
    justify-self: start;
}

.single-product .beda-woo-options-form .beda-add-row {
    background: transparent !important;
    border: 1px solid #000 !important;
    border-radius: 0;
    color: #000 !important;
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
    min-height: 30px;
    padding: 0 14px;
    text-transform: uppercase;
}

.single-product .beda-woo-options-form .beda-add-row:hover,
.single-product .beda-woo-options-form .beda-add-row:focus {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
    text-decoration: none;
}

.single-product .beda-woo-options-form .beda-remove-row {
    background: #000 !important;
    border: 1px solid #000 !important;
    border-radius: 0;
    color: #fff !important;
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
    min-height: 30px;
    padding: 0 14px;
    text-transform: uppercase;
}

.single-product .beda-woo-options-form .beda-remove-row:hover,
.single-product .beda-woo-options-form .beda-remove-row:focus {
    background: transparent !important;
    border-color: #000 !important;
    color: #000 !important;
    text-decoration: none;
}

.beda-woo-options-form .single_add_to_cart_button {
    justify-self: start;
}

.wc-block-cart__submit .wc-block-components-button,
.wc-block-cart__submit .wc-block-components-button:not(.is-link) {
    background: #000 !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    color: #fff !important;
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 2px;
    line-height: 1.5;
    min-height: 44px !important;
    padding: 0 28px !important;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wc-block-cart__submit .wc-block-components-button .wc-block-components-button__text {
    color: inherit;
}

.wc-block-cart__submit .wc-block-components-button:hover,
.wc-block-cart__submit .wc-block-components-button:focus {
    background: transparent !important;
    border-color: #000 !important;
    color: #000 !important;
    text-decoration: none;
}

.woocommerce-checkout #payment #place_order,
.woocommerce-checkout button#place_order {
    background: #000;
    border: 1px solid #000;
    border-radius: 0;
    color: #fff;
    float: none;
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
    min-height: 56px;
    min-width: 280px;
    padding: 0 42px;
    text-transform: uppercase;
    width: auto;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-cart .wc-proceed-to-checkout .beda-continue-shopping {
    align-items: center;
    border: 1px solid #000;
    box-sizing: border-box;
    display: flex;
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 2px;
    line-height: 1.5;
    min-height: 56px;
    padding: 0 18px;
}

.woocommerce-cart .wc-proceed-to-checkout .beda-continue-shopping {
    background: transparent;
    border-radius: 0;
    color: #000;
    margin-top: 12px;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

.woocommerce-cart .wc-proceed-to-checkout .beda-continue-shopping:hover,
.woocommerce-cart .wc-proceed-to-checkout .beda-continue-shopping:focus-visible {
    background: #000;
    color: #fff;
    text-decoration: none;
}

.woocommerce-checkout .uk-article-title {
    margin-bottom: 30px;
}

.woocommerce-checkout .uk-article-title + * {
    margin-top: 0;
}

.beda-checkout-progress {
    margin: 0 0 38px;
    max-width: 720px;
}

.woocommerce-cart .beda-checkout-progress.is-before-title {
    align-items: center;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 720px) 1fr;
    margin: 0 0 24px;
    max-width: none;
    width: 100%;
}

.woocommerce-cart .beda-checkout-progress.is-before-title .beda-checkout-progress__actions {
    justify-content: flex-end;
    margin-top: 0;
}

.woocommerce-checkout .beda-checkout-progress.is-before-title {
    align-items: center;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(120px, 1fr) minmax(0, 720px) minmax(120px, 1fr);
    margin: 0 0 24px;
    max-width: none;
    width: 100%;
}

.woocommerce-checkout .beda-checkout-progress.is-before-title ol {
    grid-column: 2;
    grid-row: 1;
}

/* Optically center the checkout timeline inside its middle column. */
.woocommerce-checkout:not(.woocommerce-order-received) .beda-checkout-progress.is-before-title .beda-checkout-progress__step {
    text-align: center;
}

.woocommerce-checkout:not(.woocommerce-order-received) .beda-checkout-progress.is-before-title .beda-checkout-progress__step::before {
    left: 50%;
    transform: translateX(-50%);
}

.woocommerce-checkout:not(.woocommerce-order-received) .beda-checkout-progress.is-before-title .beda-checkout-progress__step:not(:last-child)::after {
    left: 50%;
    right: -50%;
}

.woocommerce-checkout .beda-checkout-progress.is-before-title .beda-checkout-progress__actions {
    display: contents;
}

.woocommerce-checkout .beda-checkout-progress.is-before-title .beda-checkout-progress__arrow.is-back {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
}

.woocommerce-checkout .beda-checkout-progress.is-before-title .beda-checkout-progress__arrow.is-forward {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
}

.woocommerce-order-received .beda-checkout-progress.is-before-title {
    grid-template-columns: minmax(0, 720px) 1fr;
}

.woocommerce-order-received .beda-checkout-progress.is-before-title ol {
    grid-column: 1;
}

.woocommerce-order-received .beda-checkout-progress.is-before-title .beda-checkout-progress__arrow.is-forward {
    grid-column: 2;
}

.beda-checkout-progress ol {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.beda-checkout-progress__step {
    color: #8a8a8a;
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding-top: 20px;
    position: relative;
    text-transform: uppercase;
}

.beda-checkout-progress__step::before {
    background: #d8d8d8;
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    box-sizing: border-box;
    content: '';
    height: 12px;
    left: 0;
    position: absolute;
    top: 0;
    width: 12px;
    z-index: 1;
}

.beda-checkout-progress__step:not(:last-child)::after {
    background: #d8d8d8;
    content: '';
    height: 1px;
    left: 12px;
    position: absolute;
    right: 0;
    top: 5px;
}

.beda-checkout-progress__step.is-complete,
.beda-checkout-progress__step.is-current {
    color: #000;
}

.beda-checkout-progress__step.is-complete::before,
.beda-checkout-progress__step.is-current::before {
    background: #eba900;
}

.beda-checkout-progress__step.is-complete::after {
    background: #eba900;
}

.beda-checkout-progress__step a,
.beda-checkout-progress__step span {
    color: inherit;
}

.beda-checkout-progress__step a:hover,
.beda-checkout-progress__step a:focus {
    color: #eba900;
    text-decoration: none;
}

.beda-checkout-progress__actions {
    align-items: center;
    display: flex;
    margin-top: 16px;
}

.beda-checkout-progress__actions.is-before-title {
    box-sizing: border-box;
    margin: 0 0 24px;
    max-width: none;
    padding-top: 0;
    width: 100%;
}

.beda-checkout-progress__arrow {
    align-items: center;
    color: #000;
    display: inline-flex;
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    gap: 8px;
    letter-spacing: 1.5px;
    min-height: 44px;
    text-transform: uppercase;
}

.beda-checkout-progress__arrow.is-forward {
    margin-left: auto;
}

.woocommerce-checkout .woocommerce-terms-and-conditions {
    display: none !important;
}

.beda-checkout-progress__arrow:hover,
.beda-checkout-progress__arrow:focus {
    color: #eba900;
    text-decoration: none;
}

.beda-checkout-progress__arrow:focus-visible {
    outline: 2px solid #000;
    outline-offset: 5px;
}

.beda-checkout-progress__icon {
    fill: none;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: square;
    stroke-linejoin: miter;
    stroke-width: 1.75;
    width: 24px;
}

.beda-checkout-actions {
    align-items: stretch;
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.beda-checkout-actions .beda-checkout-back,
.beda-checkout-actions #place_order,
.beda-thankyou-action a {
    align-items: center;
    box-sizing: border-box;
    display: inline-flex;
    flex: 1 1 0;
    justify-content: center;
    margin: 0;
    min-height: 56px;
    min-width: 0;
    padding: 0 24px;
    text-align: center;
    width: auto;
}

.woocommerce-checkout #payment .beda-checkout-actions #place_order {
    min-width: 0;
    padding-left: 18px;
    padding-right: 18px;
    width: auto;
}

.beda-checkout-actions .beda-checkout-back,
.beda-thankyou-action a {
    background: transparent;
    border: 1px solid #000;
    color: #000;
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
    text-transform: uppercase;
}

.beda-checkout-actions .beda-checkout-back:hover,
.beda-checkout-actions .beda-checkout-back:focus,
.beda-thankyou-action a:hover,
.beda-thankyou-action a:focus {
    background: #000;
    color: #fff;
    text-decoration: none;
}

.beda-thankyou-action {
    margin: 40px 0 0;
}

.beda-thankyou-action a {
    flex: none;
    min-width: 280px;
}

.woocommerce-checkout #payment #place_order:hover,
.woocommerce-checkout #payment #place_order:focus,
.woocommerce-checkout button#place_order:hover,
.woocommerce-checkout button#place_order:focus {
    background: transparent;
    border-color: #000;
    color: #000;
    text-decoration: none;
}

.woocommerce-checkout #payment .payment_box {
    padding-left: 0;
    padding-right: 0;
    text-align: left;
}

.woocommerce-checkout #payment .payment_box p {
    margin-left: 0;
    padding-left: 0;
    text-align: left;
}

.woocommerce-order-received .woocommerce-order-overview__total,
.woocommerce-order-received .woocommerce-order-overview__email,
.woocommerce-order-received .woocommerce-order-overview__payment-method {
    display: none !important;
}

.woocommerce-order-received .woocommerce-order > .woocommerce-order-overview + p {
    display: none !important;
}

.woocommerce-order-received .woocommerce-table--order-details tfoot tr:nth-last-child(2) th,
.woocommerce-order-received .woocommerce-table--order-details tfoot tr:nth-last-child(2) td,
.woocommerce-order-received .woocommerce-table--order-details tfoot tr:nth-last-child(2) .woocommerce-Price-amount {
    color: #333;
    font-size: 20px;
    font-weight: 700;
}

.woocommerce-order-received .woocommerce-customer-details {
    display: none !important;
}

.woocommerce-order-received .beda-order-submission-details {
    margin-top: 40px;
    margin-bottom: 70px;
}

.woocommerce-order-received .beda-order-submission-details h2 {
    margin-bottom: 25px;
}

.woocommerce-order-received .beda-order-submission-details th {
    width: 32%;
}

@media (max-width: 639px) {
    .woocommerce-checkout #payment #place_order,
    .woocommerce-checkout button#place_order {
        min-width: 0;
        width: 100%;
    }

    .woocommerce-checkout .uk-article-title {
        margin-bottom: 20px;
    }

    .beda-checkout-progress {
        margin-bottom: 30px;
    }

    .beda-checkout-progress__step {
        font-size: 9px;
        letter-spacing: 0.8px;
    }

    .beda-checkout-progress__arrow {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .beda-checkout-progress__actions.is-before-title {
        margin: 0 0 18px;
    }

    .woocommerce-cart .beda-checkout-progress.is-before-title {
        gap: 10px;
        grid-template-columns: 1fr;
        margin-bottom: 18px;
    }

    .woocommerce-cart .beda-checkout-progress.is-before-title .beda-checkout-progress__actions {
        justify-content: flex-end;
    }

    .woocommerce-checkout .beda-checkout-progress.is-before-title {
        gap: 10px 16px;
        grid-template-columns: 1fr 1fr;
        margin-bottom: 18px;
    }

    .woocommerce-checkout .beda-checkout-progress.is-before-title ol {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .woocommerce-checkout .beda-checkout-progress.is-before-title .beda-checkout-progress__arrow.is-back {
        grid-column: 1;
        grid-row: 2;
    }

    .woocommerce-checkout .beda-checkout-progress.is-before-title .beda-checkout-progress__arrow.is-forward {
        grid-column: 2;
        grid-row: 2;
    }

    .woocommerce-order-received .beda-checkout-progress.is-before-title {
        grid-template-columns: 1fr;
    }

    .woocommerce-order-received .beda-checkout-progress.is-before-title ol {
        grid-column: 1;
    }

    .woocommerce-order-received .beda-checkout-progress.is-before-title .beda-checkout-progress__arrow.is-forward {
        grid-column: 1;
        grid-row: 2;
    }

    .beda-checkout-actions {
        flex-direction: column;
        gap: 12px;
    }

    .beda-checkout-actions .beda-checkout-back,
    .beda-checkout-actions #place_order,
    .beda-thankyou-action a {
        flex: none;
        width: 100%;
    }

    .beda-thankyou-action a {
        min-width: 0;
    }

    .woocommerce-order-received .beda-order-submission-details {
        margin-top: 30px;
        margin-bottom: 50px;
    }

    .woocommerce-order-received .beda-order-submission-details th {
        width: 42%;
    }
}

.single-product table.shop_attributes tr.woocommerce-product-attributes-item--attribute_auswahl {
    display: block;
}

.single-product table.shop_attributes tr.woocommerce-product-attributes-item--attribute_auswahl > th,
.single-product table.shop_attributes tr.woocommerce-product-attributes-item--attribute_auswahl > td {
    box-sizing: border-box;
    display: block;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
    width: 100%;
}

.single-product table.shop_attributes tr.woocommerce-product-attributes-item--attribute_auswahl > th {
    padding-bottom: 8px;
}

.single-product table.shop_attributes tr.woocommerce-product-attributes-item--attribute_auswahl > td p {
    margin-top: 0;
}

@media (max-width: 780px) {
    .beda-options-row {
        grid-template-columns: 1fr;
    }

    .beda-option-quantity,
    .beda-bread-quantity {
        max-width: none;
        width: 100%;
    }

    .beda-quantity-picker {
        justify-self: stretch;
        width: 100%;
    }
}
