:root {
  --footer-bg: #202020;
  --footer-text: rgba(255, 255, 255, 0.86);
  --footer-link: #ffffff;
  --footer-link-orange: #fb5111;
  --footer-border: rgba(255, 255, 255, 0.2);
  --footer-secondary-text: #b1b1b1;
}

footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  font-family: 'Roboto', sans-serif;
      max-width: 1680px;
    margin: 0 auto;
}

footer .footer-wrapper {
  margin: 0 auto;
    padding: 25px 20px;
  
}

/* PRE-FOOTER SECTION */
footer .pre-footer-container {
  background: #fff;
  border-radius: 6px;
  padding: 40px 48px 53px;
  margin: -190px auto 55px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  z-index: 1;
}

footer .pre-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

footer .pre-footer-heading {
          color: #444;
        font-size: 22px;
        font-weight: 500;
        line-height: 40px;
        margin: 0;
}

footer .pre-footer-gethelp {
          font-size: 13px;
        font-weight: 500;
        line-height: 120%;
        margin-top: 8px;
        color: #f04c23;
    text-align: right;
    text-decoration: none;
    text-transform: uppercase;
}
footer .pre-footer-gethelp:hover {
}

footer .pre-footer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 90%;
}

footer .pre-footer-btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 22px;
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  color: #f04c23;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
}
/* TOP SECTION */
footer .footer-top {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Accordion Styles (Mobile First) */
footer .footer-accordion-item {
  border-top: 1px solid var(--footer-border);
}

footer .footer-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  color: #e4e4e4;
  line-height: 16px;
}

footer .footer-accordion-header .icon-plus {
  color: var(--footer-link-orange);
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s ease;
}

footer .footer-accordion-item.active .icon-plus {
  transform: rotate(45deg); /* Optional: transforms + to x */
}

footer .footer-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
}

footer .footer-accordion-item.active .footer-accordion-content {
  max-height: 500px; /* Sufficient height for lists */
  padding-bottom: 20px;
}

footer .footer-accordion-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .footer-accordion-content ul li {
  margin-bottom: 12px;
}

footer .footer-accordion-content ul li a {
  color: var(--footer-secondary-text);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  font-weight: 500;
}

footer .footer-accordion-content ul li a:hover {
  /* color: var(--footer-link-orange); */
}

/* Dealer Section */
footer .footer-dealer-section {
  padding-top: 20px;
}

footer .footer-dealer-section strong,
footer .footer-dealer-section h2 {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #fff;
}

footer .pincode-input-wrapper {
  margin-bottom: 30px;
}

footer .input-container {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #707070;
  padding: 10px 0;
}

footer .input-container .pin-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(0.7);
}
footer .input-container input {
      background: transparent;
    border: none;
    color: #fff;
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    line-height: 26px;
}

footer .input-container input::placeholder {
  color: #707070;
}

footer .input-container input:focus {
  outline: none;
}

