@charset "UTF-8";
h2.part-number {
  font-size: 2rem;
  font-weight: bold; }

.color-red-primary {
  color: #eb1c3b; }

.tex-center {
  text-align: center; }
  .tex-center p {
    text-align: center; }

/**
* Loader
*/
.loading {
  display: none; }
  .loading.active {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 111111111; }
    .loading.active .loading__loader {
      border: 8px solid #31282d;
      /* Red border */
      border-top: 8px solid #017cb6;
      /* Blue top */
      border-radius: 50%;
      width: 60px;
      height: 60px;
      animation: spin 0.8s linear infinite; }

@keyframes spin {
  0% {
    transform: rotate(0deg); }
  100% {
    transform: rotate(360deg); } }

/*
* Modal
*/
/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: -5%;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: black;
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */ }

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  /* 15% from the top and centered */
  padding: 36px;
  border: 1px solid #888;
  width: 60% !important;
  /* Could be more or less, depending on screen size */
  top: -25% !important; }
  .modal-content .modal-header h2 {
    margin-top: 0px; }

/* The Close Button */
.close {
  color: #017cb6;
  float: right;
  font-size: 14px; }

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer; }

.content__automotive {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box; }
  @media (max-width: 992px) {
    .content__automotive {
      max-width: 90%; } }
  @media (max-width: 576px) {
    .content__automotive {
      max-width: 100%; } }

.autoinfo-wrapper {
  max-width: 1416px; }
  .autoinfo-wrapper h2 {
    margin: 0; }

.parts-compare-input {
  display: flex; }
  .parts-compare-input label {
    font-weight: bold; }

.btn.btn-search {
  color: #2596be;
  padding: 4.5px 9px !important;
  font-size: 18px;
  font-weight: 600;
  min-width: 300px;
  text-align: center;
  background-color: #31282d;
  border-radius: 5px;
  border: none; }
  .btn.btn-search:hover {
    background-color: #017cb6;
    color: #fff; }

.autoinfo-wrapper .tab-header {
  color: #6b6b6b;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #fff; }
  .autoinfo-wrapper .tab-header__tab {
    background-color: #000;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 14px 0;
    text-align: center;
    width: 50%; }
    .autoinfo-wrapper .tab-header__tab.active {
      background-color: #017cb6;
      color: #ffffff; }
    .autoinfo-wrapper .tab-header__tab:first-child {
      border-top-left-radius: 16px;
      border-right: 1px solid #ffffff; }
    .autoinfo-wrapper .tab-header__tab:nth-child(2) {
      border-top-right-radius: 16px; }

.autoinfo-wrapper .tab-content {
  background-color: #6b6b6b;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem 0;
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 16px;
  visibility: hidden;
  z-index: -1;
  position: absolute; }
  .autoinfo-wrapper .tab-content h2 {
    color: #ffffff;
    text-align: center;
    font-size: 34px;
    letter-spacing: -0.5px;
    font-weight: 600; }
  .autoinfo-wrapper .tab-content .vehicle {
    background-color: #ffffff;
    border-radius: 50px;
    padding: 0.5rem 1rem; }
    .autoinfo-wrapper .tab-content .vehicle button {
      background-color: #ffffff;
      border: none;
      color: #ffffff;
      font-size: 18px;
      font-weight: 600; }
      .autoinfo-wrapper .tab-content .vehicle button.active {
        background-color: #017cb6; }
  .autoinfo-wrapper .tab-content.active {
    visibility: visible;
    z-index: 1;
    position: relative; }
  .autoinfo-wrapper .tab-content button:disabled {
    color: #666666;
    /* Darker grey text */
    cursor: not-allowed;
    /* Change cursor to indicate it's not clickable */
    opacity: 0.7; }

.autoinfo-wrapper button,
.autoinfo-wrapper .btn {
  background-color: #017cb6;
  color: #ffffff;
  border-radius: 50px;
  padding: 0.75rem 2.5rem !important; }

@media (max-width: 768px) {
  .autoinfo-wrapper .tab-header {
    flex-direction: column; }
    .autoinfo-wrapper .tab-header__tab {
      width: 100%; } }

/**
* Mini Battery Finder
*/
.mini_battery_finder {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  width: 100%;
  border: 2px solid white;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  color: white;
  padding: 30px;
  background-color: color-mix(in oklab, var(--color-white) 20%, transparent); }
  .mini_battery_finder h2 {
    color: white;
    font-size: 2rem;
    line-height: 140%;
    text-align: center;
    margin: 10px 0 10px 0;
    width: 100%;
    font-weight: 800;
    margin-bottom: 1rem; }
  .mini_battery_finder .radio-pill-group {
    border: none;
    padding: 0; }
  .mini_battery_finder .radio-pill-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px; }
    .mini_battery_finder .radio-pill-container .inner {
      display: flex;
      padding: 2px;
      border-radius: 20px;
      background-color: white;
      gap: 10px;
      margin-bottom: 1rem; }
    .mini_battery_finder .radio-pill-container input[type="radio"] {
      opacity: 0;
      position: absolute; }
    .mini_battery_finder .radio-pill-container label {
      padding: 8px 15px;
      border: 2px solid white;
      color: black;
      border-radius: 20px;
      cursor: pointer;
      background-color: white;
      transition: background-color 0.2s ease; }
      .mini_battery_finder .radio-pill-container label:hover {
        background-color: #e0e0e0; }
      .mini_battery_finder .radio-pill-container label.option_rego, .mini_battery_finder .radio-pill-container label.option_vehicle {
        position: relative;
        padding-left: 60px; }
        .mini_battery_finder .radio-pill-container label.option_rego:before, .mini_battery_finder .radio-pill-container label.option_vehicle:before {
          position: absolute;
          height: 20px;
          width: 40px;
          left: 0;
          margin: 1px 8px;
          content: url("icons/car.svg"); }
      .mini_battery_finder .radio-pill-container label.option_rego:before {
        content: url("icons/rego.svg");
        top: 5px; }
    .mini_battery_finder .radio-pill-container input[type="radio"]:checked + label {
      background-color: #017cb6;
      color: white;
      border: 2px solid black; }
  .mini_battery_finder .search_vehicle,
  .mini_battery_finder .search_rego {
    display: none;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 1rem; }
    .mini_battery_finder .search_vehicle.active,
    .mini_battery_finder .search_rego.active {
      display: flex;
      margin-bottom: 15px; }
  .mini_battery_finder #vehicle_type,
  .mini_battery_finder #search_rego_inner #rego_state {
    width: 100%;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 20px;
    appearance: none;
    position: relative;
    background-color: #fff;
    margin-bottom: 1rem; }
  .mini_battery_finder #search_rego_inner {
    width: 70%; }
  .mini_battery_finder #rego_no {
    width: 30%;
    font-size: 16px;
    padding: 8px 20px;
    border-radius: 20px;
    background-color: #fff;
    margin-bottom: 1rem; }
    @media only screen and (min-width: 480px) {
      .mini_battery_finder #rego_no {
        width: 50%; } }
  .mini_battery_finder #search_vehicle,
  .mini_battery_finder #search_rego #search_rego_inner {
    position: relative; }
    .mini_battery_finder #search_vehicle:after,
    .mini_battery_finder #search_rego #search_rego_inner:after {
      content: url("icons/chevron.svg");
      position: absolute;
      right: 20px;
      width: 20px;
      height: 20px;
      top: 12px;
      pointer-events: none; }
  .mini_battery_finder button {
    width: 100%;
    padding: 10px;
    border-radius: 20px;
    font-size: 16px;
    position: relative;
    text-transform: uppercase;
    background-color: #017cb6;
    color: #fff;
    border: none; }
    .mini_battery_finder button:before {
      content: url(icons/search.svg);
      position: absolute;
      left: calc(50% - 60px);
      width: 20px;
      height: 14px;
      top: 8px; }

