:root {
    --bs-primary: #000000;
    --bs-primary-light: #e3d9a2;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-primary:hover,
.btn-primary:focus-within,
.btn-primary:active,
.btn-primary:focus {
    background-color: var(--bs-primary-light) !important;
    border-color: var(--bs-primary-light) !important;
}

.text-primary {
    color: var(--bs-primary) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.top-header {
    background-color: var(--bs-primary) !important;
}

.top-header .google,
.top-header .facebook,
.top-header .twitter,
.top-header .instagram {
    color: white;
    margin-right: 5px;
}

.top-header .contact {
    text-align: right;
}

.top-header .contact .phone {
    color: white;
    text-decoration: none;
}

.footer-container {
    background-color: var(--bs-primary);
    color: white;
    bottom: 0; 
    left: 0;
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
}

.footer-container .container {
    min-height: 50px;
    text-align: center;
    padding: 15px;
}

.footer-container .footer-links a {
    color: white;
    text-decoration: none;
    margin-left: 10px;
}

.footer-container footer {
    margin-top: 10px;
}

.footer-container .footer-links {
    text-align: left;
}


.banner-heading {
    text-align: center;
    margin-top: 20%;
}

.banner-container {
    background-color: #00000055;
}

.banner-search-card {
    max-width: 800px;
}

.filter-heading {
    margin-bottom: 25px;
    padding-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.home-section2-part1 {
    display: grid;
    align-items: center;
}

.home-section2-part2 {
    background-color: var(--bs-primary-light);
}

.card-top-white-bottom-light .card-top {
    background-color: white;
    padding: 10px;
    color: var(--bs-primary);
    height: 150px;
    display: grid;
    align-items: center;
}

.card-top-white-bottom-light .card-bottom {
    background-color: var(--bs-primary-light);
    color: white;
    display: grid;
    height: 150px;
    align-items: center;
}

@media (min-width:550px) {
    .text-md-right {
        text-align: right !important;
    }
}

@media (max-width:550px) {
    .text-sm-center {
        text-align: center !important;
    }
}

.basicFilterContainer {
    border-radius: 5px;
    margin-bottom: 15px;
    padding: 10px;
}

.wrapper-card-link {
    text-decoration: none;
    color: unset;
}

.wrapper-card-link:hover .card {
    box-shadow: 0 0 20px #0000006d;
}

.wrapper-card-link .card {
    margin-bottom: 24px !important;
    transition-duration: 500ms;
}

.wrapper-card-link .card .card-body h4 {
    min-height: 60px;
}
#carousel{
	background-color:#161e10;
}


/* top offer style between navbar and banner */
/* Container spacing */
.layout-top.wo-container{
  width:100%;
  background:linear-gradient(90deg,#8b1e1e,#b02a2a);
  padding:14px 0;
  display:flex;
  justify-content:center;
  position:relative;
  z-index:10;
}

/* Outer wrapper */
.layout-top .wo-outer-wrapper{
  width:1100px;
  max-width:95%;
  background:linear-gradient(135deg,#fff7e6,#ffffff);
  border-radius:14px;
  padding:18px 24px;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  border:1px solid rgba(255,255,255,.6);
}

/* Inner layout */
.layout-top .wo-inner-wrapper{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
}

/* Header */
.layout-top .wo-header{
  font-weight:800;
  font-size:18px;
  color:#8b1e1e;
  letter-spacing:.5px;
  text-transform:uppercase;
}

/* Text */
.layout-top .wo-text{
  font-size:25px;
  color:#374151;
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}

/* Coupon badge */
.layout-top .wo-coupon{
  font-weight:700;
  font-size:14px;
  background:#8b1e1e;
  color:#fff;
  padding:8px 14px;
  border-radius:999px;
  letter-spacing:.5px;
  box-shadow:0 6px 18px rgba(139,30,30,.25);
}

@media (max-width:768px){
  .layout-top .wo-inner-wrapper{
    flex-direction:column;
    align-items:flex-start;
  }

  .layout-top .wo-coupon{
    margin-top:6px;
  }
}
/* ---------- Offer Banner (VDP) ---------- */

[data-intent-offer="vdp"] {
    margin-top: 20px;
    margin-bottom: 50px;
}

[data-intent-offer="vdp"] .ibo-vdp-container{
  display:flex;
  justify-content:flex-start;
  align-items:flex-start;
}

/* Outer frame */
[data-intent-offer="vdp"] .ibo-vdp-outer-wrapper{
  width:340px;
  border-radius:16px;
  position:relative;
  overflow:hidden;
  /* keep spacing for border thickness */
  padding:2px;
  /* keep your shadow + float */
  box-shadow:0 18px 45px rgba(0,0,0,.18);
  animation:vdp-float 3.5s ease-in-out infinite;
  /* IMPORTANT: remove the old static background */
  background: none;
}

/* Rotating border ring */
[data-intent-offer="vdp"] .ibo-vdp-outer-wrapper::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:16px;

  /* moving border */
  background: conic-gradient(
    from 0deg,
    #12b88b,
    #FF5666,
    #12b88b
  );

  /* show only a 2px ring */
  padding:2px;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  animation:vdp-border-spin 2.6s linear infinite;
  pointer-events:none;
}

/* rotate the conic-gradient */
@keyframes vdp-border-spin{
  to { transform: rotate(360deg); }
}

/* Subtle shine sweep (moved from ::before to ::after) */
[data-intent-offer="vdp"] .ibo-vdp-outer-wrapper::after{
  content:"";
  position:absolute;
  top:-30%;
  left:-60%;
  width:120%;
  height:160%;
  background:linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.22) 50%,
    rgba(255,255,255,0) 100%
  );
  transform:rotate(18deg);
  animation:vdp-shine 5.5s ease-in-out infinite;
  pointer-events:none;
}


/* Inner card */
[data-intent-offer="vdp"] .ibo-vdp-inner-wrapper{
  position:relative;
  z-index:1;
  background:#fff;
  border-radius:14px;
  padding:18px 16px 14px 16px;
}


/* Attention badge */
[data-intent-offer="vdp"] .ibo-vdp-inner-wrapper::after{
  content:"Limited Time";
  position:absolute;
  top:12px;
  right:12px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.6px;
  text-transform:uppercase;
  color:#fff;
  padding:6px 10px;
  border-radius:999px;
  background:#111;

}

/* Header */
[data-intent-offer="vdp"] .ibo-vdp-header{
  font-weight:800;
  font-size:18px;
  line-height:1.2;
  color:#0f172a;
  margin-bottom:8px;
  padding-right:96px; /* room for badge */
}

/* Text */
[data-intent-offer="vdp"] .ibo-vdp-text{
  color:#475569;
  font-size:14px;
  line-height:1.35;
  margin-bottom:12px;
}

/* Footer / CTA area */
[data-intent-offer="vdp"] .ibo-vdp-footer{
  border-top:1px solid #eef2f7;
  padding-top:12px;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-start;
}

/* Coupon CTA pill */
[data-intent-offer="vdp"] .ibo-vdp-coupon{
  display:inline-flex;
  align-items:center;
  gap:20px;
  font-weight:800;
  font-size:13px;
  color:#0b3b2d;
  padding:10px 12px;
  border-radius:12px;
  background:linear-gradient(180deg, rgba(18,184,139,.12), rgba(18,184,139,.06));
  border:1px solid rgba(18,184,139,.35);
  position:relative;
  overflow:hidden;
}

/* Little icon dot */
[data-intent-offer="vdp"] .ibo-vdp-coupon::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:50%;
  background:#12b88b;
  box-shadow:0 0 0 4px rgba(18,184,139,.18);
}

