/*
* CSS for Amira B2B
* by Deepak
*/




/*
* HOME DASH BOARD
*/


.home-dashboard {
    padding: 20px 20px;
    background-color: #fff;
}


.selections-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
}

@media ( min-width: 768px ) {
    .selections-container {
       display: grid;
       grid-template-columns: 1fr 1fr;
       grid-gap: 40px;
    }
}

/*
* Selection item box
*/

.selections-item-box {
    position: relative;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    transition: 0.1s all ease-in-out;
}


.selections-item-box:hover {
    box-shadow: 0 .5rem 0.75rem rgb(223 223 224);
}

.selections-item-box .selection-cover {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}
.selections-item-box .selection-cover::before {
    content: "";
    position: relative;
    display: block;
    padding-bottom: 40%;
}
.selections-item-box .selection-cover img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: contain;
    object-fit: contain;
    width: 100%;
    height: 100%;
    padding: 7px;
}
 
.selections-item-box .selection-details {
    padding: 20px;
    font-size: 16px;
}

.selections-item-box .go-to-selection {
    text-transform: uppercase;
    display: inline-block;
    padding: 2px 8px;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
     border: 1px solid rgba(0,0,0,0.0);
     border-radius: 16px;
}
.selections-item-box .go-to-selection:hover {
    background-color: #f7f8f9;
    border: 1px solid rgba(0,0,0,0.0);
}
.go-to-selection i.fa {
    font-size: 11px;
    vertical-align: middle;
    display: inline-block;
    margin-left: 2px;
}




/*
* Selection product box
*/


.selection-product-box {
    position: relative;
    padding: 0px;
    background-color: #fff;
    border: 1px solid #f7f8f9;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 0.15rem rgb(235 238 241);
}

.selection-product-box > .product-box-inner {
    display: flex;
    align-items: center;
    align-items: stretch;
}

.product-box-inner .product-image {
    position: relative;
    overflow: hidden;
     min-width: 150px;
    min-height: 150px;
    height: 150px;
    width: 150px;
}
.product-box-inner .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background-color: #fff;
}

.product-box-inner .product-details {
    padding: 30px 30px;
    width: 100%;
}


.product-action-links {
    display: flex;
    align-items: center;
}
.product-action-links .custom-checkbox {
    margin-right: 8px;
}



.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid rgb(153 153 153 / 40%);
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
}

.custom-checkbox input {
    display: none;
}

.custom-checkbox .checkbox-square {
    background-color: #457e91;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: block;
    margin: 0px;
    border-radius: 4px;
    transform: scale(0.75);
    transition: 0.1s all ease-in-out;
    opacity: 0;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMzQyLjM1NyAzNDIuMzU3IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAzNDIuMzU3IDM0Mi4zNTc7IiBmaWxsPSIjZmZmZmZmIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIHBvaW50cz0iMjkwLjA0LDMzLjI4NiAxMTguODYxLDIwNC40MjcgNTIuMzIsMTM3LjkwNyAwLDE5MC4yMjYgMTE4Ljg2MiwzMDkuMDcxIDM0Mi4zNTcsODUuNjA2ICIvPg0KPC9zdmc+DQo=);
    background-size: 75%;
    background-position: center;
    background-repeat: no-repeat;
}

.custom-checkbox input:checked ~ .checkbox-square {
    transform: scale(1);
    opacity: 1;
}

@media ( max-width: 768px ) {
    .selection-product-box > .product-box-inner {
        flex-direction: column;

    }

    .product-box-inner .product-details {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .product-box-inner .product-image {
        position: relative;
        overflow: hidden;
        min-width: auto;
        min-height: auto;
       
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, .025);
    }
    .product-box-inner .product-image img {
        display: block;
        margin:  0 auto;
        max-width: 150px;
    }
}

.product-box-inner .product-details h3 {
    font-size: 1.25em;
}

.product-box-inner .product-details h3 a {
    font-weight: 600;
    color: #666;
}


.product-action-links > a {
    
}

.product-action-links > a {
    margin-right: 15px;
    display: inline-block;padding: 4px 0px;display: inline-flex;
    align-items: flex-end;
    vertical-align: middle;
    border: 1px solid rgba(0,0,0,0.0);
    border-radius: 16px;
    align-items: center;
    vertical-align: middle;
    align-content: center;
    line-height: 1;
    font-size: 14px;
    }
.product-action-links > a::after {
    content: "\f105";
    font-family: FontAwesome;
    display: block;
    margin-left: 5px;
    font-size: 14px;
    vertical-align: middle;
    align-self: center;

    /* line-height: 1rem; */
}
.product-action-links > a:hover {
    
}



.product-box-inner .product-details .product-sku,
.product-box-inner .product-details .product-sizes,
.product-box-inner .product-card-secondary {
    font-size: 14px;
}

.product-details .product-box-sizes {
    font-weight: 500;
}


.product-comment-area {
    margin-top: 20px;
}
.product-comment-wrapper {}
.product-comment-wrapper textarea.product-comment {
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid #eee;
    font-size: 14px;
    
    max-width: 100%;
    width: 100%;
    max-height: 100px;
    min-height: 40px;
    resize: vertical;
    outline: none;
}
.product-comment-wrapper textarea.product-comment:focus {
    border-bottom-color: #6d98ba;
}