/**
* Auto Info Wrapper Tab Form
*/
.autoinfo-wrapper .tab-content .form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem; }
  .autoinfo-wrapper .tab-content .form label {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 6px; }
  .autoinfo-wrapper .tab-content .form fieldset {
    border: none; }
  .autoinfo-wrapper .tab-content .form .select2-container {
    border: 1px solid #d3d3d3 !important;
    border-radius: 4px !important;
    background-color: #ffffff !important;
    color: #d3d3d3 !important;
    font-weight: 700 !important;
    width: 100%;
    min-width: 150px;
    min-height: 50px; }
    .autoinfo-wrapper .tab-content .form .select2-container .select2-selection__rendered {
      min-height: 50px;
      line-height: 50px; }
    .autoinfo-wrapper .tab-content .form .select2-container .select2-selection__arrow {
      height: 50px; }
    .autoinfo-wrapper .tab-content .form .select2-container .selection {
      border: none; }
      .autoinfo-wrapper .tab-content .form .select2-container .selection .select2-selection--single {
        height: auto !important;
        margin-top: 0px;
        padding: 0px;
        color: #9D9D9D;
        font-weight: bold;
        box-shadow: none;
        border: none; }
  .autoinfo-wrapper .tab-content .form input#rego_number,
  .autoinfo-wrapper .tab-content .form input#rego_number::placeholder {
    text-transform: uppercase; }
  .autoinfo-wrapper .tab-content .form input,
  .autoinfo-wrapper .tab-content .form select {
    height: 50px; }

@media (max-width: 768px) {
  .autoinfo-wrapper .tab-content .vehicle,
  .autoinfo-wrapper .tab-content .form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 0;
    gap: 1rem; } }

