.certification-value {
    /* padding:10px; */
    text-align: left;
    width: 35%;
    border-collapse: separate;
}

.certification-value th {
    padding: 10px;
    text-align: left;
}

.certification-value td {
    padding: 12px;
    text-align: right;
}

.certification-value .round-border {
    border: 1px solid blue;
    border-radius: 50%;
    width: 15px;
    padding-left: 15px;
}

.certification-value .count {
    color: blue;
}

.inv-state {
    font-weight: bold;
    color: grey;
    padding-bottom: 0 !important;
    font-size: 16px;
}

.inv-count {
    font-weight: 800;
    color: #4646ad;
    font-size: 16px;
}

/* fitment */
.fitment-link {
    cursor: pointer;
    color: blue;
    margin-top: 20px;
}

.fitment-header .popuptext {
    display: none;
}

.fitment-header .show {
    display: block;
    /* border: 1px solid black; */
    width: 380px;
    /* position: absolute;
  top: 15%;
  right: 13%;
  background: white; */
}

.fitment-header {
    padding-top: 20px;
    margin-bottom: 20px;
    display: none !important;
}

.fitment-header .title {
    border-bottom: 1px solid black;
    background: #c2bbbb;
    padding: 10px;
    margin: 0;
}

.fitment-header .desc {
    margin-left: 10px;
}

.fitment-header .hide-fitment {
    border-top: 1px solid black;
    padding-left: 10px;
    padding-top: 10px;
    color: red;
    cursor: pointer;
}

.fitment-header table {
    border: 1px solid black;
    border-collapse: collapse;
}

.fitment-header th {
    border: none !important;
    background: #474b4e;
    color: white;
}

.fitment-header td {
    border: 1px solid black;
    border-collapse: collapse;
}

.fitment-header tr:nth-child(even) {
    background-color: #f2f2f2;
}

.customer-welcome .action.switch {
    color: black;
}

.product-item .price-box .price {
    font-size: 22px;
}

/* product item details */

.products-list .product-item-details {
    padding-top: 50px !important;
}

li.item.product.product-item:not(:last-child) {
    border-bottom: 1px solid black;
    margin-bottom: 20px;
}

.products-list .product-item-details .price-box {
    margin: 0 !important;
}

/*  */

.your-price-label {
    font-weight: bold;
    font-size: 18px;
    color: #4646ad;
}

.your-price-value .price {
    font-weight: bold !important;
    font-size: 18px !important;
    margin-left: 10px;
}

.product-list-price {
    display: flex;
    margin-left: 30px;
    margin-top: 5px;
}

.list-price-label {
    font-weight: bold;
    font-size: 14px;
    color: #4646ad;
}

.list-price-value {
    margin-left: 10px;
    font-weight: normal;
    font-size: 14px;
    /* text-decoration: line-through; */
}

input#qty {
    color: black !important;
    font-weight: bold !important;
    background: #e3dfdf4a !important;
    width: 50px !important;
}

.product-item .input-group {
    display: flex;
    margin-top: 20px;
}

.input-group__input {
    width: 115px !important;
    height: 50px !important;
    text-align: center !important;
}

.input-group__icon--increase {
    color: blue;
    font-size: 20px;
}

.input-group__icon--decrease {
    color: blue;
    font-size: 20px;
}

.input-group__button--increase:focus,
.input-group__button--increase:active,
.input-group__button--increase:hover {
    background: none;
    border: none;
}

.input-group__button--increase,
.input-group__button--decrease {
    background: none;
    border: none;
    padding-top: 0;
}

.input-group__button--increase {
    padding-top: 7px;
    padding-left: 9px;
}

.input-group__button--decrease {
    position: absolute;
    left: -4px;
    top: 20px;
}

div.button-group-in-dec {
    position: relative;
}

.input-group__button--decrease:focus,
.input-group__button--decrease:active,
.input-group__button--decrease:hover {
    background: none;
    border: none;
}

.product-item label {
    display: none;
}

.product-item .product-item-details .product-item-certification {
    margin-top: 20px;
    margin-left: 0;
    /* margin-left: 70px; */
}

.product-item .product-item-details .product-item {
    margin-top: 0;
}

.fitment-block {
    margin-left: 10px;
}

.item.product.product-item .action.view-details {
    background: #006bb4 !important;
    border: 1px solid #006bb4 !important;
    color: white !important;
    border-radius: 30px !important;
    padding: 12px 18px !important;
}

.products-list .product-items .product-item .product-name .product-item-name .product-item-link {
    font-weight: bold !important;
    font-size: 18px !important;
}

.products-list .product-items .product-item .product-name p {
    margin-bottom: 0 !important;
}

