.checkout-breadcrumbs {
    display: none;
}

.woocommerce-cart,
.woocommerce-checkout {
    .wc-block-components-address-card,
    .wc-block-components-checkout-step__description,
    .wc-block-components-radio-control__label, 
    .is-large,
    .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
    .wc-block-components-totals-footer-item .wc-block-components-totals-item__value  {
        font-size: 16px;
        border-radius: 0 !important;
    }

    .wc-block-components-product-badge {
        border-radius: 12px;
        text-transform: none;
    }

    .wc-block-components-product-metadata__description {
        display: none;
    }

    th,
    .wc-block-cart .wc-block-cart__totals-title {
        letter-spacing: 0;
        line-height: 26px;
        font-size: 16px;
        text-transform: none;
    }

    .wc-block-cart .wp-block-woocommerce-cart-order-summary-block {
        border-bottom: none;
        font-size: 14px;
    }
}

.wc-block-components-radio-control__description, 
.wc-block-components-radio-control__secondary-description, 
.wc-block-components-radio-control__secondary-label,
.wc-block-components-radio-control-accordion-content {
    font-size: 14px !important;
}

/* --------------- Styling des Warenkorbs ------------------ */

/* Warenkorb-Seite */
.woocommerce-cart {
    .entry-header {
        .is-divider {
            display: none;
        }

        h1.entry-title {
            font-size: 28px;
            line-height: 36px;
            margin: 2rem 0 4rem 0;
        }
    }
}

.wp-block-woocommerce-cart {
    max-width: var(--gn-max-container-width);
    margin: 0 auto;

    .wc-block-cart-items__row {
        grid-template-columns: 130px 132px !important;

        .wc-block-cart-item__image {
            padding-right: 22px !important;
        }

        .wc-block-components-product-metadata {
            display: flex;
            flex-wrap: wrap;
            flex-direction: column-reverse;

            .wc-block-components-product-details {
                color: var(--gn-text-color);
                font-size: 13px;
            }

            .wc-block-components-product-details__gzd-delivery-time .wc-block-components-product-details__value,
            .wc-block-components-product-details__aufbauservice {
                color: var(--gn-link-color);
                font-size: 13px;
            }
        }

        .wc-block-components-quantity-selector,
        .wc-block-components-quantity-selector:after,
        .wc-block-components-quantity-selector__button, 
        .wc-block-components-quantity-selector__button--plus,
        .wc-block-components-quantity-selector__input {
            border-radius: 0;
            border-color: #ddd;
        }


    }

    .wp-block-woocommerce-cart-cross-sells-block {
        display: none !important;
    }

    .wc-block-components-product-name {
        font-size: 14px;
        font-weight: 700;
        padding-right: 1rem !important;
        color: var(--gn-text-color);
    }

    .wc-block-components-product-badge {
        border-radius: 12px;
        text-transform: none;
    }

    .wc-block-components-product-metadata__description {
        display: none;
    }

    .wc-block-components-formatted-money-amount {
        color: var(--gn-text-color);
        font-size: 13px;
        font-weight: 400;
    }

    .wc-block-cart-item__total-price-and-sale-badge-wrapper {
        .wc-block-components-formatted-money-amount {
            font-size: 14px;
            font-weight: 700;
        }
    }

    .wp-block-woocommerce-cart-order-summary-totals-block {
        font-size: 14px;
        color: var(--gn-link-color);

        .wc-block-components-formatted-money-amount {
            font-size: 14px;
            color: var(--gn-link-color);
        }

        .wc-block-components-totals-discount .wc-block-formatted-money-amount {
            color: var(--gn-green);
        }
    }
    
    .wc-block-components-button {
        min-height: 58px !important;
        background-color: #000;

        &:hover {
            background-color: var(--gn-text-hover-color);
            color: #fff;
        }
    }
}



