/* Elementor Business Directory V2 - Frontend Styles */
.ebd-container { max-width: 1200px; margin: 0 auto; padding: 20px; font-family: system-ui, -apple-system, sans-serif; }
.ebd-single-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
@media (max-width: 768px) { .ebd-single-layout { grid-template-columns: 1fr; } }

/* Banner Widget */
.ebd-widget-banner { position: relative; width: 100%; border-radius: 12px; overflow: hidden; background-size: cover; background-position: center; color: #fff; display: flex; align-items: flex-end; padding: 24px; box-sizing: border-box; }
.ebd-banner-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 70%); }
.ebd-banner-content { position: relative; z-index: 2; display: flex; align-items: center; gap: 20px; width: 100%; }
.ebd-banner-logo { width: 88px; height: 88px; border-radius: 12px; border: 3px solid #fff; object-fit: cover; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.ebd-banner-text h2 { margin: 0; font-size: 26px; font-weight: 700; color: #ffffff; }
.ebd-tagline { margin: 4px 0 8px; font-size: 14px; opacity: 0.9; }
.ebd-badge-verified { background: #10b981; color: #fff; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 20px; display: inline-block; margin-left: 8px; }

/* Cards & Widgets */
.ebd-widget-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.ebd-widget-card h3 { margin-top: 0; margin-bottom: 16px; font-size: 18px; color: #111827; border-bottom: 2px solid #f3f4f6; padding-bottom: 8px; }

/* WhatsApp Button */
.ebd-whatsapp-btn { display: flex; align-items: center; justify-content: center; gap: 10px; background: #25d366; color: #ffffff; font-weight: 600; font-size: 16px; text-decoration: none; padding: 14px 20px; border-radius: 10px; transition: all 0.2s ease; box-shadow: 0 4px 14px rgba(37,211,102,0.35); }
.ebd-whatsapp-btn:hover { background: #1eaf53; transform: translateY(-2px); }
.ebd-pulse { animation: ebd-pulse-glow 2s infinite; }
@keyframes ebd-pulse-glow { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* Contact List */
.ebd-contact-list { list-style: none; padding: 0; margin: 0; }
.ebd-contact-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.ebd-contact-list li:last-child { margin-bottom: 0; }
.ebd-icon { font-size: 18px; }
.ebd-contact-list a { color: #2563eb; text-decoration: none; }
.ebd-contact-list a:hover { text-decoration: underline; }

/* Star Rating */
.ebd-star-rating { color: #f59e0b; display: inline-flex; gap: 2px; font-size: 16px; }

/* Products Grid */
.ebd-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.ebd-product-item { border: 1px solid #f3f4f6; border-radius: 8px; overflow: hidden; background: #fafafa; }
.ebd-product-thumb { width: 100%; height: 140px; object-fit: cover; }
.ebd-product-info { padding: 12px; }
.ebd-product-info h4 { margin: 0 0 6px; font-size: 15px; }
.ebd-product-desc { font-size: 12px; color: #6b7280; margin: 0 0 10px; line-height: 1.4; }
.ebd-product-price-bar { display: flex; align-items: center; justify-content: space-between; }
.ebd-sale-price { font-weight: 700; color: #059669; font-size: 15px; }
.ebd-orig-price { text-decoration: line-through; color: #9ca3af; font-size: 12px; margin-left: 4px; }
.ebd-regular-price { font-weight: 700; color: #111827; }
.ebd-btn-order { background: #111827; color: #fff; border: none; padding: 6px 12px; border-radius: 6px; font-size: 12px; cursor: pointer; }

/* Directory Filters */
.ebd-filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; background: #fff; padding: 16px; border-radius: 10px; border: 1px solid #e5e7eb; }
.ebd-input, .ebd-select { padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; flex: 1; min-width: 180px; }
.ebd-btn-primary { background: #2563eb; color: #fff; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 600; cursor: pointer; }
.ebd-listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