.products-list .product-items .product-item .product-name .product-item-name {
    margin-bottom: 0 !important;
}

.products-list .product-items .product-item .product-name .product-sku {
    margin: 0 !important;
    color: #006bb4 !important;
    font-size: 22px;
    font-weight: bold;
}

.products-list .product-items .product-item-details .product-item-link:hover {
    text-decoration: none !important;
}

.products-list .product-items .product-item-details .product-item-link {
    font-weight: bold;
    font-size: 18px;
}

.product-attributes.OEM,
.product-attributes.parts_link,
.product-attributes.DPI {
    font-weight: bold !important;
}

/* inventory popup */

.modal-popup .action-close:before {
    color: white !important;
}

.modal-inner-wrap {
    width: 35% !important;
}

.modal-header {
    /* background: #676977; */
    background: linear-gradient(90deg, rgba(109, 109, 116, 1) 0%, rgba(93, 104, 120, 1) 10%, rgba(97, 108, 123, 1) 64%);
    padding-left: 10px;
}

.modal-header .action-close {
    margin-top: 20px !important;
    margin-right: 20px !important;
}

.modal-title {
    border: none !important;
    color: white !important;
}

.modal-content {
    padding: 0 !important;
}

.popup_header {
    display: flex;
}

.popup_header:nth-child(odd) {
    background-color: #f0f0f0;
}

.popup_header:nth-child(even) {
    background: lightgrey;
}

.popuptext ul {
    padding-left: 20px !important;
    list-style: none !important;
    padding-top: 20px !important;
}

.src_name {
    padding: 10px;
    border-right: 1px solid white;
    border-width: 3px;
    width: 40%;
    text-align: center;
    font-weight: bold;
}

.src_qty {
    padding: 10px;
    width: 40%;
    text-align: center;
    font-weight: bold;
}

.popuptext ul {
    padding-left: 0px !important;
}

.popuptext ul li {
    padding: 10px;
    margin-bottom: 0 !important;
}

.popuptext ul li:nth-child(odd) {
    background: lightgrey;
}

.popuptext ul li:nth-child(even) {
    background-color: #f0f0f0;
}


/*.modal-popup._inner-scroll .modal-inner-wrap {*/
/*  max-height: 70% !important;*/
/*}*/

.products-list .product-item-details {
    padding-top: 0px !important;
    min-height: 170px;
}

.products-list .product-item-info {
    margin-bottom: 10px;
    margin-top: 10px;
}

.products {
    margin: 0px !important;
}

.circle {
    /* color: blue; */
    display: block;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 1px solid #006bb4;
    margin: auto;
    /* line-height: 47px; */
    text-align: center;
    color: #006bb4;
    font-weight: 600;
}

.product.name.product-item.quantity {
    margin-left: 25px;
}

.pdpfitment  > ul {
    padding-top: 0px !important;
    border: 1px solid lightgrey;
}

.popuptext.pdpfitment {
    max-height: 300px;
    overflow-y: scroll;
}

.product-image-plp {
    text-align: center;
}

.login-purchase-plp {
    cursor: pointer;
    color: blue;
    margin-top: 40px;
    margin-left:50px;
    text-decoration: underline;
}

/* pdp */

.page-layout-1column .product.media {
    width: 47% !important;
}

.page-layout-1column .product-info-main {
    width: 40% !important;
    float: right !important;
    /* margin-top: 75px !important; */
}

/*  */

.box-tocart .input-group {
    display: flex;
    margin-top: 20px;
}

.input-group__input {
    width: 115px !important;
    height: 50px !important;
    text-align: center !important;
}

.input-group__addon {
    display: block;
}

.input-group__icon--increase {
    color: blue;
    font-size: 20px;
}

.input-group__icon--decrease {
    color: blue;
    font-size: 20px;
}

.input-group__button--increase:focus, .input-group__button--increase:active, .input-group__button--increase:hover  {
    background: none;
    border: none;
}
.input-group__button--increase, .input-group__button--decrease {
    background: none;
    border: none;
    padding-top: 0;
}

.input-group__button--decrease:focus, .input-group__button--decrease:active, .input-group__button--decrease:hover  {
    background: none;
    border: none;
}

.box-tocart label {
    display: none;
}

.product-item .product-item-details .product-item-certification {
    margin-top: 20px;
}
.product-item .product-item-details .product-item {
    margin-top: 0;
}

.box-tocart .actions .action.primary.tocart.toquote {
    width: 100% !important;
    background: #006bb4 !important;
    border: 1px solid #006bb4 !important;
    color: white !important;
    border-radius: 30px !important;
}