/* Offcanvas Cart */
#cart-popup {
    .is-divider { display: none;}

    .cart-popup-title.text-center {
        font-weight: 700;
        text-align: left;
        color: var(--gn-text-color);
        padding: 15px 0;

        span {
            font-size: 18px;
            line-height: 36px;
        }

        .heading-font.uppercase {
            text-transform: none;
            letter-spacing: 0;
        }
    }

    .ux-mini-cart-empty {
        padding: 50px 0;
    }

    .ux-quantity__button {
        &:hover {border-color: #ddd;}
    }

    .ux-mini-cart-empty-icon,
    .return-to-shop {
        display: none;
    }

    .woocommerce-mini-cart__empty-message {
        text-align: left;
    }

    .cart-popup-inner--sticky {
        min-height: calc(100vh);
    }

    .woocommerce-mini-cart-item {
        font-size: 14px;
        font-weight: 700;
        padding-left: 82px;
        margin-top: 24px;
        border: none;

        .wc-gzd-cart-info,
        .variation {
            font-weight: 400;
            color: var(--gn-link-color);
            font-size: 13px;

            dt,
            .woocommerce-Price-amount {
                font-weight: 400;
                color: var(--gn-link-color);
            }
        }

        .price-wrapper {
            opacity: 1;
            margin-top: auto;
        }

        .woocommerce-Price-amount {
            font-size: 13px;
            color: var(--gn-text-color);
        }

        a.remove {
            border: none;
            color: #ddd;
            font-size: 24px !important;
            font-weight: 400;
            line-height: 18px;

            &:hover {
                color: var(--gn-link-color);
            }
        }
    }

    .ux-mini-cart-cross-sells__title.text-center {
        text-align: left;
    }

    .ux-mini-cart-cross-sells__list-item {
        .star-rating {display: none;}

        .product-title {
            font-size: 14px;
        }

        .price-wrapper {
            margin-top: 2px;
            font-size: 14px;
        }

    }

    .widget_shopping_cart {
        p.total {
            text-align: right;
            border-top: none;
        }

        p.wc-gzd-total-mini-cart {
            font-size: 14px;
            color: var(--gn-link-color);
            padding: 0 0 24px 0;

            span.amount { 
                font-weight: 400;
                color: var(--gn-link-color);
            }
        }
    }

    .woocommerce-mini-cart__buttons.buttons .button {
        font-size: 16px;
        line-height: 50px;
    }

}


/* --------------------  Styling des Checkouts -------------------- */
.woocommerce-checkout {
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding-left: 0;
        padding-right: 0;
    }

    .icon-lock {display: none;}
}

.wp-block-woocommerce-checkout {
    padding-top: 3% !important;
}

.wp-block-woocommerce-checkout-order-summary-block {
    border-radius: 0 !important;

    .wc-block-components-checkout-order-summary__title {
        padding: 24px 32px !important;
        margin-top: 0 !important;
        background: #fff;

        .wc-block-components-checkout-order-summary__title-text,
        .wc-block-components-formatted-money-amount {
            font-size: 16px !important;
            line-height: 24px !important;
            padding-right: 10px;
        }
    }

    .wc-block-components-panel__button {
        font-size: 14px !important;
    }

    .wc-block-components-checkout-order-summary__content {
        background: #fff;

        &.is-open {
            padding: 24px 32px !important;
        }
    }

    .checkout-order-summary-block-fill {
        border-radius: 0 !important;
        background: #fff;
    }
}

.wc-block-components-order-summary {

    .wc-block-components-order-summary-item {
        font-size: 14px !important;
    }

    .wc-block-components-order-summary-item__quantity {
        display: inline-flex;              
        justify-content: center;    
        align-items: center;  
        height: 20px !important;
        width: 20px !important;
        border-radius: 50% !important;
        background: #00000070 !important;
        border: none !important;
        box-shadow: none !important;
        color: #fff !important;
        font-size: 12px !important;
        
        span[aria-hidden="true"] {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);

            display: block;
            line-height: 1;
        }

        .screen-reader-text {
            position: absolute;
            width: 1px;
            height: 1px;
            overflow: hidden;
            clip: rect(0 0 0 0);
            white-space: nowrap;
        }
    }

    @supports (-webkit-touch-callout: none) {
        .wc-block-components-order-summary-item__quantity > span[aria-hidden="true"] {
            transform: translate(-50%, -48%);
        }
    }


    .wc-block-components-order-summary-item__image {
        width: 60px !important;
        margin-right: 24px;

        img {
            max-width: 60px !important;
            width: 60px !important;
            margin-bottom: 16px;
        }
    }

    .wc-block-components-product-name {
        font-weight: 700 !important;
    }

    .price {
        line-height: 1.6 !important;
    }

    .wc-block-components-order-summary-item__individual-prices {
        display: none !important;
    }

    .wc-block-components-order-summary-item__description {
        padding-left: 0 !important;
    }

    .wc-block-components-order-summary-item__description .wc-block-components-product-metadata, 
    .wc-block-components-order-summary .wc-block-components-order-summary-item__description p {
        font-size: 13px !important;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;

        .wc-block-components-product-details__value {
            font-size: 1em !important;
        }

        .wc-block-components-product-details__gzd-delivery-time .wc-block-components-product-details__value {
            color: var(--gn-link-color) !important;
        }
    }

}

