/* =============================================
   PLUGIN OVERRIDES — loads AFTER iis-pro-v2 CSS
   This file is enqueued at priority 999 so it
   always wins against the plugin stylesheets.
   ============================================= */

/* ---- Hide "Search By Make" section entirely ---- */

body .iisMakesMenu,
.bootstrapiis .iisMakesMenu,
.bootstrapiis > div:has(.iisMakesMenu) {
  display: none !important;
}

/* Hide the "Search By Make:" heading (plugin outputs it as h3) */
body .bootstrapiis > h3,
body p + .bootstrapiis > h3 {
  display: none !important;
}

/* ---- Hide "Search For Parts" heading from plugin (now in page-hero bar) ---- */

body .iisTopSearch h3,
body .bootstrapiis .iisTopSearch h3 {
  display: none !important;
}

/* ---- Hide Powered By AutoPartSearch ---- */

.iisFooter,
.bootstrapiis .iisFooter,
.bootstrapiis .row.w-100.iisFooter,
div.bootstrapiis > div.row.iisFooter {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

.pbaps,
.bootstrapiis .pbaps {
  display: none !important;
}


/* ---- Container Centering ---- */

.bootstrapiis {
  max-width: 1170px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px;
  padding-right: 20px;
  font-family: 'Heebo', sans-serif;
}

.bootstrapiis .container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}


/* ---- Headings ---- */

.bootstrapiis h3,
.iisTopSearch h3,
body .bootstrapiis h3 {
  font-family: 'Teko', sans-serif !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #111111 !important;
  margin-bottom: 16px !important;
  line-height: 1 !important;
}


/* ---- Search Form Container ---- */

.iisTopSearch {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.search-sec {
  padding: 0 !important;
}


/* ---- Form Dropdowns ---- */

body .bootstrapiis .form-control,
body .iisForm.verticalForm .form-control,
body .bootstrapiis select.form-control,
body .iisTopSearch select.form-control {
  font-family: 'Heebo', sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #333333 !important;
  background-color: #ffffff !important;
  border: 1px solid #e7ebf0 !important;
  border-radius: 0 !important;
  padding: 14px 16px !important;
  height: auto !important;
  min-height: 52px !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 12px !important;
  transition: border-color 0.18s ease-out !important;
}

body .bootstrapiis .form-control:focus,
body .iisForm.verticalForm .form-control:focus {
  border-color: #d72222 !important;
  box-shadow: 0 0 0 2px rgba(215, 34, 34, 0.12) !important;
  outline: none !important;
}

/* Disabled dropdowns */
body .bootstrapiis .form-control:disabled,
body .bootstrapiis .form-control[disabled],
body .iisForm.verticalForm .form-control:disabled {
  background-color: #f5f5f5 !important;
  color: #999999 !important;
  cursor: not-allowed !important;
  opacity: 0.7 !important;
}


/* ---- First Dropdown (Choose Year) Highlight ---- */

body .firstVertical.iisHighlight,
.bootstrapiis .firstVertical.iisHighlight {
  border: 2px solid #d72222 !important;
  border-radius: 0 !important;
  background: rgba(215, 34, 34, 0.02) !important;
  padding: 0 !important;
  margin: 0 !important;
}

body .firstVertical.iisHighlight .form-control,
body .firstVertical.iisHighlight select {
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
}

/* Choose Year select2 rendered text — line-height fix */
body .select2-container .select2-selection--single .select2-selection__rendered,
body .select2.select2-container .select2-selection__rendered {
  line-height: 30px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
}


/* ---- Search Button ---- */

body .bootstrapiis .btn-primary,
body .bootstrapiis .wrn-btn,
body .bootstrapiis button.verticalSearch,
body .iisForm .verticalSearch,
body .iisForm button.btn-primary {
  background-color: #d72222 !important;
  border-color: #d72222 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 14px 24px !important;
  min-height: 56px !important;
  transition: background-color 0.18s ease-out, transform 0.18s ease-out !important;
}

body .bootstrapiis .btn-primary:hover,
body .bootstrapiis .wrn-btn:hover,
body .bootstrapiis button.verticalSearch:hover {
  background-color: #b61b1b !important;
  border-color: #b61b1b !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

body .bootstrapiis .btn-primary:disabled,
body .bootstrapiis button.verticalSearch:disabled {
  background-color: #999999 !important;
  border-color: #999999 !important;
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}


/* ---- Search By Make Grid ---- */

body .iisMakesMenu .menu,
.bootstrapiis .iisMakesMenu .menu,
.bootstrapiis .iisMakesMenu ul.menu {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 6px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body .iisMakesMenu .menu li,
.bootstrapiis .iisMakesMenu .menu li {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

/* Remove any list bullet from theme reset */
body .iisMakesMenu .menu li::before,
body .bootstrapiis ul li::before,
body .bootstrapiis .menu li::before,
body .iisTopSearch li::before,
body .vin-popup__list li::before {
  display: none !important;
  content: none !important;
  background: none !important;
  box-shadow: none !important;
  width: 0 !important;
  height: 0 !important;
  position: static !important;
}


/* ---- Make Buttons ---- */

body .iisMakesMenu .btn-outline-primary,
body .iisMakesMenu .btn.btn-outline-primary.btn-block,
body .iisMakesMenu a.btn.btn-outline-primary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: 100% !important;
  padding: 12px 10px !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 19px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #111111 !important;
  background: #ffffff !important;
  border: 1px solid #e7ebf0 !important;
  border-radius: 0 !important;
  transition: all 0.18s ease-out !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
}

body .iisMakesMenu .btn-outline-primary:hover,
body .iisMakesMenu .btn.btn-outline-primary.btn-block:hover,
body .iisMakesMenu a.btn.btn-outline-primary:hover {
  color: #ffffff !important;
  background-color: #d72222 !important;
  border-color: #d72222 !important;
}

body .iisMakesMenu .btn-outline-primary:hover .badge,
body .iisMakesMenu .btn.btn-outline-primary.btn-block:hover .badge {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}


/* ---- Count Badges ---- */

body .iisMakesMenu .badge,
body .iisMakesMenu .badge-light {
  font-family: 'Heebo', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #747474 !important;
  background-color: #e7ebf0 !important;
  border-radius: 999px !important;
  padding: 2px 8px !important;
  min-width: 24px !important;
  transition: all 0.18s ease-out !important;
}


/* ---- Select2 (if plugin uses it) ---- */

body .select2-container--default .select2-selection--single {
  border: 1px solid #e7ebf0 !important;
  border-radius: 0 !important;
  height: 52px !important;
  padding: 12px 16px;
  font-family: 'Heebo', sans-serif;
  font-size: 16px;
}

body .select2-container--default .select2-selection--single:focus,
body .select2-container--default.select2-container--open .select2-selection--single {
  border-color: #d72222 !important;
}

body .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #d72222 !important;
  color: #ffffff;
}

body .select2-dropdown {
  border: 1px solid #e7ebf0 !important;
  border-radius: 0 !important;
}


/* ---- Bootstrap Row Reset ---- */

body .bootstrapiis .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* ---- Breadcrumbs ---- */

body .bootstrapiis .breadcrumb {
  font-family: 'Heebo', sans-serif;
  font-size: 14px;
  color: #747474;
  background: transparent !important;
  padding: 8px 0;
  margin: 0;
}

body .bootstrapiis .breadcrumb a {
  color: #d72222;
}


/* ---- Plugin Responsive ---- */

@media (max-width: 900px) {
  body .iisMakesMenu .menu,
  .bootstrapiis .iisMakesMenu .menu {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 4px !important;
  }

  body .iisTopSearch h3,
  body .bootstrapiis h3 {
    font-size: 30px !important;
  }
}

@media (max-width: 520px) {
  body .iisMakesMenu .menu,
  .bootstrapiis .iisMakesMenu .menu {
    grid-template-columns: 1fr !important;
  }

  body .iisMakesMenu .btn-outline-primary,
  body .iisMakesMenu a.btn.btn-outline-primary {
    font-size: 17px !important;
    padding: 10px 12px !important;
  }
}


/* =============================================
   WOOCOMMERCE PAGE OVERRIDES
   Cart, Checkout, My Account page polish.
   ============================================= */

/* ---- Hide "New In Store" section on cart page ---- */

body .woocommerce .cross-sells,
body .cross-sells,
body .woocommerce section.up-sells,
body .woocommerce section.related,
body .woocommerce section.products {
  display: none !important;
}

/* ---- Cart Page ---- */

body .woocommerce-cart .woocommerce {
  max-width: 900px;
  margin: 0 auto;
}

body .woocommerce .cart-empty,
body .woocommerce .wc-empty-cart-message {
  text-align: center;
  font-family: 'Heebo', sans-serif;
  font-size: 18px;
  color: #333;
  padding: 40px 20px;
}

body .woocommerce .cart-empty::before {
  font-size: 60px;
  display: block;
  margin-bottom: 16px;
  opacity: 0.3;
}

body .woocommerce .return-to-shop {
  text-align: center;
  margin-top: 20px;
}

body .woocommerce .return-to-shop a.button {
  background-color: #d72222 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 14px 32px !important;
  border-radius: 0 !important;
}

/* ---- Checkout Page ---- */

body .woocommerce-checkout .woocommerce {
  max-width: 900px;
  margin: 0 auto;
}

body .woocommerce-checkout h3 {
  font-family: 'Teko', sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #111111 !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 16px !important;
}

body .woocommerce-checkout #payment {
  background: #f9f9f9 !important;
  border: 1px solid #e7ebf0 !important;
  border-radius: 0 !important;
  padding: 20px !important;
}

body .woocommerce-checkout #payment .place-order .button {
  background-color: #d72222 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  width: 100% !important;
  padding: 16px !important;
  border-radius: 0 !important;
}

/* ---- My Account Page ---- */

body .woocommerce-account .woocommerce {
  max-width: 1000px;
  margin: 0 auto;
}

/* Login form styling */
body .woocommerce-account .woocommerce-form-login,
body .woocommerce-account .woocommerce-form-register {
  border: 1px solid #e7ebf0 !important;
  border-radius: 0 !important;
  padding: 30px !important;
  background: #fafafa;
}