@media screen and (min-width: 769px)  {
    .product-info-main .page-title-wrapper h1 {
        max-width: 50% !important;
        font-size: 20px !important;
    }
}

/* pdp ui changes */

.page-main {
    /* border: 1px solid grey; */
    /* border-width: 4px; */
    /* margin-bottom: 20px; */
}

#maincontent {
    padding-left: 0;
    padding-right: 0;
    border-bottom: 0;
}

.page-main.page-main-details {
    border-top: 0;
    margin-bottom: 20px;
    display: none;
}

.product-full-width-section {
    padding: 0 !important;
}


.product-section-title {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
}

.product-info-price {
    border-bottom: none !important;
}

.product-info-price .product-info-stock-sku {
    float: left !important;
    padding-bottom: 0 !important;
    padding-left: 10px !important;
    display: none;
}

/* title */

.product-sku-name-header {
    display:flex;
    border-bottom: 1px solid lightgrey;
    border-width: 4px;
    margin-bottom: 35px;
}

.product-sku-name-header .product-sku {
    width:17%;
}

.product-sku-name-header .product-sku p {
    padding-top: 7px;
    margin-left: 8px;
    font-weight: bold;
    font-size: 25px;
    color: black;
}

.product-sku-name-header .product-name {
    width:83%;
    background: #15316e;
}

.product-sku-name-header .product-name p {
    color:white;
    padding:10px;
    font-weight: bold;
    font-size: 18px;
}

/* attributes */

.additional-attributes-wrapper {
    background: #c9c3c33d;
    padding: 10px;
}

.additional-attributes-wrapper .item-box .price {
    font-weight: bold;
    font-size: 26px !important;
}

.additional-attributes-wrapper .item-box {
    margin-bottom: 15px;
}


.certification {
    display: flex;
}
.certification-label {
    font-weight: bold;
    font-size: 20px;
    line-height: 30px;
}

.certification .data {
    margin-left: 20px;
}

.buyer-guide .buyer-guide-label {
    font-weight: bold;
    font-size: 20px;
}

.buyer-guide .buyer-guide-value {
    font-size: 16px;
}

.inter-ref-number-label {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 20px;
}

.additional-attributes-wrapper .oem{
    font-size: 16px;
}

.additional-attributes-wrapper .partslink{
    font-size: 16px;
}

.additional-attributes-wrapper .dpi{
    font-size: 16px;
}

.dimensions-label {
    margin-top: 10px;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
    display: none;
}

.length-width-height-value {
    display: none;
}

.length-width-height-value .length {
    margin-right: 20px;
    font-size: 16px;
}

.length-width-height-value .width {
    margin-right: 20px;
    font-size: 16px;
}

.length-width-height-value .height {
    margin-right: 20px;
    font-size: 16px;
}

/* qty */

.product-info-main .product-info-price {
    margin: 0 !important;
}

#maincontent .column.main {
    position: relative;
}

.product-info-main .product-info-price .product-info-stock-sku .stock.available {
    position: absolute;
    margin-left: 10px;
    padding-top: 30px;
}

.product-add-form {
    padding: 0 !important;
}

.box-tocart {
    margin: 0 !important;
}

.box-tocart .fieldset .field.qty {
    width: unset !important;
}

.box-tocart .fieldset {
    display: flex;
    float: right;
    flex-direction: row;
    margin-right: 21px;
}

.box-tocart .fieldset .actions {
    margin-top: 13px;
}

.fitment-link {
    display: inline-block;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    position: relative;
    z-index: 1000;
}

.cart.table-wrapper .product-item-details{
    padding-bottom: 0px !important;
}

/* ================================
   CATEGORY PAGE – FITMENT MODAL ONLY
   ================================ */

/* Allow ONLY the active modal (Magento adds _show) */
.catalog-category-view .modal-popup._show {
    display: block !important;
    z-index: 9999 !important;
}

/* Allow ONLY active overlay */
.catalog-category-view .modals-overlay._show {
    display: block !important;
    z-index: 9998 !important;
}

/* Keep Show Fitments link clickable */
.catalog-category-view .fitment-link {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}
/* =========================================
   BLOCK ONLY "SELECT VEHICLE" MODAL
   ========================================= */

/* Hide the YMM modal when it opens */
.catalog-category-view .modal-popup._show:has(#select-vehicle),
.catalog-category-view .modal-popup._show:has(.select-vehicle-title),
.catalog-category-view .modal-popup._show:has(.ymm-picker) {
    display: none !important;
}

/* Also hide overlay if ONLY YMM modal is active */
.catalog-category-view .modal-popup._show:has(#select-vehicle) ~ .modals-overlay {
    display: none !important;
}

