/* ZenixPower Tools - floating widgets + popups + homepage sections */
.zpx-float { position: fixed; right: 18px; bottom: 20px; z-index: 99999; display: flex; flex-direction: column; gap: 10px; }
.zpx-float-btn { width: 54px; height: 54px; border-radius: 50%; border: none; cursor: pointer; font-size: 20px; color: #fff;
  background: #23282d; box-shadow: 0 3px 12px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; transition: all .2s; }
.zpx-float-btn:hover { transform: scale(1.08); }
.zpx-float-btn.zpx-oem { background: #f5821f; font-weight: 800; font-size: 15px; }
.zpx-float-btn.zpx-wa { background: #25d366; text-decoration: none; }
.zpx-scroll-top { position: fixed; right: 28px; bottom: 86px; z-index: 99998; width: 44px; height: 44px; border-radius: 50%;
  border: none; cursor: pointer; font-size: 18px; color: #fff; background: #23282d; box-shadow: 0 3px 12px rgba(0,0,0,.25);
  display: none; align-items: center; justify-content: center; }
.zpx-scroll-top.show { display: flex; }

.zpx-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 100001; display: none; align-items: center; justify-content: center; padding: 20px; }
.zpx-overlay.open { display: flex; }
.zpx-popup { background: #fff; border-radius: 10px; max-width: 460px; width: 100%; max-height: 92vh; overflow-y: auto; padding: 30px; position: relative; }
.zpx-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 24px; cursor: pointer; color: #777; }
.zpx-tag { display: inline-block; background: #f5821f; color: #fff; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 4px; margin-bottom: 12px; }
.zpx-popup h3 { font-size: 20px; color: #23282d; margin-bottom: 6px; }
.zpx-popup .zpx-sub { font-size: 14px; color: #6d6d6d; margin-bottom: 18px; }
.zpx-field { margin-bottom: 14px; }
.zpx-field label { display: block; font-size: 13px; font-weight: 600; color: #23282d; margin-bottom: 5px; }
.zpx-field label em { color: #e33; font-style: normal; }
.zpx-field input, .zpx-field textarea { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 5px; font-size: 14px; font-family: inherit; box-sizing: border-box; }
.zpx-field input:focus, .zpx-field textarea:focus { outline: none; border-color: #f5821f; }
.zpx-submit { width: 100%; padding: 13px; background: #f5821f; color: #fff; border: none; border-radius: 5px; font-size: 15px; font-weight: 700; cursor: pointer; }
.zpx-submit:hover { background: #d96a0a; }
.zpx-msg { margin-top: 10px; font-size: 14px; display: none; }
.zpx-msg.ok { display: block; color: #2e7d32; }
.zpx-msg.err { display: block; color: #c62828; }

.zpx-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; margin: 30px 0; }
.zpx-trust-item { padding: 24px 16px; }
.zpx-trust-item .zpx-tick { color: #46a44b; font-size: 30px; margin-bottom: 8px; }
.zpx-trust-item h4 { color: #23282d; font-size: 15px; margin-bottom: 4px; }
.zpx-trust-item p { font-size: 13px; color: #6d6d6d; }

.zpx-cta { background: linear-gradient(135deg, #f5821f 0%, #d96a0a 100%); color: #fff; text-align: center; padding: 54px 20px; margin: 30px 0; border-radius: 8px; }
.zpx-cta h2 { font-size: 30px; margin-bottom: 8px; }
.zpx-cta p { margin-bottom: 20px; opacity: .95; }
.zpx-cta-btn { background: #fff; color: #d96a0a; border: none; padding: 14px 36px; font-size: 16px; font-weight: 700; border-radius: 5px; cursor: pointer; }
.zpx-cta-btn:hover { background: #23282d; color: #fff; }

.zpx-featured { margin: 30px 0; }
.zpx-featured h2 { text-align: center; font-size: 28px; color: #23282d; margin-bottom: 24px; }
.zpx-featured-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.zpx-prod { border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden; background: #fff; text-align: center; padding-bottom: 14px; }
.zpx-prod-img { background: #fafafa; min-height: 160px; display: flex; align-items: center; justify-content: center; }
.zpx-prod-img img { width: 100%; height: auto; object-fit: contain; }
.zpx-prod h3 { font-size: 14px; color: #23282d; padding: 10px 10px 0; line-height: 1.4; min-height: 40px; }
.zpx-prod-price { color: #d96a0a; font-weight: 700; margin: 8px 0; }
.zpx-prod-btn { display: inline-block; background: #f5821f; color: #fff; padding: 8px 18px; border-radius: 4px; font-size: 13px; text-decoration: none; }
.zpx-prod-btn:hover { background: #d96a0a; color: #fff; }

@media (max-width: 768px) {
  .zpx-trust, .zpx-featured-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .zpx-featured-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Add to Cart button on homepage featured products */
.zpx-prod-actions { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; padding: 0 10px; margin-top: 2px; }
.zpx-prod-actions .zpx-prod-btn { padding: 8px 12px; }
.zpx-add-cart { display: inline-block; background: #23282d; color: #fff; padding: 8px 12px; border-radius: 4px; font-size: 13px; text-decoration: none; cursor: pointer; border: none; font-family: inherit; line-height: 1.4; }
.zpx-add-cart:hover { background: #46a44b; color: #fff; }