body .woocommerce-account .woocommerce-form-login h2,
body .woocommerce-account .woocommerce-form-register h2 {
  font-family: 'Teko', sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

/* Account navigation sidebar */
body .woocommerce-account .woocommerce-MyAccount-navigation {
  background: #f5f5f5;
  border: 1px solid #e7ebf0;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
}

body .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block !important;
  padding: 12px 20px !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #333 !important;
  border-bottom: 1px solid #e7ebf0 !important;
  transition: all 0.18s ease-out !important;
}

body .woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child a {
  border-bottom: none !important;
}

body .woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  color: #d72222 !important;
  background: #f0f0f0 !important;
}

body .woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
body .woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard.is-active a {
  color: #d72222 !important;
  background: #ffffff !important;
  font-weight: 700 !important;
}

/* Hide Downloads nav item (not applicable for used auto parts) */
body .woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--downloads {
  display: none !important;
}


/* =============================================
   ADDITIONAL FIXES — May 2026
   ============================================= */

/* ---- Constrain parts search form width ---- */

body .bootstrapiis .search-sec,
body .bootstrapiis .search-sec .container,
body .bootstrapiis .search-sec .container .row {
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body .iisTopSearch {
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* ---- Remove green hover/focus/active on Search button ---- */

body .bootstrapiis .btn-primary:focus,
body .bootstrapiis .btn-primary:active,
body .bootstrapiis .btn-primary:focus:active,
body .bootstrapiis .btn-primary.focus,
body .bootstrapiis .btn-primary:not(:disabled):not(.disabled):active,
body .bootstrapiis .btn-primary:not(:disabled):not(.disabled).active,
body .bootstrapiis .wrn-btn:focus,
body .bootstrapiis .wrn-btn:active,
body .bootstrapiis button.verticalSearch:focus,
body .bootstrapiis button.verticalSearch:active,
body .show > .btn-primary.dropdown-toggle {
  background-color: #d72222 !important;
  border-color: #d72222 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  outline: none !important;
}

body .bootstrapiis .btn-primary:focus-visible,
body .bootstrapiis button.verticalSearch:focus-visible {
  outline: 2px solid #d72222 !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}


/* ---- Fix WooCommerce info/message ::before icon (red box behind "No") ---- */

body .woocommerce-message::before,
body .woocommerce-info::before,
body .woocommerce-error::before {
  display: none !important;
}

body .woocommerce-message,
body .woocommerce-info {
  padding: 14px 20px !important;
  background: #f9f9f9 !important;
  border: 1px solid #e7ebf0 !important;
  border-left: 4px solid #d72222 !important;
  border-top: none !important;
  color: #333 !important;
  font-family: 'Heebo', sans-serif !important;
  font-size: 15px !important;
  margin-bottom: 20px !important;
}

body .woocommerce-error {
  padding: 14px 20px !important;
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  border-left: 4px solid #dc2626 !important;
  border-top: none !important;
  color: #991b1b !important;
  font-family: 'Heebo', sans-serif !important;
  font-size: 15px !important;
  margin-bottom: 20px !important;
}


/* ---- Addresses page: left align "Add address" links ---- */

body .woocommerce-account .addresses .title .edit {
  float: left !important;
}


/* ---- Notices wrapper spacing ---- */

body .woocommerce-notices-wrapper {
  margin-bottom: 16px !important;
}

body .woocommerce-notices-wrapper:empty {
  display: none !important;
}


/* ---- Cart page: Proceed to Checkout button ---- */

body .wc-proceed-to-checkout a.checkout-button,
body .woocommerce .wc-proceed-to-checkout a.checkout-button,
body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background-color: #d72222 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 16px 32px !important;
  border-radius: 0 !important;
  display: block !important;
  text-align: center !important;
  width: 100% !important;
}

body .wc-proceed-to-checkout a.checkout-button:hover {
  background-color: #b61b1b !important;
}


/* ---- Cart page: Rename "Add coupons" to "Discount Code" ---- */

body .woocommerce-cart .coupon-toggle-text,
body .woocommerce .showcoupon {
  font-family: 'Heebo', sans-serif !important;
  font-size: 14px !important;
  color: #d72222 !important;
}


/* ---- Cart table styling ---- */

body .woocommerce-cart table.shop_table {
  border: 1px solid #e7ebf0 !important;
  border-collapse: collapse !important;
}

body .woocommerce-cart table.shop_table th {
  font-family: 'Teko', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #111 !important;
  background: #f5f5f5 !important;
  padding: 12px 16px !important;
}

body .woocommerce-cart table.shop_table td {
  padding: 16px !important;
  vertical-align: middle !important;
  font-family: 'Heebo', sans-serif !important;
  font-size: 15px !important;
  border-bottom: 1px solid #e7ebf0 !important;
}

body .woocommerce-cart .cart_totals h2 {
  font-family: 'Teko', sans-serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

body .woocommerce-cart .cart_totals table {
  border: 1px solid #e7ebf0 !important;
}

body .woocommerce-cart .cart_totals th,
body .woocommerce-cart .cart_totals td {
  padding: 12px 16px !important;
  font-family: 'Heebo', sans-serif !important;
}


/* ---- Checkout page: bigger headings ---- */

body .woocommerce-checkout h3,
body .woocommerce-checkout .woocommerce-billing-fields h3,
body .woocommerce-checkout .woocommerce-shipping-fields h3,
body .woocommerce-checkout #order_review_heading {
  font-family: 'Teko', sans-serif !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #111 !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 16px !important;
}

/* Checkout: Place Order button */
body .woocommerce-checkout .place-order button,
body .woocommerce-checkout #place_order,
body .woocommerce #payment #place_order {
  background-color: #d72222 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 18px 32px !important;
  width: 100% !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
}

body .woocommerce-checkout #place_order:hover {
  background-color: #b61b1b !important;
}

/* Checkout: Return to Cart link */
body .woocommerce-checkout a.wc-backward,
body .woocommerce a.wc-backward {
  font-family: 'Heebo', sans-serif !important;
  font-size: 14px !important;
  color: #666 !important;
  text-decoration: underline !important;
}

body .woocommerce-checkout a.wc-backward:hover {
  color: #d72222 !important;
}


/* ---- Parts Search Results page ---- */

body .bootstrapiis table,
body .bootstrapiis .table {
  font-family: 'Heebo', sans-serif !important;
  border-collapse: collapse !important;
}

body .bootstrapiis table th,
body .bootstrapiis .table th {
  font-family: 'Teko', sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  background-color: #d72222 !important;
  color: #ffffff !important;
  padding: 10px 16px !important;
}

body .bootstrapiis table td,
body .bootstrapiis .table td {
  padding: 12px 16px !important;
  font-size: 14px !important;
  vertical-align: middle !important;
  border-bottom: 1px solid #e7ebf0 !important;
}

/* Part search results: "Add to Cart" button */
body .bootstrapiis .btn-success,
body .bootstrapiis .addcartbtn,
body .bootstrapiis button[class*="addcart"],
body .bootstrapiis a[class*="addcart"] {
  background-color: #d72222 !important;
  border-color: #d72222 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 8px 16px !important;
}

body .bootstrapiis .btn-success:hover,
body .bootstrapiis .addcartbtn:hover {
  background-color: #b61b1b !important;
  border-color: #b61b1b !important;
}

/* Part search results: "View Details" button */
body .bootstrapiis .btn-dark,
body .bootstrapiis .btn-secondary,
body .bootstrapiis a.btn-dark {
  background-color: #111 !important;
  border-color: #111 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 8px 16px !important;
}

/* Part search results: "Back" button */
body .bootstrapiis .btn-danger {
  background-color: #d72222 !important;
  border-color: #d72222 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
}

/* Part search results: breadcrumb */
body .bootstrapiis nav.breadcrumb {
  font-family: 'Heebo', sans-serif !important;
  font-size: 13px !important;
  color: #666 !important;
  background: transparent !important;
  padding: 8px 0 16px !important;
  margin: 0 !important;
}

body .bootstrapiis nav.breadcrumb a {
  color: #d72222 !important;
}

/* Part search results: prices */
body .bootstrapiis .text-danger,
body .bootstrapiis [class*="price"] {
  color: #d72222 !important;
  font-family: 'Teko', sans-serif !important;
  font-weight: 700 !important;
}

/* "Last Parts Searches" heading */
body .bootstrapiis h3:not(.iisTopSearch h3) {
  font-family: 'Teko', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #111 !important;
}

/* Filter fitment sidebar */
body .bootstrapiis .card,
body .bootstrapiis [class*="filter"] {
  font-family: 'Heebo', sans-serif !important;
  font-size: 14px !important;
}


/* ---- Order Received / Thank You page ---- */

body .woocommerce-order-received h2,
body .woocommerce-thankyou-order-received {
  font-family: 'Teko', sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #111 !important;
}

body .woocommerce-order-received .woocommerce-thankyou-order-received {
  font-family: 'Heebo', sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  color: #333 !important;
  padding: 20px !important;
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  border-left: 4px solid #22c55e !important;
  margin-bottom: 24px !important;
}


/* =============================================
   COMPREHENSIVE FIXES — May 17 2026
   ============================================= */

/* ---- 1. Kill the green iisHighlight glow ---- */
/* Source: iisbootstrap.css → .iisHighlight { box-shadow: 0 0 7px 4px #308c5c; } */

.iisHighlight,
body .iisHighlight,
body .bootstrapiis .iisHighlight,
body .firstVertical.iisHighlight,
body div.iisHighlight,
body [class*="iisHighlight"] {
  box-shadow: 0 0 7px 4px rgba(215, 34, 34, 0.35) !important;
}


/* ---- 2. Search button: kill ALL green/blue focus/active states ---- */
/* Source: iisbootstrap2.css → .bootstrapiis .btn-primary:focus etc. */

