/* Cart Page */
.woocommerce-cart {

    .page {
        display: flex;
        flex-direction: column;
        gap: 15px;
        max-width: 1400px;
    }

    .site-header__right .widget:last-child,
    [data-block-name="woocommerce/product-new"],
    .wp-block-heading:not(.with-empty-cart-icon) {
        display: none;
    }

    :where(.wp-block-separator.is-style-dots):before {
        font-family: var(--font-cormorant);
        letter-spacing: 10px;
        padding: 0px;
        padding-left: 10px;
    }

    .wp-block-heading {
        display: flex;
        font-family: var(--font-cormorant);
        font-style: italic;
        font-weight: 500;
        font-size: 25px;
        line-height: 30px;
        text-align: left;
        text-transform: uppercase;
        color: var(--color--olive);
        margin-bottom: 10px;
    }

    .is-medium table.wc-block-cart-items .wc-block-cart-item__remove-link,
    .is-medium table.wc-block-cart-items .wc-block-cart-items__header,
    .is-mobile table.wc-block-cart-items .wc-block-cart-item__remove-link,
    .is-mobile table.wc-block-cart-items .wc-block-cart-items__header,
    .is-small table.wc-block-cart-items .wc-block-cart-item__remove-link,
    .is-small table.wc-block-cart-items .wc-block-cart-items__header {
        display: flex;
        justify-content: space-between;
        margin-bottom: 0px;
    }

    .wc-block-cart-items thead {
        border-bottom: 1px solid var(--color--olive);
    }

    table.wc-block-cart-items .wc-block-cart-items__header {

        .wc-block-cart-items__header-image {
            width: 120px;
            padding: 0px 0px;
        }

        .wc-block-cart-items__header-total {
            width: 80px;
            padding: 0px 0px;
        }
    }

    .wc-block-cart-items__header-image {
        text-align: left;
    }

    .wc-block-cart-items__header-product {
        display: block;
        width: calc(100% - 200px);
    }

    .wc-block-cart-items__header-total {
        text-align: right;
    }

    .wc-block-cart-items .wc-block-cart-items__header,
    .wc-block-cart .wc-block-cart__totals-title {
        font-family: var(--font-bicyclette);
        font-style: normal;
        font-weight: 500;
        font-size: 15px;
        line-height: 14px;
        text-transform: uppercase;
        color: var(--color--olive);
        margin-bottom: 15px;

        th {
            font-weight: 700;
        }
    }

    .is-small .wc-block-cart-items .wc-block-cart-items__header,
    .is-medium .wc-block-cart-items .wc-block-cart-items__header,
    .is-large .wc-block-cart-items .wc-block-cart-items__header {

        .wc-block-cart-items__header-image {
            width: 100px;
            padding: 10px 0px 10px 0px;
            text-align: left;
        }

        .wc-block-cart-items__header-total {
            width: 100px;
            padding: 10px 0px 10px 0px;
            text-align: right;
        }
    }

    .wc-block-cart-items .wc-block-cart-items__row {

        .wc-block-cart-item__wrap,
        .wc-block-components-product-metadata {
            height: calc(100% - 2px);
            min-height: 70px;
        }

        .wc-block-cart-item__image img {
            mask-size: 100% 100%;
            -webkit-mask-size: 100% 100%;
            mask-repeat: no-repeat;
            -webkit-mask-repeat: no-repeat;
            mask-image: url(../images/pattern.svg);
            -webkit-mask-image: url(../images/pattern.svg);
            aspect-ratio: 110 / 160;
            object-fit: cover;
        }

        .wc-block-components-product-name,
        .price,
        .wc-block-cart-item__prices {
            font-family: var(--font-bicyclette);
            font-size: 14px;
            line-height: 1.35;
            letter-spacing: -.01em;
            font-weight: 700;
            text-transform: uppercase;
            max-width: max-content;
            color: var(--color--olive);
        }

        .wc-block-components-product-details {
            display: flex;
            flex-direction: column;
            font-family: var(--font-bicyclette);
            font-style: normal;
            font-weight: 400;
            font-size: 15px;
            line-height: 14px;
            color: var(--color--olive);
            margin-bottom: 10px;

            .wc-block-components-product-details__mensaje-de-tarjeta {
                margin-bottom: 6px;
            }

            span[aria-hidden="true"] {
                display: none;
            }
        }

        .wc-block-cart-item__prices,
        .wc-block-cart-item__save-for-later {
            display: none;
        }

        .wc-block-components-quantity-selector {

            .wc-block-components-quantity-selector__button {
                font-family: var(--font-bicyclette);
                font-style: normal;
                font-weight: 400;
                font-size: 24px;
                opacity: 1;
            }

            input.wc-block-components-quantity-selector__input {
                font-family: var(--font-bicyclette);
                font-size: 14px;
                line-height: 1;
                letter-spacing: -.01em;
                font-weight: 700;
                text-transform: uppercase;
            }

            .wc-block-components-quantity-selector__button:disabled {
                opacity: .6;
                cursor: not-allowed;
            }

            .wc-block-components-quantity-selector__button:focus {
                box-shadow: none;
            }
        }

        .wc-block-components-quantity-selector:where(:has(input:not([type=hidden]))) {
            border: 1px solid var(--color--olive);
            border-radius: 0px;
            -webkit-border-radius: 0px;
            -moz-border-radius: 0px;
            -ms-border-radius: 0px;
            -o-border-radius: 0px;
        }
    }

    .wc-block-cart-items .wc-block-cart-items__row:last-child {
        padding-bottom: 0px;
    }

    .wc-block-components-sidebar-layout {
        gap: 15px;
        margin-bottom: 0px;
    }

    .wc-block-components-main {
        width: 100%;
        padding-right: 0px;
        margin-bottom: 30px;
    }

    .wc-block-components-sidebar {
        margin-bottom: 0px;

        .wc-block-cart__totals-title {
            font-weight: 700;
            display: block;
        }

        .wc-block-components-totals-item {
            gap: 0px;
        }

        .wc-block-components-totals-item__label,
        .wc-block-components-totals-item__value {
            font-family: var(--font-bicyclette);
            font-style: normal;
            font-weight: 400;
            font-size: 15px;
            line-height: 14px;
            text-align: left;
            text-transform: uppercase;
            color: var(--color--olive);
        }

        .wc-block-components-totals-item__description {
            display: flex;
            flex-direction: column;
            font-family: var(--font-bicyclette);
            font-style: normal;
            font-weight: 400;
            font-size: 15px;
            line-height: 14px;
            color: var(--color--olive);
            margin: 0px;
        }

        .wp-block-woocommerce-cart-order-summary-block {
            margin-bottom: 30px;
            border-top: 0px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
            border-bottom: 1px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
        }

        .wc-block-components-totals-wrapper {
            border-top: 0px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));

            .wc-block-components-totals-footer-item {
                .wc-block-components-totals-item__label, .wc-block-components-totals-item__value {
                    font-weight: 700;
                }
            }
        }

        .wp-block-woocommerce-cart-order-summary-totals-block:not(.wc-block-components-totals-wrapper) {
            border: 0;
            padding: 0px 0px;
            border-bottom: 1px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));

            .wc-block-components-totals-wrapper {
                padding: 15px 0px;
                border-top: 1px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
                border-bottom: 0px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
            }
        }

        .wc-block-components-button {
            font-family: var(--font-bicyclette);
            font-style: normal;
            font-weight: 700;
            font-size: 15px;
            line-height: 14px;
            text-transform: uppercase;
            min-width: fit-content;
            color: var(--color--olive);
            border-radius: var(--border-radius-button);
            -webkit-border-radius: var(--border-radius-button);
            -moz-border-radius: var(--border-radius-button);
            -ms-border-radius: var(--border-radius-button);
            -o-border-radius: var(--border-radius-button);
            transition: transform .1s cubic-bezier(.2, .8, .2, 1);
        }

        .wc-block-components-button:active {
            transform: scale(.95);
        }

        .wc-block-components-button.wc-block-cart__submit-button {
            background: var(--color--olive);
            color: var(--color--paper);
        }

        /* 3. Botón activo — hover */
        .wc-block-cart__submit-button:not(:disabled):hover {
            background: var(--color--olive-hover);
            border-color: var(--color--olive-hover);
        }

        .wp-block-woocommerce-proceed-to-checkout-block {
            margin-bottom: 0px;
        }
    }

    .wp-block-woocommerce-empty-cart-block {

        .wc-block-cart__empty-cart__title {
            display: flex;
            flex-direction: column;
            justify-content: center;
            font-family: var(--font-bicyclette);
            font-style: normal;
            font-weight: 700;
            font-size: 15px;
            line-height: 14px;
            text-align: center;
            text-transform: uppercase;
            color: var(--color--olive);
            margin: 15px 0px;
        }

        .wc-block-cart__empty-cart__title.with-empty-cart-icon:before {
            background-color: currentColor;
            content: "";
            display: block;
            margin: 2em auto;
            mask-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik00ODAgMjU2YTIyNCAyMjQgMCAxIDAgLTQ0OCAwIDIyNCAyMjQgMCAxIDAgNDQ4IDB6TTAgMjU2YTI1NiAyNTYgMCAxIDEgNTEyIDAgMjU2IDI1NiAwIDEgMSAtNTEyIDB6TTE5MC42IDM3OS4zYy02LjIgNi4zLTE2LjMgNi4zLTIyLjYgLjFzLTYuMy0xNi4zLS4xLTIyLjZDMTkwLjQgMzM0LjEgMjIxLjUgMzIwIDI1NiAzMjBzNjUuNiAxNC4xIDg4LjEgMzYuN2M2LjIgNi4zIDYuMiAxNi40LS4xIDIyLjZzLTE2LjQgNi4yLTIyLjYtLjFDMzA0LjcgMzYyLjQgMjgxLjYgMzUyIDI1NiAzNTJzLTQ4LjcgMTAuNC02NS40IDI3LjN6TTE1MiAyMDhhMjQgMjQgMCAxIDEgNDggMCAyNCAyNCAwIDEgMSAtNDggMHptMTg0LTI0YTI0IDI0IDAgMSAxIDAgNDggMjQgMjQgMCAxIDEgMC00OHoiLz48L3N2Zz4=);
            mask-position: center;
            mask-repeat: no-repeat;
            mask-size: 30px;
            height: 30px;
            width: 30px;
        }
    }

}