/*
.product-comment-wrapper textarea::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 0px rgba(0, 0, 0, 0.3);
    background-color: #f5f5f5;
    border-radius: 5px;
}

.product-comment-wrapper textarea::-webkit-scrollbar {
    width: 2px;
    background-color: transparent;
}

.product-comment-wrapper textarea::-webkit-scrollbar-thumb {
    background-color: #777;
}
*/



.product-comment-area {
    position: relative;
    margin-top: 20px;
}

.product-comment-area .product-comment-actions {
    position: absolute;
    right: 20px;
    top: 10px;
    display: flex;
 
}

.product-comment-actions > a  {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    background-color: transparent;
    border:  1px solid #457e91;
    color: #457e91;
    padding: 2px 8px;
    border-radius: 2px;
}
.product-comment-actions > a.disabled {
    opacity: 0.2;
}

.product-comment-actions > a.comment-savable {
    color: #25b725;
    border-color: #25b725;
}

.product-comment-area textarea.product-comment {
    padding-right: 60px;
    min-height: 45px;
}


/* Custom product comment design  */
.selection-product-box .floating-product-sku {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1;
}


.product_visible_attr {
    padding: 0;
    margin: 0;
}

.product_visible_attr .woocommerce-product-attributes {
    font-size: 14px;
    border: 0;
    max-width: 320px;
}

.product_visible_attr  .woocommerce-product-attributes td, .woocommerce-product-attributes th {
    text-align: left;
    border: 0;
}

.woocommerce-product-attributes td p {
    margin: 0;
}

@media ( max-width: 768px ) {
    .product_visible_attr .woocommerce-product-attributes {
        margin-top: 20px;
    }
}


/*
* Products variations
*/


.product-variations-inner {
    padding: 0px 30px;
    background-color: #fdfdfd;
    box-shadow: inset 0 22px 20px -25px rgba(0,0,0,0.10);
}

.product-variations-inner .variations-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-variations-inner .variations-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}


.product-variations-inner .variations-list li:last-child {
    border-bottom: 0;
}




.variation-item-box .attribute-wrapper {
    padding-bottom: 0px;
    display: block;
}

.variation-item-box  {}







/*
* QTY Selector
*/



.amira-qty-selector {
    max-width: 180px;
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 0px;
    overflow: hidden;
    
}

.amira-qty-selector > input[type='number'] {
    max-width: 60px;
    border: none;
    background-color: #fff0;
    padding: 8px 0;
    text-align: center;
    line-height: 1;
}
.amira-qty-selector .qty-controls {
    display: block;
    width: 30px;
    padding: 0px 5px;
    background-color: #fafafa;
    color: #333;

    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;


}

.amira-qty-selector .qty-controls:hover {
    background-color: #eee;
}

.amira-qty-selector .qty-controls:active {
    background-color:  #fafafa;
}


.amira-qty-selector .qty-controls::after {
    content: "\f106";
    font-family: "FontAwesome";
    font-size: 17px;

}

.amira-qty-selector .qty-controls.qty-down::after {
    content: "\f107";
}


/*
* Add to Enquiry Strip
*/ 

.enquiry-add-strip {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 12px 0;
    border-top: 1px solid #eee;
    box-shadow: 0 ;
    box-shadow: 0 -2px 30px rgba(0,0,0,0.1);
    font-size: 14px;
    transform: translateY(100%);
    opacity: 0;
    transition:  0.15s all ease-in-out;
    z-index: 99;
}

.enquiry-active .enquiry-add-strip {
    transform: translateY(0%);
    opacity: 1;
}


.add-to-enquiry-btn {
    padding: 8px 14px;
    display: block;
    background-color: #457e91;
    font-weight: 500;
    color: #fff;
    border-radius: 4px;
}

.add-to-enquiry-btn:hover {
    background-color: #44a4c3;
    color: #fff;
}

.add-to-enquiry-btn[disabled] {
    opacity: 0.5;
    pointer-events: none;
}


/*
* Custom Toast
*/

.enquiry-list-add-toast {
    position: fixed;
    left: 30px;
    bottom: 30px;
    border: 1px solid #eee;
    background-color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 14px;

    box-shadow: 0 5px .55rem rgb(83 83 83 / 18%);
    max-width: 380px;
    transition: 0.2s all ease-in-out;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
}

.enquiry-list-add-toast.active {
    transform: translateY(0%);
    opacity: 1;
    visibility: visible;
}

@keyframes toasEnter{
    from {
         transform: translateY(-100%);
    }
    to {
        transform: translateY(-100%);
    }
}


/*
* Enquiry Submit
*/

.submit-enquiry-btn {
    margin-left: 10px;
}

.submit-enquiry-btn {
    padding: 15px;
    display: block;
    padding: 8px 14px;
    display: block;
    background-color: #457e91;
    font-weight: 500;
    color: #fff;
    border-radius: 4px;

}
.total-wrapper {
    font-size: 20px;
}
.total-wrapper strong {
    font-weight: 400 !important;
    margin-left: 5px;
}