.bootstrapiis .btn-primary:hover,
.bootstrapiis .btn-primary:focus,
.bootstrapiis .btn-primary.focus,
.bootstrapiis .btn-primary:active,
.bootstrapiis .btn-primary:active:focus,
.bootstrapiis .btn-primary:not(:disabled):not(.disabled):active,
.bootstrapiis .btn-primary:not(:disabled):not(.disabled).active,
.bootstrapiis .btn-primary:not(:disabled):not(.disabled):active:focus,
.bootstrapiis .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .bootstrapiis .btn-primary.dropdown-toggle,
body .bootstrapiis .btn-primary:hover,
body .bootstrapiis .btn-primary:focus,
body .bootstrapiis .btn-primary:active,
body .bootstrapiis .wrn-btn:hover,
body .bootstrapiis .wrn-btn:focus,
body .bootstrapiis .wrn-btn:active,
body .bootstrapiis button.verticalSearch:hover,
body .bootstrapiis button.verticalSearch:focus,
body .bootstrapiis button.verticalSearch:active {
  background-color: #b61b1b !important;
  border-color: #b61b1b !important;
  color: #ffffff !important;
  box-shadow: none !important;
  outline: none !important;
}


/* ---- 3. Space above Search button ---- */

body .bootstrapiis .wrn-btn,
body .bootstrapiis button.verticalSearch,
body .iisForm button.btn-primary {
  margin-top: 8px !important;
}


/* ---- 4. Hide duplicate h1 page titles (already shown in page-hero) ---- */

body.woocommerce-account .site-main .container > article > h1,
body.woocommerce-cart .site-main .container > article > h1,
body.woocommerce-checkout .site-main .container > article > h1,
body.woocommerce-account .site-main h1:first-child,
body.woocommerce-cart .site-main h1:first-child,
body.woocommerce-checkout .site-main h1:first-child {
  display: none !important;
}

/* Also hide WooCommerce sub-page h1 (Orders, Downloads, Addresses etc.) 
   since the sidebar nav shows the active page */
body.woocommerce-orders .site-main h1,
body.woocommerce-view-order .site-main h1,
body.woocommerce-edit-address .site-main h1,
body.woocommerce-edit-account .site-main h1 {
  display: none !important;
}


/* ---- 5. WooCommerce BLOCK Cart — Proceed to Checkout ---- */
/* Block checkout uses completely different selectors than classic */

body .wp-block-woocommerce-proceed-to-checkout-block a,
body .wc-block-cart__submit-button,
body .wc-block-cart__submit-button a,
body .wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button,
body .wc-block-components-checkout-place-order-button,
body a.checkout-button,
body .wc-proceed-to-checkout .checkout-button,
body a.wc-block-cart__submit-button {
  background-color: #d72222 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 16px 32px !important;
  border: none !important;
  border-radius: 0 !important;
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

body .wp-block-woocommerce-proceed-to-checkout-block a:hover,
body .wc-block-cart__submit-button:hover,
body .wc-block-components-checkout-place-order-button:hover,
body a.checkout-button:hover {
  background-color: #b61b1b !important;
}


/* ---- 6. WooCommerce BLOCK Checkout — Place Order ---- */

body .wc-block-components-checkout-place-order-button,
body .wc-block-checkout__actions button,
body .wc-block-components-button.wc-block-components-checkout-place-order-button,
body button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.wc-block-components-checkout-place-order-button {
  background-color: #d72222 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 18px 32px !important;
  border: none !important;
  border-radius: 0 !important;
  width: 100% !important;
  cursor: pointer !important;
  min-height: 60px !important;
}

body .wc-block-components-checkout-place-order-button:hover,
body .wc-block-checkout__actions button:hover {
  background-color: #b61b1b !important;
}

/* Return to Cart */
body .wc-block-checkout__actions a.wc-block-components-checkout-return-to-cart-button,
body a.wc-block-components-checkout-return-to-cart-button {
  font-family: 'Heebo', sans-serif !important;
  font-size: 14px !important;
  color: #666 !important;
  text-decoration: underline !important;
}


/* ---- 7. WooCommerce BLOCK coupon — rename via visibility ---- */
/* Can't change text with CSS alone, but can style the toggle */

body .wc-block-components-totals-coupon__button,
body .wc-block-components-totals-coupon button {
  background-color: #d72222 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 8px 16px !important;
}

body .wc-block-components-totals-coupon-code__input input,
body .wc-block-components-totals-coupon input[type="text"] {
  border: 1px solid #e7ebf0 !important;
  border-radius: 0 !important;
  font-family: 'Heebo', sans-serif !important;
  padding: 10px 14px !important;
}


/* ---- 8. WooCommerce Block general button override ---- */
/* Catches any WC block button we might have missed */

body .wc-block-components-button:not(.is-link),
body .wp-element-button {
  background-color: #d72222 !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  font-family: 'Teko', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border: none !important;
}

body .wc-block-components-button:not(.is-link):hover,
body .wp-element-button:hover {
  background-color: #b61b1b !important;
}

/* But don't style link-style buttons as red blocks */
body .wc-block-components-button.is-link {
  background: none !important;
  color: #d72222 !important;
  border: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-family: 'Heebo', sans-serif !important;
}


/* ---- 9. Checkout heading sizes ---- */

body .wc-block-checkout h2,
body .wc-block-components-title,
body .wc-block-checkout__billing-fields h2,
body .wc-block-checkout__shipping-fields h2 {
  font-family: 'Teko', sans-serif !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #111 !important;
  letter-spacing: 0.5px !important;
}


/* ---- 10. Order Received — reduce white space ---- */

body .woocommerce-order-received .site-main {
  min-height: auto !important;
  padding-bottom: 60px !important;
}

body .woocommerce-order-received .entry-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}


/* =============================================
   UI/UX POLISH — May 18 2026
   ============================================= */

/* ---- Hide "CART" / "CHECKOUT" / "MY ACCOUNT" duplicate h1 titles ---- */
/* Classic WooCommerce templates use .entry-content > .woocommerce structure */

body .site-main article > h1,
body .site-main .container > article > h1,
body.woocommerce-page .site-main article > h1 {
  display: none !important;
}


/* ---- Parts Search Results: hide floating checkmarks ---- */

body .bootstrapiis .iis-checkmarks,
body .bootstrapiis > p > span[style*="color"],
body p:has(> .bootstrapiis) + .bootstrapiis > div:first-child {
  display: none !important;
}

/* Target loose checkmark characters after "Last Parts Searches" heading */
body .bootstrapiis h3 + br,
body .bootstrapiis h3 ~ p:empty {
  display: none !important;
}


/* ---- Parts Search Results: LEFT/RIGHT badges — neutral dark, not green ---- */

body .bootstrapiis .badge-success,
body .bootstrapiis .badge.badge-success,
body .bootstrapiis span.badge.badge-success {
  background-color: #111111 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 4px 14px !important;
  border-radius: 0 !important;
}


/* ---- Parts Search Results: BACK + SEARCH BY PART tabs ---- */

body .bootstrapiis .btn-danger {
  background-color: #111 !important;
  border-color: #111 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 10px 20px !important;
}

body .bootstrapiis .btn-danger:hover {
  background-color: #d72222 !important;
  border-color: #d72222 !important;
}

/* "Search By Part" tab button */
body .bootstrapiis .btn-warning,
body .bootstrapiis .nav-link.active,
body .bootstrapiis .nav-tabs .nav-link.active {
  background-color: #d72222 !important;
  border-color: #d72222 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 10px 20px !important;
}


/* ---- Parts Search Results: part details typography ---- */

body .bootstrapiis td {
  font-family: 'Heebo', sans-serif !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
  color: #333 !important;
}

body .bootstrapiis td strong,
body .bootstrapiis td b {
  color: #111 !important;
  font-weight: 600 !important;
}

/* Part Type link */
body .bootstrapiis td a.text-primary,
body .bootstrapiis td a[href*="parts"] {
  color: #d72222 !important;
  font-weight: 600 !important;
}

/* Price styling */
body .bootstrapiis .text-danger,
body .bootstrapiis h4.text-danger,
body .bootstrapiis .price-display {
  color: #d72222 !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  margin-bottom: 6px !important;
}


/* ---- Parts Search Results: Fitment dropdown ---- */

body .bootstrapiis select.form-control:not(.verticalYear):not(.verticalMake):not(.verticalModel):not(.verticalPart) {
  min-height: 42px !important;
  font-size: 14px !important;
  padding: 8px 12px !important;
}


/* ---- Parts Search Results: Add to Cart button ---- */

body .bootstrapiis .btn-success,
body .bootstrapiis .addcartbtn,
body .bootstrapiis button[class*="addcart"],
body .bootstrapiis a[class*="addcart"],
body .bootstrapiis .btn-success.addcartbtn {
  background-color: #d72222 !important;
  border-color: #d72222 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 10px 20px !important;
  min-width: 150px !important;
}

body .bootstrapiis .btn-success:hover,
body .bootstrapiis .addcartbtn:hover {
  background-color: #b61b1b !important;
  border-color: #b61b1b !important;
}


/* ---- Parts Search Results: View Details button ---- */

body .bootstrapiis .btn-dark,
body .bootstrapiis a.btn-dark,
body .bootstrapiis .btn-secondary {
  background-color: #111 !important;
  border-color: #111 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 10px 24px !important;
  display: block !important;
  text-align: center !important;
  max-width: 220px !important;
}

body .bootstrapiis .btn-dark:hover,
body .bootstrapiis a.btn-dark:hover {
  background-color: #333 !important;
}


/* ---- Parts Search Results: part images ---- */

body .bootstrapiis td img,
body .bootstrapiis .part-image img {
  border-radius: 0 !important;
  border: 1px solid #e7ebf0 !important;
}


/* ---- Parts Search Results: table row spacing ---- */

body .bootstrapiis table.table > tbody > tr {
  border-bottom: 1px solid #e7ebf0 !important;
}

body .bootstrapiis table.table > tbody > tr:last-child {
  border-bottom: none !important;
}

body .bootstrapiis table.table > tbody > tr > td {
  padding: 20px 12px !important;
  vertical-align: top !important;
}


/* ---- Parts Search Results: breadcrumb ---- */