.wc-block-components-totals-coupon__content {
    .wc-block-components-button__text {
        font-weight: 400;
    }
}

.wc-block-components-chip {
    padding: 3px 3px 3px 15px !important;
    .wc-block-components-chip__text {
        font-size: 1em !important;
    }

    .wc-block-components-chip__remove {
        width: 34px !important;
        height: 34px !important;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }
}

.wp-block-woocommerce-checkout-order-summary-totals-block {
    color: var(--gn-link-color) !important;
    font-size: 14px !important;

    .wc-block-components-formatted-money-amount {
        font-weight: 400 !important;
    }
}

.wc-block-components-totals-shipping .wc-block-components-totals-item {
    text-transform: none !important;
    font-weight: 400 !important;

    .wc-block-components-totals-item__value strong {
        text-transform: none !important;
        font-weight: 400 !important;
    }
}

.wc-block-components-totals-footer-item {
    .wc-block-components-totals-item__label,
    .wc-block-components-totals-item__value,
    .wc-block-components-formatted-money-amount {
        font-size: 18px !important;
        font-weight: 700 !important;
    }
}

.wc-block-components-totals-item__description {
    font-size: 14px !important;

    .wc-block-components-totals-footer-item-tax {
        font-weight: 400 !important;
        color: var(--gn-link-color);
        white-space: unset !important;
    }
}

.wc-block-components-form {
    padding: 0 2rem;
}

.page-checkout-simple .medium-text-center #logo {
    margin: 2rem auto !important;
    width: 130px;
}

.woocommerce-checkout, .woocommerce-cart {
    .wc-block-components-title.wc-block-components-title {
        font-size: 24px;
        font-weight: 700;
    }

    .wc-block-components-checkout-step__description {
        display: none;
    }
}

.wc-block-components-form .wc-block-components-text-input input[type=email], 
.wc-block-components-form .wc-block-components-text-input input[type=number], 
.wc-block-components-form .wc-block-components-text-input input[type=password], 
.wc-block-components-form .wc-block-components-text-input input[type=tel], 
.wc-block-components-form .wc-block-components-text-input input[type=text], 
.wc-block-components-form .wc-block-components-text-input input[type=url], 
.wc-block-components-text-input input[type=email], 
.wc-block-components-text-input input[type=number], 
.wc-block-components-text-input input[type=password], 
.wc-block-components-text-input input[type=tel], 
.wc-block-components-text-input input[type=text], 
.wc-block-components-text-input input[type=url],
.wc-blocks-components-select__container {
    background-color: #fff !important;
    border: 1px solid var(--gn-border-color) !important;
    border-radius: 0 !important;
    color: #000 !important;
    font-size: 16px !important;
    height: 4em !important;
    
}

.wc-block-components-form .wc-block-components-text-input label, 
.wc-block-components-text-input label,
.wc-blocks-components-select__label {
        color: var(--gn-link-color) !important;
}

.select-resize-ghost, 
.select2-container .select2-choice, 
.select2-container .select2-selection, 
input[type=date], input[type=email], 
input[type=number], 
input[type=password], 
input[type=search], 
input[type=tel], 
input[type=text], 
input[type=url], 
select, 
textarea {
    box-shadow: none !important;
}

.wc-block-components-checkout-step__heading {
    margin-bottom: 10px !important;
    margin-top: 20px !important;
}

.wc-block-checkout__order-notes {
    margin-bottom: 56px !important;
}

.wc-blocks-components-select {

    .wc-blocks-components-select__container {
        border-radius: 0px !important;
        height: 4em !important;
    }

    .wc-blocks-components-select__select {
        border: none !important;
        border-radius: 0 !important;
        color: var(--gn-text-color) !important;
        padding: 24px 9px 0 !important;
    }

}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted, 
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option:after,
.wc-block-components-radio-control--highlight-checked div.wc-block-components-radio-control-accordion-option:after {
    border-radius: 0 !important;
    box-shadow: inset 0 0 0 1px var(--gn-border-color) !important;
}

