/* E.M.M ownership: only .emm-* or native WordPress/WooCommerce content inside .emm-main. */
.emm-content-scope, .emm-content-scope *, body.emm-ui-active .emm-main .emm-product-card,
body.emm-ui-active .emm-main .emm-product-card * {box-sizing:border-box}
.emm-content-scope {background:var(--emm-color-ricotta);color:var(--emm-color-text);font-family:inherit;isolation:isolate;}
.emm-content-scope :where(h1,h2,h3,p,ul){margin-block:0}
.emm-content-scope :where(ul){list-style:none;padding:0}
.emm-content-scope :where(a){text-decoration:none;color:inherit}
.emm-content-scope :where(a,button):focus-visible,
body.emm-ui-active .emm-main :where(a,button,input,select,textarea):focus-visible{outline:3px solid var(--emm-color-focus);outline-offset:3px}
.emm-shell{width:min(calc(100% - 2.25rem),var(--emm-layout-container));margin-inline:auto;padding-block:2rem 4.5rem}
.emm-clay{background:var(--emm-color-surface-soft);box-shadow:var(--emm-shadow-clay);border:1px solid rgba(255,255,255,.72);border-radius:var(--emm-radius-lg)}
.emm-eyebrow{color:var(--emm-color-copper);font-size:.85rem;font-weight:750;letter-spacing:.015em}
.emm-button{display:inline-flex;gap:.6rem;align-items:center;justify-content:center;min-height:48px;padding:.75rem 1.6rem;border-radius:var(--emm-radius-pill);font-size:.93rem;font-weight:700;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}
.emm-button .emm-ui-icon{width:18px;height:18px}
.emm-button--primary{background:var(--emm-color-olive);color:#fff!important;box-shadow:0 6px 14px rgba(52,77,35,.19)}
.emm-button--primary:hover{background:#293e1c;transform:translateY(-2px)}
.emm-button--light{background:var(--emm-color-ricotta);color:var(--emm-color-olive)!important}
.emm-button--light:hover{transform:translateY(-2px)}
.emm-section{margin-block-start:3.4rem;min-width:0}
.emm-section-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-block-end:1.4rem}
.emm-section-heading>div:first-child{display:flex;gap:.7rem;align-items:center}
.emm-section-heading h2{font-size:clamp(1.35rem,2.2vw,2rem);color:var(--emm-color-olive);font-weight:820;line-height:1.35}
.emm-section-heading__stroke{display:block;width:.32rem;height:1.8rem;background:var(--emm-color-copper);border-radius:1rem}
.emm-text-link{display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap;color:var(--emm-color-copper)!important;font-weight:700;font-size:.88rem}
.emm-text-link .emm-ui-icon{width:16px;height:16px}
.emm-empty{padding:1.5rem;border:1px dashed var(--emm-color-line);background:var(--emm-color-surface-soft);border-radius:var(--emm-radius-md);color:var(--emm-color-muted)}
/* Shared product card: both home and WooCommerce standard catalog template part. */
.emm-content-scope ul.products.emm-card-grid{list-style:none;margin:0;padding:0}
.emm-card-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.35rem;min-width:0}
.emm-card-grid>li.emm-product-card{width:auto!important;min-width:0;max-width:none;float:none!important;margin:0!important;list-style:none;}
body.emm-ui-active .emm-main li.emm-product-card{float:none;min-width:0;list-style:none;margin:0}
.emm-product-card__inner{height:100%;display:flex;flex-direction:column;min-width:0;background:var(--emm-color-surface);border-radius:var(--emm-radius-lg);border:1px solid rgba(255,255,255,.82);box-shadow:var(--emm-shadow-clay);overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.emm-product-card:hover .emm-product-card__inner{transform:translateY(-3px);box-shadow:var(--emm-shadow-clay-hover)}
.emm-product-card__media-wrap{position:relative;margin:.72rem .72rem 0;border-radius:calc(var(--emm-radius-lg) - .4rem);overflow:hidden;background:var(--emm-color-ricotta)}
.emm-product-card__media{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1.05;position:relative;overflow:hidden}
.emm-product-card__image{width:100%;height:100%;object-fit:contain;display:block;transition:transform .28s ease}
.emm-product-card:hover .emm-product-card__image{transform:scale(1.025)}
.emm-product-card__no-media{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(135deg,var(--emm-color-ricotta),var(--emm-color-surface));color:var(--emm-color-muted)}
.emm-product-card__no-media svg{width:52px;height:52px;opacity:.35}
.emm-product-card__badge{position:absolute;top:.7rem;right:.7rem;z-index:2;padding:.4rem .75rem;font-size:.7rem;font-weight:800;border-radius:var(--emm-radius-pill);background:var(--emm-color-copper);color:#fff}
.emm-product-card__badge--out{background:var(--emm-color-muted)}
.emm-product-card__wishlist{position:absolute;left:.6rem;top:.6rem;z-index:3;display:inline-grid;place-items:center;background:var(--emm-color-surface);border-radius:var(--emm-radius-pill);min-width:38px;min-height:38px}
.emm-product-card__content{padding:.9rem 1.05rem 1.1rem;display:flex;flex-direction:column;flex:1;gap:.55rem;min-height:0}
.emm-product-card__name{font-size:.99rem!important;line-height:1.65!important;font-weight:760;margin:0!important;min-height:3.25em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--emm-color-text)!important}
.emm-product-card__name a{color:inherit!important;text-decoration:none!important}
.emm-product-card__rating{font-size:.75rem;color:var(--emm-color-copper);min-height:1rem}
.emm-product-card__price{font-size:1.07rem;font-weight:850;color:var(--emm-color-olive);direction:rtl;min-height:1.65rem}
.emm-product-card__price :is(del,.woocommerce-Price-amount){font-size:inherit}
.emm-product-card__price del{color:var(--emm-color-muted);font-size:.78rem;margin-inline-end:.45rem;opacity:.8}
.emm-product-card__price ins{text-decoration:none;color:var(--emm-color-olive)}
.emm-product-card__price-empty{color:var(--emm-color-muted);font-size:.8rem}
.emm-product-card__availability{display:flex;align-items:center;gap:.45rem;color:var(--emm-color-success);font-size:.74rem;font-weight:650}
.emm-product-card__availability.is-out{color:var(--emm-color-danger)}
.emm-product-card__stock-dot{display:block;width:7px;height:7px;border-radius:50%;background:currentColor}
.emm-product-card__action{margin-top:auto;padding-top:.35rem}
.emm-product-card__action :is(a.button,button.button){width:100%;min-height:43px;display:flex!important;align-items:center;justify-content:center;gap:.35rem;white-space:normal;text-align:center;line-height:1.4;border:0!important;border-radius:var(--emm-radius-pill)!important;background:var(--emm-color-olive)!important;color:#fff!important;padding:.55rem .65rem!important;font-size:.83rem!important;font-weight:780;text-decoration:none!important;box-shadow:0 5px 11px rgba(52,77,35,.12)!important}
.emm-product-card__action :is(a.button,button.button):hover{background:#263b1d!important}
.emm-product-card__action .added_to_cart{display:block;font-size:.75rem;text-align:center;margin-top:.4rem;color:var(--emm-color-olive)!important}
/* All WordPress content-only surfaces (never header/footer). */
body.emm-ui-active .emm-main{background-color:var(--emm-color-ricotta);color:var(--emm-color-text)}
body.emm-ui-active .emm-main :is(.page-title,.entry-title,.woocommerce-products-header__title){color:var(--emm-color-olive)}
body.emm-ui-active .emm-main :where(.woocommerce-message,.woocommerce-info,.woocommerce-error){border-radius:var(--emm-radius-md);background:var(--emm-color-surface);border-color:var(--emm-color-copper);box-shadow:0 2px 9px rgba(52,77,35,.04);padding-block:1rem}
body.emm-ui-active .emm-main :where(.woocommerce-message,.woocommerce-info) a{color:var(--emm-color-olive)}
@media(max-width:1024px){.emm-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:768px){.emm-shell{width:min(calc(100% - 1.8rem),var(--emm-layout-container));padding-block:1.5rem 3rem}.emm-section{margin-block-start:2.6rem}}
@media(max-width:600px){.emm-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.emm-product-card__media-wrap{margin:.4rem .4rem 0}.emm-product-card__content{padding:.72rem .7rem .8rem;gap:.35rem}.emm-product-card__name{font-size:.86rem!important}.emm-product-card__price{font-size:.91rem}.emm-product-card__action :is(a.button,button.button){font-size:.72rem!important;min-height:40px;padding:.45rem .35rem!important}}
@media(max-width:375px){.emm-card-grid{gap:.62rem}.emm-shell{width:calc(100% - 1.2rem)}.emm-product-card__badge{font-size:.62rem;padding:.3rem .5rem}.emm-product-card__content{padding:.65rem .55rem}}
@media(max-width:320px){.emm-product-card__name{font-size:.8rem!important}.emm-section-heading h2{font-size:1.13rem}}
@media(prefers-reduced-motion:reduce){.emm-content-scope *,body.emm-ui-active .emm-main .emm-product-card *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* E.M.M reference card, shared across homepage, standard Woo Shop and related-product loops. */
.emm-product-card .emm-product-card__inner{background:linear-gradient(165deg,#fff8f2,#f6e9dd);border-radius:21px;box-shadow:5px 6px 13px rgba(120,91,67,.13),-4px -4px 10px #fff;border:2px solid rgba(255,255,255,.91)}
.emm-product-card .emm-product-card__media-wrap{margin:5px 5px 0;border-radius:17px 17px 12px 12px;background:#ecdfd1}
.emm-product-card .emm-product-card__media{aspect-ratio:1.65/1;min-height:124px}
.emm-product-card .emm-product-card__image{object-fit:contain;max-width:100%;height:100%;mix-blend-mode:normal}
.emm-product-card .emm-product-card__content{padding:7px 12px 11px;gap:3px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto auto;align-items:center}
.emm-product-card .emm-product-card__name{grid-column:1/-1;min-height:0;font-size:.97rem!important;line-height:1.42!important;font-weight:850;text-align:right;-webkit-line-clamp:1;white-space:nowrap;text-overflow:ellipsis;display:block}
.emm-product-card .emm-product-card__rating{grid-column:1/-1;min-height:0}
.emm-product-card .emm-product-card__price{grid-column:1/-1;text-align:right;min-height:0;font-size:.94rem;line-height:1.4;color:var(--emm-color-olive)}
.emm-product-card .emm-product-card__price del{display:inline-block;font-size:.72rem;opacity:.75}
.emm-product-card .emm-product-card__availability{grid-column:1;grid-row:auto;font-size:.7rem;gap:4px}
.emm-product-card .emm-product-card__action{grid-column:2;grid-row:auto;margin:0;padding:0;justify-self:end}
.emm-product-card .emm-product-card__action :is(a.button,button.button){width:auto!important;min-width:36px;min-height:34px;padding:6px 10px!important;border-radius:10px!important;font-size:.71rem!important;line-height:1.2;white-space:normal;max-width:116px;box-shadow:0 2px 5px rgba(52,77,35,.25)!important}
.emm-product-card .emm-product-card__badge{top:6px;right:6px;background:linear-gradient(130deg,#67863e,#344d23);padding:5px 9px;font-size:.68rem}
.emm-product-card .emm-product-card__wishlist{min-width:31px;min-height:31px;left:5px;top:5px}
.emm-product-card .emm-product-card__no-media svg{opacity:.34;width:42px;height:42px}
@media(max-width:600px){.emm-product-card .emm-product-card__media{min-height:104px}.emm-product-card .emm-product-card__content{padding:6px 8px 8px}.emm-product-card .emm-product-card__name{font-size:.8rem!important}.emm-product-card .emm-product-card__price{font-size:.78rem}.emm-product-card .emm-product-card__action :is(a.button,button.button){font-size:.65rem!important;padding:5px!important;min-width:33px;max-width:86px}}
/* Keep photo region within the card, including narrow RTL scroll-snapped columns. */
.emm-product-card .emm-product-card__media{aspect-ratio:2.1/1;min-height:0;min-width:0;max-width:100%}
.emm-product-card .emm-product-card__media img{width:100%;max-width:100%;height:100%;min-width:0;object-fit:contain}
/* The opt-in WordPress Gutenberg Shortcode block may use <div> rather than <li>. */
body.emm-ui-active .emm-main div.emm-product-card{width:100%;min-width:0;float:none;max-width:100%}
body.emm-ui-active .emm-main div.emm-product-card .emm-product-card__inner{width:100%}

/* Shared compare trigger, independent of a specific WooCommerce rendering mode. */
.emm-product-card__media-wrap .emm-compare-form{position:absolute;right:.6rem;top:.6rem;z-index:4;margin:0}
.emm-product-card__media-wrap>a.emm-compare-trigger{position:absolute;right:.6rem;top:.6rem;z-index:4}
.emm-product-card__media-wrap .emm-compare-trigger{border:1px solid rgba(255,255,255,.9);border-radius:999px;width:36px;height:36px;display:grid;place-items:center;cursor:pointer;background:#fff9f1;color:#344d23;font-size:20px;font-weight:700;box-shadow:0 3px 8px rgba(90,70,45,.16);text-decoration:none}
.emm-product-card__media-wrap .emm-compare-trigger.is-selected{background:#344d23;color:#fff}
.emm-product-card__media-wrap .emm-compare-trigger:focus-visible,.emm-sp-action-btn:focus-visible{outline:3px solid #8b522b;outline-offset:2px}
.emm-sp-summary-card>.emm-compare-form,.emm-sp-summary-card>a.emm-compare-trigger{margin-top:.5rem}
.emm-sp-summary-card>.emm-compare-form .emm-compare-trigger,.emm-sp-summary-card>a.emm-compare-trigger{border:1px solid #cabbac;background:#fff9f1;color:#344d23;border-radius:14px;min-height:44px;min-width:64px;cursor:pointer;padding:0 14px;font-size:20px;text-align:center}

.emm-product-card__quick-buy{margin:.45rem 0 0;width:100%}
.emm-product-card__quick-buy .emm-quick-buy-button{width:100%;min-height:40px;background:#fff9f1;color:#344d23;border:1px solid #a7ac90;border-radius:999px;cursor:pointer;font:inherit;font-size:.8rem;font-weight:750}
.emm-product-card__quick-buy .emm-quick-buy-button:focus-visible{outline:3px solid #8b522b;outline-offset:2px}

.emm-product-card__code{position:absolute;inset-inline-start:6px;bottom:6px;z-index:2;padding:3px 7px;border-radius:8px;background:#f7ede3;color:#344d23;font-size:.7rem;font-weight:700;pointer-events:none}

/* Canonical product specifications and compact shared card highlights. */
.emm-sp-specs-row svg,.emm-product-highlights svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle;margin-inline-end:6px}
.emm-sp-specs-row>div{min-width:0;overflow-wrap:anywhere}
.emm-sp-specs-row{border-radius:12px;margin-block:6px;background:#faf5ed;padding:10px}
.emm-product-highlights{display:flex;flex-wrap:wrap;gap:4px;margin-block:8px;min-width:0}
.emm-product-highlights>span{display:flex;align-items:center;max-width:100%;min-width:0;padding:4px 7px;background:#faf5ed;border-radius:12px;font-size:.72rem}
.emm-product-highlights>span>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.emm-product-highlights svg{width:15px;height:15px}
@media(max-width:600px){.emm-product-highlights>span:nth-child(n+3){display:none}}

/* RC16: shared catalog cards; native Woo price markup stays intact. */
.emm-product-card .emm-product-card__content{display:flex;flex-direction:column;align-items:stretch;min-width:0;gap:7px}
.emm-product-card .emm-product-card__name{margin:0;overflow-wrap:break-word}
.emm-product-card .emm-card-colors{display:flex;align-items:center;gap:6px;min-height:24px;flex-wrap:wrap}
.emm-product-card .emm-card-color{display:inline-block;flex:none;width:20px;height:20px;border-radius:50%;background:var(--card-color,#e5dacd);border:2px solid white;box-shadow:0 0 0 1px #b6a58f}
.emm-product-card .emm-card-color.is-unset{background:repeating-linear-gradient(135deg,#fff9ef 0 4px,#dfd2c4 4px 7px)}
.emm-product-card .emm-card-color-more{font-size:.7rem;color:#5b6939;background:#e9edd8;border-radius:20px;padding:2px 6px;direction:ltr}
.emm-product-card .emm-product-card__price{display:flex;flex-wrap:wrap;gap:5px;align-items:stretch;font-size:.91rem;overflow-wrap:normal;min-width:0}
.emm-product-card .emm-card-retail,.emm-product-card .emm-card-wholesale{flex:1 1 88px;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;padding:7px 8px;border:1px solid #f0e0d3;border-radius:12px;background:#fff9f2;color:#4b6029;line-height:1.55}
.emm-product-card .emm-card-wholesale{background:#edf0db;border-color:#dde4c5}
.emm-product-card .emm-card-price-label,.emm-product-card .emm-card-wholesale>span{font-size:.67rem;color:#625849;font-weight:700}
.emm-product-card .emm-card-wholesale>strong{font-size:inherit;max-width:100%}
.emm-product-card .emm-product-card__price bdi{display:inline-flex;direction:rtl;gap:.22em;align-items:baseline;flex-wrap:wrap;unicode-bidi:isolate;max-width:100%}
.emm-product-card .emm-product-card__price .woocommerce-Price-currencySymbol{order:1;font-size:.73em;white-space:nowrap}
.emm-product-card .emm-product-card__price del{display:block;margin:0;font-size:.73em;line-height:1.45}
.emm-product-card .emm-product-card__price ins{font-weight:850}
.emm-product-card .emm-product-card__action{margin-top:auto;align-self:stretch;width:100%}
.emm-product-card .emm-product-card__action :is(a.button,button.button){width:100%!important;max-width:none;min-height:44px;padding:8px 5px!important;border-radius:14px!important;font-size:.78rem!important;background:linear-gradient(145deg,#748b42,#435d28)!important}
.emm-product-card .emm-product-card__action svg{width:17px;height:17px;flex:none}
.emm-product-card .emm-card-wholesale>small{font-size:.63rem;font-weight:600;color:#586343;line-height:1.45}
.emm-product-card .emm-card-retail>ins,.emm-product-card .emm-card-wholesale>strong{font-weight:850;line-height:1.6}

/* RC17 catalog facts: only real values, one row at every card size. */
.emm-product-card .emm-card-facts{display:flex;flex-wrap:nowrap;gap:5px;margin:3px 0 2px;align-items:center;min-width:0}
.emm-product-card .emm-card-facts>span{display:flex;flex:1 1 0;justify-content:center;align-items:center;gap:4px;min-width:0;max-width:none;padding:5px 4px;border:1px solid #fff;border-radius:999px;background:linear-gradient(150deg,#fffbf6,#f4e7da);color:#384e24;box-shadow:0 2px 5px #75583a12;font-size:clamp(10px,.85vw,13px);font-weight:700;line-height:1.4}
.emm-product-card .emm-card-facts>span>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;unicode-bidi:isolate}
.emm-product-card .emm-card-facts svg{width:16px;height:16px;margin:0;flex:0 0 16px;color:#526b30}
.emm-product-card .emm-card-facts>span:first-child:has(svg) span{unicode-bidi:isolate}
.emm-product-card .emm-card-retail,.emm-product-card .emm-card-wholesale{align-items:center;text-align:center;flex:1 1 0;min-width:0;padding:6px 4px}
.emm-product-card .emm-product-card__price bdi{flex-wrap:wrap;justify-content:center;font-variant-numeric:tabular-nums;line-height:1.4}
.emm-product-card .emm-product-card__price .woocommerce-Price-currencySymbol{font-weight:600;font-size:.72em}
@media(max-width:600px){.emm-product-card .emm-card-facts>span:nth-child(n+3){display:flex}.emm-product-card .emm-card-facts{gap:2px}.emm-product-card .emm-card-facts>span{gap:2px;padding:4px 2px;font-size:9px}.emm-product-card .emm-card-facts svg{width:12px;height:12px;flex-basis:12px}.emm-product-card .emm-card-price-label,.emm-product-card .emm-card-wholesale>span{font-size:10px}.emm-product-card .emm-card-wholesale>small{font-size:9px}}

/* EMM Signature card — single renderer and visual contract, all product loops.
   No background removal, cropping, synthetic product imagery or JS layout. */
.emm-product-card.emm-card-signature{min-width:0;max-width:100%;direction:rtl;container-type:inline-size;--sc-olive:#42551b;--sc-ink:#302c21;--sc-gap:clamp(5px,2.8cqi,9px);--sc-pad:clamp(6px,3.1cqi,12px);}
.emm-product-card.emm-card-signature .emm-product-card__inner{display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;width:100%;height:100%;overflow:hidden;transform:none;transition:none;padding:0;border:1.5px solid #fff9f2;border-radius:clamp(17px,8cqi,31px);background:linear-gradient(150deg,#fff8ef 5%,#f9e8d9 62%,#f0d3bb);box-shadow:0 3px 0 #d7ac8c,0 5px 10px #9b664b28,inset 0 2px 1px #fff;}
.emm-product-card.emm-card-signature:hover .emm-product-card__inner{transform:none;box-shadow:0 3px 0 #d7ac8c,0 5px 10px #9b664b28,inset 0 2px 1px #fff;}
.emm-product-card.emm-card-signature .emm-product-card__media-wrap{position:relative;isolation:isolate;flex:none;min-width:0;margin:var(--sc-pad) var(--sc-pad) 0;border:1px solid #fff8ee;border-bottom:3px solid #d9aa64;border-radius:clamp(13px,6cqi,24px);background:radial-gradient(ellipse at 50% 30%,#fff7ed,#f3d8c5 84%);box-shadow:0 3px 6px #ad7d5540,inset 0 1px 1px #fff;overflow:hidden;}
.emm-product-card.emm-card-signature .emm-product-card__media{display:block;position:relative;aspect-ratio:1/1;width:100%;height:auto;min-height:0!important;max-width:100%;overflow:hidden;border-radius:inherit;}
.emm-product-card.emm-card-signature .emm-product-card__media img{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:100%;min-width:0;max-height:none;padding:0;object-fit:cover;object-position:center;transform:none;transition:none;mix-blend-mode:normal;}
.emm-product-card.emm-card-signature .emm-product-card__no-media{position:absolute;inset:0;display:grid;place-items:center;background:transparent;color:#9a9274;}
.emm-product-card.emm-card-signature .emm-product-card__badge{position:absolute;inset:6px 6px auto auto;max-width:calc(100% - 48px);white-space:normal;overflow-wrap:anywhere;z-index:2;color:#fff;font-weight:800;font-size:clamp(10px,4.4cqi,13px);line-height:1.45;padding:4px 7px;border-radius:999px;border:1px solid #fff9;box-shadow:0 2px 3px #98605136;background:#d84159;}
.emm-product-card.emm-card-signature .emm-product-card__badge--sale{background:linear-gradient(155deg,#f7687c,#bd3046);}
.emm-product-card.emm-card-signature .emm-product-card__badge--out{background:#705e54;}
.emm-product-card.emm-card-signature .emm-product-card__wishlist{position:absolute;inset:6px auto auto 6px;min-width:34px;min-height:34px;max-width:calc(100% - 8px);border-radius:999px;background:#fff5e8;color:#694b29;box-shadow:0 2px 4px #9b6f4840;z-index:3;}
.emm-product-card.emm-card-signature .emm-product-card__media-wrap :is(.emm-compare-form,a.emm-compare-trigger){position:absolute;left:6px;right:auto;top:6px;margin:0;z-index:4;}
.emm-product-card.emm-card-signature .emm-product-card__media-wrap:has(.emm-product-card__wishlist) :is(.emm-compare-form,a.emm-compare-trigger){top:46px;}
.emm-product-card.emm-card-signature .emm-product-card__media-wrap .emm-compare-trigger{width:34px;height:34px;min-width:34px;min-height:34px;display:grid;place-items:center;border-radius:50%;border:1px solid #fff;background:#fff5e8;color:#694b29;box-shadow:0 2px 4px #9b6f4840;}
.emm-product-card.emm-card-signature .emm-product-card__media-wrap .emm-compare-trigger.is-selected{background:#526520;color:white;}
.emm-product-card.emm-card-signature .emm-product-card__content{display:flex;flex-direction:column;align-items:stretch;flex:1;min-width:0;min-height:0;gap:var(--sc-gap);padding:var(--sc-pad);text-align:center;}
.emm-product-card.emm-card-signature .emm-product-card__name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow:hidden;overflow-wrap:anywhere;text-align:center;margin:0!important;font-size:clamp(12px,5.2cqi,17px)!important;line-height:1.5!important;min-height:3em;font-weight:850;color:var(--sc-ink)!important;}
.emm-product-card.emm-card-signature .emm-product-card__code{position:static;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;margin:0;padding:0;border-radius:0;background:transparent;color:#66523e;font-size:clamp(10px,4cqi,13px);font-weight:650;line-height:1.4;pointer-events:auto;overflow-wrap:anywhere;}
.emm-product-card.emm-card-signature .emm-product-card__code bdi{font-variant-numeric:tabular-nums;direction:ltr;max-width:100%;overflow-wrap:anywhere;}
.emm-product-card.emm-card-signature .emm-product-card__rating{align-self:center;margin:0;}
.emm-product-card.emm-card-signature .emm-card-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));grid-auto-flow:column;align-items:stretch;gap:var(--sc-gap);margin:0;}
.emm-product-card.emm-card-signature .emm-card-facts>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:6px 3px;min-width:0;max-width:100%;min-height:48px;border:1px solid #fff8ed;border-radius:clamp(9px,4.2cqi,16px);background:linear-gradient(150deg,#fff8ec,#f4d9bd);box-shadow:0 2px 3px #9c795326,inset 0 1px 0 #fff;color:var(--sc-olive);font-size:clamp(10px,4.1cqi,13px);font-weight:750;line-height:1.4;}
.emm-product-card.emm-card-signature .emm-card-facts>span>span{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;text-align:center;}
.emm-product-card.emm-card-signature .emm-card-facts svg{width:clamp(15px,7.3cqi,23px);height:clamp(15px,7.3cqi,23px);flex:none;margin:0;color:#526520;}
.emm-product-card.emm-card-signature .emm-card-colors{display:flex;justify-content:center;align-items:center;gap:5px;flex-wrap:wrap;min-height:25px;margin:0;font-size:clamp(10px,4.1cqi,13px);color:#50412e;}
.emm-product-card.emm-card-signature .emm-card-color-label{font-weight:700;}
.emm-product-card.emm-card-signature .emm-card-color{width:clamp(16px,8cqi,25px);height:clamp(16px,8cqi,25px);flex:none;border:2px solid #fff6ea;box-shadow:0 0 0 1px #bca587,0 2px 3px #a17d602e;}
.emm-product-card.emm-card-signature .emm-card-color-more{font-size:clamp(10px,4cqi,12px);font-weight:750;background:#e9e9cd;color:#42551b;}
.emm-product-card.emm-card-signature .emm-product-card__availability{display:flex;align-items:center;justify-content:center;gap:5px;min-height:28px;padding:4px 6px;margin-top:auto;border-radius:999px;background:#e8e9ce;color:#42551b;font-size:clamp(10px,4.3cqi,13px);font-weight:800;line-height:1.4;}
.emm-product-card.emm-card-signature .emm-product-card__availability.is-out{background:#f2d9d0;color:#88443c;}
.emm-product-card.emm-card-signature .emm-product-card__stock-dot{display:grid;place-items:center;flex:none;width:16px;height:16px;border-radius:50%;background:#5b7328;color:white;}
.emm-product-card.emm-card-signature .is-stock .emm-product-card__stock-dot::before{content:'';width:7px;height:4px;border:solid white;border-width:0 0 2px 2px;transform:rotate(-45deg) translateY(-1px);}
.emm-product-card.emm-card-signature .is-out .emm-product-card__stock-dot{background:#a45f54;}
.emm-product-card.emm-card-signature .emm-product-card__price{display:flex;flex-wrap:wrap;align-items:stretch;gap:var(--sc-gap);min-height:0;min-width:0;margin:0;padding:0;border:0;text-align:center;font-size:clamp(12px,5.3cqi,17px);font-weight:850;line-height:1.4;color:var(--sc-olive);}
.emm-product-card.emm-card-signature :is(.emm-card-retail,.emm-card-wholesale){display:flex;flex-direction:column;flex:1 1 0;align-items:center;justify-content:center;gap:3px;min-width:0;max-width:100%;min-height:58px;padding:6px 3px;border:1px solid #fff8ec;border-radius:clamp(10px,4.4cqi,16px);background:linear-gradient(145deg,#fff8ef,#f8e2cd);box-shadow:0 2px 4px #a17d6027;text-align:center;overflow-wrap:anywhere;}
.emm-product-card.emm-card-signature .emm-card-wholesale{background:linear-gradient(145deg,#f1f1da,#e2e5c3);border-color:#e7e7d1;}
.emm-product-card.emm-card-signature .emm-card-retail:has(ins){background:linear-gradient(145deg,#fff1ed,#f8d8d3);color:#a62739;}
.emm-product-card.emm-card-signature .emm-card-retail ins{color:#a62739;}
.emm-product-card.emm-card-signature :is(.emm-card-price-label,.emm-card-wholesale>span){font-size:clamp(10px,4.1cqi,13px);font-weight:700;color:#625849;line-height:1.4;}
.emm-product-card.emm-card-signature .emm-card-wholesale>small{font-size:clamp(9px,3.7cqi,11px);line-height:1.4;overflow-wrap:anywhere;}
.emm-product-card.emm-card-signature .emm-product-card__price :is(bdi,del,ins,strong,.woocommerce-Price-amount){max-width:100%;min-width:0;overflow-wrap:anywhere;white-space:normal;}
.emm-product-card.emm-card-signature .emm-product-card__price bdi{display:inline-flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:2px;direction:rtl;}
.emm-product-card.emm-card-signature .emm-product-card__price del{font-size:.78em;margin:0;color:#81766b;}
.emm-product-card.emm-card-signature .emm-product-card__action{margin:0;padding:0;align-self:stretch;width:100%;min-width:0;}
.emm-product-card.emm-card-signature .emm-product-card__action :is(a.button,button.button){display:flex!important;align-items:center;justify-content:center;gap:5px;width:100%!important;max-width:none;min-height:44px;padding:7px 4px!important;border-radius:clamp(10px,4.5cqi,16px)!important;background:linear-gradient(155deg,#829331,#465a12 70%,#35450f)!important;color:#fff!important;border:1px solid #8e9d43!important;box-shadow:inset 0 1px 0 #b7c368,0 3px 4px #52652037!important;font-size:clamp(11px,4.8cqi,15px)!important;white-space:normal;overflow-wrap:anywhere;line-height:1.5;transition:none;}
.emm-product-card.emm-card-signature .emm-product-card__action svg{width:clamp(15px,7cqi,21px);height:clamp(15px,7cqi,21px);flex:none;}
.emm-product-card.emm-card-signature .emm-product-card__action :is(a.button,button.button):focus-visible{outline:2px solid #38491c;outline-offset:2px;}
@container(max-width:205px){.emm-product-card.emm-card-signature .emm-card-facts{gap:3px}.emm-product-card.emm-card-signature .emm-card-facts>span{min-height:40px;padding:4px 2px;gap:2px}.emm-product-card.emm-card-signature .emm-card-colors{gap:3px}.emm-product-card.emm-card-signature :is(.emm-card-retail,.emm-card-wholesale){padding:5px 3px;min-height:50px;flex:1 1 72px}.emm-product-card.emm-card-signature .emm-product-card__media-wrap .emm-compare-trigger{width:30px;height:30px;min-width:30px;min-height:30px}.emm-product-card.emm-card-signature .emm-product-card__badge{max-width:calc(100% - 42px)}}
/* Keep existing list toggle; use a side-by-side arrangement only where it fits. */
.emm-shop-results.is-list .emm-product-card.emm-card-signature .emm-product-card__inner{display:grid;grid-template-columns:minmax(0,32%) minmax(0,1fr);align-items:center;}
.emm-shop-results.is-list .emm-product-card.emm-card-signature .emm-product-card__media-wrap{margin:var(--sc-pad);}
@media(max-width:480px){.emm-shop-results.is-list .emm-product-card.emm-card-signature .emm-product-card__inner{display:flex;}}
@media(max-width:359px){body.emm-shop-active .emm-main .emm-shop-page .emm-shop-results ul.products:has(>li.emm-card-signature){grid-template-columns:minmax(0,1fr);}}
.emm-shop-results.is-list .emm-product-card.emm-card-signature .emm-product-card__media{height:auto;aspect-ratio:1/1;}
@media(max-width:480px){.emm-shop-results.is-list .emm-product-card.emm-card-signature .emm-product-card__inner{align-items:stretch;}}

/* FIX 13 — card-only crop and balanced phone sizing. No extra scripts. */
@media(max-width:599px){
 body.emm-ui-active .emm-main ul.products:has(>li.emm-card-signature),body.emm-shop-active .emm-main .emm-shop-page .emm-shop-results:not(.is-list) ul.products:has(>li.emm-card-signature){grid-template-columns:repeat(2,minmax(0,250px));justify-content:center;gap:8px;}
 .emm-product-card.emm-card-signature{--sc-gap:5px;--sc-pad:6px;}
}
@media(max-width:359px){
 body.emm-ui-active .emm-main ul.products:has(>li.emm-card-signature),body.emm-shop-active .emm-main .emm-shop-page .emm-shop-results:not(.is-list) ul.products:has(>li.emm-card-signature){grid-template-columns:minmax(0,250px);}
}
@media(max-width:480px){
 body.emm-shop-active .emm-main .emm-shop-page .emm-shop-results.is-list ul.products:has(>li.emm-card-signature){grid-template-columns:minmax(0,300px)!important;justify-content:center;justify-items:stretch;}
 .emm-shop-results.is-list li.emm-card-signature{width:100%!important;max-width:300px!important;}
}
/* Shared price identity, scoped only to the existing reusable product card. */
.emm-product-card.emm-card-signature .az-sale-stack{display:grid;gap:4px;background:none!important;box-shadow:none!important;padding:0!important;overflow:visible;max-width:calc(100% - 55px);border:0!important}.emm-product-card .az-sale-stack>span{display:flex;align-items:center;justify-content:center;gap:4px;background:linear-gradient(135deg,#c34f68,#a92649);border:1px solid #f9d9dd;color:#fff;border-radius:10px;padding:4px 7px;font-size:clamp(10px,4.3cqi,13px);font-weight:850;white-space:nowrap;box-shadow:0 3px 6px #77304725}.emm-product-card .az-sale-stack>span.az-sale-bulk{background:linear-gradient(135deg,#708747,#405c2a);border-color:#dbe6c4}.emm-product-card .az-sale-stack svg,.emm-product-card .az-price-icon svg{width:16px;height:16px;flex:none}.emm-product-card.emm-card-signature .az-price-icon{position:relative;display:grid;place-items:center;border-radius:9px;width:28px;height:28px;color:#526d32;background:#fff8ed;box-shadow:2px 3px 7px #b3a08728;outline-offset:2px}.emm-product-card .az-price-tip{display:none;position:absolute;z-index:4;bottom:100%;left:50%;transform:translateX(-50%);padding:5px 7px;background:#344b27;color:white;border-radius:8px;font-size:11px;white-space:nowrap;pointer-events:none}.emm-product-card .az-price-icon:is(:hover,:focus,:focus-within) .az-price-tip{display:block}.emm-product-card .az-wholesale-sale>del{font-size:.78em;color:#6c6556}.emm-product-card .emm-card-wholesale>strong{color:#405c2a}.emm-product-card .emm-product-card__price :is(bdi,.woocommerce-Price-amount){white-space:normal;overflow-wrap:normal;word-break:normal}.emm-product-card .emm-product-card__price bdi{display:inline;unicode-bidi:isolate;direction:rtl}.emm-product-card .emm-product-card__price .woocommerce-Price-currencySymbol{margin-inline-start:.2em;font-size:.73em}
.emm-product-card.emm-card-signature .emm-product-card__price del .woocommerce-Price-amount{font-size:inherit}.emm-product-card.emm-card-signature .emm-product-card__price ins{font-weight:850}.emm-product-card.emm-card-signature .emm-product-card__price bdi{display:inline;overflow-wrap:normal;word-break:normal;unicode-bidi:isolate}.emm-product-card.emm-card-signature .az-price-icon{color:#526d32}.emm-product-card.emm-card-signature .az-sale-stack>span{white-space:normal;overflow-wrap:normal}.emm-product-card.emm-card-signature .az-sale-stack>span svg{flex:0 0 13px;width:13px;height:13px}
@container(max-width:160px){.emm-product-card.emm-card-signature :is(.emm-card-retail,.emm-card-wholesale){flex-basis:100%;display:grid;grid-template-columns:28px minmax(0,1fr);gap:3px 5px;text-align:center;min-height:42px}.emm-product-card.emm-card-signature .az-price-icon{grid-column:1;grid-row:1/span 2}.emm-product-card.emm-card-signature :is(.emm-card-retail,.emm-card-wholesale)>:not(.az-price-icon){grid-column:2}.emm-product-card.emm-card-signature .emm-card-wholesale>small{grid-column:1/-1}}