/* Pulse ring (attention seeker) */
[data-intent-offer="vdp"] .ibo-vdp-coupon::after{
  content:"";
  position:absolute;
  left:14px;
  top:50%;
  width:18px;
  height:18px;
  border-radius:50%;
  transform:translateY(-50%);
  border:2px solid rgba(18,184,139,.55);
  animation:vdp-pulse 1.8s ease-out infinite;
  pointer-events:none;
}

/* Hover interaction */
[data-intent-offer="vdp"] .ibo-vdp-outer-wrapper:hover{
  transform:translateY(2px);
  box-shadow:0px 0px 20px 0px rgb(255 188 0 / 86%);
}
[data-intent-offer="vdp"] .ibo-vdp-outer-wrapper:hover [data-intent-offer="vdp"] .ibo-vdp-coupon{
  border-color:rgba(255,86,102,.5);
  background:linear-gradient(180deg, rgba(255,86,102,.10), rgba(18,184,139,.06));
}

/* Keep your normal styles; this only adds the sweep */
.flash-sweep {
  position: relative;
  overflow: hidden;           /* ensures the flash stays inside */
  isolation: isolate;         /* keeps blending contained (optional, safe) */
}

/* The moving "flash" */
.flash-sweep::after {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  width: 35%;
  left: -60%;

  /* Light band with soft edges (very cheap) */
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );

  transform: translateX(0) skewX(-20deg);
  animation: flash-sweep-move 2.8s ease-in-out infinite;

  pointer-events: none;
  will-change: transform;
}