.woocommerce-cart.cart-empty {
    .entry-header {
        display: flex;
        justify-content: center;
    }
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    --success-bg: hsl(143, 85%, 96%);
    --success-border: hsl(145, 92%, 91%);
    --success-text: hsl(140, 100%, 27%);

    --info-bg: hsl(208, 100%, 97%);
    --info-border: hsl(221, 91%, 91%);
    --info-text: hsl(210, 92%, 45%);

    --warning-bg: hsl(49, 100%, 97%);
    --warning-border: hsl(49, 91%, 91%);
    --warning-text: hsl(31, 92%, 45%);

    --error-bg: hsl(359, 100%, 97%);
    --error-border: hsl(359, 100%, 94%);
    --error-text: hsl(360, 100%, 45%);
    width: 100%;
    border: 1px solid var(--info-border);
    font-family: var(--font-bicyclette);
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 14px;
    color: var(--color--olive);

    a {
        font-family: var(--font-bicyclette);
        font-style: normal;
        font-weight: 700;
        font-size: 15px;
        line-height: 14px;
        text-decoration: underline;
        color: var(--color--olive);
    }

    li {
        line-height: 1;
    }
}

.woocommerce-message {
    color: var(--success-text);
    background: var(--success-bg);
    border: 1px solid var(--success-border);
}

