.omca-ea{max-width:1240px;margin:0 auto;padding:0 12px;box-sizing:border-box}
.omca-ea *{box-sizing:border-box}
.omca-ea-banner img{width:100%;height:auto;display:block;border-radius:0 0 14px 14px}

/* Hide theme page title ("Appeal") under the menu */
body.omca-ea-hide-title .entry-header,
body.omca-ea-hide-title .page-header,
body.omca-ea-hide-title .page-title-wrap,
body.omca-ea-hide-title .page-title-section,
body.omca-ea-hide-title .page-hero,
body.omca-ea-hide-title .page-banner,
body.omca-ea-hide-title .title-bar,
body.omca-ea-hide-title .entry-title,
body.omca-ea-hide-title .page-title,
body.omca-ea-hide-title .elementor-widget-theme-post-title,
body.omca-ea-hide-title .ast-archive-description,
body.omca-ea-hide-title .omca-title-hidden{display:none!important}

/* Carousel: 2 images at a time, full image (never cropped) */
.omca-ea-carousel{--omca-h:300px;--omca-hm:200px;position:relative;margin:22px 0 14px}
.omca-ea-viewport{overflow:hidden;border-radius:12px}
.omca-ea-track{display:flex;transition:transform .5s ease;will-change:transform}
.omca-ea-slide{flex:0 0 50%;min-width:0;padding:0 6px}
.omca-ea-slide-in{height:var(--omca-h);background:#eef5fb;border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.omca-ea-slide-in img{width:100%;height:100%;object-fit:contain;display:block;margin:0}
.omca-ea-nav{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#0a6fc2;font-size:28px;line-height:1;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.2);z-index:2}
.omca-ea-nav.prev{left:8px}.omca-ea-nav.next{right:8px}
.omca-ea-nav:hover{background:#fff}
.omca-ea-dots{display:flex;justify-content:center;gap:7px;margin-top:10px}
.omca-ea-dots button{width:9px;height:9px;padding:0;border-radius:50%;border:0;background:#bcd9ef;cursor:pointer}
.omca-ea-dots button.on{background:#0a6fc2;transform:scale(1.25)}

/* Search (now below the carousel) */
.omca-ea-search{display:flex;margin:14px 0 22px;border:1.5px solid #bcd9ef;border-radius:8px;overflow:hidden;background:#fff}
.omca-ea-search input[type=search]{flex:1;border:0;padding:14px 18px;font-size:16px;outline:0;background:transparent;margin:0;box-shadow:none}
.omca-ea-search button{border:0;background:#0a6fc2;color:#fff;font-weight:600;padding:0 38px;cursor:pointer;font-size:16px;border-radius:0}
.omca-ea-search button:hover{background:#085a9f}

.omca-ea-patients{margin-bottom:28px}
.omca-ea-footer{display:flex;align-items:center;gap:16px;padding:18px 24px;background:#eaf4fb;border-radius:12px;margin-bottom:30px;color:#12507f}
.omca-ea-footer span{font-size:14px}
.omca-ea-footer em{margin-left:auto;font-family:cursive;font-size:26px;color:#0a6fc2}
@media(max-width:768px){
 .omca-ea-slide-in{height:var(--omca-hm)}
 .omca-ea-search button{padding:0 20px}
 .omca-ea-nav{width:32px;height:32px;font-size:22px}
 .omca-ea-footer em{display:none}
}


/* Patient grid: 16 per page on desktop, 2 cards per row on mobile. */
.omca-ea-patients ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-left:0!important;margin-right:0!important}
.omca-ea-patients ul.products:before,.omca-ea-patients ul.products:after{display:none!important}
.omca-ea-patients ul.products li.product{float:none!important;width:auto!important;margin:0!important;min-width:0}
.omca-ea-patients .woocommerce-pagination{clear:both;text-align:center;margin:30px 0 10px}
.omca-ea-patients .woocommerce-pagination ul{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;border:0!important;margin:0!important;padding:0!important}
.omca-ea-patients .woocommerce-pagination ul li{float:none!important;border:0!important;margin:0!important;padding:0!important}
.omca-ea-patients .woocommerce-pagination a,
.omca-ea-patients .woocommerce-pagination span{display:flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 10px;border:1px solid #bcd9ef;border-radius:7px;background:#fff;color:#0a6fc2;text-decoration:none;font-weight:600}
.omca-ea-patients .woocommerce-pagination span.current{background:#0a6fc2;color:#fff;border-color:#0a6fc2}

@media(max-width:768px){
 .omca-ea{padding:0 8px}
 .omca-ea-patients ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}
 .omca-ea-patients ul.products li.product{width:auto!important;margin:0!important}
 .omca-ea-patients ul.products li.product img{width:100%;height:auto;display:block}
 .omca-ea-patients .woocommerce-pagination{margin-top:24px}
 .omca-ea-patients .woocommerce-pagination a,
 .omca-ea-patients .woocommerce-pagination span{min-width:36px;height:36px}
}

/* Explicit numbered pagination: 1, 2, 3 ... Next */
.omca-ea-numbered-pagination{clear:both;text-align:center;margin:30px 0 12px;width:100%}
.omca-ea-numbered-pagination ul.page-numbers{display:flex!important;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;list-style:none!important;margin:0!important;padding:0!important;border:0!important}
.omca-ea-numbered-pagination ul.page-numbers li{float:none!important;display:block!important;margin:0!important;padding:0!important;border:0!important;list-style:none!important}
.omca-ea-numbered-pagination .page-numbers{display:flex!important;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 10px;border:1px solid #bcd9ef!important;border-radius:7px;background:#fff;color:#0a6fc2!important;text-decoration:none!important;font-weight:600;line-height:1}
.omca-ea-numbered-pagination .page-numbers.current{background:#0a6fc2!important;color:#fff!important;border-color:#0a6fc2!important}
.omca-ea-numbered-pagination .page-numbers:hover{background:#eaf4fb;color:#0a6fc2!important}
@media (max-width:600px){
 .omca-ea-numbered-pagination{margin:24px 0 10px}
 .omca-ea-numbered-pagination ul.page-numbers{gap:6px}
 .omca-ea-numbered-pagination .page-numbers{min-width:36px;height:36px;padding:0 8px;font-size:14px}
}

/* Mobile patient cards: keep the same two-column card layout as desktop,
   with each appeal image filling its card width and no theme float/width rules. */
@media (max-width: 768px){
  .omca-ea-patients ul.products,
  .omca-ea-patients ul.products.columns-4{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:10px!important;
    row-gap:20px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  .omca-ea-patients ul.products li.product,
  .omca-ea-patients ul.products.columns-4 li.product{
    display:block!important;
    float:none!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }
  .omca-ea-patients ul.products li.product a.woocommerce-LoopProduct-link,
  .omca-ea-patients ul.products li.product a.woocommerce-loop-product__link{
    display:block!important;
    width:100%!important;
  }
  .omca-ea-patients ul.products li.product img{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    margin:0 0 8px!important;
    object-fit:contain!important;
  }
  .omca-ea-patients ul.products li.product .woocommerce-loop-product__title{
    font-size:clamp(14px,4vw,18px)!important;
    line-height:1.25!important;
    margin:4px 0 8px!important;
  }
  .omca-ea-patients ul.products li.product .price{
    font-size:clamp(16px,4.4vw,22px)!important;
    line-height:1.2!important;
    margin:0 0 8px!important;
  }
  .omca-ea-patients ul.products li.product .star-rating{margin-bottom:6px!important}
}


/* Give patient-card text some breathing room so it does not look pressed
   against the card edges. Images stay full width; only text/meta content gets padding. */
.omca-ea-patients ul.products li.product .woocommerce-loop-product__title,
.omca-ea-patients ul.products li.product .price,
.omca-ea-patients ul.products li.product .star-rating,
.omca-ea-patients ul.products li.product .onsale,
.omca-ea-patients ul.products li.product .progress,
.omca-ea-patients ul.products li.product .progress-bar,
.omca-ea-patients ul.products li.product .product-progress,
.omca-ea-patients ul.products li.product .donation-progress {
  margin-left: 10px!important;
  margin-right: 10px!important;
  max-width: calc(100% - 20px)!important;
}
.omca-ea-patients ul.products li.product .woocommerce-loop-product__title {
  padding-top: 2px!important;
  margin-bottom: 8px!important;
}
.omca-ea-patients ul.products li.product .price {
  margin-bottom: 8px!important;
}
@media(max-width:768px){
  .omca-ea-patients ul.products li.product .woocommerce-loop-product__title,
  .omca-ea-patients ul.products li.product .price,
  .omca-ea-patients ul.products li.product .star-rating,
  .omca-ea-patients ul.products li.product .onsale,
  .omca-ea-patients ul.products li.product .progress,
  .omca-ea-patients ul.products li.product .progress-bar,
  .omca-ea-patients ul.products li.product .product-progress,
  .omca-ea-patients ul.products li.product .donation-progress {
    margin-left: 6px!important;
    margin-right: 6px!important;
    max-width: calc(100% - 12px)!important;
  }
}


/* Patient card inner spacing: keep image edge-to-edge, but give all text,
   amounts, descriptions and action buttons comfortable space from the card edges. */
.omca-ea-patients ul.products li.product{
  overflow:hidden!important;
  padding:0 14px 16px!important;
  border-radius:14px!important;
}
.omca-ea-patients ul.products li.product > a:first-child img,
.omca-ea-patients ul.products li.product > a.woocommerce-LoopProduct-link img,
.omca-ea-patients ul.products li.product > a.woocommerce-loop-product__link img{
  width:calc(100% + 28px)!important;
  max-width:none!important;
  margin-left:-14px!important;
  margin-right:-14px!important;
  display:block!important;
}
.omca-ea-patients ul.products li.product .woocommerce-loop-product__title,
.omca-ea-patients ul.products li.product .price,
.omca-ea-patients ul.products li.product .star-rating,
.omca-ea-patients ul.products li.product .onsale,
.omca-ea-patients ul.products li.product .progress,
.omca-ea-patients ul.products li.product .progress-bar,
.omca-ea-patients ul.products li.product .product-progress,
.omca-ea-patients ul.products li.product .donation-progress{
  margin-left:0!important;
  margin-right:0!important;
  max-width:100%!important;
}
.omca-ea-patients ul.products li.product a.button,
.omca-ea-patients ul.products li.product .button,
.omca-ea-patients ul.products li.product .add_to_cart_button{
  margin-left:0!important;
  margin-right:0!important;
}
@media(max-width:768px){
  .omca-ea-patients ul.products li.product{
    padding:0 12px 14px!important;
    border-radius:14px!important;
  }
  .omca-ea-patients ul.products li.product > a:first-child img,
  .omca-ea-patients ul.products li.product > a.woocommerce-LoopProduct-link img,
  .omca-ea-patients ul.products li.product > a.woocommerce-loop-product__link img{
    width:calc(100% + 24px)!important;
    margin-left:-12px!important;
    margin-right:-12px!important;
  }
}

/* v1.8: consistent mobile card content alignment.
   Keep the patient image full-bleed, while category, title, donation button and
   wishlist/action content share the same comfortable left/right inset. */
.omca-ea-patients ul.products li.product{
  padding:0 16px 18px!important;
  overflow:hidden!important;
}
/* WooCommerce themes commonly put image + title inside this link. Keep the
   link full width, then inset the textual title while pulling only the image
   back to the card edge. */
.omca-ea-patients ul.products li.product > a.woocommerce-LoopProduct-link,
.omca-ea-patients ul.products li.product > a.woocommerce-loop-product__link{
  display:block!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
}
.omca-ea-patients ul.products li.product > a.woocommerce-LoopProduct-link img,
.omca-ea-patients ul.products li.product > a.woocommerce-loop-product__link img{
  width:calc(100% + 32px)!important;
  max-width:none!important;
  margin-left:-16px!important;
  margin-right:-16px!important;
  margin-top:0!important;
  display:block!important;
}
.omca-ea-patients ul.products li.product .woocommerce-loop-product__title{
  margin:12px 0 10px!important;
  padding:0!important;
  text-align:left!important;
}
/* Category / eligibility text and common WooCommerce metadata. */
.omca-ea-patients ul.products li.product .product-category,
.omca-ea-patients ul.products li.product .category,
.omca-ea-patients ul.products li.product .posted_in,
.omca-ea-patients ul.products li.product .product_meta,
.omca-ea-patients ul.products li.product .woocommerce-product-details__short-description,
.omca-ea-patients ul.products li.product .short-description,
.omca-ea-patients ul.products li.product .description{
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  text-align:left!important;
}
/* Amount/progress and action controls line up with the same content inset. */
.omca-ea-patients ul.products li.product .price,
.omca-ea-patients ul.products li.product .progress,
.omca-ea-patients ul.products li.product .progress-bar,
.omca-ea-patients ul.products li.product .product-progress,
.omca-ea-patients ul.products li.product .donation-progress,
.omca-ea-patients ul.products li.product .quantity,
.omca-ea-patients ul.products li.product .actions,
.omca-ea-patients ul.products li.product .product-actions,
.omca-ea-patients ul.products li.product .wishlist,
.omca-ea-patients ul.products li.product .yith-wcwl-add-to-wishlist,
.omca-ea-patients ul.products li.product .tinv-wishlist,
.omca-ea-patients ul.products li.product .add-to-wishlist,
.omca-ea-patients ul.products li.product a.button,
.omca-ea-patients ul.products li.product .button,
.omca-ea-patients ul.products li.product .add_to_cart_button{
  margin-left:0!important;
  margin-right:0!important;
}
.omca-ea-patients ul.products li.product .price{margin-top:8px!important;margin-bottom:10px!important}
.omca-ea-patients ul.products li.product a.button,
.omca-ea-patients ul.products li.product .button,
.omca-ea-patients ul.products li.product .add_to_cart_button{
  margin-top:14px!important;
}
@media(max-width:768px){
  .omca-ea-patients ul.products li.product{padding:0 12px 16px!important}
  .omca-ea-patients ul.products li.product > a.woocommerce-LoopProduct-link img,
  .omca-ea-patients ul.products li.product > a.woocommerce-loop-product__link img{
    width:calc(100% + 24px)!important;
    margin-left:-12px!important;
    margin-right:-12px!important;
  }
  .omca-ea-patients ul.products li.product .woocommerce-loop-product__title{
    margin-top:12px!important;
    margin-bottom:10px!important;
    line-height:1.35!important;
  }
  .omca-ea-patients ul.products li.product a.button,
  .omca-ea-patients ul.products li.product .button,
  .omca-ea-patients ul.products li.product .add_to_cart_button{
    margin-top:14px!important;
  }
}


/* ================================================================
   v1.9 — compact text/buttons for the [products] cards + donation list
   ================================================================ */
.omca-ea-patients ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;line-height:1.35!important;font-weight:700!important;margin:10px 0 6px!important}
.omca-ea-patients ul.products li.product .price,
.omca-ea-patients ul.products li.product .amount{font-size:14px!important;line-height:1.3!important}
.omca-ea-patients ul.products li.product,
.omca-ea-patients ul.products li.product p,
.omca-ea-patients ul.products li.product span,
.omca-ea-patients ul.products li.product div{font-size:13px}
.omca-ea-patients ul.products li.product .woocommerce-loop-product__title{font-size:15px!important}
.omca-ea-patients ul.products li.product .price,
.omca-ea-patients ul.products li.product .price *{font-size:14px!important}

.omca-ea-eligibility{display:flex;align-items:center;justify-content:center;border-radius:9px;background:#f0faf7;color:#3f9a88;font-size:12px;font-weight:500;line-height:1.35;text-align:center;padding:8px 10px;margin:10px 0 12px}
.omca-ea-card-actions{display:flex;align-items:center;gap:8px;width:100%;margin-top:auto}
.omca-ea-donate-btn{display:flex;align-items:center;justify-content:center;flex:1 1 auto;min-width:0;height:40px;border-radius:9px;background:#f21f2d;color:#fff!important;font-size:14px;font-weight:700;line-height:1;text-align:center;text-decoration:none!important;padding:0 10px;margin:0;box-shadow:none;transition:transform .15s ease,background .15s ease}
.omca-ea-donate-btn:hover,.omca-ea-donate-btn:focus{background:#df1624;color:#fff!important;transform:translateY(-1px)}
.omca-ea-heart{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:#fff0f2;margin:0;padding:0;cursor:pointer;text-decoration:none!important;transition:background .15s ease,transform .15s ease}
.omca-ea-heart:hover{background:#ffe0e5;transform:scale(1.06)}
.omca-ea-heart svg{display:block;width:22px;height:22px;fill:none;stroke:#ed1c2b;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.omca-ea-heart.is-added svg{fill:#ed1c2b}

@media(max-width:768px){
 .omca-ea-patients ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;margin-top:8px!important}
 .omca-ea-patients ul.products li.product .price,
 .omca-ea-patients ul.products li.product .price *{font-size:13px!important}
 .omca-ea-eligibility{font-size:11px;padding:6px 6px;margin:8px 0 10px}
 .omca-ea-card-actions{gap:6px}
 .omca-ea-donate-btn{height:36px;font-size:13px;border-radius:8px}
 .omca-ea-heart{flex-basis:36px;width:36px;height:36px}
 .omca-ea-heart svg{width:20px;height:20px}
}

/* Site's own wishlist link: the heart triggers it, so keep it out of sight */
.omca-wl-native{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;opacity:0!important;pointer-events:none!important;margin:0!important;padding:0!important;border:0!important}

/* ---- Card design (reference screenshot): rounded white card, big image,
        blue bold title + amount, red progress, mint eligibility box, Donate Now + heart ---- */
.omca-ea-patients ul.products{gap:22px!important}
.omca-ea-patients ul.products li.product{
  display:flex!important;flex-direction:column!important;position:relative!important;
  background:#fff!important;border:1px solid #dce8f0!important;border-radius:18px!important;
  box-shadow:0 5px 18px rgba(18,61,91,.08)!important;overflow:hidden!important;
  padding:0 16px 18px!important;margin:0!important;height:100%!important;text-align:left!important}
.omca-ea-patients ul.products li.product > a:first-child,
.omca-ea-patients ul.products li.product > a.woocommerce-LoopProduct-link{display:block!important;width:100%!important}
.omca-ea-patients ul.products li.product img{height:auto!important;object-fit:contain!important;border-radius:0!important}
.omca-ea-patients ul.products li.product .woocommerce-loop-product__title{color:#123766!important;font-size:17px!important;font-weight:700!important;line-height:1.35!important;margin:14px 0 10px!important}
.omca-ea-patients ul.products li.product .price,
.omca-ea-patients ul.products li.product .price *{color:#0871c7!important;font-size:16px!important;font-weight:800!important}
.omca-ea-patients ul.products li.product .price{display:block!important;margin:0 0 12px!important}
.omca-ea-patients ul.products li.product .progress,
.omca-ea-patients ul.products li.product .progress-bar,
.omca-ea-patients ul.products li.product .product-progress,
.omca-ea-patients ul.products li.product .donation-progress{border-radius:18px!important;overflow:hidden!important;margin-bottom:12px!important}
.omca-ea-patients ul.products li.product .onsale{display:none!important}
.omca-ea-patients ul.products li.product .omca-ea-eligibility{margin-top:0}
.omca-ea-patients ul.products li.product .omca-ea-card-actions{margin-top:auto!important;padding-top:2px}
.omca-ea-patients ul.products li.product .omca-ea-donate-btn,
.omca-ea-patients ul.products li.product .omca-ea-heart{margin:0!important}
@media(max-width:1100px){.omca-ea-patients ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:768px){
 .omca-ea-patients ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 10px!important}
 .omca-ea-patients ul.products li.product{padding:0 12px 14px!important;border-radius:14px!important}
 .omca-ea-patients ul.products li.product .woocommerce-loop-product__title{font-size:14px!important}
 .omca-ea-patients ul.products li.product .price,.omca-ea-patients ul.products li.product .price *{font-size:14px!important}
}

/* ---- Popup (same look as the site's "added to OMCA WISHLIST" popup) ---- */
body.omca-modal-open{overflow:hidden}
.omca-ea-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.55);opacity:0;transition:opacity .2s ease}
.omca-ea-modal.show{opacity:1}
.omca-ea-modal-box{width:100%;max-width:420px;max-height:90vh;overflow:auto;background:#fff;border-radius:6px;padding:40px 36px 36px;text-align:center;box-shadow:0 12px 40px rgba(0,0,0,.3);transform:translateY(10px);transition:transform .2s ease}
.omca-ea-modal.show .omca-ea-modal-box{transform:none}
.omca-ea-modal-ico{color:#1c2b4a;margin:0 auto 22px;width:56px;height:56px}
.omca-ea-modal-ico svg{width:100%;height:100%;display:block}
.omca-ea-modal-msg{margin:0 0 26px;font-size:16px;line-height:1.55;color:#1c2b4a}
.omca-ea-modal-btn{display:flex;align-items:center;justify-content:center;width:100%;height:46px;margin:0 0 12px;border:0;border-radius:24px;background:#e8262f;color:#fff!important;font-size:15px;font-weight:700;text-decoration:none!important;cursor:pointer;padding:0 16px;transition:background .15s ease}
.omca-ea-modal-btn:last-child{margin-bottom:0}
.omca-ea-modal-btn:hover,.omca-ea-modal-btn:focus{background:#cf1a23;color:#fff!important}

/* v1.9.2 — reference card cleanup and sizing */
.omca-ea{max-width:1440px!important;padding:0 10px!important}
.omca-ea-patients ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
.omca-ea-patients ul.products li.product{
  padding:0 18px 18px!important;
  border-radius:18px!important;
  min-width:0!important;
}
.omca-ea-patients ul.products li.product > a.woocommerce-LoopProduct-link img,
.omca-ea-patients ul.products li.product > a.woocommerce-loop-product__link img{
  width:calc(100% + 36px)!important;
  margin-left:-18px!important;
  margin-right:-18px!important;
  margin-top:0!important;
  margin-bottom:0!important;
}
.omca-ea-patients ul.products li.product .woocommerce-loop-product__title{
  color:#123766!important;
  font-size:21px!important;
  line-height:1.35!important;
  font-weight:700!important;
  margin:16px 0 12px!important;
}
.omca-ea-patients ul.products li.product .price,
.omca-ea-patients ul.products li.product .price *{
  color:#0871c7!important;
  font-size:20px!important;
  font-weight:800!important;
  line-height:1.3!important;
}
.omca-ea-patients ul.products li.product .price{margin:0 0 14px!important}
.omca-ea-eligibility{
  font-size:15px!important;
  line-height:1.4!important;
  padding:11px 12px!important;
  margin:12px 0 14px!important;
  min-height:64px;
}
.omca-ea-card-actions{gap:12px!important}
.omca-ea-donate-btn{height:52px!important;border-radius:8px!important;font-size:17px!important}
.omca-ea-heart{flex-basis:52px!important;width:52px!important;height:52px!important;border-radius:50%!important}
.omca-ea-heart svg{width:27px!important;height:27px!important}

/* Never show WooCommerce/theme's second Donate/Add-to-cart control on these cards.
   The plugin's own bottom Donate Now + heart row is the only action row. */
.omca-ea-patients ul.products li.product > .button,
.omca-ea-patients ul.products li.product > a.button,
.omca-ea-patients ul.products li.product > .add_to_cart_button,
.omca-ea-patients ul.products li.product > a.add_to_cart_button,
.omca-ea-patients ul.products li.product .woocommerce-loop-product__buttons,
.omca-ea-patients ul.products li.product .product_type_simple:not(.omca-ea-donate-btn),
.omca-ea-patients ul.products li.product .product_type_variable:not(.omca-ea-donate-btn),
.omca-ea-patients ul.products li.product .product_type_external:not(.omca-ea-donate-btn){display:none!important}

@media(max-width:1100px){
  .omca-ea-patients ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:768px){
  .omca-ea{padding:0 8px!important}
  .omca-ea-patients ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 10px!important}
  .omca-ea-patients ul.products li.product{padding:0 12px 14px!important;border-radius:14px!important}
  .omca-ea-patients ul.products li.product > a.woocommerce-LoopProduct-link img,
  .omca-ea-patients ul.products li.product > a.woocommerce-loop-product__link img{
    width:calc(100% + 24px)!important;margin-left:-12px!important;margin-right:-12px!important
  }
  .omca-ea-patients ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;margin:10px 0 8px!important}
  .omca-ea-patients ul.products li.product .price,
  .omca-ea-patients ul.products li.product .price *{font-size:14px!important}
  .omca-ea-eligibility{font-size:11px!important;padding:7px 6px!important;min-height:0;margin:8px 0 10px!important}
  .omca-ea-card-actions{gap:6px!important}
  .omca-ea-donate-btn{height:36px!important;font-size:13px!important;border-radius:8px!important}
  .omca-ea-heart{flex-basis:36px!important;width:36px!important;height:36px!important}
  .omca-ea-heart svg{width:20px!important;height:20px!important}
}

/* v1.9.3 — exact large reference-card layout
   The reference uses a white card with ~20px inner padding, a slightly inset
   patient image, larger typography, and a single bottom action row. */
.omca-ea-patients ul.products{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
.omca-ea-patients ul.products li.product{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  margin:0!important;
  padding:18px 20px 18px!important;
  background:#fff!important;
  border:1px solid #dfe7ec!important;
  border-radius:18px!important;
  box-shadow:0 3px 12px rgba(18,61,91,.08)!important;
  overflow:hidden!important;
  text-align:left!important;
}
/* Image is inset like the 2nd reference screenshot — NOT full bleed. */
.omca-ea-patients ul.products li.product > a.woocommerce-LoopProduct-link,
.omca-ea-patients ul.products li.product > a.woocommerce-loop-product__link{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
.omca-ea-patients ul.products li.product > a.woocommerce-LoopProduct-link img,
.omca-ea-patients ul.products li.product > a.woocommerce-loop-product__link img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  margin:0!important;
  border-radius:0!important;
  object-fit:contain!important;
}
.omca-ea-patients ul.products li.product .woocommerce-loop-product__title{
  margin:18px 0 12px!important;
  padding:0!important;
  color:#123766!important;
  font-size:21px!important;
  line-height:1.4!important;
  font-weight:700!important;
  text-align:left!important;
}
.omca-ea-patients ul.products li.product .price,
.omca-ea-patients ul.products li.product .price *{
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:#0871c7!important;
  font-size:21px!important;
  line-height:1.3!important;
  font-weight:800!important;
}
/* Keep progress/data generated by the real [products] shortcode intact. */
.omca-ea-patients ul.products li.product .progress,
.omca-ea-patients ul.products li.product .progress-bar,
.omca-ea-patients ul.products li.product .product-progress,
.omca-ea-patients ul.products li.product .donation-progress{
  width:100%!important;
  max-width:100%!important;
  margin:14px 0 14px!important;
}
.omca-ea-eligibility{
  width:100%!important;
  min-height:64px!important;
  margin:0 0 16px!important;
  padding:10px 12px!important;
  border-radius:9px!important;
  background:#f0faf7!important;
  color:#54a18f!important;
  font-size:15px!important;
  line-height:1.4!important;
  font-weight:500!important;
  text-align:center!important;
}
.omca-ea-card-actions{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  gap:12px!important;
  margin:0!important;
  padding:0!important;
  margin-top:auto!important;
}
.omca-ea-donate-btn{
  flex:1 1 auto!important;
  width:auto!important;
  height:52px!important;
  margin:0!important;
  padding:0 16px!important;
  border:0!important;
  border-radius:8px!important;
  background:#f21f2d!important;
  color:#fff!important;
  font-size:17px!important;
  font-weight:700!important;
  line-height:1!important;
  text-decoration:none!important;
}
.omca-ea-heart{
  flex:0 0 52px!important;
  width:52px!important;
  height:52px!important;
  margin:0!important;
  padding:0!important;
  border-radius:50%!important;
  background:#fff0f2!important;
}
.omca-ea-heart svg{width:27px!important;height:27px!important}
/* Remove all theme/WooCommerce duplicate actions from these cards. */
.omca-ea-patients ul.products li.product > .button,
.omca-ea-patients ul.products li.product > a.button,
.omca-ea-patients ul.products li.product > .add_to_cart_button,
.omca-ea-patients ul.products li.product > a.add_to_cart_button,
.omca-ea-patients ul.products li.product .woocommerce-loop-product__buttons,
.omca-ea-patients ul.products li.product .product_type_simple:not(.omca-ea-donate-btn),
.omca-ea-patients ul.products li.product .product_type_variable:not(.omca-ea-donate-btn),
.omca-ea-patients ul.products li.product .product_type_external:not(.omca-ea-donate-btn){display:none!important}

@media(max-width:1100px){
  .omca-ea-patients ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:768px){
  .omca-ea-patients ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 10px!important}
  .omca-ea-patients ul.products li.product{padding:12px 12px 14px!important;border-radius:14px!important}
  .omca-ea-patients ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;line-height:1.35!important;margin:10px 0 8px!important}
  .omca-ea-patients ul.products li.product .price,
  .omca-ea-patients ul.products li.product .price *{font-size:14px!important}
  .omca-ea-eligibility{min-height:0!important;font-size:11px!important;padding:7px 6px!important;margin-bottom:10px!important}
  .omca-ea-card-actions{gap:6px!important}
  .omca-ea-donate-btn{height:36px!important;font-size:13px!important;border-radius:8px!important}
  .omca-ea-heart{flex-basis:36px!important;width:36px!important;height:36px!important}
  .omca-ea-heart svg{width:20px!important;height:20px!important}
}

/* v1.9.4 — final card cleanup / spacing
   Keep only the plugin's bottom Donate Now + donation-list heart.
   Hide duplicate WooCommerce/theme category and donation controls. */
.omca-ea-patients ul.products li.product .woocommerce-loop-product__category,
.omca-ea-patients ul.products li.product .woocommerce-loop-category__title,
.omca-ea-patients ul.products li.product .product-category,
.omca-ea-patients ul.products li.product .category,
.omca-ea-patients ul.products li.product .posted_in,
.omca-ea-patients ul.products li.product .product_meta .posted_in,
.omca-ea-patients ul.products li.product .cat-item,
.omca-ea-patients ul.products li.product .product-categories,
.omca-ea-patients ul.products li.product .product_cat,
.omca-ea-patients ul.products li.product .product-category-link,
.omca-ea-patients ul.products li.product .woocommerce-product-category{
  display:none!important;
}

/* Remove any native/theme Donate/Add to cart bar, including wrapped variants. */
.omca-ea-patients ul.products li.product .woocommerce-loop-product__buttons,
.omca-ea-patients ul.products li.product .product-actions,
.omca-ea-patients ul.products li.product .actions,
.omca-ea-patients ul.products li.product a.button:not(.omca-ea-donate-btn),
.omca-ea-patients ul.products li.product button.button,
.omca-ea-patients ul.products li.product .add_to_cart_button,
.omca-ea-patients ul.products li.product .ajax_add_to_cart,
.omca-ea-patients ul.products li.product .product_type_simple:not(.omca-ea-donate-btn),
.omca-ea-patients ul.products li.product .product_type_variable:not(.omca-ea-donate-btn),
.omca-ea-patients ul.products li.product .product_type_external:not(.omca-ea-donate-btn){
  display:none!important;
}

/* Green eligibility box: text stays INSIDE with comfortable breathing room. */
.omca-ea-patients ul.products li.product .omca-ea-eligibility{
  box-sizing:border-box!important;
  width:100%!important;
  min-height:64px!important;
  margin:12px 0 16px!important;
  padding:12px 16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:10px!important;
  overflow:hidden!important;
  line-height:1.45!important;
}

/* Keep the real plugin action row slightly inset from the card edges. */
.omca-ea-patients ul.products li.product .omca-ea-card-actions{
  box-sizing:border-box!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
  gap:12px!important;
}
.omca-ea-patients ul.products li.product .omca-ea-donate-btn{
  box-sizing:border-box!important;
  padding:0 16px!important;
}

@media(max-width:768px){
  .omca-ea-patients ul.products li.product .omca-ea-eligibility{
    min-height:0!important;
    margin:8px 0 10px!important;
    padding:8px 10px!important;
    line-height:1.35!important;
  }
  .omca-ea-patients ul.products li.product .omca-ea-card-actions{gap:7px!important}
  .omca-ea-patients ul.products li.product .omca-ea-donate-btn{padding:0 10px!important}
}


/* v1.9.5 — smaller bottom donation controls and remove any remaining category label. */
.omca-ea-patients ul.products li.product .product-categories,
.omca-ea-patients ul.products li.product .product-category,
.omca-ea-patients ul.products li.product .product_cat,
.omca-ea-patients ul.products li.product .woocommerce-loop-category__title,
.omca-ea-patients ul.products li.product .woocommerce-loop-product__category,
.omca-ea-patients ul.products li.product .category,
.omca-ea-patients ul.products li.product .cat-item,
.omca-ea-patients ul.products li.product .posted_in,
.omca-ea-patients ul.products li.product .product_meta .posted_in {
  display:none!important;
}

.omca-ea-patients ul.products li.product .omca-ea-card-actions{
  gap:9px!important;
}
.omca-ea-patients ul.products li.product .omca-ea-donate-btn{
  height:44px!important;
  min-height:44px!important;
  font-size:15px!important;
  padding:0 13px!important;
  border-radius:7px!important;
}
.omca-ea-patients ul.products li.product .omca-ea-heart{
  flex:0 0 44px!important;
  width:44px!important;
  height:44px!important;
}
.omca-ea-patients ul.products li.product .omca-ea-heart svg{
  width:23px!important;
  height:23px!important;
}

@media(max-width:768px){
  .omca-ea-patients ul.products li.product .omca-ea-card-actions{gap:5px!important}
  .omca-ea-patients ul.products li.product .omca-ea-donate-btn{
    height:32px!important;
    min-height:32px!important;
    font-size:12px!important;
    padding:0 8px!important;
    border-radius:7px!important;
  }
  .omca-ea-patients ul.products li.product .omca-ea-heart{
    flex:0 0 32px!important;
    width:32px!important;
    height:32px!important;
  }
  .omca-ea-patients ul.products li.product .omca-ea-heart svg{
    width:18px!important;
    height:18px!important;
  }
}


/* v1.9.6 — final visual cleanup based on card screenshot.
   Hide the theme's duplicate eligibility/category line and keep only the
   green eligibility box rendered by this plugin. Keep the card actions inset
   so Donate Now + heart never touch the card border. */
.omca-ea-patients ul.products li.product .woocommerce-loop-product__description,
.omca-ea-patients ul.products li.product .product-excerpt,
.omca-ea-patients ul.products li.product .product-description,
.omca-ea-patients ul.products li.product .product-short-description,
.omca-ea-patients ul.products li.product .woocommerce-loop-product__meta,
.omca-ea-patients ul.products li.product .product-meta,
.omca-ea-patients ul.products li.product .cat-links,
.omca-ea-patients ul.products li.product .category-links,
.omca-ea-patients ul.products li.product .category-name,
.omca-ea-patients ul.products li.product .product-category-name,
.omca-ea-patients ul.products li.product .product-cats,
.omca-ea-patients ul.products li.product .posted_in,
.omca-ea-patients ul.products li.product .product_meta{
  display:none!important;
}

/* Some themes output the category/eligibility label as a direct paragraph.
   Hide only the common category/meta wrappers, never the product title or price. */
.omca-ea-patients ul.products li.product > .cat-links,
.omca-ea-patients ul.products li.product > .category,
.omca-ea-patients ul.products li.product > .product-category,
.omca-ea-patients ul.products li.product > .product_meta,
.omca-ea-patients ul.products li.product > .posted_in{
  display:none!important;
}

/* Final spacing: the green box and action row sit visibly inside the card. */
.omca-ea-patients ul.products li.product .omca-ea-eligibility{
  width:calc(100% - 12px)!important;
  margin-left:6px!important;
  margin-right:6px!important;
  padding-left:12px!important;
  padding-right:12px!important;
}
.omca-ea-patients ul.products li.product .omca-ea-card-actions{
  width:calc(100% - 12px)!important;
  margin-left:6px!important;
  margin-right:6px!important;
  gap:7px!important;
}
.omca-ea-patients ul.products li.product .omca-ea-donate-btn{
  min-width:0!important;
  padding-left:10px!important;
  padding-right:10px!important;
}
@media(max-width:768px){
  .omca-ea-patients ul.products li.product .omca-ea-eligibility{
    width:calc(100% - 8px)!important;
    margin-left:4px!important;
    margin-right:4px!important;
  }
  .omca-ea-patients ul.products li.product .omca-ea-card-actions{
    width:calc(100% - 8px)!important;
    margin-left:4px!important;
    margin-right:4px!important;
    gap:5px!important;
  }
}


/* v1.9.7 — remove the exact duplicate eligibility line even when a theme
   renders it with an unknown wrapper. JS also removes it for dynamically
   injected WooCommerce cards; this rule covers common text wrappers. */
.omca-ea-patients ul.products li.product .eligible-for-sadaqah,
.omca-ea-patients ul.products li.product .eligibility-label,
.omca-ea-patients ul.products li.product .donation-eligibility,
.omca-ea-patients ul.products li.product .donation-category{
  display:none!important;
}


/* v1.9.8 — title/description spacing: keep the marked patient title
   slightly inside the card instead of sitting against the corner. */
.omca-ea-patients ul.products li.product .woocommerce-loop-product__title{
  margin-left:8px!important;
  margin-right:8px!important;
  max-width:calc(100% - 16px)!important;
  padding-left:0!important;
  padding-right:0!important;
}
@media(max-width:768px){
  .omca-ea-patients ul.products li.product .woocommerce-loop-product__title{
    margin-left:6px!important;
    margin-right:6px!important;
    max-width:calc(100% - 12px)!important;
  }
}


/* v1.9.9 — lift the eligibility box and bottom actions slightly so the card
   does not leave an awkward bottom gap and the Donate Now button remains fully visible. */
.omca-ea-patients ul.products li.product{
  padding-bottom:8px!important;
}
.omca-ea-patients ul.products li.product .omca-ea-eligibility{
  margin-bottom:8px!important;
  position:relative!important;
  top:-4px!important;
}
.omca-ea-patients ul.products li.product .omca-ea-card-actions{
  position:relative!important;
  top:-5px!important;
}
@media(max-width:768px){
  .omca-ea-patients ul.products li.product{
    padding-bottom:7px!important;
  }
  .omca-ea-patients ul.products li.product .omca-ea-eligibility{
    margin-bottom:6px!important;
    top:-3px!important;
  }
  .omca-ea-patients ul.products li.product .omca-ea-card-actions{
    top:-4px!important;
  }
}


/* v2.0.0 — normalize every patient card so eligibility/actions align even when
   one product has an extra theme-generated eligibility/category line. */
.omca-ea-patients ul.products li.product{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
}
.omca-ea-patients ul.products li.product .omca-ea-card-actions{
  margin-top:auto!important;
}
/* Never show the theme-generated eligibility/category labels; the plugin's
   own green eligibility box is the single source of truth. */
.omca-ea-patients ul.products li.product .eligible-for-general-interest,
.omca-ea-patients ul.products li.product .general-interest-eligibility,
.omca-ea-patients ul.products li.product .eligible-for-sadaqah,
.omca-ea-patients ul.products li.product [class*="eligibility" i]:not(.omca-ea-eligibility){
  display:none!important;
}


/* v2.0.1 — final uniform card grid. Every patient card uses the same
   typography, reserved title/price/progress heights, eligibility height and
   bottom action size so cards line up even when titles or donation types differ. */
.omca-ea-patients ul.products{
  align-items:stretch!important;
}
.omca-ea-patients ul.products li.product{
  box-sizing:border-box!important;
  height:100%!important;
  min-height:100%!important;
  display:flex!important;
  flex-direction:column!important;
}
.omca-ea-patients ul.products li.product .woocommerce-loop-product__title{
  box-sizing:border-box!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  overflow:hidden!important;
  margin:14px 8px 10px!important;
  padding:0!important;
  font-size:14px!important;
  line-height:22px!important;
  font-weight:700!important;
  color:#123766!important;
}
.omca-ea-patients ul.products li.product .price,
.omca-ea-patients ul.products li.product .price *{
  box-sizing:border-box!important;
  height:20px!important;
  min-height:20px!important;
  max-height:20px!important;
  overflow:hidden!important;
  margin:0 0 10px!important;
  padding:0!important;
  font-size:13px!important;
  line-height:20px!important;
  font-weight:700!important;
}
.omca-ea-patients ul.products li.product .progress,
.omca-ea-patients ul.products li.product .progress-bar,
.omca-ea-patients ul.products li.product .product-progress,
.omca-ea-patients ul.products li.product .donation-progress{
  height:15px!important;
  min-height:15px!important;
  max-height:15px!important;
  margin:0 0 10px!important;
}
.omca-ea-patients ul.products li.product .omca-ea-eligibility{
  box-sizing:border-box!important;
  width:100%!important;
  height:54px!important;
  min-height:54px!important;
  max-height:54px!important;
  margin:0 0 12px!important;
  padding:8px 10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:12px!important;
  line-height:18px!important;
  font-weight:500!important;
}
.omca-ea-patients ul.products li.product .omca-ea-card-actions{
  box-sizing:border-box!important;
  width:100%!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  margin:0!important;
  padding:0!important;
  gap:7px!important;
}
.omca-ea-patients ul.products li.product .omca-ea-donate-btn{
  box-sizing:border-box!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  font-size:13px!important;
  line-height:38px!important;
  padding:0 10px!important;
}
.omca-ea-patients ul.products li.product .omca-ea-heart{
  box-sizing:border-box!important;
  flex:0 0 38px!important;
  width:38px!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
}
.omca-ea-patients ul.products li.product .omca-ea-heart svg{
  width:19px!important;
  height:19px!important;
}
@media(max-width:768px){
  .omca-ea-patients ul.products li.product .woocommerce-loop-product__title{
    height:40px!important; min-height:40px!important; max-height:40px!important;
    margin:9px 6px 7px!important; font-size:13px!important; line-height:20px!important;
  }
  .omca-ea-patients ul.products li.product .price,
  .omca-ea-patients ul.products li.product .price *{
    height:18px!important; min-height:18px!important; max-height:18px!important;
    margin-bottom:8px!important; font-size:12px!important; line-height:18px!important;
  }
  .omca-ea-patients ul.products li.product .progress,
  .omca-ea-patients ul.products li.product .progress-bar,
  .omca-ea-patients ul.products li.product .product-progress,
  .omca-ea-patients ul.products li.product .donation-progress{
    height:14px!important; min-height:14px!important; max-height:14px!important; margin-bottom:8px!important;
  }
  .omca-ea-patients ul.products li.product .omca-ea-eligibility{
    height:50px!important; min-height:50px!important; max-height:50px!important;
    margin-bottom:8px!important; padding:7px 8px!important; font-size:11px!important; line-height:16px!important;
  }
  .omca-ea-patients ul.products li.product .omca-ea-card-actions,
  .omca-ea-patients ul.products li.product .omca-ea-donate-btn{
    height:36px!important; min-height:36px!important; max-height:36px!important;
  }
  .omca-ea-patients ul.products li.product .omca-ea-donate-btn{font-size:12px!important; line-height:36px!important}
  .omca-ea-patients ul.products li.product .omca-ea-heart{flex-basis:36px!important;width:36px!important;height:36px!important;min-height:36px!important;max-height:36px!important}
  .omca-ea-patients ul.products li.product .omca-ea-heart svg{width:18px!important;height:18px!important}
}


/* v2.0.2 — Donate List heart state: outline until added, solid red after added. */
.omca-ea-patients ul.products li.product .omca-ea-heart{
  background:#fff!important;
  border:1px solid #e2e2e2!important;
  color:#ed1c2b!important;
  transition:background .15s ease,border-color .15s ease,transform .15s ease;
}
.omca-ea-patients ul.products li.product .omca-ea-heart svg{
  fill:none!important;
  stroke:#ed1c2b!important;
  stroke-width:1.9!important;
}
.omca-ea-patients ul.products li.product .omca-ea-heart.is-added{
  background:#ed1c2b!important;
  border-color:#ed1c2b!important;
}
.omca-ea-patients ul.products li.product .omca-ea-heart.is-added svg{
  fill:#fff!important;
  stroke:#fff!important;
}
