//
//  Common
//  _____________________________________________

& when (@media-common = true) {
    .catalog-product-view {
        .swatch-attribute {
            position: relative;
            .swatch-attribute-label-container {
                margin-bottom: 2px;
            }
            .swatch-select {
                border-radius: 30px;
                height: 36px;
                option {
                    color: #000;
                    font-weight: 700;
                    &.disabled {
                        color: #bbb;
                        font-weight: 400;
                    }
                }
            }
            .sticky-swatch-select {
                display: none;
            }
        }
        .configurable {
            &:only-of-type {
                margin-bottom: 22px;
            }
            .label {
                margin-bottom: 2px;
            }
            .super-attribute-select {
                border-radius: 30px;
                height: 36px;
            }
        }
        // size chart extension
        .swatch-attribute .pschart-sizechart-link,
        .field .pschart-sizechart-link {
            .lib-font-size(14);
            background: none;
            border: none;
            color: @djo-blue;
            float: right;
            height: auto;
            line-height: 1;
            margin: 0;
            min-width: 0;
            padding: 0;
            text-transform: capitalize;
            &:hover {
                opacity: 1;
                text-decoration: underline;
            }
        }
    }
}


//
//  Desktop
//  _____________________________________________

.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
    .catalog-product-view {
        // @DO - these commented out styles allow the swatches to be side-by-side with 50% width each
        // .swatch-opt {
        //     // counteracts the 5px of padding on each swatch attribute
        //     margin-left: -5px;
        //     margin-right: -5px;
        // }
        // .swatch-attribute {
        //     box-sizing: border-box;
        //     display: inline-block;
        //     padding-left: 5px;
        //     padding-right: 5px;
        //     vertical-align: top;
        //     width: 50%;
        //     &:only-child {
        //         width: 100%;
        //     }
        // }

        // @DO - these commented out styles are for the color swatch slider
        // .swatch-attribute-options {
        //     &.slick-initialized {
        //         padding-left: 20px;
        //         padding-right: 20px;
        //         .swatch-option-wrapper {
        //             padding-bottom: 2px;
        //             padding-top: 2px;
        //             text-align: center;
        //         }
        //         .slider-arrow {
        //             top: 50%;
        //             -webkit-transform: translateY(-50%);
        //                     transform: translateY(-50%);
        //             width: 12px;
        //             &.slider-arrow-next {
        //                 right: 0;
        //             }
        //             &.slider-arrow-prev {
        //                 left: 0;
        //             }
        //             &[aria-disabled='true'] {
        //                 cursor: not-allowed;
        //                 opacity: .5;
        //             }
        //         }
        //     }
        // }
    }
}