footer .pincode-submit {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

/* Social & Dealer Sections (Mobile) */
footer .social-section h1,
footer .social-section h2,
footer .social-section h3,
footer .social-section h4,
footer .social-section strong,
footer .dealer-section h1,
footer .dealer-section h2,
footer .dealer-section h3,
footer .dealer-section h4,
footer .dealer-section strong {
  display: block;
  font-size: 14px !important;
  font-weight: 700;
  margin: 20px 0;
  text-transform: uppercase;
  color: #fff;
}

footer .social-section strong,
footer .social-section h2 {
  margin-bottom: 16px;
}

footer .social-links {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  gap: 15px;
  list-style: none !important;
  padding: 0 !important;
  margin: 20px 0 0 !important;
}

footer .social-links li {
  margin: 0 !important;
  list-style-type: none !important;
}
footer .social-links li:hover img{
  background-color: #f04c23;
  border-radius: 100px;
}
footer .social-links li::before {
  content: none !important;
}

footer .social-links li a {
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

footer .social-links li a:hover {
  background-color: var(--footer-link-orange);
}

footer .social-links .icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

/* BOTTOM BAR */
footer .footer-bottom-bar {
  /* margin-top: 40px; */
  border-top: 1px solid var(--footer-border);
  /* padding-top: 30px; */
  display: flex;
  flex-direction: column-reverse; /* Links above branding on mobile */
}

footer .footer-legal-links .legal-links-wrapper ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 30px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

footer .footer-legal-links .legal-links-wrapper ul li a {
  color: var(--footer-secondary-text);
  text-decoration: none;
  font-size: 14px;
}

footer .footer-legal-links .legal-links-wrapper ul li a:hover {
  color: #fff;
}

footer .footer-branding {
  text-align: center;
  margin-bottom: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .footer-brand-notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
footer .footer-brand-notice .default-content-wrapper{
  display: flex;
    align-items: center;
    gap: 15px;
}
footer .footer-brand-notice .default-content-wrapper p:last-child{
      display: flex;
    justify-content: flex-end;
    padding-top: 21px;
}
footer .footer-brand-notice img {
  max-width: 150px;
  height: auto;
}

footer .footer-brand-notice p {
  margin: 0;
  color: var(--footer-secondary-text);
  font-size: 13px;
}
footer .footer-dealer-social-col h4{
    padding: 0 0 5px;
    margin: 0;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 16px;
}
@media (max-width: 899px) {
  footer .pre-footer-container {
    padding: 15px 25px 30px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
  }

  footer .pre-footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 15px;
    width: 100%;
  }

  footer .pre-footer-heading {
    font-size: 18px;
  }

  footer .pre-footer-gethelp {
    order: 1;
    margin-top: 25px;
    text-align: center;
    width: 100%;
  }

  footer .pre-footer-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  footer .pre-footer-btn {
    padding: 10px 20px;
    width: 100%;
    box-sizing: border-box;
  }
  footer .footer-accordion-header{
    font-size: 14px!important;
  }
  footer .footer-top{
    padding-top: 25px;
  }
  footer .footer-accordion-item:first-child{
    border-top: none;
  }
  footer .footer-accordion-item{
    border-top: 2.5px solid #707070;
    
}
    footer .footer-accordion-item:last-child {
        border-bottom: 2.5px solid var(--footer-border);
    }
  footer .social-links li img{
    width: 46px;
    height: 46px;
  }
  footer .social-links{
    gap:30px!important;
    margin: 9px 0 35px !important;
  }
  footer .input-container .pin-icon {
  width: 23px;
  height: 23px;
}
footer .pincode-submit svg {
  width: 35px;
  height: 35px;

}
footer .footer-legal-links .legal-links-wrapper ul li a{
  text-decoration: none;
    color: #b1b1b1;
    font-size: 9pt;
    font-weight: 400;
    line-height: 14.06px;
}
footer .footer-bottom-bar{
  border-top: 2.5px solid #707070;
}
footer .input-container{
      border-bottom: 2.5px solid #707070;
}
footer .footer-legal-links .legal-links-wrapper ul{
      margin: 5px 0 40px;
}
footer .footer-brand-notice .default-content-wrapper{
  gap: 0;
    flex-direction: column;
}
footer .footer-branding{
  border-top: 2.5px solid #707070;
}
footer .footer-brand-notice .default-content-wrapper p:last-child{
  padding-top: 0;
}
}




/* WhatsApp Sticky Icon */
.whatsapp-icon-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
}

.whatsapp-icon-container .whatsapp-icon-wrapper,
.whatsapp-icon-container .whatsapp-icon,
.whatsapp-icon-container .whatsapp-icon > div,
.whatsapp-icon-container .whatsapp-icon > div > div {
  width: 60px;
  height: 60px;
}

.whatsapp-icon-container .whatsapp-icon img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: block;
}

/* DESKTOP REFINEMENTS (900px+) */
@media (min-width: 900px) {
  footer .footer-wrapper {
    padding:80px 75px 50px;
  }

  footer .footer-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
  }

  footer .footer-link-grid {
    flex: 4;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 10px;
  }

  /* Disable accordions on desktop */
  footer .footer-accordion-item {
    border-top: none;
  }

  footer .footer-accordion-header {
    cursor: default;
    padding: 0 0 20px;
    font-size: 13px;
  }

  footer .footer-accordion-header .icon-plus {
    display: none;
  }

  footer .footer-accordion-content {
    max-height: none !important;
    overflow: visible;
  }

  footer .footer-accordion-content ul li {
    margin-bottom: 10px;
  }

  footer .footer-accordion-content ul li a {
    font-size: 13px;
    color: #b1b1b1;
        line-height: 21px;
        margin: 14px 0 15px;
  }

  footer .footer-dealer-social-col {
    flex: 1.2;
            max-width: 216px;
    padding-top: 0;
  }

  footer .dealer-section strong,
  footer .dealer-section h2,
  footer .social-section strong,
  footer .social-section h2 {
    font-size: 14px;
    margin-top: 0;
  }

  footer .footer-bottom-bar {
    /* margin-top: 60px; */
    /* padding-top: 40px; */
    flex-direction: column; /* Normal order on desktop */
    align-items: flex-start;
    border-top: none;
  }

  footer .footer-branding {
    text-align: left;
    margin-bottom:22px;
    width: 100%;
    border-top: none;
    padding-top: 0;
  }

  footer .footer-brand-notice {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  footer .footer-legal-links {
            padding-top: 20px;
        border-top: 2px solid #747474;
        width: 100%;
  }

  footer .footer-legal-links .legal-links-wrapper ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
    margin-bottom: 0;
  }

  footer .footer-legal-links .legal-links-wrapper ul li a {
    font-size: 12px;
  }
}