.woocommerce-error {
    color: var(--error-text);
    background: var(--error-bg);
    border: 1px solid var(--error-border);
}

.woocommerce-info {
    color: var(--info-text);
    background: var(--info-bg);
    border: 1px solid var(--info-border);
}

.woocommerce-store-notice {
    background: #f4f8ff;
    font-family: var(--font-bicyclette);
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 14px;
    color: var(--color--olive);
    padding: 15px 15px 15px 15px;
}


/* Checkout Page */
.woocommerce-checkout {

    .wc-block-components-form .wc-block-components-text-input label, .wc-block-components-text-input label,
    .wc-blocks-components-select .wc-blocks-components-select__label {
        transform: scale(.82);
        font-family: var(--font-bicyclette);
        font-style: normal;
        font-weight: 400;
        font-size: 15px;
        line-height: 14px;
        text-transform: uppercase;
        color: var(--color--olive);
    }

    .wc-blocks-components-select .wc-blocks-components-select__label {
        left: -4px;
    }

    .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 .wc-blocks-components-select__select {
        font-family: var(--font-bicyclette);
        font-style: normal;
        font-weight: 700;
        font-size: 15px;
        line-height: 14px;
        color: var(--color--olive);
    }

    .wc-block-components-address-card,
    .wc-blocks-components-select .wc-blocks-components-select__select {
        border-radius: 0px;
        border: 1px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
    }

    .wc-block-components-address-card {
        padding: 15px;
    }

    .page {
        display: flex;
        flex-direction: column;
        gap: 15px;
        max-width: 1400px;
    }

    .site-header__right .widget:last-child {
        display: none;
    }

    .entry-header,
    .entry .entry-content,
    .entry .entry-summary {
        margin: 0px 0px;
    }

    .wp-block-heading,
    .entry-title {
        display: flex;
        font-family: var(--font-cormorant);
        font-style: italic;
        font-weight: 700;
        font-size: 45px;
        line-height: 45px;
        letter-spacing: -0.02em;
        text-transform: none;
        color: var(--color--olive);
        margin-bottom: 10px;
    }

    .wc-block-cart-items .wc-block-cart-items__header,
    .wc-block-cart .wc-block-cart__totals-title {
        font-family: var(--font-bicyclette);
        font-style: normal;
        font-weight: 500;
        font-size: 15px;
        line-height: 14px;
        text-transform: uppercase;
        color: var(--color--olive);
        margin-bottom: 15px;

        th {
            font-weight: 700;
        }
    }

    .wc-block-checkout__shipping-option {
        font-family: var(--font-bicyclette);
        font-style: normal;
        font-weight: 400;
        font-size: 15px;
        line-height: 14px;
        text-transform: uppercase;
        color: var(--color--olive);

        .wc-block-components-checkout-step__content p {
            font-family: var(--font-bicyclette);
            font-style: normal;
            font-weight: 400;
            font-size: 15px;
            line-height: 14px;
            color: var(--color--olive);
        }
    }

    :not(.has-error) .coderockz-woo-delivery-select.wc-blocks-components-select.not-selected .wc-blocks-components-select__select {
        font-weight: 400;
        color: var(--color--olive);
    }

    .wc-blocks-components-select .wc-blocks-components-select__expand {
        fill: var(--color--olive);
    }

    .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox],
    .wc-block-components-radio-control .wc-block-components-radio-control__input:checked {
        border: 1px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
    }

    .wc-block-components-radio-control .wc-block-components-radio-control__input:checked:before {
        background: var(--color--olive);
    }

    .wc-block-components-checkbox .wc-block-components-checkbox__mark {
        fill: var(--color--olive);
    }

    .wc-block-components-panel__button,
    .wc-block-components-totals-item span,
    .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-family: var(--font-bicyclette);
        font-style: normal;
        font-weight: 500;
        font-size: 15px;
        line-height: 14px;
        text-transform: uppercase;
        color: var(--color--olive);
        margin-bottom: 0px;
    }

    .wc-block-components-panel__button[aria-expanded="true"] {
        margin-bottom: 15px;
    }

    .wc-block-components-totals-coupon__form {
        .wc-block-components-button {
            font-family: var(--font-bicyclette);
            font-style: normal;
            font-weight: 700;
            font-size: 15px;
            line-height: 14px;
            text-transform: uppercase;
            min-width: fit-content;
            color: var(--color--olive);
            border-radius: var(--border-radius-button);
            -webkit-border-radius: var(--border-radius-button);
            -moz-border-radius: var(--border-radius-button);
            -ms-border-radius: var(--border-radius-button);
            -o-border-radius: var(--border-radius-button);
        }

        .wc-block-components-button.wc-block-components-totals-coupon__button {
            background: var(--color--olive);
            color: var(--color--paper);
        }

        /* 3. Botón activo — hover */
        .wc-block-components-totals-coupon__button:not(:disabled):hover {
            background: var(--color--olive-hover);
            border-color: var(--color--olive-hover);
        }
    }

    .wc-block-checkout__sidebar .wc-block-components-totals-footer-item {

        .wc-block-components-totals-item__label,
        .wc-block-components-totals-item__value,
        .wc-block-components-totals-item__value span {
            font-weight: 700;

        }

        .wc-block-components-totals-item__description {
            display: none;
        }
    }

    .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 {
        color: var(--color--olive);
        border-radius: 0px;
        box-shadow: inset 0 0 0 1px var(--color--olive);
    }

    .wc-block-checkout__sidebar {
        margin-bottom: 30px;
    }

    .wc-block-components-sidebar-layout {

        .wp-block-woocommerce-checkout-order-summary-block {

            .wc-block-components-checkout-order-summary__title-text,
            .wc-block-components-checkout-order-summary__title-price {
                font-family: var(--font-bicyclette);
                font-style: normal;
                font-weight: 600;
                font-size: 15px;
                line-height: 14px;
                text-transform: uppercase;
                color: var(--color--olive);
                margin-bottom: 0px;
                margin: 0px;
            }

            .wc-block-components-checkout-order-summary__title-icon {
                display: flex;
                align-items: center;

                svg {
                    display: flex;
                    justify-content: flex-end;
                }
            }
        }

        .wc-block-components-checkout-order-summary__title {
            margin: 0px 0px 0px 0px;
        }

        .wc-block-components-checkout-order-summary__title.is-open {
            border-bottom: none;
        }

        .wc-block-components-checkout-order-summary__content.is-open {
            border-bottom: 0px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
        }

        .wc-block-components-order-summary .wc-block-components-order-summary-item__image {
            width: 60px;

            .wc-block-components-order-summary-item__quantity {
                font-family: var(--font-bicyclette);
                font-style: normal;
                font-weight: 500;
                font-size: 10px;
                line-height: 9px;
                text-transform: uppercase;
                background: var(--color--olive);
                color: var(--color--peach);
                top: 10px;
            }
        }

        .wc-block-components-order-summary .wc-block-components-order-summary-item__image>img {
            max-width: 60px;
            width: 60px;
        }

        .wc-block-components-order-summary-item__image {
            margin-top: 0px;
        }

        .wc-block-components-order-summary-item__image img {
            mask-size: 100% 100%;
            -webkit-mask-size: 100% 100%;
            mask-repeat: no-repeat;
            -webkit-mask-repeat: no-repeat;
            mask-image: url(../images/pattern.svg);
            -webkit-mask-image: url(../images/pattern.svg);
            aspect-ratio: 110 / 160;
            object-fit: cover;
        }


        .wc-block-checkout__actions {
            .wp-block-woocommerce-checkout-order-summary-block {
                display: none;
            }

            .wc-block-components-button {
                font-family: var(--font-bicyclette);
                font-style: normal;
                font-weight: 700;
                font-size: 15px;
                line-height: 14px;
                text-transform: uppercase;
                min-width: fit-content;
                color: var(--color--olive);
                border-radius: var(--border-radius-button);
                -webkit-border-radius: var(--border-radius-button);
                -moz-border-radius: var(--border-radius-button);
                -ms-border-radius: var(--border-radius-button);
                -o-border-radius: var(--border-radius-button);
                transition: transform .1s cubic-bezier(.2, .8, .2, 1);
            }

            .wc-block-components-button:active {
                transform: scale(.95);
            }

            .wc-block-components-checkout-return-to-cart-button {
                font-family: var(--font-bicyclette);
                font-style: normal;
                font-weight: 500;
                font-size: 15px;
                line-height: 14px;
                text-transform: uppercase;
                color: var(--color--olive);
                width: stretch;
            }

            .wc-block-components-button.wc-block-components-checkout-place-order-button {
                background: var(--color--olive);
                color: var(--color--paper);
                width: 100%;
            }

            /* 3. Botón activo — hover */
            .wc-block-components-checkout-place-order-button:not(:disabled):hover {
                background: var(--color--olive-hover);
                border-color: var(--color--olive-hover);
            }
        }


        .wp-block-woocommerce-checkout-order-summary-block {

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

            .wc-block-components-checkout-order-summary__content.is-open {
                display: block;
            }

            .wc-block-components-totals-wrapper:first-child {
                padding: 15px 10px;
            }

            .wc-block-components-product-name,
            .wc-block-components-product-price {
                font-family: var(--font-bicyclette);
                font-style: normal;
                font-weight: 700;
                font-size: 15px;
                line-height: 14px;
                text-transform: uppercase;
                color: var(--color--olive);
                margin-bottom: 5px;
                flex-grow: 0;
            }

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

            .wc-block-components-product-details {
                display: flex;
                flex-direction: column;
                font-family: var(--font-bicyclette);
                font-style: normal;
                font-weight: 400;
                font-size: 15px;
                line-height: 14px;
                color: var(--color--olive);

                .wc-block-components-product-details__mensaje-de-tarjeta {
                    margin-bottom: 10px;
                }

                span[aria-hidden="true"] {
                    display: none;
                }

            }

            .wc-block-cart-item__prices {
                display: none;
            }

            .wc-block-components-checkout-order-summary__content.is-open {
                border-top: 1px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
            }

            .wc-block-components-checkout-order-summary__title {
                padding: 13px 5px 13px 10px;
                border-bottom: 0px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
                border-top: 0px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
            }

            .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
            .wp-block-woocommerce-checkout-order-summary-totals-block,
            .wc-block-components-totals-wrapper {
                padding: 0px 0px;
                border-top: 1px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
            }

            .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
            .wp-block-woocommerce-checkout-order-summary-shipping-block,
            .wc-block-components-totals-footer-item {
                padding: 15px 10px;
            }

            .wp-block-woocommerce-checkout-order-summary-totals-block {
                .wc-block-components-totals-wrapper {
                    border-top: 0px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));

                    .wc-block-components-totals-item__description {
                        display: none;
                    }
                }
            }
        }
    }

    .wc-block-components-sidebar-layout.is-mobile,
    .wc-block-components-sidebar-layout.is-small {

        .wp-block-woocommerce-checkout-order-summary-block {
            border-radius: 0px;
            border: 1px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
            box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02);

            .wp-block-woocommerce-checkout-order-summary-cart-items-block:first-child {
                margin-bottom: 0px;
            }

            .wc-block-components-checkout-order-summary__content.is-open {
                margin-bottom: 0px;
            }
        }
    }
}


