/* MaidJet 3.3.26 — desktop 4-up home services and compact 4-up offer drawer. */
/* Home services: single row of 4 cards on desktop, with original content untouched. */
body.home .mj-home-services-grid {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  max-width:1152px;
  margin-inline:auto;
  gap:14px !important;
  align-items:stretch;
}
body.home .mj-home-services-grid>.service-card {
  min-width:0;
  min-height:0;
  padding:20px 18px !important;
  border:1px solid #dbe5f3;
  border-top:3px solid #2053a7;
  border-radius:16px;
  background:#fff;
  box-shadow:0 6px 20px rgba(26,55,103,.065);
}
body.home .mj-home-services-grid .service-card-num {font-size:24px;line-height:1;margin-bottom:6px;color:#d5e0f0;}
body.home .mj-home-services-grid .badge {align-self:flex-start;margin:0 0 8px;padding:4px 9px;font-size:10px;line-height:1.25;background:#eaf2ff;color:#1956a6;}
body.home .mj-home-services-grid .card-title {font-size:clamp(15px,1.05vw,18px);line-height:1.28;margin-bottom:8px;}
body.home .mj-home-services-grid .card-body {
  font-size:12px;line-height:1.52;margin-bottom:12px;color:#51617a;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;
}
body.home .mj-home-services-grid .check-list {gap:6px;margin-bottom:8px;}
body.home .mj-home-services-grid .check-list li {font-size:11px;line-height:1.42;}
body.home .mj-home-services-grid .card-link {padding-top:10px;margin-top:auto;font-size:12px;color:#2053a7;}
body.home .mj-home-services-grid>.service-card:hover {transform:translateY(-2px);box-shadow:0 12px 28px rgba(26,55,103,.11);}

/* Pricing cards stay as-is; only keep compact coupon strips. */
.mj-pricing-cards-section .mj-pricing-balanced-grid {max-width:1040px;gap:16px !important;}
.mj-pricing-cards-section .mj-pricing-balanced-grid>.pricing-card {padding:22px !important;border-radius:15px;}
.mj-pricing-cards-section .mj-card-deals {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:11px 0 12px;}
.mj-pricing-cards-section .mj-card-deal {
  display:grid;grid-template-columns:minmax(0,1fr);align-content:center;justify-items:start;text-align:left;
  min-width:0;min-height:60px;padding:9px 12px;border:1px solid #d9e5f5;border-radius:9px;
  background:#f4f8ff;gap:1px;box-shadow:none;
}
.mj-pricing-cards-section .mj-card-deal:nth-child(2) {background:#fff9ec;border-color:#f1dfb9;}
.mj-pricing-cards-section .mj-card-deal small {color:#5c7190;font-size:10px;font-weight:700;line-height:1.2;}
.mj-pricing-cards-section .mj-card-deal strong {color:#174da0;font-size:16px;line-height:1.18;margin-top:2px;}
.mj-pricing-cards-section .mj-card-deal:nth-child(2) strong {color:#995b00;}
.mj-pricing-cards-section .mj-deal-apply {font-size:10px;color:#28568f;line-height:1.2;margin-top:2px;}
.mj-pricing-cards-section .mj-card-deal-button:hover {border-color:#1c54a8;box-shadow:0 3px 11px rgba(17,54,118,.09);}

/* Special Offers drawer: 4 boxes side by side on desktop. */
.mj-offer-widget .mj-offer-panel {
  width:min(860px,calc(100vw - 46px));
  padding:18px 18px 16px;
  max-height:min(78vh,700px);
  border-radius:16px 0 0 16px;
}
.mj-offer-widget .mj-offer-heading {align-items:flex-start;gap:8px;}
.mj-offer-widget .mj-offer-kicker {font-size:9px;letter-spacing:.11em;color:#aa7400;}
.mj-offer-widget .mj-offer-heading h2 {font-size:20px;line-height:1.2;margin:4px 0;letter-spacing:-.02em;}
.mj-offer-widget .mj-offer-heading p {font-size:11px;margin:0 0 12px;}
.mj-offer-widget .mj-offer-switch {margin-bottom:10px;padding:3px;}
.mj-offer-widget .mj-offer-audience {font-size:11px;padding:8px 5px;}
.mj-offer-widget .mj-offer-group {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  align-content:start;
}
.mj-offer-widget .mj-offer-line {
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:space-between;
  gap:7px;
  margin:0;
  padding:10px 10px 9px;
  border:1px solid #dee7f3;
  border-radius:11px;
  background:linear-gradient(180deg,#fff,#fbfcff);
}
.mj-offer-widget .mj-offer-line span {font-size:11px;font-weight:750;line-height:1.3;color:#27446d;}
.mj-offer-widget .mj-offer-line strong {font-size:17px;line-height:1.15;margin-top:4px;color:#b1272c;}
.mj-offer-widget .mj-offer-pick {
  display:block;width:100%;padding:7px 6px;border:1px solid #f4b900;border-radius:7px;
  background:#ffbf0e;color:#152c55;font-size:10px;font-weight:800;line-height:1.2;
}
.mj-offer-widget .mj-offer-pick:hover {background:#f0ad00;}
.mj-offer-widget .mj-offer-terms {grid-column:1/-1;font-size:10px;line-height:1.4;margin:2px 1px 0;color:#738097;}
.mj-offer-widget .mj-offer-terms+.mj-offer-terms {margin-top:0;}

@media(max-width:1220px) {
 body.home .mj-home-services-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;max-width:900px;}
 .mj-offer-widget .mj-offer-panel {width:min(620px,calc(100vw - 30px));}
 .mj-offer-widget .mj-offer-group {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px) {
 body.home .mj-home-services-grid {grid-template-columns:1fr !important;max-width:520px;gap:12px !important;}
 body.home .mj-home-services-grid>.service-card {padding:20px !important;}
 .mj-pricing-cards-section .mj-pricing-balanced-grid{grid-template-columns:1fr !important;}
 .mj-offer-widget .mj-offer-panel {width:auto;max-width:none;}
}
@media(max-width:370px) {
 .mj-offer-widget .mj-offer-line {padding:8px;}
 .mj-offer-widget .mj-offer-line strong{font-size:15px;}
 .mj-offer-widget .mj-offer-line span{font-size:10px;}
 .mj-pricing-cards-section .mj-card-deal{padding:8px;}
}
@media(prefers-reduced-motion:reduce){body.home .mj-home-services-grid>.service-card:hover{transform:none;}}


/* v3.3.27 — ONLY pricing service card layout: four equal columns on desktop.
   Existing coupons, card contents, calculator and other pages are unchanged. */
@media (min-width: 1100px) {
  .mj-pricing-cards-section .mj-pricing-balanced-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    max-width: 1152px !important;
    gap: 14px !important;
    align-items: stretch;
  }
  .mj-pricing-cards-section .mj-pricing-balanced-grid > .pricing-card {
    min-width: 0;
    padding: 16px !important;
  }
}


/* v3.3.28 — yellow highlighted service titles only; rest unchanged. */
.mj-pricing-cards-section .pricing-card h2,
body.home .mj-home-services-grid .card-title {
  display:inline-block;
  width:fit-content;
  max-width:100%;
  background:#ffbf0e;
  color:#173b69;
  padding:6px 12px;
  border-radius:10px;
  line-height:1.25;
  box-shadow:0 2px 0 rgba(196,122,26,.18);
}
.mj-pricing-cards-section .pricing-card h2 { margin-bottom:12px; }
body.home .mj-home-services-grid .card-title { margin-bottom:10px; }


/* v3.3.30 — Pricing service title design only.
   Replace the heavy yellow blocks with consistent, refined gold-accent headers. */
.mj-pricing-cards-section .mj-pricing-balanced-grid > .pricing-card > h2 {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 62px;
    margin: 8px 0 13px;
    padding: 10px 12px;
    background: #fff8e7;
    color: #17365f;
    border: 1px solid #f2e4ba;
    border-left: 4px solid #efad00;
    border-radius: 7px;
    box-shadow: none;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.015em;
    text-wrap: pretty;
}


/* v3.3.31 — homepage services: ONE consistent MaidJet yellow header bar per card.
   Applies only to the four service names on the homepage. */
body.home .mj-home-services-grid > .service-card > h3.card-title {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  min-height: 54px !important;
  margin: 0 0 11px !important;
  padding: 10px 12px !important;
  background: #ffbf0e !important;
  color: #142d55 !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.012em !important;
  text-wrap: pretty;
}
