#shopping-cart-table {
    .col-auto {
        //display: flex;
    }
    .product-item-photo {
        display: inline-block;
        margin-right: $grid-gutter-width/2;

        img {
            max-height: 150px;
            width: auto;
        }
    }
    .product-item-details {
        display: inline-block;
    }
    .input-text.qty {
        width: 70px;
    }
    

    .cart-actions {
        a {
            display: inline-block;
            margin: 0 5px;
            &:hover {
                text-decoration: none;
            }
        }
    }
    
    .item-options {
        @extend small;
        margin-top: 10px;
        
        label, span {
            display: inline-block;
        }
        label {
            min-width: 50px;
            margin: 0 10px 0 0;
            font-weight: bold;
        }
    }
  
}

// /**
//  * Copyright © Magento, Inc. All rights reserved.
//  * See COPYING.txt for license details.
//  */

//
//  Variables
//  _____________________________________________


//
//  Common
//  _____________________________________________

.gift-message {
    .field {

        .label {

        }
    }
}

.gift-options {


    .actions-toolbar {
        .action-cancel {
            display: none;
        }
    }
}

.gift-options-title {
}

.gift-options-content {
    .fieldset {
    }
}

.gift-summary {
    .actions-toolbar {
        > .secondary {
            float: none;

            .action {
            }
        }
    }
}

.action-gift {
    @extend .btn;
    @extend .btn-primary;

    &.active,
    &._active {

    }
}

//
//  In-table block
//  ---------------------------------------------

.cart {
    &.table-wrapper {
        .gift-content {
            box-sizing: border-box;
            clear: left;
            display: none;
            float: left;

            text-align: left;
            width: 100%;

            &._active {
                display: block;
            }
        }
    }
}

//
//  Collapsible block
//  ---------------------------------------------

.gift-item-block {
    margin: 0;

    &._active {
        .title {

        }
    }

    .title {
        font-weight: bold;
        border-radius: 3px;


        &:active {
        }
    }

    .content {

        position: relative;
    }
}

//
//  Account order gift message
//  ---------------------------------------------

.order-details-items {
    .order-gift-message,
    .block-order-details-gift-message {
        .item-options {
            dt {

            }
        }



        dt {
            &:after {
                content: '';
            }
        }

        .label {
        }

        .item-message {
            clear: left;
        }
    }

    .order-items {
        .order-gift-message {
            &:not(.expanded-content) {

            }

            .action.close {

            }
        }

        .action.show {

            position: relative;

            &:after {
                position: absolute;
                right: 0;
                top: -4px;
            }

            &.expanded {

            }
        }
    }
}

.block-order-details-gift-message {

}

//
//  Mobile
//  _____________________________________________

@include media-breakpoint-down(sm){
    .gift-options {
        .actions-toolbar {
            .action-update {
                padding: 15px;
                width: 100%;
            }
        }
    }

    .gift-item-block {

        border-bottom: 0;
    }

    .cart {
        &.table-wrapper {
            .gift-content {

            }
        }
    }



}

//
//  Desktop
//  _____________________________________________


.gift-message {
    .field {

    }
}

.gift-options {
    position: relative;
    z-index: 1;

    .actions-toolbar {
        clear: both;
        float: right;
        position: static;

        .secondary {
            float: right;

            .action {
                float: right;
            }

            .action-cancel {
                display: block;
                float: left;
                margin-top: 6px;
            }
        }

        &:nth-child(3) {
            &:before {
                border-left: 1px solid $border-color;
                bottom: 5rem;
                content: '';
                display: block;
                left: 50%;
                overflow: hidden;
                position: absolute;
                top: 0;
                width: 0;
            }
        }
    }
}

.gift-options-title {
}

.gift-summary,
.cart.table-wrapper .gift-summary {
    .actions-toolbar {
    }
}

.cart-container {
    .cart-gift-item {
    }
}

//
//  In-table block
//  ---------------------------------------------

.cart {
    &.table-wrapper {
        .action-gift {
            float: left;
        }
    }
}

//
//  Multiple Shipping Checkout
//  ---------------------------------------------

.order-options,
.table-order-review {
    .gift-wrapping {
        max-width: 50%;
    }
}

