.pmseo-product-media{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 22px}
.pmseo-product-media .pmseo-product-image{margin:0;border:1px solid rgba(0,0,0,.08);border-radius:12px;overflow:hidden;background:#fff}
.pmseo-product-media img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain}
.pmseo-toc{margin:18px 0 24px;padding:16px 18px;border:1px solid rgba(185,139,45,.35);border-radius:12px;background:#fffdf7}
.pmseo-toc strong{display:block;margin-bottom:8px}.pmseo-toc ul{margin:0;padding-left:20px}.pmseo-toc li{margin:4px 0}
@media(max-width:720px){.pmseo-product-media{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pmseo-toc{padding:14px}}

/* v4.3.0 isolated Instagram Reel card */
.pmseo-instagram-reel-card{margin:14px 0 6px;max-width:160px;aspect-ratio:9/16;border:1px solid rgba(185,139,45,.35);border-radius:14px;overflow:hidden;background:linear-gradient(180deg,#fffdf8,#f8f3e7)}
.pmseo-instagram-reel-card a{display:flex;width:100%;height:100%;box-sizing:border-box;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;padding:16px;color:inherit;text-decoration:none}
.pmseo-instagram-reel-card .pmseo-reel-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:999px;background:#17382d;color:#fff;font-size:18px}
.pmseo-instagram-reel-card strong{font-size:14px}.pmseo-instagram-reel-card small{font-size:11px;opacity:.72}
@media(max-width:720px){.pmseo-instagram-reel-card{max-width:138px}}

/* v4.3.2 verified sold + reviews */
.pmseo-social-proof{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0 14px;font-size:13px;line-height:1.4}
.pmseo-social-proof>span,.pmseo-social-proof>a{display:inline-flex;align-items:center;gap:4px;padding:6px 10px;border:1px solid rgba(185,139,45,.32);border-radius:999px;background:#fffdf7;color:#17382d;text-decoration:none}
.pmseo-social-proof a:hover{text-decoration:none;border-color:rgba(185,139,45,.58)}
.pmseo-proof-stars{color:#b98b2d}
@media(max-width:520px){.pmseo-social-proof{gap:7px}.pmseo-social-proof>span,.pmseo-social-proof>a{padding:5px 9px;font-size:12px}}

/* v4.3.4 imported review title only; product-card and hero layout are intentionally untouched. */
.woocommerce #reviews .comment-text .pmseo-review-title,.pm-native-reviews .comment-text .pmseo-review-title{font-weight:700}

/* v4.3.5 — card cleanup + mobile social-proof stability.
   Scope is deliberately narrow: existing holder/image/title/price/offer/button geometry is not changed. */

/* Shop/category/home product cards: keep the existing description element and its exact layout footprint,
   but visually replace the long excerpt with one compact brand highlight line.
   The real WooCommerce short/full descriptions remain stored and continue to appear on the single-product page. */
.woocommerce ul.products li.product.pm-product-card .pm-pcard-desc,
.woocommerce-page ul.products li.product.pm-product-card .pm-pcard-desc,
.pm-product-card .pm-pcard-desc{
  position:relative !important;
  color:transparent !important;
  text-shadow:none !important;
}
.woocommerce ul.products li.product.pm-product-card .pm-pcard-desc::before,
.woocommerce-page ul.products li.product.pm-product-card .pm-pcard-desc::before,
.pm-product-card .pm-pcard-desc::before{
  content:"Homemade • Small Batch • Fresh";
  position:absolute;
  left:0;top:0;
  display:block;
  max-width:100%;
  font:inherit;
  font-weight:700;
  color:#000;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:clip;
  pointer-events:none;
}

/* Keep rating/reviews and bought count on one stable row.
   This only overrides the theme's mobile wrapping rule; no holder dimensions are changed. */
.woocommerce ul.products li.product.pm-product-card .pm-pcard-rating,
.woocommerce-page ul.products li.product.pm-product-card .pm-pcard-rating,
.pm-product-card .pm-pcard-rating{
  flex-wrap:nowrap !important;
  row-gap:0 !important;
  min-width:0;
  white-space:nowrap;
}
.pm-product-card .pm-pcard-rating > span:not(.pm-pcard-bought),
.pm-product-card .pm-pcard-rating > strong{
  flex:0 0 auto;
  white-space:nowrap;
}
.pm-product-card .pm-pcard-bought{
  margin-left:auto !important;
  flex:0 0 auto;
  white-space:nowrap !important;
}

/* The old generated Product Guide/table-of-contents list is intentionally hidden.
   All actual product details and A+ lower sections remain visible. */
body.single-product .pmseo-toc{display:none !important}

@media(max-width:680px){
  .woocommerce ul.products li.product.pm-product-card .pm-pcard-rating,
  .woocommerce-page ul.products li.product.pm-product-card .pm-pcard-rating,
  .pm-product-card .pm-pcard-rating{
    gap:2px !important;
    font-size:7.4px !important;
    letter-spacing:-.015em;
  }
  .pm-product-card .pm-pcard-rating i{font-size:8.8px !important}
  .pm-product-card .pm-pcard-rating strong{font-size:7.8px !important}
  .pm-product-card .pm-pcard-rating > span:not(.pm-pcard-bought){font-size:7.1px !important}
  .pm-product-card .pm-pcard-bought{font-size:7.1px !important;gap:2px !important}
  .pm-product-card .pm-pcard-bought i{font-size:6.8px !important}
}
@media(max-width:390px){
  .woocommerce ul.products li.product.pm-product-card .pm-pcard-rating,
  .woocommerce-page ul.products li.product.pm-product-card .pm-pcard-rating,
  .pm-product-card .pm-pcard-rating{
    gap:1.5px !important;
    font-size:6.45px !important;
    letter-spacing:-.025em;
  }
  .pm-product-card .pm-pcard-rating i{font-size:7.8px !important}
  .pm-product-card .pm-pcard-rating strong{font-size:6.9px !important}
  .pm-product-card .pm-pcard-rating > span:not(.pm-pcard-bought){font-size:6.25px !important}
  .pm-product-card .pm-pcard-bought{font-size:6.25px !important;gap:1px !important}
  .pm-product-card .pm-pcard-bought i{font-size:6px !important}
}
@media (max-width:1100px) and (min-width:681px){
  .woocommerce ul.products li.product.pm-product-card .pm-pcard-rating,
  .woocommerce-page ul.products li.product.pm-product-card .pm-pcard-rating,
  .pm-product-card .pm-pcard-rating{
    gap:2px !important;
    font-size:7.4px !important;
    letter-spacing:-.025em;
  }
  .pm-product-card .pm-pcard-rating i{font-size:8.4px !important}
  .pm-product-card .pm-pcard-rating strong{font-size:7.8px !important}
  .pm-product-card .pm-pcard-rating > span:not(.pm-pcard-bought){font-size:7.1px !important}
  .pm-product-card .pm-pcard-bought{font-size:7.1px !important;gap:1px !important}
  .pm-product-card .pm-pcard-bought i{font-size:6.8px !important}
}
@media (max-width:740px) and (min-width:681px){
  .woocommerce ul.products li.product.pm-product-card .pm-pcard-rating,
  .woocommerce-page ul.products li.product.pm-product-card .pm-pcard-rating,
  .pm-product-card .pm-pcard-rating{
    gap:1px !important;
    font-size:6.25px !important;
    letter-spacing:-.035em;
  }
  .pm-product-card .pm-pcard-rating i{font-size:7.2px !important}
  .pm-product-card .pm-pcard-rating strong{font-size:6.55px !important}
  .pm-product-card .pm-pcard-rating > span:not(.pm-pcard-bought){font-size:6px !important}
  .pm-product-card .pm-pcard-bought{font-size:6px !important;gap:.5px !important}
  .pm-product-card .pm-pcard-bought i{font-size:5.8px !important}
}
/* Preserve the original one-line proof-row footprint; only wrapped/broken rows collapse back to this height. */
@media (max-width:680px){
  .woocommerce ul.products li.product.pm-product-card .pm-pcard-rating,
  .woocommerce-page ul.products li.product.pm-product-card .pm-pcard-rating,
  .pm-product-card .pm-pcard-rating{min-height:15.5px}
}
@media (max-width:1100px) and (min-width:681px){
  .woocommerce ul.products li.product.pm-product-card .pm-pcard-rating,
  .woocommerce-page ul.products li.product.pm-product-card .pm-pcard-rating,
  .pm-product-card .pm-pcard-rating{min-height:19.38px}
}
/* Keep the replacement highlight fully visible even on the narrowest two-column phones;
   it is absolutely overlaid, so these font adjustments do not change card geometry. */
@media(max-width:680px){
  .pm-product-card .pm-pcard-desc::before{font-size:9px !important;letter-spacing:-.01em}
}
@media(max-width:390px){
  .pm-product-card .pm-pcard-desc::before{font-size:7.55px !important;letter-spacing:-.025em}
}
@media(max-width:340px){
  .pm-product-card .pm-pcard-desc::before{font-size:6.85px !important;letter-spacing:-.035em}
}

/* v4.3.6 — product-card metadata/readability polish.
   Scope is intentionally limited to text already present inside the card.
   No holder, media, title, description-slot, price, Pay Now, offer-body or button geometry is changed. */

/* Discount badge: force high-contrast white text on the existing terracotta pill. */
.woocommerce ul.products li.product.pm-product-card .pm-pcard-discount,
.woocommerce-page ul.products li.product.pm-product-card .pm-pcard-discount,
.pm-product-card .pm-pcard-discount{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  font-weight:800 !important;
}

/* Special-offer header: text + crown/icon stay white on every category offer strip. */
.woocommerce ul.products li.product.pm-product-card .pm-pcard-offer-head,
.woocommerce ul.products li.product.pm-product-card .pm-pcard-offer-head span,
.woocommerce ul.products li.product.pm-product-card .pm-pcard-offer-head i,
.woocommerce-page ul.products li.product.pm-product-card .pm-pcard-offer-head,
.woocommerce-page ul.products li.product.pm-product-card .pm-pcard-offer-head span,
.woocommerce-page ul.products li.product.pm-product-card .pm-pcard-offer-head i,
.pm-product-card .pm-pcard-offer-head,
.pm-product-card .pm-pcard-offer-head span,
.pm-product-card .pm-pcard-offer-head i{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}

/* Category + net weight, e.g. ROYAL • 275 g.
   The JavaScript only changes this existing text node; this CSS keeps the original one-line footprint. */
.woocommerce ul.products li.product.pm-product-card .pm-pcard-category.pmseo-card-category-meta,
.woocommerce-page ul.products li.product.pm-product-card .pm-pcard-category.pmseo-card-category-meta,
.pm-product-card .pm-pcard-category.pmseo-card-category-meta{
  color:#783a20 !important;
  font-weight:800 !important;
  letter-spacing:.17em !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:clip !important;
}

@media (min-width:681px){
  .woocommerce ul.products li.product.pm-product-card .pm-pcard-category.pmseo-card-category-meta,
  .woocommerce-page ul.products li.product.pm-product-card .pm-pcard-category.pmseo-card-category-meta,
  .pm-product-card .pm-pcard-category.pmseo-card-category-meta{
    font-size:9.5px !important;
    line-height:13.17px !important;
  }
}
@media (max-width:680px){
  .woocommerce ul.products li.product.pm-product-card .pm-pcard-category.pmseo-card-category-meta,
  .woocommerce-page ul.products li.product.pm-product-card .pm-pcard-category.pmseo-card-category-meta,
  .pm-product-card .pm-pcard-category.pmseo-card-category-meta{
    font-size:8px !important;
    line-height:10.84px !important;
    letter-spacing:.12em !important;
  }
}
@media (max-width:390px){
  .woocommerce ul.products li.product.pm-product-card .pm-pcard-category.pmseo-card-category-meta,
  .woocommerce-page ul.products li.product.pm-product-card .pm-pcard-category.pmseo-card-category-meta,
  .pm-product-card .pm-pcard-category.pmseo-card-category-meta{
    font-size:7.6px !important;
    letter-spacing:.10em !important;
  }
}


/* =========================================================
   v4.3.8 — safe mobile proof row + rating-accurate stars.
   No MutationObserver writes to the proof box; geometry changes are phone-only.
   ========================================================= */
body.home .pm-hero-proof .pmseo-store-stars{
  --pmseo-store-fill:0%;position:relative!important;display:inline-block!important;flex:0 0 auto!important;
  color:rgba(247,236,212,.28)!important;line-height:1!important;letter-spacing:.35px!important;white-space:nowrap!important;
}
body.home .pm-hero-proof .pmseo-store-stars>span{display:block!important;color:rgba(247,236,212,.28)!important;white-space:nowrap!important}
body.home .pm-hero-proof .pmseo-store-stars::after{
  content:"★★★★★";position:absolute;left:0;top:0;width:var(--pmseo-store-fill);max-width:100%;overflow:hidden;
  color:#e8b968;line-height:1;letter-spacing:.35px;white-space:nowrap;pointer-events:none;
}

@media(max-width:680px){
  /* Keep NO PRESERVATIVES / FSSAI / PAN-INDIA in one row. */
  body.home .pm-hero-badges{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:3px!important;width:100%!important}
  body.home .pm-hero-badges>span{min-width:0!important;justify-content:center!important;gap:3px!important;padding:0!important;font-size:clamp(6.2px,1.8vw,8px)!important;line-height:1.12!important;letter-spacing:.065em!important;white-space:nowrap!important}
  body.home .pm-hero-badges>span i{font-size:.95em!important;flex:0 0 auto!important}

  /* Trusted / rating / reviews: exactly one three-column row on phones. */
  body.home .pm-hero-proof:not(.pm-hero-proof-newstate){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;padding:8px 4px!important;min-height:64px!important;align-items:stretch!important}
  body.home .pm-hero-proof:not(.pm-hero-proof-newstate)>span{grid-column:auto!important;min-width:0!important;min-height:48px!important;padding:4px 3px!important;display:flex!important;flex-wrap:wrap!important;align-content:center!important;align-items:center!important;justify-content:center!important;gap:2px 3px!important;overflow:hidden!important;white-space:normal!important;font-size:clamp(6.8px,1.9vw,8.2px)!important;line-height:1.08!important}
  body.home .pm-hero-proof:not(.pm-hero-proof-newstate)>span>b:last-child{flex:0 0 100%!important;text-align:center!important;white-space:nowrap!important}
  body.home .pm-hero-proof:not(.pm-hero-proof-newstate) .pm-proof-orders>b:first-of-type{flex:0 0 auto!important;white-space:nowrap!important}
  body.home .pm-hero-proof:not(.pm-hero-proof-newstate)>span+span{border-left:1px solid rgba(247,236,212,.16)!important;border-top:0!important}
  body.home .pm-hero-proof:not(.pm-hero-proof-newstate) .pm-proof-reviews{grid-column:auto!important;border-top:0!important}
  body.home .pm-hero-proof:not(.pm-hero-proof-newstate) strong{flex:0 0 auto!important;font-size:clamp(10.5px,3.15vw,14px)!important;line-height:1!important}
  body.home .pm-hero-proof:not(.pm-hero-proof-newstate) b{flex:0 1 auto!important;min-width:0!important;font-size:inherit!important;line-height:1!important;white-space:nowrap!important}
  body.home .pm-hero-proof:not(.pm-hero-proof-newstate) .pm-proof-orders>i,
  body.home .pm-hero-proof:not(.pm-hero-proof-newstate) .pm-proof-reviews>i{flex:0 0 auto!important;font-size:clamp(7px,2vw,9px)!important}
  body.home .pm-hero-proof:not(.pm-hero-proof-newstate) .pmseo-store-stars{flex:0 0 auto!important;font-size:clamp(7.6px,2.15vw,9.4px)!important;letter-spacing:0!important}
  body.home .pm-hero-proof:not(.pm-hero-proof-newstate) .pmseo-store-stars::after{letter-spacing:0!important}
}
@media(max-width:350px){
  body.home .pm-hero-badges>span{font-size:5.75px!important;letter-spacing:.035em!important;gap:2px!important}
  body.home .pm-hero-proof:not(.pm-hero-proof-newstate)>span{font-size:6.25px!important;gap:1px 2px!important;padding:4px 2px!important}
  body.home .pm-hero-proof:not(.pm-hero-proof-newstate) strong{font-size:10px!important}
  body.home .pm-hero-proof:not(.pm-hero-proof-newstate) .pmseo-store-stars{font-size:6.9px!important}
}
