@keyframes fade-up {
    /* from{
        translate: 0 30%; opacity: 0;
    } */
    to{
        translate: 0 0%; opacity: 1;
    }
}
/* Hero Banner - New Arrival */
.herobanner.new-arrival {
  /* Swiper Slide */
  .swiper-slide > * {
    grid-area: 1 / 1;
  }

  /* Swiper Controls */
  .swiper-controls {
    position: absolute;
    bottom: 30px;
    right: 0;
    width: 23em;
    z-index: 5;
    display: flex;
    align-items: center;
    column-gap: 2rem;
  }

  /* Swiper Navigation Buttons */
  .swiper-navs :is(.swiper-button-next, .swiper-button-prev) {
    border-color: var(--color-white);
  }

  .swiper-navs :is(.swiper-button-next, .swiper-button-prev):hover {
    border-color: var(--color-accent);
  }

  .swiper-navs :is(.swiper-button-next, .swiper-button-prev)::after {
    font-size: 0.8em;
    color: var(--color-white);
  }

  /* Swiper Progress / Pagination */
  .swiper-progress {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    position: relative;
  }

  .swiper-progress .swiper-pagination-progress {
    font-size: var(--text-20);
    top: 50%;
    translate: 0 -50%;
    width: calc(100% - (1.4em * 2));
    left: 1.4em;
    background: transparent;
    border-bottom: 1px solid var(--color-white);
  }

  .swiper-pagination-progress .swiper-pagination-progressbar-fill {
    background: var(--color-white);
  }

  .swiper-progress .swiper-pagination-fraction {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .swiper-progress .swiper-pagination-fraction span {
    font-size: var(--text-20);
    color: var(--color-white);
  }

  /* Inner Container Animations */
  .inner-container span {
    font-size: var(--text-16);
    color: var(--color-secondary);
    animation-delay: 1.2s;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transition-duration: 1s;
    -webkit-transition: 1s;
    -moz-transition: 1s all;
    -ms-transition: 1s all;
    -o-transition: 1s all;
  }

  .inner-container p {
    font-size: var(--text-42);
    max-width: 8em;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 0.35em;
    translate: 0 2em;
    opacity: 0;
    animation-delay: 2s;
  }

  .inner-container .btn {
    translate: 0 5em;
    opacity: 0;
    animation-delay: 2.5s;
  }

  /* Active Slide Animations */
  .swiper-slide.swiper-slide-active p {
    animation-name: fade-up;
    animation-duration: 1s;
    animation-fill-mode: both;
  }

  .swiper-slide.swiper-slide-active span {
    animation-name: clip-horizontal;
    animation-duration: 1s;
    animation-fill-mode: forwards;
  }

  .swiper-slide.swiper-slide-active .btn {
    animation-name: fade-up;
    animation-duration: 1s;
    animation-fill-mode: forwards;
  }
}

/* Hero Banner Positioning for container */
.herobanner .swiper-wrapper + .container .col-lg-10 {
  position: relative;
}

@keyframes clip-horizontal {
    from{
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%)
    }
    to{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)
    }
}
    @keyframes shine {
    100% {
      left: 125%;
    }
  }
  /* ================================
   Product Listing
   ================================ */
.product-listing a figure {
  position: relative;
  overflow: hidden;
}

.product-listing a figure::before {
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 2;
  display: block;
  content: '';
  width: 40%;
  height: 100%;
  background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
  -webkit-transform: skewX(-25deg);
  transform: skewX(-25deg);
}

.product-listing:hover a figure::before {
  -webkit-animation: shine 0.95s;
  animation: shine 0.95s;
}

/* ================================
   Propositions Swiper
   ================================ */
.propositions .swiper-navs {
  justify-content: center;
  padding-top: 4rem;
}

.propositions .swiper-navs :is(.swiper-button-next, .swiper-button-prev) {
  border-color: #f5f5f5;
  background: #f5f5f5;
  width: 1.5em;
  align-items: center;
}

.propositions .swiper-navs :is(.swiper-button-next, .swiper-button-prev)::after {
  border-color: #fff;
  color: var(--color-dark);
  font-weight: 600;
  font-size: 0.6em;
  line-height: 1;
}

.propositions .swiper-navs :is(.swiper-button-next, .swiper-button-prev):hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.propositions .swiper-navs :is(.swiper-button-next, .swiper-button-prev):hover::after {
  color: var(--color-white);
}

/* ================================
   B2B Listings & Hero Banner
   ================================ */
.herobanner.b2b-list {
  position: relative;
}

.herobanner.b2b-list .only_image {
  aspect-ratio: auto;
}

.herobanner.b2b-list .only_image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.herobanner.b2b-list .only_image .container {
  position: relative;
  z-index: 9;
}

/* Swiper Controls for B2B */
.herobanner.b2b-list .swiper-controls {
  width: 100%;
}

/* ================================
   Media News Section
   ================================ */
.media_news_top {
  position: relative;
  margin-top: 7rem;
}

.media_news_top:after {
  content: "";
  width: 100%;
  height: 50%;
  background: #fff;
  position: absolute;
  bottom: 0;
  z-index: -1;
}

.media_news_top .row {
  align-items: center;
}

figure.media_news_top_img img {
  border-radius: 10px;
}