/* Medium devices (tablets, 700px and up) */
@media (min-width: 700px) {

    .woocommerce-cart {

        .wc-block-cart-items thead {
            border-bottom: 1px solid var(--color--olive);
        }

        .is-medium table.wc-block-cart-items .wc-block-cart-item__remove-link,
        .is-medium table.wc-block-cart-items .wc-block-cart-items__header,
        .is-mobile table.wc-block-cart-items .wc-block-cart-item__remove-link,
        .is-mobile table.wc-block-cart-items .wc-block-cart-items__header,
        .is-small table.wc-block-cart-items .wc-block-cart-item__remove-link,
        .is-small table.wc-block-cart-items .wc-block-cart-items__header {
            margin-bottom: 0px;
        }

        .is-small .wc-block-cart-items .wc-block-cart-items__header,
        .is-medium .wc-block-cart-items .wc-block-cart-items__header,
        .is-large .wc-block-cart-items .wc-block-cart-items__header {
            margin-bottom: 0px;

            .wc-block-cart-items__header-image {
                width: 120px;
                padding: 10px 0px 10px 0px;
                text-align: left;
            }

            .wc-block-cart-items__header-total {
                width: 100px;
                padding: 10px 0px 10px 0px;
                text-align: right;
            }
        }

        .wc-block-cart__main .wc-block-cart-items td {
            border-top: 0px;
            border-bottom: 0px;
        }

        .wc-block-cart-items {
            border-bottom: 0px;

            .wc-block-cart-items__row {
                .wc-block-cart-item__wrap,
                .wc-block-components-product-metadata {
                    min-height: 74px;
                }
            }
        }

        .wc-block-components-sidebar {
            width: 100%;
        }
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    .woocommerce-cart {

        .entry-header,
        .entry .entry-content,
        .entry .entry-summary {
            max-width: 100%;
            margin: 0px 0px;
        }

        .entry .entry-content,
        .entry .entry-summary {
            padding: 0 0px;
        }

        .wc-block-components-main,
        .wc-block-components-sidebar {
            width: 100%;
            padding: 0px;
        }

        .wc-block-components-main {
            margin-bottom: 0px;
        }

        .wc-block-cart-items {
            border-bottom: 0px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));

            thead {
                border-bottom: 0px solid var(--color--olive);
            }

            td {
                border-top: 0px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
                border-bottom: 0px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
            }

            .wc-block-cart-items__header {
                border-bottom: 1px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
            }

            .wc-block-cart-item__image {
                min-width: 120px;
            }

            .wc-block-cart-items__header-image {
                padding: 10px 0px 10px 0px;
            }
        }

        .wc-block-components-sidebar {
            width: 100%;

            .wp-block-woocommerce-cart-order-summary-block {
                border-top: 0px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
                margin: 0px 0px 30px 0px;
            }

            .wp-block-woocommerce-cart-order-summary-totals-block {
                border-top: 1px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));

                .wc-block-components-totals-wrapper {
                    padding: 15px 0px;
                    border-bottom: 1px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
                }
            }
        }

        .is-small .wc-block-cart-items .wc-block-cart-items__header,
        .is-medium .wc-block-cart-items .wc-block-cart-items__header,
        .is-large .wc-block-cart-items .wc-block-cart-items__header {

            .wc-block-cart-items__header-image {
                width: 100px;
                padding: 10px 0px 10px 0px;
                text-align: left;
            }

            .wc-block-cart-items__header-product {
                display: block;
            }

            .wc-block-cart-items__header-total {
                padding: 10px 0px 10px 0px;
            }
        }

        .wc-block-cart-items .wc-block-cart-items__row {

            .wc-block-cart-item__wrap,
            .wc-block-components-product-metadata {
                min-height: 83px;
            }
        }
    }

    .woocommerce-checkout {

        .entry-header,
        .entry .entry-content,
        .entry .entry-summary {
            max-width: 100%;
            margin: 0px 0px;
        }

        .entry .entry-content,
        .entry .entry-summary {
            padding: 0 0px;
        }

        .wc-block-components-main,
        .wc-block-components-sidebar {
            width: 100%;
            padding: 0px;
        }


        .wc-block-checkout__sidebar.is-sticky {
            top: 0px;
            position: relative;
        }

        .wc-block-components-sidebar-layout {
            margin: 0px 0px;

            .wp-block-woocommerce-checkout-order-summary-block {
                border-radius: 0px;
                border: 1px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
                box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02);

                .wc-block-components-checkout-order-summary__title {
                    padding: 17px 10px 17px 10px;
                    border-bottom: 0px solid var(--color--olive,  color-mix(in srgb, currentColor 20%, transparent));

                    .wc-block-components-checkout-order-summary__title-price {
                        display: block;
                    }
                }

                .wc-block-components-checkout-order-summary__content {
                    display: block;
                }

                .wc-block-components-checkout-order-summary__content.is-open {
                    border-top: 0px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
                }

                .wc-block-components-checkout-order-summary__title-icon {
                    display: none;
                }
            }

            .wc-block-components-totals-wrapper {

                .wc-block-components-order-summary,
                .wc-block-components-totals-coupon {
                    padding: 0px 0px;

                    .wc-block-components-totals-item__description {
                        display: none;
                    }
                }

            }


            .wp-block-woocommerce-checkout-order-summary-totals-block {

                .wc-block-components-totals-wrapper:first-child {
                    .wc-block-components-totals-item {
                        padding: 0px 0px;

                        .wc-block-components-totals-item__description {
                            display: none;
                        }
                    }
                }


                .wp-block-woocommerce-checkout-order-summary-shipping-block.wc-block-components-totals-wrapper .wc-block-components-totals-shipping {

                    .wc-block-components-totals-item {
                        padding: 0px 0px;

                        .wc-block-components-totals-item__description {
                            display: none;
                        }
                    }

                }
            }

        }
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    .woocommerce-cart {

        .entry-header,
        .entry .entry-content,
        .entry .entry-summary {
            margin: 0px 0px;
        }

        .entry-title {
            font-size: 40px;
            line-height: 48px;
        }

        .wc-block-components-sidebar-layout {
            gap: 50px;
            flex-direction: row;
        }

        .wc-block-components-main {
            width: 60%;

            .wc-block-cart-items {
                border-bottom: 0px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));

                .wc-block-cart-items__row {
                    border-bottom: 1px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
                }
            }
        }

        .wc-block-components-sidebar {
            width: calc(40% - 50px);

            .wc-block-cart__totals-title {
                font-weight: 700;
                padding: 10px 0px;
                margin-bottom: 0px;
            }
        }
    }

    .woocommerce-checkout {

        .entry-header,
        .entry .entry-content,
        .entry .entry-summary {
            margin: 0px 0px;
        }

        .entry-title {
            font-size: 40px;
            line-height: 48px;
        }

        .wc-block-components-sidebar-layout {
            display: flex;
            flex-direction: row;
            align-items: flex-start;
            justify-content: flex-end;
            gap: 50px;

            .wc-block-components-main {
                width: 65%;
            }

            .wc-block-components-sidebar {
                display: flex;
                width: calc(35% - 50px);
                top: 16px;
            }

            .wc-block-checkout__sidebar.is-sticky {
                position: sticky;
            }

            .wp-block-woocommerce-checkout-order-summary-block {
                margin-top: 34px;

                .wc-block-components-checkout-order-summary__title {
                    border-top: 0px solid var(--color--olive, color-mix(in srgb, currentColor 20%, transparent));
                }

                .wc-block-components-checkout-order-summary__title-icon {
                    display: none;
                }
            }
        }


        .wp-block-woocommerce-checkout-order-summary-block {
            width: 100%;
            margin-top: 0px;
            border-radius: 0px;

            .wc-block-components-order-summary,
            .wc-block-components-totals-item,
            .wc-block-components-totals-coupon {
                padding: 0px 0px;
            }

            .wc-block-components-order-summary-item__image {
                margin-top: 0px;
            }

            .wc-block-components-order-summary-item__image img {
                mask-size: 100% 100%;
                -webkit-mask-size: 100% 100%;
                mask-repeat: no-repeat;
                -webkit-mask-repeat: no-repeat;
                mask-image: url(../images/pattern.svg);
                -webkit-mask-image: url(../images/pattern.svg);
                aspect-ratio: 110 / 160;
                object-fit: cover;
            }

            .wc-block-components-order-summary .wc-block-components-order-summary-item__quantity {
                font-family: var(--font-bicyclette);
                font-style: normal;
                font-weight: 400;
                font-size: 12px;
                line-height: 11px;
                color: var(--color--olive);
            }

            .wc-block-components-checkout-order-summary__title {
                border-top: 0px;
                margin-top: 0px;
                padding: 15px 15px;

                .wc-block-components-checkout-order-summary__title-text {
                    margin: 0px;
                }
            }

            .wc-block-components-product-details {
                display: flex;
                flex-direction: column;
                font-family: var(--font-bicyclette);
                font-style: normal;
                font-weight: 400;
                font-size: 15px;
                line-height: 14px;
                color: var(--color--olive);
                margin-bottom: 10px;

                span[aria-hidden="true"] {
                    display: none;
                }
            }

            .wc-block-components-totals-item,
            .wc-block-components-totals-item__value,
            .wc-block-components-totals-item__label {
                font-family: var(--font-bicyclette);
                font-style: normal;
                font-weight: 400;
                font-size: 15px;
                line-height: 14px;
                text-transform: uppercase;
                color: var(--color--olive);
            }

        }
    }

}
