/* Eco Pest – social sharing & follow (Monarch replacement) */
.ps-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-btn { --ps-c: #3f8a2a; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 42px; height: 42px; padding: 0 12px; background: var(--ps-c); color: #fff !important; text-decoration: none !important; font-weight: 700; font-size: .88rem; line-height: 1; border-radius: 10px; transition: transform .18s var(--g-ease, ease), filter .18s, box-shadow .18s; }
.ps-btn svg { flex: none; }
.ps-btn:hover, .ps-btn:focus-visible { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 8px 18px -8px var(--ps-c); }
.ps-btn:focus-visible { outline: 3px solid var(--g-accent, #8cc63f); outline-offset: 2px; }
.ps-count { padding-left: 8px; margin-left: 2px; border-left: 1px solid rgba(255, 255, 255, .35); font-weight: 800; }
.ps-shape-rectangle .ps-btn { border-radius: 0; }
.ps-shape-circle .ps-btn { border-radius: 999px; }
.ps-shape-circle:not(.ps-has-names) .ps-btn { width: 42px; padding: 0; }

/* Inline */
.ps-inline { margin: 28px 0; padding: 18px 20px; border: 1px solid var(--g-line, #e1e8ef); border-radius: var(--g-radius, 16px); background: var(--g-soft, #f3f8ee); }
.ps-inline .ps-label { margin: 0 0 10px !important; font-weight: 800; color: var(--g-dark, #0f2f22); font-size: .95rem; }
.ps-inline .ps-btn { flex: 0 1 auto; }

/* Floating sidebar */
.ps-sidebar { position: fixed; top: 50%; transform: translateY(-50%); z-index: 80; display: flex; flex-direction: column; box-shadow: 0 12px 30px -14px rgba(15, 47, 34, .45); animation: psSlide .5s var(--g-ease, ease) both; }
.ps-side-left { left: 0; }
.ps-side-right { right: 0; animation-name: psSlideR; }
.ps-sidebar .ps-buttons { flex-direction: column; gap: 0; }
.ps-sidebar .ps-btn { width: 46px; height: 44px; min-width: 0; padding: 0; border-radius: 0; }
.ps-sidebar .ps-btn:hover { transform: translateX(4px); box-shadow: none; }
.ps-side-right .ps-btn:hover { transform: translateX(-4px); }
.ps-sidebar .ps-shape-rounded .ps-btn:first-child { border-radius: 0 10px 0 0; }
.ps-sidebar .ps-shape-rounded .ps-btn:last-child { border-radius: 0 0 10px 0; }
.ps-side-right .ps-shape-rounded .ps-btn:first-child { border-radius: 10px 0 0 0; }
.ps-side-right .ps-shape-rounded .ps-btn:last-child { border-radius: 0 0 0 10px; }
.ps-sidebar .ps-shape-circle { gap: 6px; padding: 6px; background: transparent; }
.ps-sidebar .ps-shape-circle .ps-btn { border-radius: 999px; width: 42px; height: 42px; }
.ps-total { width: 46px; padding: 8px 2px; text-align: center; background: var(--g-dark, #0f2f22); color: #fff; line-height: 1.1; }
.ps-total b { display: block; font-size: 1rem; }
.ps-total span { display: block; font-size: .6rem; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
@keyframes psSlide { from { opacity: 0; transform: translate(-100%, -50%); } to { opacity: 1; transform: translate(0, -50%); } }
@keyframes psSlideR { from { opacity: 0; transform: translate(100%, -50%); } to { opacity: 1; transform: translate(0, -50%); } }
@media (max-width: 1023px) {
	.ps-sidebar.ps-mobile-off { display: none; }
	.ps-sidebar.ps-mobile-bar { top: auto; bottom: 0; left: 0; right: 0; transform: none; flex-direction: row; animation: none; }
	.ps-sidebar.ps-mobile-bar .ps-buttons { flex-direction: row; flex: 1; }
	.ps-sidebar.ps-mobile-bar .ps-btn { flex: 1; width: auto; border-radius: 0 !important; }
	.ps-sidebar.ps-mobile-bar .ps-total { display: none; }
}
@media (max-width: 760px) { .ps-sidebar.ps-mobile-bar { bottom: 54px; } }

/* Pop-up */
.ps-popup { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(13, 27, 42, .55); backdrop-filter: blur(3px); animation: psFade .25s ease both; }
.ps-popup[hidden], .ps-flyin[hidden] { display: none; }
.ps-popup-box { position: relative; width: min(520px, 100%); padding: 32px 28px 28px; background: #fff; border-radius: 20px; box-shadow: var(--g-shadow-lg, 0 28px 56px -20px rgba(15, 47, 34, .32)); text-align: center; animation: psPop .3s var(--g-ease, ease) both; }
.ps-popup-title { margin: 0 0 6px; font-family: var(--g-head, inherit); font-weight: 800; font-size: 1.35rem; color: var(--g-dark, #0f2f22); }
.ps-popup-text { margin: 0 0 18px; color: var(--g-text, #3a4756); }
.ps-popup .ps-buttons { justify-content: center; }
.ps-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--g-soft, #f3f8ee); color: var(--g-dark, #0f2f22); font-size: 22px; line-height: 1; cursor: pointer; }
.ps-close:hover { background: var(--g-line, #e1e8ef); }
@keyframes psFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes psPop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

/* Fly-in */
.ps-flyin { position: fixed; right: 20px; bottom: 20px; z-index: 150; width: min(340px, calc(100% - 40px)); padding: 22px 20px 18px; background: #fff; border-radius: 18px; box-shadow: var(--g-shadow-lg, 0 28px 56px -20px rgba(15, 47, 34, .32)); animation: psFly .4s var(--g-ease, ease) both; }
.ps-flyin .ps-popup-title { font-size: 1.05rem; margin-bottom: 12px; padding-right: 30px; }
.ps-flyin .ps-btn { width: 42px; padding: 0; }
@keyframes psFly { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .ps-flyin { bottom: 70px; } }

/* On images */
.ps-media { position: absolute; z-index: 60; display: flex; gap: 6px; opacity: 0; pointer-events: none; transition: opacity .18s; }
.ps-media.is-on { opacity: 1; pointer-events: auto; }
.ps-media .ps-btn { width: 38px; height: 38px; min-width: 0; padding: 0; border-radius: 8px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45); }

/* Copied toast */
.ps-toast { position: fixed; left: 50%; bottom: 90px; z-index: 300; transform: translateX(-50%); padding: 10px 18px; border-radius: 999px; background: var(--g-dark, #0f2f22); color: #fff; font-weight: 700; font-size: .9rem; animation: psFade .2s ease both; }

/* Follow buttons */
.pf-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-btn { --ps-c: #3f8a2a; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 40px; height: 40px; border-radius: 10px; text-decoration: none !important; font-weight: 700; font-size: .88rem; transition: transform .18s, background .18s, color .18s; }
.pf-has-names .pf-btn { width: auto; padding: 0 14px; }
.pf-brand .pf-btn { background: var(--ps-c); color: #fff !important; }
.pf-plain .pf-btn { background: rgba(255, 255, 255, .1); color: inherit !important; }
.pf-plain .pf-btn:hover { background: var(--ps-c); color: #fff !important; }
.pf-btn:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
	.ps-sidebar, .ps-popup, .ps-popup-box, .ps-flyin, .ps-toast { animation: none; }
	.ps-btn, .pf-btn { transition: none; }
}
@media print { .ps-sidebar, .ps-popup, .ps-flyin, .ps-media, .ps-inline { display: none !important; } }
