.acfm-commercial-block{display:flex;flex-direction:column;gap:10px}
.acfm-vehicle-price{font-size:32px;font-weight:700}
.acfm-vehicle-status{display:inline-flex;align-self:flex-start;padding:6px 12px;border-radius:999px;background:#f0f0f1;font-weight:700}
.acfm-gallery-main{display:block;width:100%;padding:0;border:0;background:none;cursor:pointer}
.acfm-gallery-main img{display:block;width:100%;height:auto}
.acfm-gallery-thumbs{display:flex;gap:10px;overflow-x:auto;margin-top:12px}
.acfm-gallery-thumb{width:86px;height:64px;padding:0;border:2px solid transparent;background:none;overflow:hidden;border-radius:6px}
.acfm-gallery-thumb.is-active{border-color:#2271b1}
.acfm-gallery-thumb img{width:100%;height:100%;object-fit:cover}
.acfm-contact-actions{display:flex;flex-wrap:wrap;gap:10px}
.acfm-action-button{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border:0;border-radius:6px;background:#2271b1;color:#fff;text-decoration:none;cursor:pointer}
.acfm-action-button:hover{background:#135e96;color:#fff}
.acfm-components-modal{display:none;position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.75);align-items:center;justify-content:center;padding:24px}
.acfm-components-modal.is-open{display:flex}
.acfm-components-modal-box{position:relative;background:#111;padding:22px;border-radius:12px;max-width:96vw;max-height:92vh}
.acfm-components-modal-close{position:absolute;right:8px;top:4px;border:0;background:none;color:#fff;font-size:34px}
.acfm-lightbox-image{max-width:90vw;max-height:82vh}
@media(max-width:700px){.acfm-contact-actions{flex-direction:column}.acfm-action-button{width:100%}}
.acfm-gallery-main{position:relative}

.acfm-features-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.acfm-feature-item{
  display:flex;
  align-items:flex-start;
  gap:9px;
  padding:12px 14px;
  border:1px solid #e2e4e7;
  border-radius:8px;
  background:#fff;
}
.acfm-feature-icon{
  flex:0 0 auto;
  color:#00a32a;
  font-weight:700;
}
.acfm-feature-text{
  min-width:0;
}
@media(max-width:1024px){
  .acfm-features-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
  .acfm-features-grid{grid-template-columns:1fr}
}

.acfm-compare-trigger{
  gap:8px;
}
.acfm-compare-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}
.acfm-compare-icon i{
  display:inline-block;
}
.acfm-compare-icon{
  width:44px;
  height:44px;
  padding:0;
  border-radius:50%;
}
.acfm-compare-icon .acfm-compare-label{
  display:none;
}
.acfm-compare-trigger.is-selected{
  background:#00a32a;
  color:#fff;
  border-color:#00a32a;
}
.acfm-compare-trigger.is-unavailable{
  opacity:.45;
  cursor:not-allowed;
}

/* AutoCarflux SVG icon library */
.acfm-feature-icon{
  width:30px;
  height:30px;
  flex:0 0 auto;
  background-color:currentColor;
  -webkit-mask-image:var(--acfm-icon);
  mask-image:var(--acfm-icon);
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-size:contain;
  mask-size:contain;
}
.acfm-feature-content{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:12px;
  width:100%;
}
.acfm-feature-label{
  font-weight:500;
}
.acfm-feature-value{
  text-align:left;
}
@media(max-width:480px){
  .acfm-feature-content{
    grid-template-columns:1fr;
    gap:3px;
  }
}

/* AutoCarflux Equipment widget */
.acfm-equipment-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.acfm-equipment-item{
  display:flex;
  align-items:flex-start;
  gap:9px;
  padding:12px 14px;
  border:1px solid #e2e4e7;
  border-radius:8px;
  background:#fff;
}
.acfm-equipment-icon{
  flex:0 0 auto;
  color:#00a32a;
  font-weight:700;
  line-height:1.25;
}
.acfm-equipment-text{
  min-width:0;
}
@media(max-width:1024px){
  .acfm-equipment-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:767px){
  .acfm-equipment-grid{
    grid-template-columns:1fr;
  }
}

.acfm-gallery-main-wrap{position:relative}
.acfm-gallery-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:4;display:flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.58);color:#fff;font-size:36px;cursor:pointer}
.acfm-gallery-prev{left:14px}.acfm-gallery-next{right:14px}
.acfm-gallery-thumbs-wrap{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin-top:12px}
.acfm-gallery-thumbs-viewport{min-width:0;overflow:hidden;scroll-behavior:smooth}
.acfm-gallery-thumbs-track{display:flex;gap:10px;width:100%}
.acfm-gallery-thumb{flex:0 0 calc((100% - ((var(--acfm-thumbs-desktop,6) - 1) * 10px))/var(--acfm-thumbs-desktop,6));width:calc((100% - ((var(--acfm-thumbs-desktop,6) - 1) * 10px))/var(--acfm-thumbs-desktop,6));max-width:none;aspect-ratio:4/3}
.acfm-thumbs-nav{display:flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:#1d2327;color:#fff;font-size:25px;cursor:pointer}
@media(max-width:1024px){.acfm-gallery-thumb{flex-basis:calc((100% - ((var(--acfm-thumbs-tablet,4) - 1) * 10px))/var(--acfm-thumbs-tablet,4));width:calc((100% - ((var(--acfm-thumbs-tablet,4) - 1) * 10px))/var(--acfm-thumbs-tablet,4))}}
@media(max-width:767px){.acfm-gallery-nav{width:40px;height:40px;font-size:30px}.acfm-gallery-prev{left:8px}.acfm-gallery-next{right:8px}.acfm-gallery-thumb{flex-basis:calc((100% - ((var(--acfm-thumbs-mobile,3) - 1) * 10px))/var(--acfm-thumbs-mobile,3));width:calc((100% - ((var(--acfm-thumbs-mobile,3) - 1) * 10px))/var(--acfm-thumbs-mobile,3))}}

.acfm-status-watermark{
  position:absolute;
  left:50%;
  top:50%;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:center;
  width:var(--acfm-watermark-size,60%);
  max-width:96%;
  pointer-events:none;
  transform:translate(-50%,-50%);
}
.acfm-status-watermark-image img{
  display:block;
  width:100%;
  height:auto;
  max-height:90%;
  object-fit:contain;
}
.acfm-status-watermark-text{
  width:auto;
  max-width:var(--acfm-watermark-size,60%);
  padding:.18em .45em;
  border:.08em solid currentColor;
  border-radius:.14em;
  background:rgba(255,255,255,.84);
  font-size:clamp(26px,calc(var(--acfm-watermark-size,60%) * .11),76px);
  font-weight:900;
  letter-spacing:.08em;
  line-height:1;
  text-align:center;
  text-shadow:0 1px 0 rgba(255,255,255,.75);
  transform:translate(-50%,-50%) rotate(-18deg);
}
.acfm-status-watermark-sold{
  color:#c00;
}
.acfm-status-watermark-reserved{
  color:#b56b00;
}
.acfm-status-watermark-image{
  transform:translate(-50%,-50%);
}

.acfm-featured-image-link{
  display:block;
}
.acfm-featured-image-wrap{
  position:relative;
  width:100%;
  overflow:hidden;
}
.acfm-featured-image{
  display:block;
  width:100%;
  height:auto;
}
.acfm-commercial-block{
  display:flex;
  box-sizing:border-box;
}
.acfm-commercial-style-stacked{
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
}
.acfm-commercial-style-inline{
  flex-direction:row;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
}
.acfm-commercial-style-card{
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  padding:18px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:12px;
  background:#fff;
}
.acfm-vehicle-status{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:5px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  line-height:1.2;
}
.acfm-status-for_sale{
  background:#d7f3df;
  color:#006b2d;
}
.acfm-status-sold{
  background:#ffd7d7;
  color:#8a0000;
}
.acfm-status-reserved{
  background:#fff0bf;
  color:#754f00;
}
.acfm-status-new_arrival{
  background:#dcecff;
  color:#0a4b78;
}
.acfm-status-under_consult{
  background:#ececec;
  color:#3c434a;
}
.acfm-sold-location{
  font-size:13px;
}

.acfm-commercial-align-left{
  text-align:left;
}
.acfm-commercial-align-center{
  text-align:center;
}
.acfm-commercial-align-right{
  text-align:right;
}
.acfm-commercial-style-stacked.acfm-commercial-align-left,
.acfm-commercial-style-card.acfm-commercial-align-left{
  align-items:flex-start;
}
.acfm-commercial-style-stacked.acfm-commercial-align-center,
.acfm-commercial-style-card.acfm-commercial-align-center{
  align-items:center;
}
.acfm-commercial-style-stacked.acfm-commercial-align-right,
.acfm-commercial-style-card.acfm-commercial-align-right{
  align-items:flex-end;
}
.acfm-commercial-style-inline.acfm-commercial-align-left{
  justify-content:flex-start;
}
.acfm-commercial-style-inline.acfm-commercial-align-center{
  justify-content:center;
}
.acfm-commercial-style-inline.acfm-commercial-align-right{
  justify-content:flex-end;
}
.acfm-commercial-align-center .acfm-vehicle-status,
.acfm-commercial-align-center .acfm-vehicle-price,
.acfm-commercial-align-center .acfm-sold-location{
  margin-left:auto;
  margin-right:auto;
}
.acfm-commercial-align-right .acfm-vehicle-status,
.acfm-commercial-align-right .acfm-vehicle-price,
.acfm-commercial-align-right .acfm-sold-location{
  margin-left:auto;
}