body .bootstrapiis nav.breadcrumb,
body .bootstrapiis .breadcrumb {
  font-family: 'Heebo', sans-serif !important;
  font-size: 13px !important;
  color: #888 !important;
  background: transparent !important;
  padding: 6px 0 12px !important;
  margin: 0 !important;
}

body .bootstrapiis .breadcrumb a {
  color: #d72222 !important;
}

body .bootstrapiis .breadcrumb a:hover {
  color: #b61b1b !important;
}


/* ---- Parts Search Results: Filter Fitment sidebar ---- */

body .bootstrapiis .card,
body .bootstrapiis [class*="filter"],
body .bootstrapiis .filter-fitment {
  font-family: 'Heebo', sans-serif !important;
  font-size: 14px !important;
  border: 1px solid #e7ebf0 !important;
  border-radius: 0 !important;
  background: #fafafa !important;
  padding: 12px !important;
}


/* ---- Cart: coupon input wider ---- */

body .woocommerce-cart .coupon .input-text {
  min-width: 200px !important;
  padding: 10px 14px !important;
  font-family: 'Heebo', sans-serif !important;
  font-size: 14px !important;
  border: 1px solid #e7ebf0 !important;
  border-radius: 0 !important;
}


/* ---- Cart: Update Cart button style ---- */

body .woocommerce-cart button[name="update_cart"],
body .woocommerce-cart input[name="update_cart"] {
  font-family: 'Teko', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #d72222 !important;
  background: transparent !important;
  border: 2px solid #d72222 !important;
  border-radius: 0 !important;
  padding: 10px 20px !important;
}

body .woocommerce-cart button[name="update_cart"]:hover {
  background: #d72222 !important;
  color: #ffffff !important;
}


/* ---- Cart: remove (×) button ---- */

body .woocommerce-cart .product-remove a.remove {
  color: #999 !important;
  font-size: 20px !important;
}

body .woocommerce-cart .product-remove a.remove:hover {
  color: #d72222 !important;
  background: transparent !important;
}


/* ---- Checkout: billing heading size adjustment ---- */

body .woocommerce-checkout h3#ship-to-different-address,
body .woocommerce-checkout .woocommerce-billing-fields h3,
body .woocommerce-checkout .woocommerce-additional-fields h3 {
  font-size: 26px !important;
}


/* ---- "Last Parts Searches" heading style ---- */

body .bootstrapiis h3 {
  font-family: 'Teko', sans-serif !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #111 !important;
  margin-bottom: 12px !important;
  line-height: 1.1 !important;
}


/* ---- Nav tabs styling (Back / Search By Part) ---- */

body .bootstrapiis .nav-tabs {
  border-bottom: none !important;
  gap: 4px !important;
  margin-bottom: 16px !important;
}

body .bootstrapiis .nav-tabs .nav-link {
  border: none !important;
  border-radius: 0 !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 10px 20px !important;
}


/* =============================================
   FINAL POLISH — May 19 2026
   ============================================= */

/* ---- Parts search form spacing ---- */

body .bootstrapiis .iisForm,
body .bootstrapiis .iisForm.verticalForm {
  padding-top: 30px !important;
}

body .bootstrapiis .wrn-btn,
body .bootstrapiis button.verticalSearch,
body .iisForm button.btn-primary {
  margin-top: 24px !important;
}


/* ---- Hide Downloads from My Account nav (broader selector) ---- */

body .woocommerce-MyAccount-navigation li:nth-child(3),
body .woocommerce-MyAccount-navigation li a[href*="downloads"] {
  display: none !important;
}

/* Also try the WordPress-generated class */
body .woocommerce-MyAccount-navigation-link--downloads,
body li.woocommerce-MyAccount-navigation-link--downloads {
  display: none !important;
}


/* ---- Hide checkmarks on search results ---- */

body .bootstrapiis .iis-check,
body .bootstrapiis .fa-check,
body .bootstrapiis .glyphicon-ok,
body .bootstrapiis p:has(> .fa-check),
body .bootstrapiis > div > .fa,
body .site-main .bootstrapiis > br {
  display: none !important;
}

/* Target the loose checkmark characters (✓ ✓ ✓) */
body .site-main p:empty,
body .site-main br + br {
  display: none !important;
}


/* ---- Empty red tab next to BACK button ---- */

body .bootstrapiis .nav-tabs .nav-item:empty,
body .bootstrapiis .nav-tabs .nav-link:empty,
body .bootstrapiis .nav-tabs a:empty,
body .bootstrapiis .nav-tabs li a[href=""]:not(:has(*)),
body .bootstrapiis .nav-tabs .nav-link:not(:has(*)):not([class*="back"]) {
  display: none !important;
}

/* Force tab buttons to have consistent styling */
body .bootstrapiis .nav-tabs .nav-item .nav-link,
body .bootstrapiis .nav-tabs a.nav-link {
  min-width: 80px;
}

/* If the empty tab is a sibling of the BACK button */
body .bootstrapiis .btn-danger + .btn:empty,
body .bootstrapiis .btn-danger + a:empty,
body .bootstrapiis .btn-danger + button:empty {
  display: none !important;
}


/* ---- "LAST PARTS SEARCHES:" area cleanup ---- */

body .bootstrapiis h3:first-of-type {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* ---- No Results page styling ---- */

body .bootstrapiis h3:has(+ a),
body .bootstrapiis h3[style*="color"] {
  font-family: 'Teko', sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #111 !important;
  text-align: center !important;
  max-width: 700px !important;
  margin: 40px auto 16px !important;
}

/* No results action links */
body .bootstrapiis a[href*="Search"],
body .bootstrapiis a[href*="search"],
body .bootstrapiis a[href*="request"],
body .bootstrapiis a[href*="vehicle"] {
  color: #d72222 !important;
  font-family: 'Heebo', sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

body .bootstrapiis a[href*="Search"]:hover,
body .bootstrapiis a[href*="search"]:hover,
body .bootstrapiis a[href*="request"]:hover {
  color: #b61b1b !important;
}


/* ---- Search results: constrain width ---- */

body .bootstrapiis #iiscont,
body .bootstrapiis .metro {
  max-width: 1170px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}


/* ---- View Details button text color fix ---- */

body .bootstrapiis .btn-dark,
body .bootstrapiis a.btn-dark,
body .bootstrapiis .btn-dark:visited {
  color: #ffffff !important;
}


/* =============================================
   SEARCH RESULTS + PRODUCT PAGE — FINAL CLEANUP
   ============================================= */

/* ---- Hide "Last Parts Searches" section entirely ---- */
body #parts-search-history,
body .bootstrapiis #parts-search-history {
  display: none !important;
}

/* ---- Hide breadcrumb ---- */
body .bootstrapiis nav.breadcrumb,
body .bootstrapiis ol.breadcrumb,
body .bootstrapiis .mobile-breadcrumb,
body .bootstrapiis nav[aria-label="breadcrumb"] {
  display: none !important;
}

/* ---- Hide empty "Search by Part" button/tab ---- */
body .bootstrapiis #breadcrumbs-one li:has(.iisparts),
body .bootstrapiis #breadcrumbs-one li:has(.btn-primary),
body .bootstrapiis #breadcrumbs-one li:nth-child(2),
body .bootstrapiis a.iisparts {
  display: none !important;
}

/* ---- BACK button: white text, clean styling ---- */
body .bootstrapiis #breadcrumbs-one {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 20px !important;
  display: flex !important;
}

body .bootstrapiis #breadcrumbs-one a.btn-secondary,
body .bootstrapiis a.btn.btn-secondary.text-uppercase,
body .bootstrapiis a.btn-lg.btn-secondary {
  background-color: #111 !important;
  border-color: #111 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 10px 24px !important;
}

body .bootstrapiis #breadcrumbs-one a.btn-secondary:hover {
  background-color: #d72222 !important;
  border-color: #d72222 !important;
}

/* ---- Hide empty spacer divs ---- */
body .bootstrapiis .cleared:empty,
body .bootstrapiis div[style="clear:both;"]:empty {
  display: none !important;
}

/* ---- Hide empty h1 on search results ---- */
body .bootstrapiis h1:empty {
  display: none !important;
}

/* ---- Product Detail Page ---- */

body .bootstrapiis .badge-success.stock,
body .woocommerce .stock.in-stock {
  background-color: #22c55e !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 4px 12px !important;
  border-radius: 0 !important;
}

body .bootstrapiis h1:not(:empty),
body .bootstrapiis h2.product_title {
  font-family: 'Teko', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #111 !important;
  line-height: 1.1 !important;
}

body .bootstrapiis .compatibility,
body .bootstrapiis p.product-compatibility {
  font-family: 'Heebo', sans-serif !important;
  font-size: 14px !important;
  color: #666 !important;
  margin-bottom: 16px !important;
}

body .bootstrapiis table.table-striped th,
body .bootstrapiis table.shop_attributes th {
  background-color: #d72222 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 8px 16px !important;
}

body .bootstrapiis table.table-striped td,
body .bootstrapiis table.shop_attributes td {
  font-family: 'Heebo', sans-serif !important;
  font-size: 14px !important;
  padding: 8px 16px !important;
  border-bottom: 1px solid #e7ebf0 !important;
}

body .bootstrapiis .more-parts,
body .bootstrapiis a[href*="vehicle"] {
  font-family: 'Heebo', sans-serif !important;
  font-size: 13px !important;
  color: #666 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

body .bootstrapiis .btn-dark.all-parts,
body .bootstrapiis a.btn-dark:not(.btn-lg) {
  background-color: #111 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border-radius: 0 !important;
  padding: 8px 20px !important;
}

body .bootstrapiis h2:has(+ .accordion),
body .woocommerce-product-details__short-description h2 {
  font-family: 'Teko', sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #111 !important;
}

body .bootstrapiis .accordion-header,
body .bootstrapiis .accordion-button {
  font-family: 'Teko', sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #111 !important;
}


/* =============================================
   FINAL ROUND FIXES — May 19 2026 afternoon
   ============================================= */

/* ---- BACK button: restore visibility ---- */
/* Previous CSS hid nav.breadcrumb which contained the BACK button.
   Only hide the actual breadcrumb path, keep the button nav. */

body .bootstrapiis nav.breadcrumb,
body .bootstrapiis ol.breadcrumb,
body .bootstrapiis .mobile-breadcrumb {
  display: none !important;
}

/* But KEEP the breadcrumbs-one list (contains BACK button) */
body .bootstrapiis ul#breadcrumbs-one {
  display: flex !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 20px !important;
}

