.pdp-modal-wrap {
    display: none;
}

.pdp-modal-backdrop {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000;
    opacity: .5;
    z-index: 10000;
}

.pdp-modal {
    position: fixed;
    /*font-size: medium;*/
    width: 40%;
    height: 80%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    padding: 1em;
    background: #fff;
    z-index: 10100;
    overflow-y: overlay;

    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;

    /*calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])))*/
    font-size: calc(14px + (42 - 14) * ((100vw - 300px) / (4096 - 300)));
    line-height: calc(1.2em + (1.5 - 1.2) * ((100vw - 300px)/(4096 - 300)));
}

.pdp-modal::-webkit-scrollbar, .pdp-modal ::-webkit-scrollbar {
    width: 6px;
    background: rgba(0, 0, 0, .1);
}

.pdp-modal::-webkit-scrollbar-track, .pdp-modal ::-webkit-scrollbar-track {
    border-radius: 3px;
    background: none;
}

.pdp-modal::-webkit-scrollbar-thumb, .pdp-modal ::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background-color: rgba(200, 200, 200, .8);
}

.pdp-modal-header {
}

.pdp-title {
    display: inline-block;
    margin-top: .25em;
    margin-bottom: .5em;
    font-size: 1.5em;
}

a.pdp-close {
    position: absolute;
    font-size: 1.5em;
    height: 1em;
    width: 1em;
    line-height: 1em;
    text-align: center;
    right: .25em;
    top: .25em;
    margin: 0;
}

a.pdp-close:hover {
    outline-width: 1px !important;
    outline-style: solid !important;
}

.pdp-modal-details {
}

.pdp-modal-details .pdp-details-desc ul, .pdp-modal-details .pdp-details-desc ul li{
    list-style: initial;
}

.pdp-modal-colors {
    margin-bottom: 1em;
}

.pdp-modal-color-swatches {
    overflow-y: auto;
    max-height: 200px;
}

.pdp-color {
    position: relative;
    display: inline-block;
    width: calc(40px + (120 - 40) * ((100vw - 300px) / (4096 - 300)));
}

.pdp-color .pdp-color-name {
    position: absolute;
    font-size: .5em;
    line-height: 1.3em;
    padding: .2em;
    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.pdp-color .pdp-color-swatch {
    width: 100%;
}

.pdp-details-img {
    display: inline-block;
    width: 48%;
    float: left;
}

.pdp-details-img img {
    width: 100%;
}

.pdp-details-desc {
    display: inline-block;
    width: 48%;
    font-size: .6em;
}

.pdp-details-desc ul {
    margin-bottom: 0;
}

.pdp-price {
    float: right;
}

/* Utility classes */
.pdp-noscroll {
    overflow: hidden !important;
}

.clearfix:after {
    content: '';
    clear: both;
    display: table;
}

@media only screen and (max-width: 1200px){
    .pdp-modal {
        width: 80%;
    }
    .pdp-modal-details>* {
        display: block;
        width: 100%;
        float: none;
        margin-bottom: 1em;
    }
}