﻿
/*Parts Clickable - Add to cart css*/

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "sans-serif", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

#svg-container {
  /*  width: 700px;*/
    width: 500px;
    height: 100%;
    display: block;
    margin: 0 auto;
    text-align: center;
}

#left-slide-popup {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    height: 100%;
    background-color: #f9f9f9;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease-in-out;
    z-index: 1000;
}

/*.popup-content {
    padding: 20px;
}*/

/*.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}*/


.popup-hidden {
    left: -350px;
}

#left-slide-popup.popup-visible {
    left: 0;
}

#popup-details {
    margin-top: 20px;
}

.product_wrapper {
    background-color: #fff;
    box-shadow: 0 0 5px #ccc;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "sans-serif", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

#data-hotspot {
    font-size: 18px;
    color: #ea1c47;
    font-weight: 600;
}

.popup-heading {
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 5px;
    background-color: #c6232d;
    border-bottom: 1px solid #ccc;
}

.close-btn {
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    font-size: 28px;
    color: #fff;
    border-radius: 50%;
    margin-right: 5px;
}

ul.product-list li {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

ul.product-list {
    padding: 0px;
    margin: 0px;
}

.product-list img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.img-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.list-img {
    width: 130px;
    height: 130px;
    flex: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.list-box {
    margin: 20px;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0px 0px 5px #d4d4d4;
}

.list-card {
    display: flex;
    gap: 10px;
}

.brand {
    width: 60px;
   /* height: 60px;*/
    text-align: center;
}

.product-name {
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 16px;
    color:#343434;
}
.part-availability {
    font-weight: 600;
    font-size: 14px;
    color: #343434;
    line-height: 22px;
    margin-top:8px;
}
.part-availability span {
    font-weight: 400;
}

.product-prize, .part-no {
    font-weight: 600;
    font-size: 14px;
    color: #343434;
    line-height: 22px;
    margin-bottom:5px;
}

    .product-prize span, .part-no span {
        font-weight: 400;
    }

    .product-prize span {
        color: #c6232d;
        font-weight: 600;
    }
.popup-product-quantity {
    width: 95px;
    position: relative;
    display: block;
    text-align: center;
}
.product-decription {
    color: #343434;
    font-size: 14px;
}

    .product-decription a {
        text-decoration: none;
        color: #000;
        font-size: 14px;
    }

.list-hotspot {
    font-size: 18px;
    font-weight: 700;
    padding: 15px 5px;
    padding-top: 5px;
}

.add-to-cart {
    width: 100%;
    display: inline-block;
    text-align: center;
    padding: 8px;
    font-weight: 600;
    text-decoration: none;
    text-transform: capitalize;
    color: #c6232d;
    background: #ffffff;
    border: 2px solid #c6232d;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.product-decription {
    margin-top: 10px;
}

.text-center {
    text-align: left;
    margin-top: 10px;
}



.price {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    font-family: Anton, sans-serif;
    color: #2d2d2d;
}

.hotspot {
    cursor: pointer;
}

.part-selected .hotspot:not(.highlight), .part-selected image:not(.highlight), .part-selected line:not(.highlight), .part-selected path:not(.highlight), .part-selected text:not(.highlight), .part-selected polyline:not(.highlight) {
    opacity: 0.2;
}

.part-selected .highlight > image {
    opacity: 1;
}

.part-selected .hotspot.highlight > text {
    opacity: 1;
}


@media only screen and (min-width: 991px) and (max-width: 1200px) {
    #svg-container {
        width: 400px;
    }
}
@media (max-width: 911px) {
    #svg-container {
        width: 100%;
    }
}