/* ---- View Cart button: white text ---- */
body .bootstrapiis .iis_view_cart_buttons,
body .bootstrapiis a.iis_view_cart_buttons,
body .bootstrapiis a.btn-success.iis_view_cart_buttons {
  color: #ffffff !important;
}

/* ---- LEFT/RIGHT badges: black background ---- */
body .bootstrapiis .iislrlabel,
body .bootstrapiis span.iislrlabel,
body .bootstrapiis .badge-success {
  background-color: #111111 !important;
  color: #ffffff !important;
}

/* ---- Prices: left align on search results ---- */
body .bootstrapiis h2.iisPrice,
body .bootstrapiis .iisPrice {
  text-align: left !important;
}

/* ---- Cart: hide "Successfully added" notice on cart page ---- */
body.woocommerce-cart .woocommerce-message {
  display: none !important;
}

/* ---- Cart: prices and subtotals BLACK not red ---- */
body .woocommerce-cart .product-price .amount,
body .woocommerce-cart .product-subtotal .amount,
body .woocommerce-cart .woocommerce-Price-amount,
body .woocommerce-cart td.product-price,
body .woocommerce-cart td.product-subtotal,
body .woocommerce-cart .cart_totals .amount {
  color: #111111 !important;
}

/* ---- Cart: product name link BLACK ---- */
body .woocommerce-cart td.product-name a {
  color: #111111 !important;
}

body .woocommerce-cart td.product-name a:hover {
  color: #d72222 !important;
}

/* ---- Cart: Update Cart button white text ---- */
body .woocommerce-cart button[name="update_cart"],
body .woocommerce-cart input[name="update_cart"] {
  color: #ffffff !important;
  background: #d72222 !important;
  border-color: #d72222 !important;
}

body .woocommerce-cart button[name="update_cart"]:disabled {
  opacity: 0.5 !important;
  color: #ffffff !important;
}

/* ---- Cart: coupon input wider ---- */
body .woocommerce-cart .coupon .input-text,
body .woocommerce-cart #coupon_code {
  min-width: 220px !important;
  width: 220px !important;
  padding: 10px 14px !important;
}

/* ---- Checkout: Place Order button right-aligned, normal size ---- */
body .woocommerce-checkout .place-order {
  text-align: right !important;
}

body .woocommerce-checkout #place_order {
  width: auto !important;
  display: inline-block !important;
  padding: 16px 40px !important;
  font-size: 20px !important;
}

/* ---- Checkout: Return to Cart on one line ---- */
body .woocommerce-checkout .woocommerce-checkout-review-order .place-order {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
}

body .woocommerce a.wc-backward {
  white-space: nowrap !important;
  font-size: 14px !important;
}

/* ---- Checkout Gutenberg: Place Order right-aligned ---- */
body .wc-block-checkout__actions {
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 20px !important;
}

body .wc-block-components-checkout-place-order-button {
  width: auto !important;
  display: inline-block !important;
  padding: 16px 40px !important;
  font-size: 20px !important;
}

body .wc-block-components-checkout-return-to-cart-button {
  white-space: nowrap !important;
}


/* =============================================
   CRITICAL FIXES — May 19 2026 late afternoon
   ============================================= */

/* ---- BACK button: FIX visibility ---- */
/* Problem: nav.breadcrumb parent was hidden, killing child ul#breadcrumbs-one.
   Fix: Don't hide the outer nav.breadcrumb. Only hide the inner breadcrumb path. */

body .bootstrapiis nav.breadcrumb {
  display: block !important;
}

body .bootstrapiis nav.breadcrumb > nav,
body .bootstrapiis nav.breadcrumb > nav[aria-label="breadcrumb"],
body .bootstrapiis ol.breadcrumb.mobile-breadcrumb,
body .bootstrapiis nav.breadcrumb ol.breadcrumb {
  display: none !important;
}

/* ---- No Results: hide Part Request Form link ---- */
body .bootstrapiis a.iisappfilcbxlabelreq,
body .bootstrapiis a.iissearchaginnf[class*="iisappfilcbx"] {
  display: none !important;
}

/* ---- No Results: "Change Vehicle" link as red text ---- */
body .bootstrapiis a.iiyears.iissearchaginnf,
body .bootstrapiis a.iissearchaginnf {
  color: #d72222 !important;
  font-family: 'Heebo', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
}

/* ---- No Results: hide pipe separators ---- */
body .bootstrapiis .cstm-error-page-unit .col-md-12 {
  font-size: 0 !important;
}

body .bootstrapiis .cstm-error-page-unit .col-md-12 h3,
body .bootstrapiis .cstm-error-page-unit .col-md-12 a {
  font-size: 15px !important;
}

body .bootstrapiis .cstm-error-page-unit .col-md-12 h3 {
  font-size: 26px !important;
}

/* ---- Cart: FORCE prices and links BLACK ---- */
/* Using maximum specificity to override theme CSS */

body.woocommerce-page .woocommerce table.cart td.product-price .amount,
body.woocommerce-page .woocommerce table.cart td.product-subtotal .amount,
body.woocommerce-page .woocommerce .cart_totals table td .amount,
body .woocommerce table.cart .product-price .woocommerce-Price-amount,
body .woocommerce table.cart .product-subtotal .woocommerce-Price-amount,
body .woocommerce .cart_totals .woocommerce-Price-amount,
table.shop_table td.product-price .amount,
table.shop_table td.product-subtotal .amount,
.cart_totals table td .amount {
  color: #111111 !important;
}

body.woocommerce-page .woocommerce table.cart td.product-name a,
body .woocommerce table.cart td.product-name a,
table.shop_table td.product-name a {
  color: #111111 !important;
}

table.shop_table td.product-name a:hover {
  color: #d72222 !important;
}

/* ---- Cart: Update Cart white text FORCE ---- */
body .woocommerce table.cart td.actions button[name="update_cart"],
body .woocommerce button.button[name="update_cart"],
body button[name="update_cart"] {
  color: #ffffff !important;
  background-color: #d72222 !important;
  border-color: #d72222 !important;
  opacity: 1 !important;
}

body button[name="update_cart"]:disabled {
  opacity: 0.5 !important;
  color: #ffffff !important;
}

/* ---- Cart: hide "Successfully added to cart" on cart page ---- */
body .woocommerce-cart .woocommerce > .woocommerce-message,
body .woocommerce-message:has(.button.wc-forward) {
  display: none !important;
}

/* ---- Checkout: space between Return to Cart and Place Order ---- */
body .woocommerce #payment .place-order {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 24px !important;
  flex-wrap: nowrap !important;
}

body .woocommerce #payment .place-order a {
  white-space: nowrap !important;
  order: 1 !important;
}

body .woocommerce #payment .place-order #place_order {
  order: 2 !important;
  width: auto !important;
}

/* ---- Order Received: show the title ---- */
body .woocommerce-order-received .site-main article > h1 {
  display: block !important;
}

/* Reduce white space on order received */
body .woocommerce-order-received .site-main {
  min-height: auto !important;
}


/* =============================================
   PRODUCT PAGE + CART FINAL TWEAKS — May 19
   ============================================= */

/* ---- Hide BACK button ---- */
body .bootstrapiis .iisstrap.single ul#breadcrumbs-one,
body .single-product ul#breadcrumbs-one,
body .bootstrapiis ul#breadcrumbs-one {
  display: none !important;
}

/* ---- Hide Product Details & Warranty section ---- */
body .product-details-container,
body .bootstrapiis .product-details-container,
body div.product-details-container {
  display: none !important;
}

/* ---- Hide More Parts From This Vehicle + All Vehicle Parts ---- */
body .bootstrapiis .product-form__title,
body .bootstrapiis div.product-form__title,
body .bootstrapiis div.padtopten,
body .bootstrapiis .more-parts-section {
  display: none !important;
}

/* ---- Product page: table headers BLACK not red ---- */
body .bootstrapiis .iis-product-table th,
body .bootstrapiis table.iis-product-table th,
body .bootstrapiis .product_meta th,
body .bootstrapiis .product_meta th.iis-iisextcolor-label {
  background-color: #111111 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 10px 16px !important;
}

/* ---- Product page: table body text 16px ---- */
body .bootstrapiis .iis-product-table td,
body .bootstrapiis table.iis-product-table td,
body .bootstrapiis .product_meta td {
  font-family: 'Heebo', sans-serif !important;
  font-size: 16px !important;
  padding: 10px 16px !important;
  border-bottom: 1px solid #e7ebf0 !important;
  color: #333 !important;
}

/* ---- Product page: price 30px ---- */
body .bootstrapiis .product__prices .price,
body .bootstrapiis .product__prices p.price,
body .bootstrapiis .product__price .price,
body .bootstrapiis p.price,
body .bootstrapiis .price-rating-wrapper .price {
  font-size: 30px !important;
  font-family: 'Teko', sans-serif !important;
  font-weight: 700 !important;
  color: #d72222 !important;
  margin-bottom: 4px !important;
}

/* ---- Hide In Stock badge ---- */
body .bootstrapiis .status-badge,
body .bootstrapiis div.status-badge,
body .bootstrapiis .product__stock,
body .bootstrapiis .stock.in-stock {
  display: none !important;
}

/* ---- Reduce spacing between price and product content ---- */
body .bootstrapiis .product__prices-stock {
  margin-bottom: 8px !important;
}

body .bootstrapiis .product__prices {
  margin-bottom: 4px !important;
}

/* ---- Add to Cart button text 20px on product page ---- */
body .bootstrapiis button.iisAddToCart,
body .bootstrapiis .product-form button.btn-success {
  font-size: 20px !important;
  padding: 14px 24px !important;
}

