/* =========================================================
   MAC BROTHERS AUTO REPAIR - MAC'S DEALS
========================================================= */

.mb-deal-card {
  width: min(1148px, calc(100% - 40px));

  margin: 50px auto;

  display: grid;

  grid-template-columns:
    45%
    55%;

  overflow: hidden;

  box-sizing: border-box;

  border: 1px solid #d8d8dc;
  border-radius: 12px;

  background: #fff;

  box-shadow:
    0 15px 38px
    rgba(0, 0, 0, .08);
}


/* LEFT SIDE */

.mb-deal-image {
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 45px;

  box-sizing: border-box;

  background: #f4f4f6;
}


.mb-deal-image img {
  display: block;

  width: 100%;
  max-width: 390px;
  height: auto;

  object-fit: contain;
}


/* RIGHT SIDE */

.mb-deal-content {
  min-width: 0;

  padding: 45px 50px;

  box-sizing: border-box;
}


.mb-deal-kicker {
  display: block;

  margin-bottom: 8px;

  color: #ef3436;

  font-size: 11px;
  font-weight: 900;

  letter-spacing: .15em;

  text-transform: uppercase;
}


.mb-deal-content h2 {
  margin: 0 0 11px;

  color: #18181b;

  font-size: clamp(31px, 3.2vw, 45px);
  font-weight: 950;

  letter-spacing: -.035em;

  line-height: 1.05;
}


.mb-deal-intro {
  margin: 0 0 25px;

  color: #55555b;

  font-size: 15px;

  line-height: 1.6;
}


/* BENEFITS */

.mb-deal-benefits {
  display: grid;

  gap: 10px;
}


.mb-deal-benefit {
  display: flex;
  align-items: flex-start;

  gap: 13px;

  padding: 14px 15px;

  border-left: 4px solid #ef3436;

  background: #f5f5f6;
}


.mb-check {
  width: 25px;
  height: 25px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  border-radius: 50%;

  background: #ef3436;

  color: #fff;

  font-size: 12px;
  font-weight: 900;
}


.mb-deal-benefit strong {
  display: block;

  margin-bottom: 3px;

  color: #18181b;

  font-size: 14px;
  font-weight: 900;
}


.mb-deal-benefit p {
  margin: 0;

  color: #626268;

  font-size: 12px;

  line-height: 1.45;
}


/* Show both Mac Brothers numbers without squeezing the action row. */
.mb-deal-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}
@media (max-width: 850px) {
  .mb-deal-phones { align-items: center; }
}

/* BUTTONS */

.mb-deal-actions {
  margin-top: 24px;

  display: flex;
  align-items: center;

  gap: 16px;
}


.mb-deal-primary {
  min-height: 51px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 23px;

  border-radius: 5px;

  background: #ef3436;

  color: #fff;

  font-size: 12px;
  font-weight: 900;

  letter-spacing: .035em;

  text-decoration: none;
  text-transform: uppercase;
}


.mb-deal-phone {
  color: #18181b;

  font-size: 18px;
  font-weight: 900;

  text-decoration: none;
}


.mb-deal-phone:hover {
  color: #ef3436;
}


.mb-deal-disclaimer {
  margin: 20px 0 0;

  color: #818187;

  font-size: 9px;

  line-height: 1.5;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 850px) {

  .mb-deal-card {
    display: grid;
    width: min(1148px, calc(100% - 20px));
    max-width: 100%;
    margin: 30px auto;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }


  .mb-deal-image {
    padding: 28px;
  }


  .mb-deal-image img {
    max-width: 300px;
  }


  .mb-deal-content {
    padding: 30px 22px;
  }


  .mb-deal-actions {
    align-items: stretch;

    flex-direction: column;
  }


  .mb-deal-primary {
    width: 100%;

    box-sizing: border-box;
  }


  .mb-deal-phone {
    padding: 5px 0;

    text-align: center;
  }

}
/* Keep both columns accessible at every size; avoid content overflow on phones. */
.mb-deal-card, .mb-deal-content, .mb-deal-image { min-width: 0; }
.mb-deal-content { overflow-wrap: anywhere; }
@media (max-width: 850px) {
  .mb-deal-card { position: relative; visibility: visible; opacity: 1; }
  .mb-deal-image { min-height: 0; }
  .mb-deal-image img { width: 100%; max-width: 300px; height: auto; }
  .mb-deal-benefit { min-width: 0; }
}