.redpin-popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  animation: fadeIn 0.3s ease forwards; }
  .redpin-popup .popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer; }
  .redpin-popup .popup-content {
    position: relative;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    max-width: 60vw;
    /* ✅ 60% of screen width */
    width: 90%;
    max-height: 80vh;
    /* ✅ limit height to viewport */
    overflow-y: auto;
    /* ✅ make scrollable */
    text-align: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    animation: popupScale 0.25s ease-out;
    scrollbar-width: thin;
    /* optional – nice thin scrollbar */
    scrollbar-color: #bbb #f5f5f5;
    /* ✅ smooth scrolling for long compare tables */
    scroll-behavior: smooth; }
    .redpin-popup .popup-content .popup-title {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 1.25rem;
      color: #222; }
    .redpin-popup .popup-content p {
      font-size: 1rem;
      color: #333;
      margin-bottom: 1rem; }
    .redpin-popup .popup-content .popup-image {
      max-width: 100%;
      height: auto;
      margin-bottom: 1rem; }
    .redpin-popup .popup-content .popup-close-top {
      position: absolute;
      top: 12px;
      right: 16px;
      background: transparent;
      border: none;
      font-size: 28px;
      cursor: pointer;
      color: #333;
      transition: color 0.2s ease; }
      .redpin-popup .popup-content .popup-close-top:hover {
        color: #e53935; }
      .redpin-popup .popup-content .popup-close-top:active {
        transform: scale(0.95); }
  .redpin-popup table {
    border-collapse: collapse;
    border-spacing: 0; }
    .redpin-popup table td {
      border-bottom: 1px solid #D3D3D3; }
    .redpin-popup table tr:hover {
      background-color: #e6e7e8; }
    .redpin-popup table tr:first-child:hover {
      background-color: transparent; }
  .redpin-popup--success .popup-content {
    border-top: 5px solid #996699; }
  .redpin-popup--error .popup-content {
    border-top: 5px solid #e53935; }
  .redpin-popup--info .popup-content {
    border-top: 5px solid #2196f3; }

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }

@keyframes popupScale {
  from {
    transform: scale(0.9);
    opacity: 0; }
  to {
    transform: scale(1);
    opacity: 1; } }

.slick-slider {
  max-width: 1416px;
  max-height: 650px; }

.slide {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 32px;
  max-height: 650px; }
  .slide img {
    width: 100%;
    height: auto;
    display: block; }
  .slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    border-radius: 32px; }
  .slide .slide-content {
    position: absolute;
    top: 50%;
    left: 35%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60%;
    max-width: 100%;
    z-index: 10;
    gap: 2rem; }
    @media (max-width: 768px) {
      .slide .slide-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 80%;
        left: 45%; } }
    .slide .slide-content .slide-description {
      flex: 1;
      color: #fff;
      font-size: 5rem;
      line-height: 5rem;
      font-weight: bold;
      text-transform: uppercase; }
      .slide .slide-content .slide-description img {
        max-width: 150px;
        width: 100%; }
      @media (max-width: 768px) {
        .slide .slide-content .slide-description {
          margin-bottom: 1.5rem;
          text-align: left; } }

.slick-dots {
  bottom: -3rem !important;
  width: fit-content !important; }
  .slick-dots button:before {
    color: #fff !important;
    font-size: 12px !important; }

@media (max-width: 1150px) {
  .slick-slider {
    max-height: 500px; }
  .slide {
    max-height: 500px;
    background-size: cover; }
    .slide img {
      height: 100%; }
  .slide-content {
    flex-direction: column; }
  .slick-dots {
    top: 105%; }
  .slide-description {
    font-size: 2.5rem !important;
    line-height: 1; }
  .mini_battery_finder {
    max-width: 100%; } }

.content__part__svehicle {
  background-color: #017cb6;
  border-radius: 5px;
  color: #fff;
  display: none;
  flex-direction: row;
  padding: 0.2rem 1rem;
  margin: 1rem 0; }

.content__part__error {
  background-color: #eb1c3b;
  color: #ffffff;
  padding: 0.2rem 1rem;
  margin: 1rem 0;
  border-radius: 5px;
  display: none; }
  .content__part__error p,
  .content__part__error small {
    font-weight: bold;
    color: #ffffff;
    margin: 0; }

.content__part__data .parts {
  display: flex;
  flex-direction: column; }
  .content__part__data .parts .part {
    display: flex;
    flex-direction: row;
    border: 1px solid #e6e7e8;
    border-radius: 5px;
    margin: 1rem 0; }
    .content__part__data .parts .part__figure {
      flex-basis: 30%; }
    .content__part__data .parts .part__header {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid #6b6b6b; }
    .content__part__data .parts .part__content {
      flex-basis: 70%;
      display: flex;
      flex-direction: column;
      padding: 1rem; }
      .content__part__data .parts .part__content:hover {
        background-color: #EDEDED; }
    .content__part__data .parts .part__compare-input {
      display: flex;
      flex-direction: row; }
    .content__part__data .parts .part__table-row {
      display: inline-block;
      width: 50%; }
    .content__part__data .parts .part__table-title {
      font-weight: bold;
      width: 230px; }

.part__specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem 1rem;
  width: 100%; }

.part__spec {
  display: contents; }

.part__spec-title {
  font-weight: 600;
  color: #333; }

.part__spec-value {
  color: #555;
  text-align: right; }

@media (max-width: 768px) {
  .part__specs {
    grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 768px) {
  .content__part__data .parts .part {
    flex-direction: column; }
    .content__part__data .parts .part__header {
      flex-direction: column;
      align-items: self-start;
      gap: 1rem;
      padding: 1rem 0 2rem 0; }
    .content__part__data .parts .part__table-row {
      width: 100%; } }