/* ---- Cart: widen discount code input MORE ---- */
body .woocommerce-cart .coupon .input-text,
body .woocommerce-cart #coupon_code,
body .woocommerce table.cart td.actions .coupon .input-text {
  min-width: 280px !important;
  width: 280px !important;
}

/* ---- Order Received: FORCE show title ---- */
body.woocommerce-order-received .site-main article > h1,
body.woocommerce-order-received .site-main h1,
body .woocommerce-order-received article > h1 {
  display: block !important;
  visibility: visible !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 42px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #111 !important;
}

/* ---- Product page: FENDER title styling ---- */
body .bootstrapiis h2.product_title.entry-title {
  font-family: 'Teko', sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #111 !important;
  margin-bottom: 8px !important;
}

/* ---- Product page: description text ---- */
body .bootstrapiis .woocommerce-product-details__short-description {
  font-family: 'Heebo', sans-serif !important;
  font-size: 14px !important;
  color: #666 !important;
  margin-bottom: 16px !important;
}


/* ==============================================
   COMPREHENSIVE FIX BLOCK — FINAL AUTHORITY
   All 26 issues addressed. This block is last
   in the file so cascade order resolves conflicts.
   ============================================== */


/* ---- FIX #1: BACK button visible on SEARCH RESULTS, hidden on PRODUCT pages only ---- */
/* Undo the global hide from line 2039. Show on search results, hide only on single product. */

body .bootstrapiis ul#breadcrumbs-one {
  display: flex !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 20px !important;
}

body.single-product .bootstrapiis ul#breadcrumbs-one,
body .bootstrapiis .iisstrap.single ul#breadcrumbs-one {
  display: none !important;
}

/* Keep the breadcrumb path text hidden, only show the button bar */
body .bootstrapiis nav.breadcrumb {
  display: block !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body .bootstrapiis nav.breadcrumb > ol,
body .bootstrapiis nav.breadcrumb > nav,
body .bootstrapiis ol.breadcrumb.mobile-breadcrumb,
body .bootstrapiis nav.breadcrumb ol.breadcrumb,
body .bootstrapiis .mobile-breadcrumb {
  display: none !important;
}


/* ---- FIX #2 & #7: ALL prices BLACK (#111) not red ---- */
/* Search results prices */
body .bootstrapiis h2.iisPrice,
body .bootstrapiis .iisPrice,
body .bootstrapiis .text-danger,
body .bootstrapiis h4.text-danger,
body .bootstrapiis .price-display,
body .bootstrapiis span.text-danger {
  color: #111111 !important;
}

/* Product page prices */
body .bootstrapiis .product__prices .price,
body .bootstrapiis .product__prices p.price,
body .bootstrapiis .product__price .price,
body .bootstrapiis p.price,
body .bootstrapiis .price-rating-wrapper .price,
body .bootstrapiis .product__prices .woocommerce-Price-amount,
body .bootstrapiis span.woocommerce-Price-amount {
  color: #111111 !important;
}

/* WooCommerce global price override (fights style.css line 579) */
body.woocommerce-page .woocommerce .amount,
body .woocommerce .amount,
body .woocommerce .price {
  color: #111111 !important;
}


/* ---- FIX #3: "Added!" view cart button — full brand override ---- */
/* JS (iisincludespro3.js line 2314) dynamically appends this button with
   class="btn btn-lg btn-block btn-success iis_view_cart_buttons"
   which gets green bg from Bootstrap .btn-success (#28a745).
   Override the FULL button styling, not just text color. */

body .bootstrapiis .iis_view_cart_buttons,
body .bootstrapiis a.iis_view_cart_buttons,
body .bootstrapiis a.btn-success.iis_view_cart_buttons,
body .bootstrapiis a.btn.btn-success.iis_view_cart_buttons,
body .bootstrapiis a.btn.btn-lg.btn-block.btn-success.iis_view_cart_buttons {
  background-color: #d72222 !important;
  border-color: #d72222 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border-radius: 0 !important;
}

body .bootstrapiis a.btn-success.iis_view_cart_buttons:hover,
body .bootstrapiis a.btn.btn-success.iis_view_cart_buttons:hover {
  background-color: #b61b1b !important;
  border-color: #b61b1b !important;
  color: #ffffff !important;
}

body .bootstrapiis a.btn-success.iis_view_cart_buttons:focus,
body .bootstrapiis a.btn.btn-success.iis_view_cart_buttons:focus {
  box-shadow: 0 0 0 0.2rem rgba(215, 34, 34, 0.25) !important;
}

/* WooCommerce native "added_to_cart" link (if present) */
body .bootstrapiis .added_to_cart,
body .bootstrapiis a.added_to_cart {
  color: #ffffff !important;
  text-decoration: underline !important;
}


/* ---- FIX #4: Filter Fitment checkboxes — override green to red/black ---- */
/* Native checkbox accent color */
body .bootstrapiis input[type="checkbox"],
body .bootstrapiis input.iisappfilcbx {
  accent-color: #d72222 !important;
}

/* Override the inline background:yellow set by JS (lines 828, 863, 905)
   on .iisappfilcbxlabel when inquiry/offer buttons are clicked.
   CSS !important beats inline styles. Use brand-appropriate highlight. */
body .bootstrapiis .iisappfilcbxlabel,
body .bootstrapiis label.iisappfilcbxlabel {
  background: transparent !important;
}

body .bootstrapiis input.iisappfilcbx:checked + label.iisappfilcbxlabel,
body .bootstrapiis .iisappfil.selected .iisappfilcbxlabel {
  background: rgba(215, 34, 34, 0.08) !important;
}

/* Bootstrap custom-control checkboxes */
body .bootstrapiis .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #d72222 !important;
  border-color: #d72222 !important;
}

body .bootstrapiis .custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem rgba(215, 34, 34, 0.25) !important;
}

body .bootstrapiis .custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
  border-color: #d72222 !important;
}

body .bootstrapiis .custom-control-input:not(:disabled):active ~ .custom-control-label::before {
  background-color: rgba(215, 34, 34, 0.3) !important;
  border-color: rgba(215, 34, 34, 0.3) !important;
}

/* Override any green validation states on checkboxes */
body .bootstrapiis .was-validated .custom-control-input:valid ~ .custom-control-label {
  color: #111 !important;
}

body .bootstrapiis .was-validated .custom-control-input:valid ~ .custom-control-label::before,
body .bootstrapiis .custom-control-input.is-valid ~ .custom-control-label::before {
  border-color: #d72222 !important;
}

body .bootstrapiis .was-validated .custom-control-input:valid:checked ~ .custom-control-label::before,
body .bootstrapiis .custom-control-input.is-valid:checked ~ .custom-control-label::before {
  background-color: #d72222 !important;
  border-color: #d72222 !important;
}

/* Kill ALL green btn-success anywhere in plugin output */
body .bootstrapiis .btn-success {
  background-color: #d72222 !important;
  border-color: #d72222 !important;
  color: #ffffff !important;
}

body .bootstrapiis .btn-success:hover {
  background-color: #b61b1b !important;
  border-color: #b61b1b !important;
}

body .bootstrapiis .btn-success:focus,
body .bootstrapiis .btn-success.focus {
  box-shadow: 0 0 0 0.2rem rgba(215, 34, 34, 0.25) !important;
}

body .bootstrapiis .btn-success:not(:disabled):not(.disabled):active,
body .bootstrapiis .btn-success:not(:disabled):not(.disabled).active {
  background-color: #b61b1b !important;
  border-color: #b61b1b !important;
}

body .bootstrapiis .badge-success {
  background-color: #111111 !important;
  color: #ffffff !important;
}

/* Kill any green on filter sidebar elements */
body .bootstrapiis .filter-fitment .btn-success,
body .bootstrapiis .filter-fitment .badge-success {
  background-color: #d72222 !important;
  border-color: #d72222 !important;
  color: #ffffff !important;
}


/* ---- FIX #5: Part detail text — tighter line-height on search results cards ---- */
body .bootstrapiis .iis-part-detail,
body .bootstrapiis .iis-part-info,
body .bootstrapiis .iis-search-result p,
body .bootstrapiis .iis-search-result .part-detail,
body .bootstrapiis .card-body p,
body .bootstrapiis .iis-compatibility {
  line-height: 1.4 !important;
}


/* ---- FIX #6: Empty red "Search by Part" tab — reinforce hide ---- */
body .bootstrapiis #breadcrumbs-one li:has(.iisparts),
body .bootstrapiis #breadcrumbs-one li:has(.btn-primary),
body .bootstrapiis #breadcrumbs-one li:nth-child(2),
body .bootstrapiis a.iisparts,
body .bootstrapiis .iisparts {
  display: none !important;
}


/* ---- FIX #8: Product compatibility text — constrain width ---- */
body .bootstrapiis .compatibility,
body .bootstrapiis p.product-compatibility,
body .bootstrapiis .product-compatibility-list,
body .bootstrapiis .iis-compatibility-text {
  max-width: 700px !important;
  line-height: 1.5 !important;
}


/* ---- FIX #9: Product Details & Warranty — reinforce hide ---- */
body .product-details-container,
body .bootstrapiis .product-details-container,
body div.product-details-container,
body .bootstrapiis .woocommerce-tabs,
body .bootstrapiis #tab-description,
body .bootstrapiis .product-warranty {
  display: none !important;
}


/* ---- FIX #10: More Parts / All Vehicle Parts — reinforce hide ---- */
body .bootstrapiis .product-form__title,
body .bootstrapiis div.product-form__title,
body .bootstrapiis div.padtopten,
body .bootstrapiis .more-parts-section,
body .bootstrapiis h2:has(+ div.padtopten),
body .bootstrapiis .related.products {
  display: none !important;
}


/* ---- FIX #11: Product page table headers BLACK not red ---- */
body .bootstrapiis table.table-striped th,
body .bootstrapiis table.shop_attributes th,
body .bootstrapiis .iis-product-table th,
body .bootstrapiis table.iis-product-table th,
body .bootstrapiis .product_meta th,
body .bootstrapiis .product_meta th.iis-iisextcolor-label {
  background-color: #111111 !important;
  color: #ffffff !important;
}


