/* MPBD-HOME — homepage (front-page.php) styles */

/* Full-bleed: neutralize Astra's flex .ast-container on the front page so our
   full-width section backgrounds work and horizontal scrollers can't blow out
   the page (Astra's container is display:flex which propagated carousel width). */
.home #content > .ast-container { display: block; width: 100%; max-width: 100%; padding-left: 0; padding-right: 0; margin: 0; min-width: 0; }
.home #content > .ast-container > #primary { width: 100%; max-width: 100%; min-width: 0; }

.mpbd-home { background: #fff; }
.mpbd-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 15px; transition: .15s; }
.mpbd-btn-primary { background: var(--mpbd-accent); color: #fff; }
.mpbd-btn-primary:hover { filter: brightness(1.06); color: #fff; }
.mpbd-btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.mpbd-btn-ghost:hover { background: rgba(255,255,255,.24); color: #fff; }

/* Section shell */
.mpbd-section { padding: 38px 0; }
.mpbd-section-accent { background: var(--mpbd-bg-soft); }
.mpbd-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; gap: 16px; }
.mpbd-section-title { font-size: 24px; margin: 0; color: var(--mpbd-primary); position: relative; padding-left: 14px; }
.mpbd-section-title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 3px; background: var(--mpbd-accent); }
.mpbd-section-tools { display: flex; align-items: center; gap: 8px; }
.mpbd-section-more { display: inline-flex; align-items: center; gap: 5px; color: var(--mpbd-primary); text-decoration: none; font-weight: 600; font-size: 14px; margin-right: 6px; }
.mpbd-section-more:hover { color: var(--mpbd-accent); }
/* Carousel arrows — AppleGadgets style: perfect circles, left outline + right filled */
.mpbd-car-nav { flex: none; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid var(--mpbd-line); background: #fff; color: var(--mpbd-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(15,32,60,.08); transition: .15s; }
.mpbd-car-prev svg { transform: scaleX(-1); }
.mpbd-car-prev { color: var(--mpbd-muted); }
.mpbd-car-prev:hover { background: var(--mpbd-primary); color: #fff; border-color: var(--mpbd-primary); }
.mpbd-car-next { background: var(--mpbd-primary); border-color: var(--mpbd-primary); color: #fff; }
.mpbd-car-next:hover { background: var(--mpbd-primary-dark); border-color: var(--mpbd-primary-dark); }

/* Hero */
.mpbd-hero { padding: 26px 0; }
.mpbd-hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; }
.mpbd-hero-main { background: linear-gradient(120deg, var(--mpbd-primary), var(--mpbd-primary-light)); color: #fff; border-radius: 16px; padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; min-height: 320px; }
.mpbd-hero-main::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; background: rgba(255,255,255,.06); border-radius: 50%; }
.mpbd-hero-eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; opacity: .9; margin-bottom: 12px; }
.mpbd-hero-title { font-size: 38px; line-height: 1.15; margin: 0 0 16px; color: #fff; max-width: 560px; }
.mpbd-hero-sub { font-size: 16px; line-height: 1.6; opacity: .92; max-width: 540px; margin: 0 0 26px; }
.mpbd-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.mpbd-hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
.mpbd-hero-promo { position: relative; border-radius: 14px; overflow: hidden; background-size: cover; background-position: center; min-height: 140px; display: flex; align-items: flex-end; text-decoration: none; }
.mpbd-hero-promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,28,51,.82), rgba(15,28,51,.15)); }
.mpbd-hero-promo-inner { position: relative; padding: 16px 18px; color: #fff; }
.mpbd-hero-promo-inner small { display: block; font-size: 12px; opacity: .85; }
.mpbd-hero-promo-inner b { display: block; font-size: 18px; margin: 2px 0 4px; }
.mpbd-hero-promo-link { font-size: 13px; color: #ffd9b3; }

/* Hero v2 — slider (left) + 2 banners (right), AppleGadgets layout */
.mpbd-hero2 { padding: 22px 0 6px; }
.mpbd-hero2-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.mpbd-hslider { position: relative; border-radius: 16px; overflow: hidden; background: #eef2f8; aspect-ratio: 2 / 1; min-height: 380px; }
.mpbd-hslides { display: flex; height: 100%; transition: transform .5s ease; }
.mpbd-hslide { position: relative; flex: 0 0 100%; min-width: 100%; min-height: 380px; display: flex; align-items: center; gap: 18px; padding: 36px 40px; box-sizing: border-box; }
/* Full designed-image slide (text/product baked into the image) */
.mpbd-hslide-full { position: relative; padding: 0; display: block; text-decoration: none; }
.mpbd-hslide-full img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; mix-blend-mode: normal; }
.mpbd-hslide-s1 { background: linear-gradient(120deg, #e8f0fb 0%, #f6f9fd 60%); }
.mpbd-hslide-s2 { background: linear-gradient(120deg, #e6f5f0 0%, #f5fbf9 60%); }
.mpbd-hslide-s3 { background: linear-gradient(120deg, #fdeede 0%, #fdf7ef 60%); }
.mpbd-hslide-text { flex: 1 1 52%; }
.mpbd-hslide-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--mpbd-primary); background: rgba(30,62,114,.08); padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; }
.mpbd-hslide-title { font-size: 34px; line-height: 1.15; color: var(--mpbd-primary-dark); margin: 0 0 12px; }
.mpbd-hslide-sub { font-size: 15.5px; line-height: 1.6; color: #475569; margin: 0 0 22px; max-width: 420px; }
.mpbd-hslide-img { flex: 1 1 48%; display: flex; align-items: center; justify-content: center; }
.mpbd-hslide-img img { max-width: 100%; max-height: 320px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
/* Hero slider arrows — same AppleGadgets style as the product carousels (left outline / right filled) */
.mpbd-hnav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1px solid var(--mpbd-line); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(15,32,60,.14); z-index: 3; transition: .15s; }
.mpbd-hnav svg { width: 16px; height: 16px; }
.mpbd-hprev { left: 14px; background: #fff; color: var(--mpbd-muted); }
.mpbd-hprev svg { transform: scaleX(-1); }
.mpbd-hprev:hover { background: var(--mpbd-primary); color: #fff; border-color: var(--mpbd-primary); }
.mpbd-hnext { right: 14px; background: var(--mpbd-primary); border-color: var(--mpbd-primary); color: #fff; }
.mpbd-hnext:hover { background: var(--mpbd-primary-dark); border-color: var(--mpbd-primary-dark); }
/* Reveal arrows on hover only (mouse devices) so they never cover baked-in slide text;
   on touch devices (no hover) keep them visible for navigation. */
@media (hover: hover) {
  .mpbd-hslider .mpbd-hnav { opacity: 0; }
  .mpbd-hslider:hover .mpbd-hnav { opacity: 1; }
}
.mpbd-hdots { position: absolute; bottom: 16px; left: 40px; display: flex; gap: 8px; z-index: 3; }
.mpbd-hdot { width: 28px; height: 5px; border-radius: 3px; border: 0; background: rgba(30,62,114,.25); cursor: pointer; padding: 0; transition: .2s; }
.mpbd-hdot.is-active { background: var(--mpbd-accent); }
.mpbd-hbanners { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; height: 100%; }
.mpbd-hbanner { position: relative; border-radius: 14px; overflow: hidden; background: #eef2f8; display: flex; align-items: center; padding: 20px 22px; text-decoration: none; min-height: 181px; }
.mpbd-hbanner:nth-child(1) { background: linear-gradient(120deg, #e8f0fb, #f6f9fd); }
.mpbd-hbanner:nth-child(2) { background: linear-gradient(120deg, #fdeede, #fdf7ef); }
.mpbd-hbanner-text { flex: 1 1 60%; position: relative; z-index: 2; }
.mpbd-hbanner-text span { display: block; font-size: 12px; font-weight: 600; color: var(--mpbd-accent); text-transform: uppercase; letter-spacing: .04em; }
.mpbd-hbanner-text b { display: block; font-size: 18px; color: var(--mpbd-primary-dark); margin: 4px 0 8px; line-height: 1.25; }
.mpbd-hbanner-text em { font-style: normal; font-size: 13px; color: var(--mpbd-primary); font-weight: 600; }
.mpbd-hbanner img { position: absolute; right: 8px; bottom: 8px; width: 42%; max-height: 140px; object-fit: contain; mix-blend-mode: multiply; }
/* Full designed-image banner (text baked into the image) */
.mpbd-hbanner.mpbd-hbanner-full { padding: 0; display: block; }
.mpbd-hbanner.mpbd-hbanner-full img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; mix-blend-mode: normal; display: block; }
@media (max-width: 1024px) {
  .mpbd-hero2-grid { grid-template-columns: 1fr; }
  .mpbd-hbanners { grid-template-rows: none; grid-template-columns: 1fr 1fr; height: auto; }
  /* Slider + banner images are 2:1 (1774x887). Off-desktop, fixed min-heights forced
     wrong-ratio boxes and object-fit:cover cropped the sides (banner text cut off).
     Let aspect-ratio govern instead → the box always matches the image, zero crop. */
  .mpbd-hslider { min-height: 0; }
  .mpbd-hbanner.mpbd-hbanner-full { aspect-ratio: 2 / 1; min-height: 0; }
}
@media (max-width: 600px) {
  .mpbd-hslide { padding: 24px; flex-direction: column; text-align: center; min-height: 0; }
  .mpbd-hslide-title { font-size: 24px; }
  .mpbd-hslide-img img { max-height: 180px; }
  .mpbd-hslider { min-height: 0; }
  .mpbd-hbanners { grid-template-columns: 1fr; }
  .mpbd-hdots { left: 50%; transform: translateX(-50%); }
  .mpbd-hnav { width: 30px; height: 30px; }
  .mpbd-hnav svg { width: 14px; height: 14px; }
  .mpbd-hprev { left: 8px; }
  .mpbd-hnext { right: 8px; }
}

/* Category grid */
.mpbd-catgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.mpbd-catgrid-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 20px 12px; background: #fff; border: 1px solid var(--mpbd-line); border-radius: 12px; text-decoration: none; transition: .15s; }
.mpbd-catgrid-item:hover { border-color: var(--mpbd-primary); box-shadow: 0 10px 24px rgba(30,62,114,.12); transform: translateY(-3px); }
.mpbd-catgrid-img { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; color: var(--mpbd-primary); }
.mpbd-catgrid-img img { width: 72px; height: 72px; object-fit: contain; }
.mpbd-catgrid-name { font-size: 14px; font-weight: 600; color: var(--mpbd-ink); line-height: 1.3; }
.mpbd-catgrid-cnt { font-size: 12px; color: var(--mpbd-muted); }

/* Feature strip */
.mpbd-featurestrip { padding: 6px 0 24px; }
.mpbd-featurestrip-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.mpbd-feature { display: flex; align-items: center; gap: 12px; background: var(--mpbd-bg-soft); border-radius: 12px; padding: 16px 18px; }
.mpbd-feature .mpbd-ico { color: var(--mpbd-primary); flex: none; }
.mpbd-feature b { display: block; font-size: 14.5px; color: var(--mpbd-ink); }
.mpbd-feature span { font-size: 12.5px; color: var(--mpbd-muted); }

/* Carousel — position:relative is REQUIRED so the cards' absolute .mpbd-pcard-badge
   are clipped by the scroller instead of expanding the page width. */
.mpbd-carousel { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4*18px)/5); gap: 18px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scroll-behavior: smooth; padding: 4px 2px 10px; min-width: 0; max-width: 100%; scrollbar-width: none; -ms-overflow-style: none; }
/* Hide the scrollbar — navigation is via the arrows / swipe */
.mpbd-carousel::-webkit-scrollbar { display: none; height: 0; width: 0; }
.mpbd-carousel-item { scroll-snap-align: start; }

/* Product card */
.mpbd-pcard { background: #fff; border: 1px solid var(--mpbd-line); border-radius: 12px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: .15s; }
.mpbd-pcard:hover { box-shadow: 0 12px 28px rgba(30,62,114,.13); border-color: #d7deea; }
.mpbd-pcard-media { position: relative; padding: 14px; background: #fff; height: 210px; display: flex; align-items: center; justify-content: center; }
.mpbd-pcard-media .mpbd-pcard-imglink { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 0; }
/* Force EVERY product image into the same box (uniform size regardless of aspect ratio) */
.mpbd-pcard-media img { width: 100% !important; height: 100% !important; max-height: 182px; object-fit: contain !important; display: block; }
.mpbd-pcard-badge { position: absolute; top: 10px; left: 10px; background: var(--mpbd-sale); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; z-index: 2; }
.mpbd-pcard-oos { position: absolute; top: 10px; right: 10px; background: #64748b; color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 6px; z-index: 2; }
.mpbd-pcard-body { padding: 6px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; text-align: center; }
.mpbd-pcard-title { font-size: 14px; line-height: 1.4; margin: 0; font-weight: 500; min-height: 39px; }
.mpbd-pcard-title a { color: var(--mpbd-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mpbd-pcard-title a:hover { color: var(--mpbd-primary); }
.mpbd-pcard-rating { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--mpbd-muted); }
.mpbd-stars { position: relative; display: inline-block; color: #dfe3ea; letter-spacing: 1px; }
.mpbd-stars::before { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--r); overflow: hidden; color: #f6a609; letter-spacing: 1px; white-space: nowrap; }
.mpbd-pcard-price { font-size: 16px; font-weight: 700; color: var(--mpbd-primary); margin-top: auto; }
.mpbd-pcard-price del { color: var(--mpbd-muted); font-weight: 400; font-size: 13px; margin-right: 6px; }
.mpbd-pcard-price ins { text-decoration: none; color: var(--mpbd-sale); }

/* Actions: row 1 = small centered Add to Cart (alone); row 2 = Compare | Wishlist */
.mpbd-pcard-actions { margin-top: 8px; }
/* Flex row so BH-COD's Buy Now (when enabled) sits right of Add to Cart, equal width;
   with Buy Now off, the lone Add to Cart still fills/centers the same. The AJAX
   "View cart" link wraps to its own line below. */
.mpbd-pcard-cart { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 8px; margin-bottom: 8px; }
/* flex-basis 118px = SELF-ADJUSTING stack point, no media queries: two buttons need
   2×118+8 = 244px, so any card wider than that keeps them side-by-side (shop 254,
   related desktop 274) and any narrower card wraps them to full width instead of
   clipping the Bengali label (related on mobile 168, carousel 196). Measured need:
   "কার্টে যোগ করুন" = 92px @mobile / 133px @desktop font sizes. */
.mpbd-pcard-cart .mpbd-add-to-cart,
.mpbd-pcard-cart .bhcod-shop-buynow { flex: 1 1 118px; min-width: 0; display: inline-flex; align-items: center; justify-content: center; text-align: center; padding-left: 10px; padding-right: 10px; white-space: nowrap; }
.mpbd-pcard-cart .added_to_cart { flex: 1 0 100%; text-align: center; margin-left: 0; }
/* Carousel cards (5-across) are too narrow for both button texts side-by-side —
   "কার্টে যোগ করুন" alone is wider than half the card and was clipping. Stack them
   full-width there with comfortable side padding; shop/category grids stay 2-up. */
.mpbd-carousel-item .mpbd-pcard-cart .mpbd-add-to-cart,
.mpbd-carousel-item .mpbd-pcard-cart .bhcod-shop-buynow { flex: 1 0 100%; padding-left: 14px; padding-right: 14px; }
.mpbd-add-to-cart { display: inline-block; background: var(--mpbd-primary); color: #fff !important; padding: 8px 22px; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; line-height: 1.35; }
.mpbd-add-to-cart:hover { background: var(--mpbd-accent); }
.mpbd-add-to-cart.added { background: var(--mpbd-success); }
.mpbd-add-to-cart.loading { opacity: .7; }
.mpbd-pcard-cart .added_to_cart { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--mpbd-primary); }
.mpbd-pcard-row2 { display: flex; align-items: stretch; gap: 8px; }
.mpbd-pcard-compare, .mpbd-pcard-wish { flex: 1 1 50%; display: flex; min-width: 0; }
/* Normalize plugin compare + wishlist buttons into equal small outline buttons */
.mpbd-pcard-row2 .woosc-btn,
.mpbd-pcard-row2 .tinvwl_add_to_wishlist_button,
.mpbd-pcard-row2 .tinv-wishlist a { width: 100% !important; margin: 0 !important; padding: 7px 6px !important; background: #fff !important; color: var(--mpbd-muted) !important; border: 1px solid var(--mpbd-line) !important; border-radius: 8px !important; font-size: 12px !important; font-weight: 600 !important; box-shadow: none !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 5px; text-align: center; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mpbd-pcard-row2 .woosc-btn:hover,
.mpbd-pcard-row2 .tinvwl_add_to_wishlist_button:hover,
.mpbd-pcard-row2 .tinv-wishlist a:hover { background: var(--mpbd-primary) !important; color: #fff !important; border-color: var(--mpbd-primary) !important; }
/* Strip the TI wishlist wrapper's own box/spacing so the button fills its half */
.mpbd-pcard-wish .tinv-wraper, .mpbd-pcard-wish .tinv-wishlist { display: block !important; width: 100%; margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
.mpbd-pcard-row2 .tinvwl-tooltip { display: none !important; }
.mpbd-pcard-row2 .tinvwl_add_to_wishlist_button .tinvwl-icon-heart, .mpbd-pcard-row2 .tinvwl_add_to_wishlist_button i { margin: 0; }
/* Tighten the wishlist heart-to-text gap (TI adds ::before margin-right AND the button has flex gap → double gap) */
.mpbd-pcard-row2 .tinvwl_add_to_wishlist_button { gap: 0 !important; }
.mpbd-pcard-row2 .tinvwl_add_to_wishlist_button::before { margin-right: 4px !important; margin-left: 0 !important; width: 16px !important; min-width: 16px !important; background-size: contain !important; background-position: center !important; }

/* Promo cards */
.mpbd-promo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.mpbd-promo-card { border-radius: 14px; padding: 28px 26px; color: #fff; text-decoration: none; min-height: 130px; display: flex; align-items: center; transition: .15s; }
.mpbd-promo-card:hover { transform: translateY(-3px); color: #fff; }
.mpbd-promo-card small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }
.mpbd-promo-card b { display: block; font-size: 19px; margin: 4px 0 6px; }
.mpbd-promo-card span { font-size: 13.5px; opacity: .92; }
.mpbd-promo-blue { background: linear-gradient(120deg, #1e3e72, #2f5ba8); }
.mpbd-promo-teal { background: linear-gradient(120deg, #0a7c66, #13a085); }
.mpbd-promo-orange { background: linear-gradient(120deg, #f5821f, #ffae54); }

/* SEO text */
.mpbd-seo-inner { max-width: 980px; }
.mpbd-seo h2 { font-size: 22px; color: var(--mpbd-primary); margin: 0 0 14px; }
.mpbd-seo p { font-size: 14.5px; line-height: 1.8; color: var(--mpbd-muted); margin: 0 0 12px; }

/* Responsive */
@media (max-width: 1024px) {
  .mpbd-catgrid { grid-template-columns: repeat(4,1fr); }
  .mpbd-carousel { grid-auto-columns: calc((100% - 3*16px)/4); }
  .mpbd-hero-title { font-size: 30px; }
}
@media (max-width: 768px) {
  .mpbd-hero-grid { grid-template-columns: 1fr; }
  .mpbd-hero-main { padding: 32px 26px; min-height: 0; }
  .mpbd-hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .mpbd-catgrid { grid-template-columns: repeat(3,1fr); }
  .mpbd-featurestrip-grid { grid-template-columns: 1fr 1fr; }
  .mpbd-carousel { grid-auto-columns: calc((100% - 2*16px)/2.3); }
  .mpbd-promo-grid { grid-template-columns: 1fr; }
  .mpbd-section-title { font-size: 20px; }
  /* Shorter product image + smaller category icon so cards aren't so tall on mobile */
  .mpbd-pcard-media { height: 168px; }
  .mpbd-pcard-media img { max-height: 148px; }
  .mpbd-catgrid-item { padding: 16px 10px; }
  .mpbd-catgrid-img, .mpbd-catgrid-img img { width: 56px; height: 56px; }
}
@media (max-width: 480px) {
  .mpbd-catgrid { grid-template-columns: repeat(2,1fr); }
  .mpbd-hero-title { font-size: 25px; }
  .mpbd-carousel { grid-auto-columns: calc((100% - 16px)/1.6); }
  /* 2-column phone view — tighten cards further so they read as normal, not tall */
  .mpbd-pcard-media { height: 146px; padding: 10px; }
  .mpbd-pcard-media img { max-height: 126px; }
  .mpbd-pcard-body { padding: 6px 10px 12px; }
  .mpbd-pcard-title { min-height: 34px; font-size: 13px; }
  .mpbd-catgrid-item { padding: 14px 8px; gap: 6px; }
  .mpbd-catgrid-img, .mpbd-catgrid-img img { width: 50px; height: 50px; }
  .mpbd-catgrid-name { font-size: 13px; }
}
/* END MPBD-HOME */

/* MPBD-CARD-GAP — GENERAL fix for every page. Elementor's column "gap" is inner padding
   (hidden by a card's bg/border) so adjacent cards touch. Add real margin around each column's
   populated wrap in any MULTI-column row (:not(:only-child) skips single-column sections so
   carousels / full-width sections are untouched). Covers homepage promo, About
   (mission/vision/values + stats), service-page cards, contact 2-col, and any future card row. */
.elementor .elementor-column:not(:only-child) > .elementor-element-populated { margin: 6px 8px; }
@media (max-width: 767px) {
  /* columns stack on mobile → vertical gap only, full width */
  .elementor .elementor-column:not(:only-child) > .elementor-element-populated { margin: 8px 0; }
}
/* END MPBD-CARD-GAP */

/* MPBD-CTA-SIZE — homepage CTA: smaller + contained box with side gaps (was full-width & tall).
   Section Elementor element id = bd995fd (page 18). */
.elementor-element-bd995fd { max-width: min(1300px, calc(100% - 32px)) !important; margin-left: auto !important; margin-right: auto !important; padding-top: 26px !important; padding-bottom: 26px !important; }
/* END MPBD-CTA-SIZE */