.wc-block-components-radio-control .wc-block-components-radio-control__input:focus,
.wc-block-components-checkbox__input {
    outline: none !important;
}

.wc-block-components-radio-control--highlight-checked:after {
    border: 1px solid var(--gn-border-color) !important;
    border-radius: 0 !important;
    margin: 0px !important;
}

.wc-block-components-textarea {
    border: 1px solid var(--gn-border-color) !important;
    border-radius: 0px !important;
    color: var(--gn-text-color) !important;
    font-size: 16px !important;
}

.wp-block-woocommerce-checkout .wc-block-checkout__login-prompt {
    font-weight: 400;
    text-decoration: underline;   
}

#wc-guest-checkout-notice {
    display: none;
}

.wc-block-checkout__shipping-option .wc-block-checkout__shipping-option--free {
    text-transform: none !important;
    font-weight: 700;
}

.ppcp-place-order-description {
    display: none;
}

.wc-block-components-checkout-place-order-button--full-width {
    margin: 0 0 1rem 0;
    background-color: #000 !important;
    min-height: 58px !important;
    padding: 20px 30px !important;

    &:hover { 
        background-color: var(--gn-text-hover-color) !important; 
    }

    .wc-block-components-checkout-place-order-button__text {
        font-weight: 400 !important;
        font-size: 16px !important;
    }
}


/* --------------------  Styling der Thankyou Page -------------------- */
.woocommerce-order {
    padding: 0 2rem;

    ul {
        list-style: none !important;
    }

    h2 {
        font-size: 24px;
        margin-bottom: 1.5rem;
    }

    .success-color {
        color: var(--gn-text-color);
        text-align: center;
        font-size: 28px;
        line-height: 36px;
        margin: 5rem 0 5rem;
    }

    .woocommerce-thankyou-order-details {
        border: 1px solid var(--gn-border-color);
        padding: 2rem;
        margin-bottom: 5rem;
    }

    .woocommerce-bacs-bank-details,
    .woocommerce-order-details,
    .woocommerce-column {
        margin-bottom: 5rem;
    }

    .wc-bacs-bank-details-account-name {
        font-weight: 400;
        font-size: 1em;
    }

    .wc-bacs-bank-details {
        .account_number { display: none;}
    }

    .woocommerce-table--order-details {
        padding: 1rem;

        .woocommerce-table__product-name a {
            color: var(--gn-text-color);
            font-weight: 700;
        }
        
        thead th {
            color: var(--gn-text-color);
            font-weight: 700;
        }

        .shop_table,
        tfoot,
        th,
        td,
        span.amount {
            font-size: 14px;
            color: var(--gn-link-color);
            font-weight: 400;
        }

        .wc-item-meta li {
            margin-bottom: 1em !important;
        }

        td {
            width: 60%;

            .product-total {
                vertical-align: top;
            }
        }
    }


}





@media only screen and (min-width: 550px) {
/*************** Tablet Viewport Breakpoint ***************/

.page-checkout-simple .medium-text-center #logo {
    width: 190px;
}


}



@media only screen and (min-width: 700px) {
/*************** Special Checkout 2 Column Breakpoint ***************/

    /* Warenkorb-Seite */
    .woocommerce-cart {
        .entry-header {
            h1.entry-title {
                font-size: 36px;
                line-height: 42px;
                margin: 1rem 0 5rem 0;
            }
        }

        .wc-block-cart__main .wc-block-components-product-details__name {
            font-weight: 400;
        }
    }

    .wc-block-components-sidebar {
        width: 40% !important;
    }

    /* Checkout */
    .wc-block-checkout {
        .wc-block-components-sidebar {
            align-self: start !important;
            position: sticky;
            padding-left: 2% !important;
            padding-right: 2rem;
        }
    }

    .wc-block-components-sidebar-layout .wc-block-components-main {
        padding-right: 2% !important;
        width: 60% !important;
    }

    .wc-block-components-order-summary .wc-block-components-order-summary-item {
        flex-wrap: wrap;

        .wc-block-components-order-summary-item__description {
            max-width: 175px;
        }
    }

    /* Thank You Page */
    .woocommerce-order {
        .woocommerce-columns--addresses {
            column-gap: 5rem;
        }
    }
}



@media only screen and (min-width: 1110px) {
/*************** Desktop Breakpoint ***************/
    .wp-block-woocommerce-cart {
        & .wc-block-cart-items__row {
            .wc-block-cart-item__image {
                width: 200px;
            }
        }
    }


}