/* ---- FIX #12: In Stock badge — reinforce hide ---- */
body .bootstrapiis .status-badge,
body .bootstrapiis div.status-badge,
body .bootstrapiis .product__stock,
body .bootstrapiis .stock.in-stock,
body .bootstrapiis .badge-success.stock,
body .woocommerce .stock.in-stock {
  display: none !important;
}


/* ---- FIX #13: Cart prices and subtotals BLACK ---- */
body.woocommerce-page .woocommerce table.shop_table td.product-price,
body.woocommerce-page .woocommerce table.shop_table td.product-subtotal,
body.woocommerce-page .woocommerce table.shop_table td.product-price .amount,
body.woocommerce-page .woocommerce table.shop_table td.product-price .woocommerce-Price-amount,
body.woocommerce-page .woocommerce table.shop_table td.product-subtotal .amount,
body.woocommerce-page .woocommerce table.shop_table td.product-subtotal .woocommerce-Price-amount,
body.woocommerce-page .woocommerce .cart_totals table td .amount,
body.woocommerce-page .woocommerce .cart_totals table td .woocommerce-Price-amount,
body.woocommerce-page .woocommerce .cart_totals .order-total .amount,
body.woocommerce-page .woocommerce table.cart .product-price span,
body.woocommerce-page .woocommerce table.cart .product-subtotal span,
body .woocommerce-cart table.shop_table .amount,
body .woocommerce-cart .cart_totals .amount {
  color: #111111 !important;
}


/* ---- FIX #14: Cart product name link BLACK ---- */
body.woocommerce-page .woocommerce table.shop_table td.product-name a,
body.woocommerce-page .woocommerce table.cart td.product-name a,
body .woocommerce-cart table.shop_table td.product-name a {
  color: #111111 !important;
  text-decoration: none !important;
}

body.woocommerce-page .woocommerce table.shop_table td.product-name a:hover,
body .woocommerce-cart table.shop_table td.product-name a:hover {
  color: #d72222 !important;
}


/* ---- FIX #15: Update Cart button — white text on red bg ---- */
body .woocommerce table.cart td.actions button[name="update_cart"],
body .woocommerce button.button[name="update_cart"],
body.woocommerce-page button[name="update_cart"],
body .woocommerce-cart button[name="update_cart"],
body .woocommerce-cart input[name="update_cart"] {
  color: #ffffff !important;
  background-color: #d72222 !important;
  border: 2px solid #d72222 !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border-radius: 0 !important;
  padding: 10px 20px !important;
  opacity: 1 !important;
}

body .woocommerce-cart button[name="update_cart"]:disabled,
body.woocommerce-page button[name="update_cart"]:disabled {
  opacity: 0.5 !important;
  color: #ffffff !important;
  background-color: #d72222 !important;
}


/* ---- FIX #16: "Successfully added to cart" notice — hide on cart page ---- */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce > .woocommerce-message,
body.woocommerce-cart .woocommerce-message:has(.button.wc-forward) {
  display: none !important;
}


/* ---- FIX #17: Discount code input wider (280px) ---- */
body .woocommerce-cart .coupon .input-text,
body .woocommerce-cart #coupon_code,
body.woocommerce-page .woocommerce table.cart td.actions .coupon .input-text,
body.woocommerce-page #coupon_code {
  min-width: 280px !important;
  width: 280px !important;
  padding: 10px 14px !important;
  font-family: 'Heebo', sans-serif !important;
  font-size: 14px !important;
  border: 1px solid #e7ebf0 !important;
  border-radius: 0 !important;
}


/* ---- FIX #18: Button focus/shadow effects — clean up ---- */
body .woocommerce-cart button:focus,
body .woocommerce-cart button:focus-visible,
body .woocommerce-cart input[type="submit"]:focus,
body .woocommerce-cart .button:focus {
  outline: 2px solid #111 !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

body .woocommerce-cart .coupon button:focus,
body .woocommerce-cart .coupon button:focus-visible,
body .woocommerce-cart button[name="apply_coupon"]:focus {
  outline: 2px solid #d72222 !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}


/* ---- FIX #19: Checkout — more spacing between Return to Cart and Place Order ---- */
body .wc-block-checkout__actions {
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 32px !important;
}

body .woocommerce-checkout .place-order,
body .woocommerce-checkout .woocommerce-checkout-review-order .place-order {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;
}


/* ---- FIX #20: Checkout "Add coupons" text — cannot rename (React), leave as-is ---- */
/* Gutenberg renders this via React — PHP filters don't reach it.
   Uncomment below to HIDE it if desired:
   body .wc-block-components-totals-coupon { display: none !important; }
*/


/* ---- FIX #21: Order Received h1 — show title ---- */
body.woocommerce-order-received .site-main h1,
body.woocommerce-order-received .site-main article > h1,
body.woocommerce-order-received .entry-title,
body.woocommerce-order-received .page-title {
  display: block !important;
  visibility: visible !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 42px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #111 !important;
  margin-bottom: 20px !important;
}


/* ---- FIX #22: My Account — Downloads hidden (reinforce) ---- */
body .woocommerce-MyAccount-navigation-link--downloads,
body li.woocommerce-MyAccount-navigation-link--downloads,
body .woocommerce-MyAccount-navigation li a[href*="downloads"],
body .woocommerce-MyAccount-navigation li:has(a[href*="downloads"]) {
  display: none !important;
}


/* ---- FIX #23: My Account Addresses — left-align add links ---- */
body .woocommerce-MyAccount-content .addresses .title a,
body .woocommerce-MyAccount-content .woocommerce-Address-title a,
body .woocommerce-MyAccount-content .addresses header a,
body .woocommerce-Addresses .woocommerce-Address-title a {
  float: none !important;
  text-align: left !important;
  display: inline-block !important;
}

body .woocommerce-MyAccount-content .addresses .title,
body .woocommerce-MyAccount-content .woocommerce-Address-title,
body .woocommerce-Addresses .woocommerce-Address-title {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}


/* ---- FIX #24: My Account content — padding after h1 hide ---- */
body .woocommerce-MyAccount-content {
  padding-top: 20px !important;
}

body .woocommerce-account .woocommerce-MyAccount-content > h2,
body .woocommerce-account .woocommerce-MyAccount-content > h3 {
  font-family: 'Teko', sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #111 !important;
  margin-bottom: 16px !important;
}


/* ---- FIX #25: Mobile responsiveness ---- */
@media screen and (max-width: 768px) {

  /* Ecom-nav: stack or scroll on narrow screens */
  .ecom-nav {
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 10px 16px !important;
  }

  .ecom-nav a {
    font-size: 13px !important;
    padding: 6px 10px !important;
  }

  /* Search form: stack dropdowns vertically */
  body .bootstrapiis .iisForm,
  body .bootstrapiis .firstVertical {
    flex-direction: column !important;
    gap: 8px !important;
  }

  body .bootstrapiis .firstVertical select.form-control {
    width: 100% !important;
    min-width: unset !important;
  }

  body .bootstrapiis button.verticalSearch {
    width: 100% !important;
  }

  /* Search results: single column */
  body .bootstrapiis .row .col-md-4,
  body .bootstrapiis .row .col-md-6,
  body .bootstrapiis .row .col-lg-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* Cart table: stack on mobile */
  body .woocommerce table.cart th,
  body .woocommerce table.shop_table thead {
    display: none !important;
  }

  body .woocommerce table.cart td {
    display: block !important;
    text-align: left !important;
    padding: 8px 12px !important;
    border-bottom: none !important;
  }

  body .woocommerce table.cart td::before {
    font-family: 'Teko', sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    margin-right: 8px !important;
  }

  body .woocommerce table.cart tr {
    display: block !important;
    border-bottom: 2px solid #e7ebf0 !important;
    padding: 12px 0 !important;
  }

  /* Cart coupon input full width */
  body .woocommerce-cart .coupon .input-text,
  body .woocommerce-cart #coupon_code {
    min-width: unset !important;
    width: 100% !important;
    margin-bottom: 8px !important;
  }

  body .woocommerce-cart .coupon {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  /* Checkout buttons stack on mobile */
  body .wc-block-checkout__actions {
    flex-direction: column !important;
    gap: 16px !important;
  }

  body .woocommerce-checkout .place-order {
    flex-direction: column-reverse !important;
    gap: 12px !important;
  }

  /* My Account: sidebar + content stack */
  body .woocommerce-account .woocommerce-MyAccount-navigation,
  body .woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
  }

  /* Product page: price and buttons full width */
  body .bootstrapiis button.iisAddToCart,
  body .bootstrapiis .product-form button.btn-success {
    width: 100% !important;
    font-size: 18px !important;
  }

  /* BACK button full width on mobile */
  body .bootstrapiis #breadcrumbs-one a.btn-secondary {
    font-size: 15px !important;
    padding: 8px 16px !important;
  }

  /* Page hero */
  .page-hero h1 {
    font-size: 28px !important;
  }
}

@media screen and (max-width: 480px) {

  /* Extra small: tighten spacing */
  body .bootstrapiis .iis-product-table th,
  body .bootstrapiis .iis-product-table td,
  body .bootstrapiis table.table-striped th,
  body .bootstrapiis table.table-striped td {
    padding: 6px 10px !important;
    font-size: 13px !important;
  }

  body .bootstrapiis .product__prices .price,
  body .bootstrapiis p.price {
    font-size: 24px !important;
  }

  .ecom-nav a {
    font-size: 12px !important;
    padding: 5px 8px !important;
  }
}


/* ---- FIX #26: iisHighlight glow — red not green (reinforce) ---- */
.iisHighlight,
body .iisHighlight,
body .bootstrapiis .iisHighlight,
body .firstVertical.iisHighlight,
body div.iisHighlight,
body [class*="iisHighlight"] {
  box-shadow: 0 0 7px 4px #d72222 !important;
}