@keyframes flash-sweep-move {
  0%, 70% {
    transform: translateX(0) skewX(-20deg);
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    transform: translateX(420%) skewX(-20deg); /* move across */
    opacity: 0;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .flash-sweep::after {
    animation: none;
    opacity: 0;
  }
}


/* -------- Offer Modal (Polished) -------- */

/* Make the dialog a bit wider and consistent */
.ibo-offer-model-dialog{
  max-width: 640px;
  width: calc(100% - 32px);
}

/* Main card */
.ibo-offer-modal-content{
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  background: #fff;
}

/* Header: place close button nicely */
.ibo-offer-modal-header{
  padding: 12px 14px;
  position: relative;
  z-index: 3;
}

/* Close button: circular, subtle, professional */
.ibo-offer-modal-header .btn-close{
  opacity: 1;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background-color: rgba(17,17,17,.06);
  padding: 10px;
  margin: 0;
}
.ibo-offer-modal-header .btn-close:hover{
  background-color: rgba(17,17,17,.10);
}

/* Body spacing */
.ibo-offer-modal-body{
  padding: 0 22px 22px 22px;
}

/* Image section as hero header */
.ibo-offer-modal-body .ibo-image{
  margin: 0 -22px 14px -22px; /* full-bleed */
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(255,86,102,.10), rgba(18,184,139,.10));
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.ibo-offer-modal-body .ibo-image img {
    display: block;
    max-width: 520px;
    margin: 0 auto;
    height: 140px;
    border-radius: 12px;
}

/* Message block */
.ibo-offer-modal-body .ibo-message{
  padding: 6px 2px 0 2px;
  color: #334155;              /* slate */
  font-size: 15px;
  line-height: 1.55;
}

/* Headline */
.ibo-offer-modal-body .ibo-message h3{
  margin: 10px 0 10px 0;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #0f172a;
  font-size: 22px;
}

/* Coupon as a code card */
.ibo-offer-modal-body .ibo-coupon{
  margin-top: 14px;
  padding: 14px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18,184,139,.10), rgba(18,184,139,.05));
  border: 1px solid rgba(18,184,139,.28);
  color: #0b3b2d;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Make the code part stand out (no HTML change needed) */
.ibo-offer-modal-body .ibo-coupon{
  position: relative;
  padding-right: 120px; /* room for "CODE" pill */
}

/* Right side pill (visual affordance) */
.ibo-offer-modal-body .ibo-coupon::after{
  content: "CODE";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  padding: 7px 10px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 11px;
  letter-spacing: .8px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(15,23,42,.18);
}

/* Optional: if you later show CTA buttons in footer */
.ibo-cta-container{
  padding: 0 22px 22px 22px;
}

/* Better backdrop feel */
.modal.ibo-offer-model{
  backdrop-filter: blur(2px);
}

/* Responsive tweaks */
@media (max-width: 480px){
  .ibo-offer-modal-body{
    padding: 0 16px 18px 16px;
  }
  .ibo-offer-modal-body .ibo-image{
    margin: 0 -16px 12px -16px;
    padding: 14px 16px;
  }
  .ibo-offer-modal-body .ibo-message h3{
    font-size: 20px;
  }
  .ibo-offer-modal-body .ibo-coupon{
    padding-right: 100px;
  }
}


.wo-carousal-images.wo-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bs-primary);
    color: white;
    top: 0;
    left: 0;
    text-align:center;
}
.wo-carousal-images .wo-header {
    font-size: 30px;
    font-weight: 900;
}
.wo-carousal-images .wo-text{
    font-size: 20px;
}

/* Global Offer */
.wo-similarVehicles.wo-container,.wo-searchResult.wo-container,.wo-featured.wo-container {
    background: var(--bs-primary);
    border-radius: 8px;
    color: white;
    font-size: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.wo-similarVehicles.wo-container,.wo-searchResult.wo-container{
    margin: 12px;
}
.wo-featured.wo-container{
  margin-bottom: 12px;
}
.wo-similarVehicles.wo-header,.wo-searchResult.wo-header,.wo-featured.wo-header  {
    font-weight: 900;
    font-size: 30px;
}
.wo-similarVehicles.wo-text,.wo-searchResult.wo-text,.wo-featured.wo-text {
    margin-top: 10px;
}