.media_news_top_txt {
  margin-left: -10rem;
  background: #ec3237 0% 0% no-repeat padding-box;
  border-radius: 10px;
  padding: 5rem;
  position: relative;
}

.media_news_top_txt h4 {
  font-size: var(--text-21);
  color: #fff;
}

.media_news_top_txt time {
  color: #fff;
  margin-bottom: 1.5rem;
  display: inline-block;
}

a.bx_link {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  font-size: 0;
  z-index: 999;
}

/* Media News List */
.media_news_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.media_news_list_item {
  padding: 4rem;
  background: transparent linear-gradient(247deg, #231f27 0%, #382e43 100%) 0% 0% no-repeat padding-box;
  border-radius: 10px;
  position: relative;
}

.media_news_list_item h4 {
  font-size: var(--text-21);
  color: #fff;
  margin-top: 1em;
  font-weight: 200;
  padding-right: 1em;
  transition: all 0.4s ease-in-out;
}

.media_news_list_item:hover h4 {
  color: #ec3237;
}

.media_news_list_item p {
  position: relative;
  display: block;
  width: 100%;
  font-size: var(--text-10);
  color: #fff;
  margin-bottom: 0 !important;
}

.media_news_list_item p::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: calc(100% - 8em);
  height: 1px;
  background: var(--color-white);
  opacity: 0.2;
}

/* Image variant */
.media_news_list_item.img {
  background: transparent;
  padding: 0;
  position: relative;
}

.media_news_list_item.img:after {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 10%, rgba(0,0,0,0) 50%);
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 10px;
}

.media_news_list_item.img img {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media_news_list_item.img figcaption {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 1;
}

.media_news_list_item.img h4 {
  font-size: var(--text-16);
  font-weight: 300;
  margin-bottom: 0.7em;
}

.media_news_list_item.img p {
  display: inline-block;
  max-width: fit-content;
  background: var(--color-accent);
  padding: 1.4rem;
  border-radius: 10px;
  font-size: var(--text-16);
  text-align: center;
}

.media_news_list_item.img p span {
  display: block;
  margin-top: -0.4rem;
}

/* ================================
   FAQ Accordion
   ================================ */
.faq_accordion:not(:first-child) {
  margin-top: 5rem;
}

.faq_accordion:last-child {
  padding-bottom: 8rem;
}

.accordion_wrapper.faq .accordion-item {
  margin: 0.5rem 0;
}

.accordion_wrapper.faq .accordion-header {
  position: relative;
}

.accordion_wrapper.faq .accordion-button {
  font-size: var(--text-13);
  display: flex;
  justify-content: space-between;
  padding: 2rem;
  position: relative;
}

.accordion_wrapper.faq .accordion-button:not(.collapsed) {
  background-color: var(--color-accent);
  color: #fff;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion_wrapper.faq .accordion-button:not(.collapsed)::after {
  filter: invert(1);
}

.accordion_wrapper.faq h4 {
  font-size: var(--text-16);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1.25em;
}

.faq_ans a {
  color: var(--bs-body-color);
  font-weight: 400;
}

.faq_ans a:hover {
  color: var(--color-accent);
}

/* ================================
   Utility Styles
   ================================ */
.my-10 { margin: 5rem 0; }
hr { border-color: #b7b7b7; }
p a:hover { color: #000; }
.fit_section p a:hover { color: var(--color-accent); }
.frm_profille p a { color: var(--color-accent); }
.frm_register .btn-theme-accent { margin-top: 3.5rem; }
.prev-step { margin-top: 3.5rem; }
.select2-container { width: 100% !important; }

/* ================================
   Dealer Steps
   ================================ */
.dealer_steps ul {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-bottom: 6rem;
  padding: 0;
}

.dealer_steps ul li {
  text-align: center;
  position: relative;
}

.dealer_steps ul li::before {
  background-color: var(--color-default-dark);
  height: 0.2rem;
  left: 0;
  content: "";
  position: absolute;
  top: 2.6rem;
  right: 0;
}

.dealer_steps ul li.active::before {
  background-color: var(--color-accent);
}

.dealer_steps ul li a {
  background-color: var(--color-default-dark);
  font-size: 2.6rem;
  width: 6rem;
  height: 6rem;
  border-radius: 33rem;
  padding: 0;
  color: var(--color-white);
  position: relative;
  display: flex;
  margin: 0 auto;
  align-items: center;
  line-height: 1;
  text-align: center;
  justify-content: center;
}

.dealer_steps ul li.active a {
  background-color: var(--color-accent);
  color: var(--color-white);
  border: 2px solid var(--color-accent);
}

/* ================================
   Responsive Media Queries
   ================================ */
@media (max-width: 1366px) {
  .b2b-listing {
    -webkit-aspect-ratio: 24 / 9;
    aspect-ratio: 24 / 9;
  }
}

@media (max-width: 991px) {
  .b2b-listing {
    -webkit-aspect-ratio: auto;
    aspect-ratio: auto;
    min-height: auto;
  }

  .new_heading_section {
    padding-top: 2rem;
  }

  .herobanner.b2b-list .only_image .container {
    padding-bottom: 8rem;
    position: relative;
    z-index: 9;
  }

  .herobanner.b2b-list .swiper-controls {
    width: 100%;
  }
}

/* Add additional media queries below similarly... */


 