body .firstVertical.iisHighlight .form-control,
body .firstVertical.iisHighlight select,
body .iisHighlight .form-control {
  border-color: #d72222 !important;
}


/* ==============================================
   OFF-BRAND COLOR ELIMINATION — FULL PLUGIN AUDIT
   Covers every customer-facing element from
   urg_style.css, iisbootstrap.css, iisbootstrap2.css,
   and PHP templates that uses non-brand colors.
   ============================================== */


/* ---- BUTTONS: Inquire & Make An Offer (green outline → red outline) ---- */
/* partdesc.php uses btn-outline-success on these */
body .bootstrapiis .btn-outline-success,
body .bootstrapiis .btn-outline-success:hover,
body .bootstrapiis .btn-outline-success:focus,
body .bootstrapiis .btn-outline-success:active,
body .bootstrapiis .btn-outline-success:not(:disabled):not(.disabled):active,
body .bootstrapiis .iisPartDescInquireButton,
body .bootstrapiis .iisPartDescOfferButton {
  color: #d72222 !important;
  border-color: #d72222 !important;
  background-color: transparent !important;
}

body .bootstrapiis .btn-outline-success:hover,
body .bootstrapiis .iisPartDescInquireButton:hover,
body .bootstrapiis .iisPartDescOfferButton:hover {
  background-color: #d72222 !important;
  color: #ffffff !important;
  border-color: #d72222 !important;
}

body .bootstrapiis .btn-outline-success:focus,
body .bootstrapiis .btn-outline-success.focus {
  box-shadow: 0 0 0 0.2rem rgba(215, 34, 34, 0.25) !important;
}


/* ---- BUTTONS: View Details (dark blue → black) ---- */
/* urg_style.css .iis-view-det-button = #1b578b bg, #337ab7 border */
body .bootstrapiis .iis-view-det-button,
body .bootstrapiis a.iis-view-det-button {
  background-color: #111111 !important;
  border-color: #111111 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border-radius: 0 !important;
  text-decoration: none !important;
}

body .bootstrapiis .iis-view-det-button:hover,
body .bootstrapiis a.iis-view-det-button:hover {
  background-color: #d72222 !important;
  border-color: #d72222 !important;
  color: #ffffff !important;
}


/* ---- BUTTONS: Add to Cart fallback (green → red) ---- */
/* urg_style.css input.single_add_to_cart_button.button.alt.ah-button = #1c7637 */
body .bootstrapiis input.single_add_to_cart_button,
body .bootstrapiis input.single_add_to_cart_button.button.alt.ah-button,
body .bootstrapiis .single_add_to_cart_button {
  background-color: #d72222 !important;
  border-color: #d72222 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border-radius: 0 !important;
}

body .bootstrapiis input.single_add_to_cart_button:hover {
  background-color: #b61b1b !important;
  border-color: #b61b1b !important;
}


/* ---- BUTTONS: View Cart variant (green → red) ---- */
/* urg_style.css .iis_view_cart_button = #1c7637 !important */
body .bootstrapiis .iis_view_cart_button,
body .bootstrapiis a.iis_view_cart_button {
  background-color: #d72222 !important;
  border-color: #d72222 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border-radius: 0 !important;
}

body .bootstrapiis .iis_view_cart_button:hover,
body .bootstrapiis a.iis_view_cart_button:hover {
  background-color: #b61b1b !important;
  border-color: #b61b1b !important;
}


/* ---- BUTTONS: Call button (green → red) ---- */
/* urg_style.css a.call_button = #1c7637 */
body .bootstrapiis a.call_button,
body .bootstrapiis .call_button {
  background-color: #d72222 !important;
  border-color: #d72222 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
}

body .bootstrapiis a.call_button:hover {
  background-color: #b61b1b !important;
  border-color: #b61b1b !important;
}


/* ---- BUTTONS: Tag / Stock / SKU search (teal → red) ---- */
/* searchbytag.php etc use btn-info = #17a2b8 */
body .bootstrapiis .btn-info,
body .bootstrapiis .btn-info:hover,
body .bootstrapiis .btn-info:focus,
body .bootstrapiis .btn-info:active,
body .bootstrapiis .btn-info:not(:disabled):not(.disabled):active {
  background-color: #d72222 !important;
  border-color: #d72222 !important;
  color: #ffffff !important;
}

body .bootstrapiis .btn-info:hover {
  background-color: #b61b1b !important;
  border-color: #b61b1b !important;
}

body .bootstrapiis .btn-info:focus,
body .bootstrapiis .btn-info.focus {
  box-shadow: 0 0 0 0.2rem rgba(215, 34, 34, 0.25) !important;
}


/* ---- PRICES: Card layout price (blue → black) ---- */
/* iisbootstrap.css .card-price .price = #337ab7 */
body .bootstrapiis .card-price .price,
body .bootstrapiis .card-price .iisPrice {
  color: #111111 !important;
}


/* ---- PRICES: Price column in table (maroon → black) ---- */
/* urg_style.css td.pricecol = #a94442 */
body .bootstrapiis td.pricecol,
body .bootstrapiis td.pricecol .iisPrice {
  color: #111111 !important;
}


/* ---- PRICES: Single car prices block (blue bg → clean) ---- */
/* urg_style.css .single-car-prices = #337ab7 bg */
body .bootstrapiis .single-car-prices {
  background-color: #111111 !important;
  color: #ffffff !important;
}


/* ---- LABELS: "USED" / "LEFT" / "RIGHT" badges (green → black) ---- */
/* urg_style.css .iislrlabel = background: green */
/* Already overridden in earlier block but reinforcing against urg_style default */
body .bootstrapiis .iislrlabel,
body .bootstrapiis span.iislrlabel,
body .bootstrapiis div.iislrlabel {
  background: #111111 !important;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 3px 10px !important;
}


/* ---- LABELS: Warranty text (inline blue → black) ---- */
/* partdesc.php outputs style="color: #005BAA" inline on warranty span */
/* CSS !important beats inline styles */
body .bootstrapiis .product-details-warranty span[style*="color"],
body .bootstrapiis span[style*="#005BAA"],
body .bootstrapiis span[style*="005BAA"] {
  color: #111111 !important;
}


/* ---- INTERACTION: List item hover (blue → brand) ---- */
/* urg_style.css .iisitem.list-group-item:hover = #428bca */
body .bootstrapiis .iisitem.list-group-item:hover,
body .bootstrapiis .iisitem.list-group-item:nth-of-type(odd):hover {
  background-color: rgba(215, 34, 34, 0.06) !important;
}


/* ---- INTERACTION: Image caption alert-info (blue → neutral) ---- */
/* partdesc.php uses .alert-info for image captions */
body .bootstrapiis .alert-info {
  background-color: #f5f5f5 !important;
  border-color: #e7ebf0 !important;
  color: #333333 !important;
}


/* ---- INTERACTION: Buy now exclusion message (orange → neutral) ---- */
/* urg_style.css .iis-buy-now-ex-message = #e4971f */
body .bootstrapiis .iis-buy-now-ex-message {
  background-color: #111111 !important;
  color: #ffffff !important;
  font-family: 'Heebo', sans-serif !important;
  padding: 8px 16px !important;
  border-radius: 0 !important;
}


/* ---- MODAL: "My Vehicle" label (green → red) ---- */
/* urg_style.css .iismodal-footer .iisyearsdyn:after = #0a650a */
body .bootstrapiis .iismodal-footer .iisyearsdyn:after,
body .iismodal-footer .iisyearsdyn:after {
  background: #d72222 !important;
}


/* ---- ICONS: Checkmarks (green → red fallback) ---- */
/* urg_style.css i.fa.fa-check = green */
/* Already hidden in main block but override color as safety net */
body .bootstrapiis i.fa.fa-check,
body .bootstrapiis .fa-check {
  color: #d72222 !important;
}


/* ---- ICONS: Rating stars (lime green → gold) ---- */
/* urg_style.css i.fa.fa-star = #addb25 */
body .bootstrapiis i.fa.fa-star,
body .bootstrapiis i.fa.fa-star-o,
body .bootstrapiis .fa-star,
body .bootstrapiis .fa-star-o {
  color: #f5a623 !important;
}


/* ---- MESSAGES: Cart success (green → black) ---- */
/* urg_style.css .wpspsc_success_message = green !important */
body .bootstrapiis .wpspsc_success_message,
body .wpspsc_success_message {
  color: #111111 !important;
}


/* ---- BUTTONS: U-Pull message button (blue → brand) ---- */
/* urg_style.css .iis-upull-message-button = #337ab7 */
body .bootstrapiis .iis-upull-message-button {
  background-color: #d72222 !important;
  border-color: #d72222 !important;
  color: #ffffff !important;
}

body .bootstrapiis .iis-upull-message-button:hover {
  background-color: #b61b1b !important;
  border-color: #b61b1b !important;
}


/* ---- GLOBAL: Kill remaining Bootstrap contextual colors ---- */
/* Catch-all for any btn-outline-primary outside .iisMakesMenu */
body .bootstrapiis .btn-outline-primary {
  color: #d72222 !important;
  border-color: #d72222 !important;
}

body .bootstrapiis .btn-outline-primary:hover {
  background-color: #d72222 !important;
  color: #ffffff !important;
  border-color: #d72222 !important;
}

/* Override any leftover alert-warning to neutral styling */
body .bootstrapiis .alert-warning {
  background-color: #fff8e6 !important;
  border-color: #e7ebf0 !important;
  color: #333333 !important;
}

/* Status messages — keep functional but neutralize bright colors */
body .bootstrapiis td.iis-y-status-message,
body .bootstrapiis li.iis-y-status-message,
body .bootstrapiis span.iis-y-status-message {
  background-color: #f5f5f5 !important;
  color: #111111 !important;
}


/* ---- GLOBAL: Final safety net for any missed green ---- */
/* If Bootstrap updates or plugin adds new elements, these catch them */
body .bootstrapiis .text-success {
  color: #d72222 !important;
}

body .bootstrapiis .bg-success {
  background-color: #d72222 !important;
}

body .bootstrapiis .border-success {
  border-color: #d72222 !important;
}
