/* Icon Images for product-card-options */

.product-save:before {
    background-image: url('//images2.drct2u.com/content/common/images/commongui/icons/buttons/icon-heart-outline-black.svg');
}

.product-save:hover:before {
    background-image: url('//images2.drct2u.com/content/common/images/commongui/icons/buttons/icon-heart-outline-white.svg');
}

.product-update:hover:before {
    background-image: url('//images2.drct2u.com/content/common/images/commongui/icons/buttons/icon-refresh-white.svg');
}

.product-edit:before {
    background-image: url('//images2.drct2u.com/content/common/images/commongui/icons/buttons/icon-pencil-tertiary.svg');
}

.product-edit:hover:before {
    background-image: url('//images2.drct2u.com/content/common/images/commongui/icons/buttons/icon-pencil-black.svg');
}
/*
.product-remove:hover:before {
    background-image: url('//images2.drct2u.com/content/common/images/commongui/icons/buttons/icon-close-white.svg');
}
*/

.view-bag-wish-list {
    padding: 12px;
}

.view-bag-details-wish-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

    
div[id^="viewBagItem-"] {
    border: 1px solid #dedcdc;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #F4F5F7;
    margin-bottom: 10px;
    width: 100%;
}

@media (min-width: 768px) { 

    div[id^="viewBagItem-"] {
        max-width: 48%;
        margin: 1%;
    }
    
}


@media (min-width: 992px) { 

    div[id^="viewBagItem-"] {
        margin-bottom: 18px;
    }
    
}


.product-card {
    
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
}

@media (min-width: 992px) { 
    
    .product-card {
        display: block;
        display: block;
        display: block;
        display: block;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
    }   
    
}



.main-product-details {
    /*
    margin-bottom: 12px;
    min-width: 176px;
    */
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -webkit-box;
    display: flex;
    
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column wrap;
    flex-flow: column wrap;
    
    -webkit-justify-content: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    -moz-box-pack: flex-start;
    justify-content: flex-start;
}


.main-product-details {
    padding: 0 12px;
 }
/*
.product-card-options {
    padding: 12px 12px 12px 0;
}
*/
.main-product-details > * {
    margin: 12px 0;
}
.product-card .view-bag-product-img {
    min-width: 30%;
}



/* Start - Special Offers Text */
.product-card.special-offer .view-bag-product-img span {
    color: #fff;
    text-align: center;
    width: 100%;
    height:  100%;
    
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -webkit-box;
    display: flex;
    
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column wrap;
    -webkit-flex-flow: column wrap;
    flex-flow: column wrap;
    
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    
    -webkit-justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
 
}

.product-card.special-offer .view-bag-product-img span:before {
    content: "SPECIAL";
    font-weight: bold;
    font-size: 24px;
    line-height: 24px;
    left: 0;
    right: 0;
}

.product-card.special-offer .view-bag-product-img span:after {
    content: "OFFER";
    font-weight: normal;
    font-size: 30px;
    line-height: 30px;
    left: 0;
    right: 0;
}

/* End - Special Offers Text */

.product-card .view-bag-product-img img {
    width: 100%;
    height: auto;
    display: block;
}
.product-card.special-offer .view-bag-product-img {
    background: #0a64ff;
    padding: 12px;
    position: realtive;
    min-width: 130px;
}
.product-card.special-offer .view-bag-product-img img {
    width: auto;
    margin: 0 auto;
    height: auto;
    max-height: 122px;
}

.product-card .product-title h2{
    min-height: 45px
}
.product-card .product-title h2,
.product-card .product-title p {
    font-size: 16px;
    line-height: 22px;
    width: 80%;
}

@media screen and (min-width: 992px) {
    
    .product-card .product-title h2{
        width: 100%;
        min-height: 66px;
    }
}

.product-card .product-title a,
.product-card .product-title p {
    text-decoration: none;
    color: #575757;
    font-weight: normal;
}

.product-prices {
    margin-bottom: 12px;
    margin-top: 17px;
    width: 100%;
}
.product-prices span {
    width: 100%;
    display: block;
}
.product-card .now {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
}
.product-card .was {
    font-size: 14px;
    font-weight: normal;
    color: #666666;
    text-decoration: line-through;
}
.product-card .save {
    font-size: 14px;
    font-weight: normal;
    color: #ed2939;
}
.product-card .was-now-save .now {
    color: #ed2939;
}
.product-card .was-now-save .save {
    display: none;
}

.product-option {
    font-size: 14px;
    margin-bottom: 6px;
    width: 100%;
}
.product-card .main-product-details .product-attribute {
    white-space: normal;
    word-break: break-all;
    color: #575757;
}

/* Editable Section Component */

