.stock-warning {
    > span {
        flex-direction: column;
        gap: 0;
    }

    &.desktop {
        display: none;

        @media screen and (min-width: 768px) {
            display: block;
        }
    }

    &.mobile {
        display: block;

        @media screen and (min-width: 768px) {
            display: none;
        }
    }
}

.cart-total-wrapper {
    &:has(.discount) {
        .subtotal, .discount {
            font-size: 15px;
        }

        .discount {
            span {
                color: #4ab866;
            }
        }
    }
}

#fake-coupon-error-notice {
    color: red;
}

#apply_coupon_fake {
    text-transform: capitalize;
}


#checkout_sidebar {
    .cart-discount {
        th {
            color: black;
        }

        * {
            color: #4ab866;
        }
    }
}

.woocommerce-terms-and-conditions-wrapper {

    .woocommerce-terms-and-conditions-checkbox-text {
        display: block;
    }

    abbr:not(.mt-required) {
        display: none;
    }

    .small {
        font-size: 14px;
        padding-left: 2rem;

        a {
            font-weight: 500;
            text-decoration: underline;
        }
    }

    .checkout-inline-error-message {
        padding-left: 2rem;
        font-size: 14px;
    }
}

.list-price {
    .price_suffix {
        margin-right: 8px;
    }
}

.single_add_to_cart_button {
    @media screen and (min-width: 1024px) {
        min-height: 56px;
    }
}

.add-to-cart-icon {
    display: none;

    @media screen and (min-width: 768px) {
        display: block;
    }
}

.mt-reading-time {
    font-size: 14px;
    font-weight: 300;
}

.mt-stock-and-showroom {
    display: flex;
    align-items: center;
    gap: 16px 32px;
    flex-wrap: wrap;

    .mt-stock-and-showroom__stock, .mt-stock-and-showroom__showroom {
        display: flex;
        gap: 8px;
        align-items: flex-start;
        font-size: 14px;
        color: #838383;

        img {
            height: 20px;
            width: auto;
            display: block;
            flex-shrink: 0;
        }

        p {
            margin-bottom: 0;
        }
    }

    &.mt-stock-and-showroom--spacing-bottom {
        margin-bottom: 16px;

        @media screen and (min-width: 768px) {
            margin-bottom: 32px;
        }
    }
}

.woocommerce {
    .woocommerce-error, .woocommerce-info, .woocommerce-message {
        width: 90%;
        max-width: 400px;
        max-height: 90%;
        overflow-y: auto;
        bottom: auto;
        height: auto;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 56px 32px;
        text-align: left;

        li {
            padding-left: 0;
        }
    }
}

.mt-notice-close-button {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 8px;
    background: black;

    img {
        margin: 0;
    }
}

.sticky-wrapper {

    @media screen and (min-width: 768px) {
        align-self: flex-start;
        position: sticky;
        margin-top: auto;
        bottom: 40px;
    }
}

body.single-product {
    overflow-x: visible;
}

.mt-accordion {
    button {
        width: 100% !important;
        color: black !important;
        padding: 0;
        background: transparent;
        text-align: left;
        outline: none;
        transition: none;
        display: flex !important;
        align-items: center;
        gap: 16px;
        justify-content: space-between;
        cursor: pointer;
        font-weight: bold;

        &:after {
            display: none;
        }

        &:focus-visible {
            outline: 1px solid black;
            outline-offset: 2px;
        }

        img {
            transform: rotate(90deg);
        }

        &[aria-expanded="true"] {
            img {
                transform: rotate(-90deg);
            }
        }
    }

    .mt-accordion__content {
        margin-top: 14px;
    }

    .mt-accordion__tab {
        padding: 14px 0;
        color: black;
        border-bottom: 1px solid #dedede;

        &:first-child {
            border-top: 1px solid #dedede;
        }
    }
}

.mt-with-bg {

    @media screen and (max-width: 767px) {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* 4:5 aspect ratio slider widths */
.slider-width-lg-4-5 {
    width: 40%;
}

.slider-width-sm-4-5 {
    width: 40%;

    @media screen and (min-width: 768px) {
        width: 20%;
    }
}

/* 1:1 aspect ratio slider widths */
.slider-width-lg-1-1 {
    width: 50%;
}

.slider-width-sm-1-1 {
    width: 50%;

    @media screen and (min-width: 768px) {
        width: 25%;
    }
}

/* 16:9 aspect ratio slider widths */
.slider-width-lg-16-9 {
    width: 88.88%;
}

.slider-width-sm-16-9 {
    width: 88.88%;

    @media screen and (min-width: 768px) {
        width: 44.44%;
    }
}

.STL-item {
    cursor: pointer;
}

.mason-load-more-wrapper {
    display: flex;
    justify-content: center;
}

.mobile-product-drawer {
    transition: all .5s ease-in-out;

    &.active {
        left: auto;
        right: 0;
    }
}

.right-full {
    right: -100%;
}

.variant-picker {
    .variant-picker__filters--inner {
        padding-bottom: 120px;

        @media screen and (min-width: 768px) {
            padding-bottom: 0;
        }
    }

    .mobile-title {
        justify-content: flex-start;
    }

    .mobile-title__icon {
        left: 10px;
    }

    .mobile-title__name {
        font-size: 14px;
        max-width: 270px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        margin-left: 40px;
        text-align: center;

        @media screen and (max-width: 370px) {
            max-width: 200px;
        }
    }
}

.mt-tag {
    background-color: #f5f5f5;
    padding: 6px 14px;
    color: black;
    font-size: 13px;
    text-decoration: none;
    flex-shrink: 0;
}

.mt-tag--active {
    background-color: black;
    color: white;
}

.fluentform {
    --fluentform-primary: black;

    .ff-el-form-check-checkbox {
        accent-color: black;
    }
}