.editable-section-component {
    padding: 0 12px 2px 12px;
    /*margin-bottom: 12px;*/
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -webkit-box;
    display: flex;
    
    -webkit-box-flex: 1;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
       
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

@supports (display: grid) {
    .editable-section-component {
        grid-column: span 2;
    }
}

.editable-section-component label {
    margin-right: 6px;
    width: 100px;
    max-width: 100px;
    font-size: 14px;
    line-height: 19px;
    
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}

.editable-section-component select {
    display: none;
}
.editable-section-component .product-select {
    position: relative;
    width: 100%;
}
.editable-section-component .product-attribute.quantity .product-select {
    max-width: 70px;
}
.editable-section-component .product-selection {
    cursor: pointer;
    position: relative;
    background: #ffffff;
    padding: 6px 36px 6px 12px;
    border: 1px solid #dedcdc;
    font-size: 14px;
    line-height: 19px;
    border: 0;
    -webkit-border-radius: 0px;
    border-radius: 0;
    background-image: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20x%3D%220px%22%20y%3D%220px%22%0A%09%20width%3D%22400px%22%20height%3D%22400px%22%20viewBox%3D%220%200%20400%20400%22%20style%3D%22enable-background%3Anew%200%200%20400%20400%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cpath%20d%3D%22M198.3%2C211.6L71.2%2C84.4c-4.7-4.7-12.3-4.7-16.9%2C0l-40.2%2C40.2c-4.7%2C4.7-4.7%2C12.3%2C0%2C16.9l175.7%2C175.9c2.3%2C2.3%2C5.4%2C3.5%2C8.5%2C3.5%0A%09s6.2-1.2%2C8.5-3.5l175.8-175.8c4.7-4.7%2C4.7-12.3%2C0-16.9l-40.2-40.2c-4.7-4.7-12.3-4.7-16.9%2C0L198.3%2C211.6z%22/%3E%0A%3C/svg%3E");
    background-position: calc(100% - 12px) 50%;
    background-repeat: no-repeat;
    background-size: 12px;
    z-index: 52;
    overflow: hidden;
    height: 17px;
    
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 50px;
    -ms-flex: 1 1 50px;
    flex: 1 1 50px;
}

.view-bag-wish-list .editable-section-component .product-selection {
    padding: 0 36px 10px 0;
}
.editable-section-component .product-selection span {
    position: absolute;
    width: calc(100% - 46px);
    overflow: hidden;
    white-space: nowrap;
    text-transform: uppercase;
}
.special-offer .editable-section-component .product-selection {
    padding: 6px 12px 6px 12px;
    background-image: none;
    cursor: default;
}
.editable-section-component .product-select-options {
    position: absolute;
    display: block;
    border: 1px solid #ddd;
    width: 100%;
    max-width: 300px;
    background: #fff;
    max-height: 265px;
    overflow-y: auto;
    overflow-x: hidden;
    top: 29px;
    right: 0;
    z-index: 1000;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.editable-section-component .product-select-options.hidden {
    display: none;
}
.editable-section-component .product-select-options ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.editable-section-component .product-select-options ul li {
    display: block;
    text-align: left;
    padding: 4px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    border-top: 1px solid #ddd;
    cursor: pointer;
    line-height: normal;
    font-size: 14px;
}
.editable-section-component .product-select-options ul li:hover {
    color: #fff;
    background: #316ac5;
}
.editable-section-component .product-select-options ul li:first-child {
    border-top: none;
}

.editable-section-component p {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

.edit-product .editable-section-component .product-attribute {
    width: 100%;
    margin-bottom: 12px;
    /*
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -webkit-box;
    display: flex;
    */
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.edit-product .editable-section-component .product-attribute.quantity {
    width: 100%;
    margin-bottom: 12px;
    
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.edit-product .editable-section-component .product-attribute .quantity-total {
    font-weight: bold;
    font-size: 16px;
}

@supports (display: grid) {
/*
    .edit-product .editable-section-component .product-attribute {
        display: grid;
        grid-template-columns: 100px auto;
    }
*/
    .edit-product .editable-section-component .product-attribute.personalisation {
        display: grid;
        grid-template-columns: 1fr;
        position: relative;
    }
/*
    .edit-product .editable-section-component .product-attribute.quantity {
        display: grid;
        grid-template-columns: 100px 70px 1fr;
    }
*/
}
.edit-product .editable-section-component .product-attribute:last-child {
    margin-bottom: 0;
}

/* product-card-options */

.product-save {
    width: 100%;
}

/*----------Remove Button / Wishlist, Sidebar bag and Checkout--*/
.product-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    text-indent: -10000px;
    width: auto;
    padding: 5px;
    background: #FFFFFF;
    border: solid 1px #dedcdc;
}

.product-remove:before {
    margin: 0;
}

.product-card-buttons {
    width: 100%;
}


.product-card-options {
/*
    max-width: 300px;
    min-width: 300px;
 */   
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -webkit-box;
    display: flex;
    
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}
@supports (display: grid) {
    .product-card-options {
        grid-column: span 2;
    }
}

a.product-card-option.gui-btn {
    text-transform: uppercase;
    justify-content: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-touch-callout: none; 
    user-select: none;
}
a.product-card-option.gui-btn:last-child {
    margin-bottom: 0;
}
a.product-card-option.gui-btn.hidden {
    display: none;
}

.product-card-options {
    grid-column: 3;
}


.saved-items .product-card .gui-alert {
    margin-bottom: 12px;
    background-color: #ffffff;
}

/*
@media screen and (max-width: 899px) {
    .main-product-details {
        padding: 12px 0;
    }
    .product-card-options {
        padding: 12px 12px 12px 0;
    }
    .product-card .main-product-details {
       width: auto;
       max-width: inherit;
     
       -webkit-box-flex: 1;
       -webkit-flex: 1 1 40%;
       -ms-flex: 1 1 40%;
       flex: 1 1 40%;
    }
    .product-card-options {
       width: 300px;
    }
}
*/

.product-info-wrap {
    min-width: 70%;
}

@media screen and (min-width: 768px) {
    .product-card .view-bag-product-img {
        width: 40%;
        max-width: 40%;
    }
    
    .product-card .gui-alert {
        margin-bottom: 12px;
    }
    
    .product-info-wrap{
        min-width: 60%;
    }
    
    .product-card .main-product-details {
        /*
        width: auto;
        max-width: inherit;
        min-width: inherit;
        
        -webkit-box-flex: 1;
        -webkit-flex: 1 1 40%;
        -ms-flex: 1 1 40%;
        flex: 1 1 40%;
        */
        padding: 0 12px;

    }
    .product-prices {
        margin-top: 0;
     }
    .product-card-options {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        padding: 0;
    }
    a.product-card-option.gui-btn:last-child {
        margin-bottom: 0;
    }
}

@media screen and (min-width: 992px) {

    .product-info-wrap{
        min-width: 100%;
    }

    div[id^="viewBagItem-"] {
        max-width: 18%;
        margin: 1%;
    }
    
    .product-card .view-bag-product-img {
        width: 100%;
        max-width: 100%;
    }   
    
}


/* Product Delivery Supplement */
div[id^="viewBagItem-"] .delivery-supplement {
    background: #F4F5F7;
    margin: 12px;
    width: auto;
    border-top: 1px solid #dedcdc;
    border: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
div[id^="viewBagItem-"] .delivery-supplement p {
    font-size: 16px;
}
div[id^="viewBagItem-"] .delivery-supplement span:first-child {
    padding: 12px;
    width: 70%;
    
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 70%;
    -ms-flex: 1 1 70%;
    flex: 1 1 70%;
}
div[id^="viewBagItem-"] .delivery-supplement span:last-child {
    font-weight: bold;
    color: #000;
}
@media screen and (max-width: 768px) {
   div[id^="viewBagItem-"] .delivery-supplement {
        border: none;
        margin: 0 12px 12px;
    }
}
@supports (display: grid) {
    div[id^="viewBagItem-"] .delivery-supplement {
        grid-column: span 3;
    }
    @media screen and (max-width: 768px) {
       div[id^="viewBagItem-"] .delivery-supplement {
            grid-column: span 3;
        }
    }
}

/* Saved Bag - Personalisation */
.edit-product .editable-section-component .product-attribute.personalisation label {
    margin: 0 0 6px;
    width: 100%;
    max-width: 100%;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.edit-product .editable-section-component .product-attribute.personalisation input {
    width: calc(100% - 48px);
    color: #000;
    background: #ffffff;
    padding: 6px 36px 6px 12px;
    margin: 0;
    font-size: 16px;
    border: 0;
}
.edit-product .editable-section-component .product-attribute.personalisation .character-count {
    position: absolute;
    width: 24px;
    height: auto;
    text-align: center;
    font-size: 12px;
    bottom: 4px;
    right: 4px;
    background: #979797;
    color: #fff;
    padding: 5px;
    z-index: 2;
    border-radius: 4px;
    pointer-events: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.saved-info-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.saved-info-box p {
    font-size: 14px;
    line-height: 1.4;
}

.saved-info-box a.gui-btn-primary {
    font-weight: normal;
    font-weight: bold;
}

a.saved-info-box-link  {
    text-decoration: none;
    padding: 8px 18px;
    font-size: 16px;    
    margin-top: 12px;
    }
    
a.saved-info-box-link:after {
    margin:0;
}

.saved-info-box b {
    font-weight: normal;
    
}
@media (max-width: 480px) { 
    .saved-info-box {
        display: block;
    }   
    
    .saved-info-box b {
        font-weight: none;
        display: block;
        margin-bottom: 16px;    
    }   
}