@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Roboto:wght@400;500;700&display=swap');

:root{
  --ep:#6C5CE7;--ea:#00CEC9;
  --ep-light:#f0eeff;--ep-bg:#fff;--ep-border:#e8e3ff;
  --ep-text:#1a1a2e;--ep-muted:#6b7280;
  --ep-r:18px;
  --ep-sh:0 4px 24px rgba(108,92,231,.10);
  --ep-shh:0 16px 48px rgba(108,92,231,.22);
}
.ep-wrap{font-family:'Inter',sans-serif;color:var(--ep-text);max-width:1200px;margin:0 auto;padding:24px 16px}
.ep-wrap *{box-sizing:border-box}
.ep-section-title{font-family:'Inter',sans-serif;font-size:26px;font-weight:800;margin:0 0 24px;color:var(--ep-text)}

/* ══ FILTERS PANEL ══ */
.ep-filters-panel{background:var(--ep-bg);border:2px solid var(--ep-border);border-radius:16px;padding:20px;margin-bottom:20px}
.ep-filters-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin-bottom:16px}
.ep-filter-group{display:flex;flex-direction:column;gap:5px}
.ep-filter-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;color:var(--ep-muted);display:flex;align-items:center;gap:4px}
.ep-filter,.ep-filter-sort{width:100%;padding:9px 12px;border:2px solid var(--ep-border);border-radius:10px;font-family:inherit;font-size:13px;font-weight:600;outline:none;cursor:pointer;background:var(--ep-bg);color:var(--ep-text);transition:border-color .2s}
.ep-filter:focus,.ep-filter-sort:focus,.ep-filter:hover,.ep-filter-sort:hover{border-color:var(--ep)}
.ep-filter.active{border-color:var(--ep);background:var(--ep-light);color:var(--ep)}

.ep-toolbar-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ep-search-wrap{flex:1;min-width:200px;position:relative;display:flex;align-items:center}
.ep-search-ico{position:absolute;left:14px;font-size:15px;pointer-events:none}
.ep-search{width:100%;padding:11px 14px 11px 40px;border:2px solid var(--ep-border);border-radius:50px;font-size:14px;font-family:inherit;outline:none;transition:border-color .2s,box-shadow .2s;background:var(--ep-bg);color:var(--ep-text)}
.ep-search:focus{border-color:var(--ep);box-shadow:0 0 0 3px rgba(108,92,231,.1)}
.ep-toolbar-right{display:flex;align-items:center;gap:8px;flex-shrink:0}
.ep-filter-sort{width:auto;padding:10px 14px}
.ep-view-btn{width:38px;height:38px;border:2px solid var(--ep-border);border-radius:50%;background:var(--ep-bg);cursor:pointer;font-size:15px;display:flex;align-items:center;justify-content:center;transition:all .2s;flex-shrink:0;color:var(--ep-muted)}
.ep-view-btn.active,.ep-view-btn:hover{background:var(--ep);color:#fff;border-color:var(--ep)}

.ep-active-filters{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;min-height:0}
.ep-active-filter-tag{display:flex;align-items:center;gap:5px;background:var(--ep-light);color:var(--ep);border-radius:20px;padding:4px 10px;font-size:12px;font-weight:600}
.ep-active-filter-tag button{background:none;border:none;cursor:pointer;color:var(--ep);font-size:14px;padding:0;line-height:1;display:flex}

/* ══ META ROW ══ */
.ep-meta-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;flex-wrap:wrap;gap:8px}
.ep-count-label{font-size:13px;color:var(--ep-muted);font-weight:600}
.ep-compare-trigger{background:none;border:2px solid var(--ep);color:var(--ep);border-radius:20px;padding:7px 16px;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit;transition:all .2s}
.ep-compare-trigger:hover{background:var(--ep);color:#fff}

/* ══ GRID ══ */
.ep-grid{display:grid;gap:20px}
.ep-cols-1{grid-template-columns:1fr}
.ep-cols-2{grid-template-columns:repeat(2,1fr)}
.ep-cols-3{grid-template-columns:repeat(3,1fr)}
.ep-cols-4{grid-template-columns:repeat(4,1fr)}
@media(max-width:1100px){.ep-cols-4{grid-template-columns:repeat(3,1fr)}}
@media(max-width:860px){.ep-cols-3,.ep-cols-4{grid-template-columns:repeat(2,1fr)}.ep-filters-row{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.ep-grid{grid-template-columns:1fr!important}.ep-filters-row{grid-template-columns:1fr}}

/* List view */
.ep-grid.ep-list{grid-template-columns:1fr!important}
.ep-grid.ep-list .ep-card{flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px;padding:14px 16px}
.ep-grid.ep-list .ep-head{flex:2;min-width:160px;padding:0}
.ep-grid.ep-list .ep-ticket-divider{display:none}
.ep-grid.ep-list .ep-specs{flex:2;min-width:180px;padding:0}
.ep-grid.ep-list .ep-coupon{margin:0;flex:1;min-width:120px}
.ep-grid.ep-list .ep-cta{padding:0;flex-shrink:0}
.ep-grid.ep-list .ep-card::before{width:4px;height:100%;top:0;bottom:0;right:auto;left:0;border-radius:var(--ep-r) 0 0 var(--ep-r)}
.ep-grid.ep-list .ep-desc,.ep-grid.ep-list .ep-history-row,.ep-grid.ep-list .ep-stars-row{display:none}

/* ══ CARD ══ */
.ep-card{background:var(--ep-bg);border:2px solid var(--ep-border);border-radius:var(--ep-r);box-shadow:var(--ep-sh);display:flex;flex-direction:column;position:relative;overflow:visible;transition:transform .22s ease,box-shadow .22s,border-color .22s}
.ep-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--ep),var(--ea));border-radius:var(--ep-r) var(--ep-r) 0 0}
.ep-card:hover{transform:translateY(-5px);box-shadow:var(--ep-shh);border-color:var(--ep)}
.ep-card.ep-featured{border-color:var(--ep);background:linear-gradient(160deg,#f6f3ff,#fff 60%)}
.ep-card.ep-comparing{outline:3px solid var(--ep);outline-offset:3px}

.ep-badge{position:absolute;top:-1px;right:16px;background:linear-gradient(135deg,var(--ep),var(--ea));color:#fff;font-size:10px;font-weight:700;letter-spacing:.4px;padding:4px 12px 6px;border-radius:0 0 12px 12px;box-shadow:0 4px 12px rgba(108,92,231,.3);z-index:2;white-space:nowrap}

.ep-card-top-actions{position:absolute;top:12px;left:12px;display:flex;gap:6px;z-index:3}
.ep-fav-btn,.ep-cmp-btn{background:rgba(255,255,255,.9);border:1.5px solid var(--ep-border);border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:14px;transition:all .18s;backdrop-filter:blur(4px)}
.ep-fav-btn:hover,.ep-cmp-btn:hover{background:var(--ep-light);border-color:var(--ep)}
.ep-fav-btn.is-fav{background:#fee2e2;border-color:#fca5a5}
.ep-cmp-btn.active{background:var(--ep-light);border-color:var(--ep);color:var(--ep)}

/* Head */
.ep-head{display:flex;justify-content:space-between;align-items:center;padding:16px 16px 12px 16px;gap:8px;padding-top:36px}
.ep-head-left{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.ep-flag-wrap{flex-shrink:0}
.ep-flag{width:38px;height:28px;object-fit:cover;border-radius:5px;box-shadow:0 2px 8px rgba(0,0,0,.12);display:block}
.ep-flag-ph{font-size:24px;flex-shrink:0}
.ep-head-info{min-width:0}
.ep-country-name{display:block;font-family:'Inter',sans-serif;font-weight:700;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ep-text);text-decoration:none}
.ep-country-name:hover{color:var(--ep)}
.ep-provider-name{display:block;font-size:11px;color:var(--ep-muted);margin-top:2px}
.ep-head-right{flex-shrink:0;text-align:right}
.ep-price-display{line-height:1}
.ep-currency{font-size:11px;color:var(--ep-muted);font-weight:700;vertical-align:top;margin-top:5px;display:inline-block;margin-right:1px}
.ep-amount{font-family:'Inter',sans-serif;font-size:26px;font-weight:800;color:var(--ep);line-height:1}
.ep-price-cta{font-size:12px;color:var(--ep);font-weight:700}

/* Ticket divider */
.ep-ticket-divider{display:flex;align-items:center;margin:0 -2px}
.ep-notch{width:20px;height:20px;border-radius:50%;flex-shrink:0;border:2px solid var(--ep-border);background:#f5f3ff}
.ep-notch-l{margin-left:-11px;border-left:none}
.ep-notch-r{margin-right:-11px;border-right:none}
.ep-dashes{flex:1;border-top:2px dashed var(--ep-border)}

/* Specs */
.ep-specs{display:flex;gap:7px;flex-wrap:wrap;padding:12px 16px 8px}
.ep-spec{display:flex;align-items:center;gap:7px;background:var(--ep-light);border-radius:12px;padding:8px 11px;flex:1;min-width:60px}
.ep-spec-icon{font-size:15px;flex-shrink:0}
.ep-spec b{display:block;font-family:'Inter',sans-serif;font-size:12px;font-weight:700;line-height:1.2;white-space:nowrap}
.ep-spec small{display:block;font-size:9px;color:var(--ep-muted);text-transform:uppercase;letter-spacing:.5px}

/* Network badges */
.ep-net-badge{display:inline-block;padding:2px 7px;border-radius:6px;font-size:11px;font-weight:700}
.ep-net-5g{background:#dcfce7;color:#16a34a}
.ep-net-4g{background:#dbeafe;color:#1d4ed8}
.ep-net-4g_5g,.ep-net-4g\/5g{background:linear-gradient(90deg,#dbeafe,#dcfce7);color:#374151}

/* Stars */
.ep-stars-row{display:flex;align-items:center;gap:6px;padding:0 16px 6px;flex-wrap:wrap}
.ep-stars{display:flex;gap:1px}
.ep-star{font-size:13px;color:#d1d5db}
.ep-star.full{color:#f59e0b}
.ep-star.half{color:#f59e0b;opacity:.5}
.ep-rating-text{font-size:12px;color:var(--ep-muted);font-weight:600}
.ep-rate-btn{background:none;border:none;font-size:11px;color:var(--ep);cursor:pointer;padding:0;font-family:inherit;font-weight:600;text-decoration:underline;white-space:nowrap}
.ep-rate-first{background:var(--ep-light);border:1.5px solid var(--ep-border);border-radius:20px;padding:4px 10px;color:var(--ep-muted);text-decoration:none;white-space:nowrap}

/* Rating form */
.ep-rate-form{background:#fafaf7;border:1.5px solid var(--ep-border);border-radius:12px;padding:14px 16px;margin:0 16px 8px}
.ep-rate-stars-input{display:flex;gap:2px;margin-bottom:8px}
.ep-rate-star-btn{background:none;border:none;font-size:22px;cursor:pointer;color:#d1d5db;padding:0;transition:color .15s;line-height:1}
.ep-rate-star-btn.lit,.ep-rate-star-btn:hover{color:#f59e0b}
.ep-rate-name,.ep-rate-review{width:100%;padding:8px 10px;border:1.5px solid var(--ep-border);border-radius:8px;font-family:inherit;font-size:13px;outline:none;margin-bottom:6px;background:var(--ep-bg);color:var(--ep-text)}
.ep-rate-name:focus,.ep-rate-review:focus{border-color:var(--ep)}
.ep-rate-review{resize:vertical;min-height:56px}
.ep-rate-submit{background:var(--ep);color:#fff;border:none;padding:9px 18px;border-radius:8px;font-weight:700;cursor:pointer;font-family:inherit;font-size:13px;transition:opacity .2s}
.ep-rate-submit:hover{opacity:.85}
.ep-rate-msg.ok{background:#dcfce7;color:#16a34a;padding:8px 12px;border-radius:8px;font-size:13px;font-weight:600}
.ep-rate-msg.err{background:#fee2e2;color:#dc2626;padding:8px 12px;border-radius:8px;font-size:13px}

/* Description */
.ep-desc{font-size:12px;color:var(--ep-muted);line-height:1.55;padding:0 16px 6px;margin:0}

/* Price history */
.ep-history-row{padding:0 16px 6px;display:flex;gap:8px}
.ep-history-btn{background:none;border:none;font-size:11px;color:var(--ep);cursor:pointer;padding:0;font-family:inherit;font-weight:600;text-decoration:underline}
.ep-history-chart{padding:0 16px 8px}
.ep-history-chart canvas{max-height:100px}

/* Coupon */
.ep-coupon{background:linear-gradient(135deg,#fffbea,#fff9d6);border:1.5px dashed #daa600;border-radius:12px;margin:4px 16px 10px;padding:10px 13px}
.ep-coupon-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:5px}
.ep-coupon-header span{font-size:10px;color:#9a7000;font-weight:700;text-transform:uppercase;letter-spacing:.6px}
.ep-copy-btn{display:flex;align-items:center;gap:4px;background:#f0c040;border:none;border-radius:6px;padding:4px 10px;cursor:pointer;font-size:11px;font-weight:700;color:#7a5800;font-family:inherit;transition:background .15s}
.ep-copy-btn:hover{background:#f5d060}
.ep-copy-btn.copied{background:#a8e6cf;color:#145a32}
.ep-coupon-code{font-family:'Inter',monospace;font-size:17px;font-weight:800;color:#9a7000;letter-spacing:2px;word-break:break-all}

/* CTA */
.ep-cta{padding:8px 16px 16px;margin-top:auto;display:flex;flex-direction:column;gap:6px}
.ep-buy-btn{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;padding:13px 18px;background:linear-gradient(135deg,var(--ep),var(--ea));color:#fff!important;text-decoration:none!important;font-family:'Inter',sans-serif;font-weight:700;font-size:14px;border:none;border-radius:12px;cursor:pointer;transition:opacity .2s,transform .15s,box-shadow .2s;box-shadow:0 4px 16px rgba(108,92,231,.25);letter-spacing:.3px;line-height:1}
.ep-buy-btn:hover{opacity:.92;transform:translateY(-1px);box-shadow:0 8px 24px rgba(108,92,231,.35)}
.ep-arr{font-size:16px;transition:transform .2s;display:inline-block}
.ep-buy-btn:hover .ep-arr{transform:translateX(4px)}
.ep-buy-disabled{background:#e5e7eb!important;color:#9ca3af!important;box-shadow:none!important;cursor:not-allowed;pointer-events:none}
.ep-detail-link{text-align:center;font-size:12px;color:var(--ep);font-weight:600;text-decoration:none;opacity:.7}
.ep-detail-link:hover{opacity:1;text-decoration:underline}

/* Empty */
.ep-empty{grid-column:1/-1;text-align:center;padding:60px 20px;color:var(--ep-muted)}
.ep-empty p{font-size:15px;margin-top:12px;line-height:1.6}

/* Load more */
.ep-more-wrap{text-align:center;margin-top:32px}
.ep-more-btn{background:transparent;border:2px solid var(--ep);color:var(--ep);font-family:'Inter',sans-serif;font-weight:700;font-size:14px;padding:12px 36px;border-radius:50px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:all .22s}
.ep-more-btn:hover{background:var(--ep);color:#fff}
.ep-more-btn:disabled{opacity:.5;pointer-events:none}
.ep-spinner{display:inline-block;animation:ep-spin 1s linear infinite}
@keyframes ep-spin{to{transform:rotate(360deg)}}

/* ══ SWIPE UI ══ */
.ep-swipe-wrap{padding:20px 0;text-align:center}
.ep-swipe-stage{min-height:380px;display:flex;align-items:center;justify-content:center;position:relative}
.ep-swipe-card-container{width:100%;max-width:360px;transition:transform .3s ease,opacity .3s ease}
.ep-swipe-card-container .ep-card{cursor:grab}
.ep-swipe-card-container.swipe-left{transform:translateX(-120%) rotate(-15deg);opacity:0}
.ep-swipe-card-container.swipe-right{transform:translateX(120%) rotate(15deg);opacity:0}
.ep-swipe-controls{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:16px}
.ep-swipe-btn{background:var(--ep-bg);border:2px solid var(--ep-border);border-radius:50px;padding:12px 24px;font-size:14px;font-weight:700;cursor:pointer;display:flex;align-items:center;gap:6px;font-family:inherit;transition:all .2s}
.ep-swipe-skip:hover{background:#fee2e2;border-color:#fca5a5;color:#dc2626}
.ep-swipe-save:hover{background:#fce7f3;border-color:#f9a8d4;color:#be185d}
.ep-swipe-hint{font-size:12px;color:var(--ep-muted)}
.ep-swipe-counter{font-size:12px;color:var(--ep-muted);margin-top:8px}

/* ══ COMPARE BAR ══ */
.ep-compare-bar{position:fixed;bottom:0;left:0;right:0;background:#1a1a2e;color:#fff;z-index:9999;padding:14px 20px;box-shadow:0 -4px 20px rgba(0,0,0,.2)}
.ep-compare-bar-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ep-cbar-label{font-weight:700;font-size:14px;flex-shrink:0}
.ep-cbar-slots{display:flex;gap:8px;flex:1;flex-wrap:wrap}
.ep-cbar-slot{background:rgba(255,255,255,.1);border:1.5px solid rgba(255,255,255,.2);border-radius:8px;padding:5px 12px;font-size:12px;font-weight:600;display:flex;align-items:center;gap:6px}
.ep-cbar-slot-remove{background:none;border:none;color:rgba(255,255,255,.6);cursor:pointer;font-size:14px;padding:0;line-height:1}
.ep-cbar-go{background:linear-gradient(135deg,var(--ep),var(--ea));color:#fff;border:none;padding:10px 20px;border-radius:10px;font-weight:700;font-size:14px;cursor:pointer;font-family:inherit;flex-shrink:0}
.ep-cbar-clear{background:rgba(255,255,255,.1);color:#fff;border:1.5px solid rgba(255,255,255,.2);padding:9px 16px;border-radius:10px;font-weight:600;font-size:13px;cursor:pointer;font-family:inherit;flex-shrink:0}

/* ══ COMPARE RESULT ══ */
.ep-compare-result{margin-top:32px}
.ep-compare-table-wrap{background:var(--ep-bg);border:2px solid var(--ep-border);border-radius:16px;padding:24px;overflow:hidden}
.ep-cmp-table{width:100%;border-collapse:collapse;font-size:14px}
.ep-cmp-table th{background:var(--ep-light);padding:12px 16px;text-align:center;font-weight:700;font-size:13px;border-bottom:2px solid var(--ep-border)}
.ep-cmp-table th:first-child{text-align:left;background:#f8f7ff}
.ep-cmp-table td{padding:12px 16px;text-align:center;border-bottom:1px solid var(--ep-border)}
.ep-cmp-table td:first-child{text-align:left;font-weight:600;color:var(--ep-muted);font-size:13px}
.ep-cmp-highlight td{background:#fafaff}
.ep-cmp-cta-row td{border-bottom:none}
.ep-cmp-close{float:none}
.ep-cmp-stars{font-size:11px;color:#f59e0b;margin-top:3px}

/* Compare selector */
.ep-compare-checkboxes{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;margin-bottom:20px;max-height:320px;overflow-y:auto;padding:4px}
.ep-cmp-item{cursor:pointer}
.ep-cmp-item input{display:none}
.ep-cmp-item-inner{display:flex;align-items:center;gap:8px;padding:10px 14px;border:2px solid var(--ep-border);border-radius:10px;font-size:13px;transition:all .15s;font-weight:500}
.ep-cmp-item input:checked+.ep-cmp-item-inner{border-color:var(--ep);background:var(--ep-light)}
.ep-cmp-item-inner:hover{border-color:var(--ep)}
.ep-cmp-go-btn{background:linear-gradient(135deg,var(--ep),var(--ea));color:#fff;border:none;padding:13px 28px;border-radius:12px;font-weight:700;font-size:15px;cursor:pointer;font-family:inherit}

/* ══ COVERAGE MAP ══ */
.ep-map-wrap{}
.ep-map-region{margin-bottom:28px}
.ep-map-region-title{font-size:15px;font-weight:700;margin-bottom:12px;padding-bottom:8px;border-bottom:2px solid var(--ep-border);display:flex;align-items:center;gap:8px}
.ep-map-count{color:var(--ep-muted);font-size:13px;font-weight:500}
.ep-map-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px}
.ep-map-country{display:flex;align-items:center;gap:7px;padding:8px 12px;background:var(--ep-light);border-radius:8px;font-size:13px;font-weight:600;color:var(--ep-text);text-decoration:none;transition:all .15s}
.ep-map-country:hover{background:var(--ep);color:#fff}

/* ══ REVIEWS ══ */
.ep-reviews-wrap{}
.ep-reviews-avg{display:flex;align-items:center;gap:12px;background:var(--ep-light);border-radius:12px;padding:14px 16px;margin-bottom:16px}
.ep-reviews-big-num{font-family:'Inter',sans-serif;font-size:40px;font-weight:800;color:var(--ep);line-height:1}
.ep-review-item{padding:14px;border:1.5px solid var(--ep-border);border-radius:12px;margin-bottom:10px}
.ep-review-header{display:flex;align-items:center;gap:10px;margin-bottom:6px;flex-wrap:wrap}
.ep-review-header strong{font-size:14px}
.ep-review-header small{color:var(--ep-muted);font-size:11px;margin-left:auto}
.ep-review-text{font-size:13px;color:#374151;line-height:1.6;margin:0}

/* ═══════════════════════════════════════════════════════════
   v4.0 NEW FEATURES CSS
   All new widgets share .ep-widget-box base style
═══════════════════════════════════════════════════════════ */

/* ── Widget base ── */
.ep-widget-box{background:#fff;border:2px solid #e8e3ff;border-radius:20px;padding:28px;margin:24px 0;font-family:'Inter',system-ui,sans-serif}
.ep-widget-header{display:flex;gap:14px;align-items:flex-start;margin-bottom:22px}
.ep-widget-icon{font-size:32px;line-height:1;flex-shrink:0}
.ep-widget-title{margin:0 0 4px;font-size:20px;font-weight:800;color:#1a1a2e}
.ep-widget-sub{margin:0;color:#6b7280;font-size:13px}

/* ── Pill / button groups ── */
.ep-pill-group{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.ep-pill-group.ep-pill-lg .ep-pill{flex-direction:column;align-items:center;min-width:90px;padding:12px 10px;text-align:center;gap:2px}
.ep-pill-group.ep-pill-lg .ep-pill small{font-size:10px;color:#9ca3af;display:block;font-weight:400}
.ep-pill-group.ep-pill-lg .ep-pill b{font-size:13px}
.ep-pill-group.ep-pill-lg .ep-pill span{font-size:20px}
.ep-pill{padding:8px 16px;border:2px solid #e8e3ff;border-radius:30px;background:#f8f7ff;cursor:pointer;font-size:13px;font-weight:600;color:#6C5CE7;transition:all .15s;display:inline-flex;align-items:center;gap:4px}
.ep-pill:hover{border-color:#6C5CE7;background:#e8e3ff}
.ep-pill.active{background:#6C5CE7;color:#fff;border-color:#6C5CE7}

.ep-rec-label{display:block;font-size:13px;font-weight:700;color:#374151;margin-bottom:8px}
.ep-rec-input{padding:10px 14px;border:2px solid #e8e3ff;border-radius:10px;font-size:14px;outline:none;transition:border-color .2s;background:#fff;color:#1a1a2e;width:100%}
.ep-rec-input:focus{border-color:#6C5CE7}
.ep-rec-step{margin-bottom:18px}

/* ── Recommendation result ── */
.ep-rec-result-box{background:linear-gradient(135deg,#f3f0ff,#e8f4fd);border:2px solid #6C5CE7;border-radius:16px;padding:24px;margin-top:4px}
.ep-rec-badge{display:inline-block;background:#6C5CE7;color:#fff;font-size:11px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;padding:4px 12px;border-radius:20px;margin-bottom:12px}
.ep-rec-plan-title{font-size:18px;font-weight:800;color:#1a1a2e;margin-bottom:4px}
.ep-rec-plan-prov{font-size:13px;color:#6b7280;margin-bottom:12px}
.ep-rec-specs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.ep-rec-spec{background:#fff;border-radius:8px;padding:6px 12px;font-size:13px;font-weight:600;color:#374151;border:1px solid #e8e3ff}
.ep-rec-price{font-size:28px;font-weight:800;color:#6C5CE7;margin-bottom:6px}
.ep-rec-usage-note{font-size:12px;color:#6b7280;margin-bottom:14px}
.ep-rec-buy-btn{display:inline-block!important;margin-top:4px}
.ep-rec-alts{margin-top:16px;padding-top:16px;border-top:1px solid #e8e3ff;font-size:13px}
.ep-rec-alts ul{margin:8px 0 0 0;padding:0 0 0 18px}
.ep-rec-alts li{margin-bottom:4px}
.ep-rec-alts a{color:#6C5CE7;font-weight:600}

/* ── Device checker ── */
.ep-device-form{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end}
.ep-device-form select{flex:1;min-width:160px;max-width:220px}
.ep-device-hint{margin-top:14px;padding:12px 16px;background:#f8f7ff;border-radius:10px;font-size:12px;color:#6b7280;line-height:1.5}
.ep-dev-result{display:flex;gap:14px;align-items:flex-start;padding:16px;border-radius:14px;font-size:14px;line-height:1.5}
.ep-dev-icon{font-size:36px;flex-shrink:0}
.ep-dev-yes{background:#f0fdf4;border:2px solid #86efac;color:#166534}
.ep-dev-no{background:#fff1f2;border:2px solid #fca5a5;color:#991b1b}
.ep-dev-unknown{background:#fff7ed;border:2px solid #fdba74;color:#9a3412}
.ep-dev-note{font-size:12px;opacity:.8}

/* ── Data calculator ── */
.ep-calc-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}
.ep-calc-field label{font-size:13px;font-weight:700;color:#374151;display:block;margin-bottom:4px}
.ep-calc-activities label{font-size:13px;font-weight:700;color:#374151;display:block;margin-bottom:10px}
.ep-calc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin-bottom:14px}
.ep-calc-item label{font-size:12px!important}
.ep-calc-result{background:#f8f7ff;border:2px solid #e8e3ff;border-radius:14px;padding:20px}
.ep-calc-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}
.ep-calc-stat{text-align:center;padding:14px;background:#fff;border-radius:12px;border:1px solid #e8e3ff}
.ep-calc-rec{background:linear-gradient(135deg,#6C5CE7,#00CEC9);border-color:transparent}
.ep-calc-rec .ep-calc-big,.ep-calc-rec .ep-calc-lbl{color:#fff!important}
.ep-calc-big{font-size:22px;font-weight:800;color:#6C5CE7;display:block}
.ep-calc-tier{font-size:14px!important}
.ep-calc-lbl{font-size:11px;color:#6b7280;margin-top:2px;display:block}
.ep-calc-breakdown{font-size:12px;color:#6b7280;margin-bottom:14px;padding:10px;background:#fff;border-radius:8px;border:1px solid #e8e3ff}
.ep-calc-recs{margin-top:4px}
.ep-calc-recs strong{font-size:13px;display:block;margin-bottom:8px}
.ep-calc-plan-row{display:flex;gap:10px;align-items:center;padding:10px;background:#fff;border-radius:10px;border:1px solid #e8e3ff;margin-bottom:6px;flex-wrap:wrap}
.ep-cpp-name{flex:1;font-size:13px;font-weight:600;color:#1a1a2e;min-width:120px}
.ep-cpp-data{font-size:12px;color:#6b7280}
.ep-cpp-val{font-size:13px;font-weight:700;color:#6C5CE7}
@media(max-width:600px){.ep-calc-row,.ep-calc-summary{grid-template-columns:1fr}.ep-calc-grid{grid-template-columns:1fr 1fr}}

/* ── Install guide ── */
.ep-guide-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px}
.ep-guide-tab{padding:8px 18px;border:2px solid #e8e3ff;border-radius:24px;background:#f8f7ff;cursor:pointer;font-size:13px;font-weight:700;color:#6b7280;transition:all .15s}
.ep-guide-tab.active{background:#6C5CE7;color:#fff;border-color:#6C5CE7}
.ep-guide-sub{color:#6C5CE7;font-size:16px;font-weight:700;margin-bottom:14px}
.ep-guide-steps{margin:0 0 16px;padding-left:22px;color:#374151;line-height:1.7}
.ep-guide-steps li{margin-bottom:8px;font-size:14px}
.ep-guide-steps strong{color:#1a1a2e}
.ep-guide-steps em{font-style:normal;background:#f3f0ff;padding:1px 6px;border-radius:4px;font-size:13px;font-family:monospace}
.ep-guide-tip{background:#f0fdf4;border-left:4px solid #22c55e;border-radius:0 10px 10px 0;padding:12px 16px;font-size:13px;color:#166534;line-height:1.5}

/* ── Speed scores ── */
.ep-speed-row{display:flex;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}
.ep-speed-name{width:180px;font-size:13px;font-weight:700;color:#1a1a2e;display:flex;align-items:center;flex-shrink:0}
.ep-speed-reviews{color:#9ca3af;font-weight:400;margin-left:4px;font-size:11px}
.ep-speed-bar-track{flex:1;height:12px;background:#e8e3ff;border-radius:6px;overflow:hidden;min-width:100px}
.ep-speed-bar{height:100%;border-radius:6px;transition:width .6s ease}
.ep-s-ex{background:linear-gradient(90deg,#22c55e,#16a34a)}
.ep-s-gd{background:linear-gradient(90deg,#6C5CE7,#5b4fd1)}
.ep-s-ok{background:linear-gradient(90deg,#f59e0b,#d97706)}
.ep-s-lo{background:linear-gradient(90deg,#ef4444,#dc2626)}
.ep-speed-num{min-width:60px;font-size:13px;font-weight:800;text-align:right}
.ep-speed-num.ep-s-ex{color:#16a34a}
.ep-speed-num.ep-s-gd{color:#6C5CE7}
.ep-speed-num.ep-s-ok{color:#d97706}
.ep-speed-num.ep-s-lo{color:#dc2626}
.ep-speed-note{font-size:11px;color:#9ca3af;margin-top:16px;border-top:1px solid #f3f4f6;padding-top:10px}
@media(max-width:500px){.ep-speed-name{width:100%}}

/* ── Coverage checker ── */
.ep-cov-result{background:#fff;border:2px solid #e8e3ff;border-radius:14px;padding:18px}
.ep-cov-title{font-size:16px;font-weight:800;margin-bottom:14px;color:#1a1a2e}
.ep-cov-section{margin-bottom:14px}
.ep-cov-section strong{font-size:13px;color:#374151}
.ep-chip-group{display:flex;flex-wrap:wrap;gap:6px}
.ep-chip{padding:5px 12px;border-radius:20px;font-size:12px;font-weight:600}
.ep-chip-net{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0}
.ep-chip-prov{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}
.ep-cov-plan-row{display:flex;gap:10px;align-items:center;padding:10px;background:#f8f7ff;border-radius:10px;margin-top:8px;flex-wrap:wrap}
.ep-cov-pname{flex:1;font-size:13px;font-weight:600;color:#1a1a2e;min-width:100px}
.ep-cov-pdata{font-size:12px;color:#6b7280}
.ep-cov-pprice{font-size:13px;font-weight:700;color:#6C5CE7}

/* ── Best deals widget ── */
.ep-deals-widget{background:#fff;border:2px solid #e8e3ff;border-radius:20px;padding:24px;margin:24px 0}
.ep-deals-header{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.ep-deals-title{margin:0;font-size:20px;font-weight:800;color:#1a1a2e;flex:1}
.ep-deals-tag{font-size:11px;color:#9ca3af;background:#f3f4f6;padding:3px 10px;border-radius:20px}
.ep-deals-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px}
.ep-deal-card{background:#f8f7ff;border:2px solid #e8e3ff;border-radius:16px;padding:16px;position:relative;transition:transform .2s,box-shadow .2s}
.ep-deal-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(108,92,231,.12)}
.ep-deal-badge{position:absolute;top:-8px;right:12px;background:#ef4444;color:#fff;font-size:10px;font-weight:800;padding:3px 10px;border-radius:20px;letter-spacing:.5px}
.ep-deal-top{display:flex;gap:10px;align-items:flex-start;margin-bottom:12px}
.ep-deal-flag{border-radius:4px;height:20px;width:auto}
.ep-deal-info{flex:1}
.ep-deal-country{font-size:14px;font-weight:700;color:#1a1a2e}
.ep-deal-specs{font-size:12px;color:#6b7280;margin-top:2px}
.ep-deal-prov{font-size:11px;color:#9ca3af;margin-top:2px;display:flex;align-items:center}
.ep-deal-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px}
.ep-deal-old{font-size:11px;text-decoration:line-through;color:#9ca3af}
.ep-deal-price{font-size:18px;font-weight:800;color:#6C5CE7}
.ep-deal-btn{padding:7px 14px;background:linear-gradient(135deg,#6C5CE7,#00CEC9);color:#fff;border-radius:10px;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap;transition:opacity .2s}
.ep-deal-btn:hover{opacity:.85;color:#fff}

/* ── Marketplace ── */
.ep-market-widget{background:#fff;border-radius:20px;border:2px solid #e8e3ff;overflow:hidden;margin:24px 0}
.ep-market-hero{background:linear-gradient(135deg,#1a1a2e,#2d2b55);padding:36px 28px;text-align:center}
.ep-market-headline{color:#fff;font-size:26px;font-weight:800;margin:0 0 8px}
.ep-market-sub{color:rgba(255,255,255,.65);font-size:15px;margin:0 0 20px}
.ep-market-search-row{display:flex;gap:10px;max-width:700px;margin:0 auto;flex-wrap:wrap}
.ep-mkt-input{flex:1;min-width:200px;padding:12px 16px;border-radius:10px;border:none;font-size:14px;outline:none}
.ep-mkt-select{padding:12px 14px;border-radius:10px;border:none;font-size:13px;font-weight:600;background:#fff;cursor:pointer;outline:none}
.ep-market-regions{display:flex;flex-wrap:wrap;gap:8px;padding:20px 24px;border-bottom:1px solid #f3f4f6}
.ep-mkt-region-btn{padding:8px 18px;border:2px solid #e8e3ff;border-radius:30px;background:#f8f7ff;cursor:pointer;font-size:13px;font-weight:700;color:#6C5CE7;transition:all .15s;display:inline-flex;align-items:center;gap:6px}
.ep-mkt-region-btn:hover,.ep-mkt-region-btn.active{background:#6C5CE7;color:#fff;border-color:#6C5CE7}
.ep-mkt-cnt{background:#e8e3ff;color:#6C5CE7;font-size:11px;padding:2px 8px;border-radius:20px}
.ep-mkt-region-btn.active .ep-mkt-cnt{background:rgba(255,255,255,.25);color:#fff}
.ep-market-countries{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:2px;padding:4px;background:#f3f4f6}
.ep-mkt-country-card{display:flex;flex-direction:column;align-items:center;padding:16px 10px;background:#fff;text-decoration:none;text-align:center;transition:background .15s}
.ep-mkt-country-card:hover{background:#f3f0ff}
.ep-mkt-country-card img{border-radius:4px;margin-bottom:8px;height:24px;width:auto}
.ep-mkt-cname{font-size:13px;font-weight:700;color:#1a1a2e;margin-bottom:2px}
.ep-mkt-plans-cnt{font-size:11px;color:#9ca3af}
@media(max-width:600px){.ep-market-countries{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.ep-deals-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.ep-deals-grid{grid-template-columns:1fr}}

/* ════════════════════════════════════════════
   v4.0 NEW FEATURES CSS
════════════════════════════════════════════ */

/* BEST DEALS WIDGET */
.ep-best-deals-wrap { font-family: inherit; }
.ep-deals-title { font-size: 24px; font-weight: 800; margin-bottom: 20px; }
.ep-deals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ep-deal-card { background: #fff; border: 2px solid #e8e3ff; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; position: relative; transition: transform .2s, box-shadow .2s; }
.ep-deal-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(108,92,231,.15); }
.ep-deal-best-badge { position: absolute; top: -10px; left: 16px; background: linear-gradient(135deg,#f59e0b,#ef4444); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.ep-deal-hot-badge { position: absolute; top: -10px; left: 16px; background: linear-gradient(135deg,#6C5CE7,#00CEC9); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.ep-deal-flag img { height: 32px; border-radius: 4px; }
.ep-deal-country { font-weight: 700; font-size: 16px; }
.ep-deal-provider { font-size: 12px; color: #6b7280; }
.ep-deal-specs { display: flex; gap: 8px; font-size: 12px; color: #6b7280; flex-wrap: wrap; }
.ep-deal-price-col { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.ep-deal-price { font-size: 22px; font-weight: 800; color: #6C5CE7; }
.ep-deal-ppgb { font-size: 12px; color: #16a34a; font-weight: 600; }
.ep-deal-btn { display: block; text-align: center; padding: 10px; background: linear-gradient(135deg,#6C5CE7,#00CEC9); color: #fff; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 14px; transition: opacity .2s; }
.ep-deal-btn:hover { opacity: .88; color: #fff; }

/* INSTALLATION GUIDE */
.ep-guide-wrap { font-family: inherit; }
.ep-guide-title { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.ep-guide-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; border-bottom: 2px solid #e8e3ff; padding-bottom: 12px; }
.ep-guide-tab { background: #f3f0ff; border: none; padding: 10px 18px; border-radius: 8px; font-weight: 600; cursor: pointer; font-size: 14px; color: #6b7280; transition: background .2s; }
.ep-guide-tab.active, .ep-guide-tab:hover { background: #6C5CE7; color: #fff; }
.ep-guide-steps { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.ep-guide-step { display: flex; gap: 14px; align-items: flex-start; padding: 14px; background: #f8f9ff; border-radius: 12px; }
.ep-guide-step-num { width: 28px; height: 28px; border-radius: 50%; background: #6C5CE7; color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ep-guide-step-icon { font-size: 20px; flex-shrink: 0; }
.ep-guide-step-text strong { display: block; margin-bottom: 4px; }
.ep-guide-step-text p { margin: 0; font-size: 13px; color: #6b7280; line-height: 1.5; }
.ep-guide-tip { background: #fffbea; border: 1.5px solid #fcd34d; border-radius: 10px; padding: 14px; font-size: 13px; color: #92400e; }

/* DATA CALCULATOR */
.ep-calc-wrap { background: #f8f9ff; border-radius: 20px; padding: 28px; }
.ep-calc-title { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.ep-calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 20px; }
.ep-calc-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #374151; }
.ep-calc-input, .ep-calc-select { width: 100%; padding: 10px 12px; border: 2px solid #e8e3ff; border-radius: 10px; font-size: 14px; outline: none; background: #fff; }
.ep-calc-input:focus, .ep-calc-select:focus { border-color: #6C5CE7; }
.ep-calc-btn { background: linear-gradient(135deg,#6C5CE7,#00CEC9); color: #fff; border: none; padding: 14px 28px; border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer; }
.ep-calc-result { margin-top: 24px; background: #fff; border-radius: 16px; padding: 24px; border: 2px solid #e8e3ff; }
.ep-calc-result-main { text-align: center; margin-bottom: 20px; }
.ep-calc-result-gb { font-size: 48px; font-weight: 900; color: #6C5CE7; }
.ep-calc-result-label { color: #6b7280; }
.ep-calc-breakdown { background: #f3f0ff; border-radius: 10px; padding: 14px; margin-bottom: 20px; font-size: 13px; }
.ep-calc-breakdown td { padding: 3px 8px; }

/* DEVICE CHECKER */
.ep-device-checker { background: #f8f9ff; border-radius: 16px; padding: 24px; }
.ep-device-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.ep-device-field { flex: 1; min-width: 160px; }
.ep-device-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #374151; }
.ep-device-field select { width: 100%; padding: 10px 12px; border: 2px solid #e8e3ff; border-radius: 10px; font-size: 14px; }
.ep-device-check-btn { padding: 10px 20px; background: linear-gradient(135deg,#6C5CE7,#00CEC9); color: #fff; border: none; border-radius: 10px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ep-device-check-btn:disabled { opacity: .5; cursor: not-allowed; }
.ep-device-result { margin-top: 16px; padding: 16px; border-radius: 12px; background: #f0fdf4; border: 2px solid #bbf7d0; }
.ep-device-compatible { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #16a34a; }
.ep-device-check-icon { font-size: 24px; }
.ep-device-shop-btn { display: inline-block; padding: 8px 18px; background: #6C5CE7; color: #fff; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 13px; }

/* AI RECOMMENDER */
.ep-ai-rec-wrap { background: linear-gradient(135deg,#f3f0ff 0%,#eff6ff 100%); border-radius: 20px; padding: 28px; border: 2px solid #e8e3ff; }
.ep-ai-rec-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.ep-ai-rec-icon { font-size: 40px; }
.ep-ai-rec-header h3 { margin: 0 0 4px; font-size: 22px; font-weight: 800; }
.ep-ai-rec-header p { margin: 0; color: #6b7280; font-size: 14px; }
.ep-ai-rec-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 20px; }
.ep-ai-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.ep-ai-field select { width: 100%; padding: 10px 12px; border: 2px solid #e8e3ff; border-radius: 10px; font-size: 14px; background: #fff; }
.ep-ai-rec-btn { width: 100%; padding: 16px; background: linear-gradient(135deg,#6C5CE7,#a855f7); color: #fff; border: none; border-radius: 12px; font-size: 16px; font-weight: 800; cursor: pointer; transition: opacity .2s; }
.ep-ai-rec-btn:hover { opacity: .88; }
.ep-ai-rec-result { margin-top: 24px; }
.ep-ai-result-wrap { background: #fff; border-radius: 16px; padding: 24px; border: 2px solid #e8e3ff; }
.ep-ai-result-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid #e8e3ff; }
.ep-ai-result-icon { font-size: 32px; }
.ep-ai-result-plans { display: flex; flex-direction: column; gap: 12px; }
.ep-ai-plan-card { border: 2px solid #e8e3ff; border-radius: 14px; padding: 18px; }
.ep-ai-plan-card.ep-ai-top { border-color: #6C5CE7; background: #f8f7ff; }
.ep-ai-plan-badge { font-size: 12px; font-weight: 700; margin-bottom: 10px; color: #6C5CE7; }
.ep-ai-top .ep-ai-plan-badge { color: #7c3aed; }
.ep-ai-plan-info { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ep-ai-plan-specs { display: flex; gap: 12px; font-size: 13px; color: #6b7280; margin-bottom: 12px; flex-wrap: wrap; }
.ep-ai-plan-price-row { display: flex; align-items: center; justify-content: space-between; }
.ep-ai-plan-price { font-size: 22px; font-weight: 800; color: #6C5CE7; }
.ep-ai-warning { margin-top: 14px; background: #fff7ed; border: 1.5px solid #fed7aa; border-radius: 10px; padding: 12px; font-size: 13px; color: #92400e; }
.ep-ai-error { background: #fef2f2; border: 1.5px solid #fca5a5; border-radius: 10px; padding: 16px; color: #dc2626; }

/* MARKETPLACE */
.ep-marketplace-wrap { font-family: inherit; }
.ep-marketplace-header { margin-bottom: 24px; }
.ep-marketplace-header h2 { font-size: 28px; font-weight: 900; margin-bottom: 6px; }
.ep-marketplace-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; border-bottom: 2px solid #e8e3ff; padding-bottom: 12px; }
.ep-mkt-tab { background: #f3f0ff; border: none; padding: 10px 20px; border-radius: 10px; font-weight: 700; cursor: pointer; font-size: 14px; color: #6b7280; transition: all .2s; }
.ep-mkt-tab.active, .ep-mkt-tab:hover { background: #6C5CE7; color: #fff; }
.ep-mkt-search-wrap { margin-bottom: 20px; }
.ep-mkt-search { width: 100%; padding: 12px 16px; border: 2px solid #e8e3ff; border-radius: 12px; font-size: 15px; outline: none; max-width: 400px; }
.ep-mkt-search:focus { border-color: #6C5CE7; }
.ep-mkt-countries-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ep-mkt-country-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px; background: #fff; border: 2px solid #e8e3ff; border-radius: 12px; text-decoration: none; color: inherit; text-align: center; transition: all .2s; }
.ep-mkt-country-card:hover { border-color: #6C5CE7; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(108,92,231,.12); }
.ep-mkt-country-card img { height: 30px; border-radius: 3px; }
.ep-mkt-country-name { font-size: 13px; font-weight: 600; color: #374151; }
.ep-mkt-country-count { font-size: 11px; color: #9ca3af; }
.ep-mkt-regions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.ep-mkt-region-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 16px; background: #f3f0ff; border-radius: 16px; text-decoration: none; color: inherit; text-align: center; transition: all .2s; cursor: pointer; border: 2px solid transparent; }
.ep-mkt-region-card:hover { background: #6C5CE7; color: #fff; transform: translateY(-2px); }
.ep-mkt-region-icon { font-size: 36px; }
.ep-mkt-region-name { font-weight: 700; font-size: 16px; }
.ep-mkt-region-count { font-size: 12px; opacity: .7; }
.ep-mkt-providers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.ep-mkt-provider-card { background: #fff; border: 2px solid #e8e3ff; border-radius: 16px; padding: 20px; text-align: center; transition: all .2s; }
.ep-mkt-provider-card:hover { border-color: #6C5CE7; transform: translateY(-2px); }
.ep-mkt-prov-logo { height: 40px; object-fit: contain; margin-bottom: 10px; }
.ep-mkt-prov-initial { width: 48px; height: 48px; background: linear-gradient(135deg,#6C5CE7,#00CEC9); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; margin: 0 auto 10px; }
.ep-mkt-prov-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.ep-mkt-prov-count { font-size: 12px; color: #6b7280; margin-bottom: 12px; }
.ep-mkt-prov-btn { display: inline-block; padding: 6px 16px; background: #f3f0ff; border-radius: 8px; font-size: 13px; font-weight: 700; color: #6C5CE7; text-decoration: none; }

/* SPEED SCORES */
.ep-speed-wrap { font-family: inherit; }
.ep-speed-title { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.ep-speed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.ep-speed-card { background: #fff; border: 2px solid #e8e3ff; border-radius: 14px; padding: 18px; text-align: center; }
.ep-speed-provider { margin-bottom: 12px; min-height: 30px; display: flex; align-items: center; justify-content: center; }
.ep-speed-score { font-size: 28px; font-weight: 900; margin-bottom: 8px; }
.ep-speed-bar-wrap { background: #f3f0ff; border-radius: 6px; height: 8px; margin-bottom: 8px; overflow: hidden; }
.ep-speed-bar { height: 100%; border-radius: 6px; transition: width .8s ease; }
.ep-speed-stars { font-size: 18px; color: #f59e0b; }

/* COVERAGE CHECKER */
.ep-coverage-checker-wrap { background: #f8f9ff; border-radius: 20px; padding: 24px; }
.ep-coverage-title { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.ep-coverage-form { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ep-coverage-select { flex: 1; min-width: 200px; padding: 12px 16px; border: 2px solid #e8e3ff; border-radius: 12px; font-size: 15px; outline: none; }
.ep-coverage-select:focus { border-color: #6C5CE7; }
.ep-coverage-btn { padding: 12px 24px; background: linear-gradient(135deg,#6C5CE7,#00CEC9); color: #fff; border: none; border-radius: 12px; font-weight: 700; cursor: pointer; font-size: 15px; }
.ep-coverage-result-wrap { margin-top: 16px; }
.ep-coverage-result { background: #fff; border-radius: 14px; padding: 20px; border: 2px solid #e8e3ff; }
.ep-coverage-country { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.ep-coverage-country img { height: 32px; border-radius: 4px; }
.ep-coverage-available { color: #16a34a; font-weight: 700; margin-bottom: 12px; }
.ep-coverage-networks { margin-bottom: 12px; font-size: 14px; }
.ep-coverage-badge { display: inline-block; background: #f3f0ff; color: #6C5CE7; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; margin: 2px; }
.ep-coverage-none { background: #fef2f2; border-radius: 10px; padding: 16px; color: #dc2626; }

/* MULTI-CURRENCY SWITCHER */
.ep-currency-bar { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; font-size: 13px; }
.ep-currency-btn { padding: 4px 12px; border: 2px solid #e8e3ff; border-radius: 20px; background: #fff; cursor: pointer; font-size: 12px; font-weight: 600; color: #6b7280; transition: all .2s; }
.ep-currency-btn.active, .ep-currency-btn:hover { background: #6C5CE7; color: #fff; border-color: #6C5CE7; }

/* CLOAK LINKS */
.ep-go-link { /* affiliate cloaked links via /esim-go/{id}/ */ }

@media (max-width: 640px) {
  .ep-deals-grid, .ep-mkt-countries-grid { grid-template-columns: 1fr 1fr; }
  .ep-ai-rec-fields, .ep-calc-grid { grid-template-columns: 1fr; }
  .ep-device-row { flex-direction: column; }
  .ep-marketplace-tabs { gap: 6px; }
  .ep-mkt-tab { padding: 8px 12px; font-size: 13px; }
}

/* ═══════════════════════════════════════
   v4.1 NEW SHORTCODE STYLES
═══════════════════════════════════════ */

/* ── Providers Grid ── */
.ep-providers-grid{display:grid;gap:20px;margin:20px 0}
.ep-pg-cols-2{grid-template-columns:repeat(2,1fr)}
.ep-pg-cols-3{grid-template-columns:repeat(3,1fr)}
.ep-pg-cols-4{grid-template-columns:repeat(4,1fr)}
.ep-provider-card{background:#fff;border:2px solid #e8e3ff;border-radius:16px;padding:24px 20px;text-align:center;transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column;align-items:center;gap:10px}
.ep-provider-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(108,92,231,.15)}
.ep-prov-logo-wrap{height:56px;display:flex;align-items:center;justify-content:center}
.ep-prov-logo{max-height:48px;max-width:120px;object-fit:contain}
.ep-prov-initial-badge{width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,var(--ep,#6C5CE7),var(--ea,#00CEC9));color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:800}
.ep-prov-name{font-weight:700;font-size:16px;color:#1a1a2e}
.ep-prov-count{font-size:13px;color:#6b7280;background:#f3f0ff;padding:3px 10px;border-radius:20px}
.ep-prov-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:4px}
.ep-prov-plans-btn{background:var(--ep,#6C5CE7);color:#fff;border:none;border-radius:8px;padding:7px 16px;font-size:13px;font-weight:600;cursor:pointer;text-decoration:none;transition:opacity .2s}
.ep-prov-plans-btn:hover{opacity:.85;color:#fff}
.ep-prov-site-btn{background:transparent;color:var(--ep,#6C5CE7);border:2px solid var(--ep,#6C5CE7);border-radius:8px;padding:5px 14px;font-size:13px;font-weight:600;cursor:pointer;text-decoration:none;transition:all .2s}
.ep-prov-site-btn:hover{background:var(--ep,#6C5CE7);color:#fff}

/* ── Section Title ── */
.ep-section-title{font-size:24px;font-weight:800;color:#1a1a2e;margin:0 0 20px;padding-bottom:12px;border-bottom:3px solid var(--ep,#6C5CE7)}

/* ── Stats Cards ── */
.ep-stats-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0}
.ep-stats-card{background:#fff;border:2px solid #e8e3ff;border-radius:14px;padding:20px;text-align:center}
.ep-stats-card.ep-stats-highlight{background:linear-gradient(135deg,var(--ep,#6C5CE7),var(--ea,#00CEC9));border-color:transparent;color:#fff}
.ep-stats-card.ep-stats-highlight .ep-stats-num,.ep-stats-card.ep-stats-highlight .ep-stats-label{color:#fff}
.ep-stats-num{font-size:32px;font-weight:900;color:var(--ep,#6C5CE7);line-height:1}
.ep-stats-label{font-size:13px;color:#6b7280;margin-top:6px;font-weight:600}
.ep-stats-banner{display:flex;align-items:center;gap:20px;background:linear-gradient(135deg,var(--ep,#6C5CE7),var(--ea,#00CEC9));border-radius:16px;padding:20px 28px;color:#fff;flex-wrap:wrap;justify-content:center;margin:20px 0}
.ep-stats-banner .ep-stat-item{text-align:center}
.ep-stats-banner .ep-stat-item strong{display:block;font-size:28px;font-weight:900}
.ep-stats-banner .ep-stat-item span{font-size:12px;opacity:.85}
.ep-stats-sep{color:rgba(255,255,255,.4);font-size:24px}
.ep-stats-inline{font-size:15px;color:#374151;padding:12px 16px;background:#f3f0ff;border-radius:8px;border-left:4px solid var(--ep,#6C5CE7)}

/* ── Country Flag Cards ── */
.ep-country-cards-grid{display:grid;gap:12px;margin:20px 0}
.ep-cc-cols-3{grid-template-columns:repeat(3,1fr)}
.ep-cc-cols-4{grid-template-columns:repeat(4,1fr)}
.ep-cc-cols-5{grid-template-columns:repeat(5,1fr)}
.ep-cc-cols-6{grid-template-columns:repeat(6,1fr)}
.ep-country-flag-card{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 8px;background:#fff;border:2px solid #e8e3ff;border-radius:12px;text-decoration:none;color:#1a1a2e;transition:transform .2s,box-shadow .2s,border-color .2s}
.ep-country-flag-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(108,92,231,.12);border-color:var(--ep,#6C5CE7);color:#1a1a2e}
.ep-country-flag-card img{border-radius:3px;width:48px}
.ep-cc-name{font-size:12px;font-weight:700;text-align:center;line-height:1.2}
.ep-cc-count{font-size:11px;color:#9ca3af}

/* ── Ticker ── */
.ep-ticker-wrap{background:linear-gradient(90deg,#1a1a2e,#2d2d4e);border-radius:12px;padding:0;overflow:hidden;display:flex;align-items:center;margin:16px 0}
.ep-ticker-label{background:var(--ep,#6C5CE7);color:#fff;padding:12px 18px;font-size:13px;font-weight:700;white-space:nowrap;flex-shrink:0}
.ep-ticker-track-outer{overflow:hidden;flex:1}
.ep-ticker-track{display:flex;gap:0;animation:ep-ticker 30s linear infinite;width:max-content}
.ep-ticker-track:hover{animation-play-state:paused}
@keyframes ep-ticker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.ep-ticker-item{display:inline-flex;align-items:center;gap:6px;padding:11px 20px;color:#e8e3ff;text-decoration:none;font-size:13px;white-space:nowrap;border-right:1px solid rgba(255,255,255,.08);transition:background .2s}
.ep-ticker-item:hover{background:rgba(108,92,231,.3);color:#fff}
.ep-ticker-price{color:var(--ea,#00CEC9);font-weight:700;margin-left:4px}
.ep-ticker-arrow{color:rgba(255,255,255,.4);font-size:11px}

/* ── Search Bar Widget ── */
.ep-search-bar-widget{margin:20px 0}
.ep-search-bar-title{font-size:18px;font-weight:700;color:#1a1a2e;margin-bottom:12px}
.ep-search-bar-inner{display:flex;align-items:center;background:#fff;border:2px solid #e8e3ff;border-radius:50px;padding:6px 6px 6px 20px;box-shadow:0 4px 16px rgba(108,92,231,.1);transition:border-color .2s,box-shadow .2s;gap:8px}
.ep-search-bar-inner:focus-within{border-color:var(--ep,#6C5CE7);box-shadow:0 4px 24px rgba(108,92,231,.2)}
.ep-search-bar-icon{font-size:18px;flex-shrink:0}
.ep-search-bar-input{flex:1;border:none;outline:none;font-size:15px;color:#1a1a2e;background:transparent;min-width:0}
.ep-search-bar-btn{background:var(--ep,#6C5CE7);color:#fff;border:none;border-radius:40px;padding:10px 24px;font-size:14px;font-weight:700;cursor:pointer;transition:opacity .2s;white-space:nowrap}
.ep-search-bar-btn:hover{opacity:.85}

/* ── Responsive ── */
@media(max-width:768px){
  .ep-stats-cards{grid-template-columns:repeat(2,1fr)}
  .ep-pg-cols-3,.ep-pg-cols-4{grid-template-columns:repeat(2,1fr)}
  .ep-cc-cols-5,.ep-cc-cols-6{grid-template-columns:repeat(3,1fr)}
  .ep-cc-cols-4{grid-template-columns:repeat(3,1fr)}
  .ep-stats-banner{gap:12px}
  .ep-stats-banner .ep-stat-item strong{font-size:22px}
}
@media(max-width:480px){
  .ep-stats-cards{grid-template-columns:1fr 1fr}
  .ep-pg-cols-2,.ep-pg-cols-3,.ep-pg-cols-4{grid-template-columns:1fr}
  .ep-cc-cols-3,.ep-cc-cols-4,.ep-cc-cols-5,.ep-cc-cols-6{grid-template-columns:repeat(2,1fr)}
}

/* ═══════════════════════════════════════
   v4.1 ADDITIONAL SHORTCODE STYLES
═══════════════════════════════════════ */

/* ── Tab System (region_tabs, provider_tabs) ── */
.ep-tabs-wrap{margin:20px 0}
.ep-tab-btns{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px;border-bottom:2px solid #e8e3ff;padding-bottom:10px}
.ep-tab-btns-logo{align-items:center}
.ep-tab-btn{background:transparent;border:2px solid #e8e3ff;border-radius:50px;padding:8px 18px;font-size:13px;font-weight:600;color:#6b7280;cursor:pointer;transition:all .2s;display:inline-flex;align-items:center;gap:4px}
.ep-tab-btn:hover{border-color:var(--ep,#6C5CE7);color:var(--ep,#6C5CE7)}
.ep-tab-btn.active{background:var(--ep,#6C5CE7);border-color:var(--ep,#6C5CE7);color:#fff}
.ep-tab-panel{animation:ep-fadein .2s ease}
@keyframes ep-fadein{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

/* ── Price Table ── */
.ep-price-table-wrap{margin:20px 0}
.ep-price-table{width:100%;border-collapse:collapse;font-size:13px}
.ep-price-table thead tr{background:#e8e3ff}
.ep-price-table th{padding:10px 12px;text-align:left;font-weight:700;color:#1a1a2e;white-space:nowrap}
.ep-pt-row{border-bottom:1px solid #f0edff;transition:background .15s}
.ep-pt-row:hover{background:#faf9ff}
.ep-pt-row td{padding:10px 12px;vertical-align:middle}
.ep-pt-name{font-weight:600;color:#1a1a2e}
.ep-pt-featured{color:#f59e0b;margin-left:4px}
.ep-pt-data{color:var(--ep,#6C5CE7)}
.ep-pt-price{color:#1a1a2e;white-space:nowrap}
.ep-pt-buy{background:var(--ep,#6C5CE7);color:#fff!important;padding:5px 14px;border-radius:6px;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap;transition:opacity .2s}
.ep-pt-buy:hover{opacity:.85}

/* ── FAQ ── */
.ep-faq-wrap{margin:20px 0}
.ep-faq-list{display:flex;flex-direction:column;gap:6px}
.ep-faq-item{border:2px solid #e8e3ff;border-radius:10px;overflow:hidden;transition:border-color .2s}
.ep-faq-item:has(.ep-faq-q[aria-expanded="true"]){border-color:var(--ep,#6C5CE7)}
.ep-faq-q{width:100%;display:flex;justify-content:space-between;align-items:center;padding:14px 18px;background:transparent;border:none;cursor:pointer;font-size:14px;font-weight:600;color:#1a1a2e;text-align:left;gap:12px}
.ep-faq-q:hover{background:#faf9ff}
.ep-faq-icon{flex-shrink:0;width:22px;height:22px;border-radius:50%;background:#e8e3ff;color:var(--ep,#6C5CE7);font-size:16px;font-weight:700;display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s}
.ep-faq-q[aria-expanded="true"] .ep-faq-icon{background:var(--ep,#6C5CE7);color:#fff}
.ep-faq-a{padding:0 18px 16px;font-size:13px;color:#374151;line-height:1.7;animation:ep-fadein .2s}

/* ── Promo Banner ── */
.ep-promo-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;border-radius:16px;padding:28px 32px;margin:20px 0;flex-wrap:wrap}
.ep-promo-gradient{background:linear-gradient(135deg,var(--ep,#6C5CE7),var(--ea,#00CEC9));color:#fff}
.ep-promo-dark{background:#1a1a2e;color:#fff}
.ep-promo-minimal{background:#f8f7ff;border:2px solid #e8e3ff;color:#1a1a2e}
.ep-promo-gradient .ep-promo-subtitle,.ep-promo-dark .ep-promo-subtitle{color:rgba(255,255,255,.8)}
.ep-promo-title{font-size:22px;font-weight:800;margin:0 0 6px;line-height:1.3}
.ep-promo-subtitle{font-size:14px;margin:0;opacity:.85}
.ep-promo-cta{background:#fff;color:var(--ep,#6C5CE7);border:none;border-radius:50px;padding:12px 28px;font-size:14px;font-weight:800;text-decoration:none;white-space:nowrap;transition:transform .2s,box-shadow .2s;box-shadow:0 4px 16px rgba(0,0,0,.12);flex-shrink:0}
.ep-promo-cta:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.2);color:var(--ep,#6C5CE7)}
.ep-promo-minimal .ep-promo-cta{background:var(--ep,#6C5CE7);color:#fff}
.ep-promo-minimal .ep-promo-cta:hover{color:#fff}

/* ── Popular countries top badges ── */
.ep-country-flag-card{position:relative}
.ep-pop-badge{position:absolute;top:-8px;right:-8px;background:var(--ep,#6C5CE7);color:#fff;font-size:11px;font-weight:700;padding:2px 7px;border-radius:20px}
.ep-pop-top{border-color:var(--ep,#6C5CE7)}

/* ── Single provider card ── */
.ep-single-prov-card{background:#fff;border:2px solid #e8e3ff;border-radius:16px;padding:28px;text-align:center;display:inline-flex;flex-direction:column;align-items:center;gap:12px;max-width:360px}
.ep-sprov-logo{max-height:52px;max-width:160px;object-fit:contain}
.ep-sprov-name{font-size:20px;font-weight:800;color:#1a1a2e}
.ep-sprov-desc{font-size:13px;color:#6b7280;margin:0;line-height:1.5}
.ep-sprov-count{font-size:13px;color:#6b7280;background:#f3f0ff;padding:4px 14px;border-radius:20px}
.ep-sprov-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}

/* ── Single plan wrap ── */
.ep-single-plan-wrap{display:inline-block;max-width:320px}

/* ── Mini search ── */
.ep-mini-search-wrap{position:relative;margin:12px 0}
.ep-mini-search{width:100%;padding:12px 18px;border:2px solid #e8e3ff;border-radius:50px;font-size:14px;outline:none;transition:border-color .2s,box-shadow .2s;background:#fff}
.ep-mini-search:focus{border-color:var(--ep,#6C5CE7);box-shadow:0 0 0 3px rgba(108,92,231,.12)}

/* ── Inline count ── */
.ep-inline-count{color:var(--ep,#6C5CE7);font-size:inherit}

/* ── Responsive extras ── */
@media(max-width:600px){
  .ep-promo-banner{flex-direction:column;text-align:center}
  .ep-tab-btns{gap:4px}
  .ep-tab-btn{padding:6px 12px;font-size:12px}
  .ep-price-table th,.ep-pt-row td{padding:7px 8px;font-size:12px}
}

/* ── Currency loading indicator ── */
.ep-curr-loading{opacity:.4;transition:opacity .2s}

/* ══ Coupon price comparison & rich coupon card ══════════════════════ */

/* Price display with discount */
.ep-has-discount{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.ep-price-original{text-align:right}
.ep-amount-original{font-size:13px;font-weight:600;color:#9ca3af;text-decoration:line-through;font-family:'Inter',sans-serif}
.ep-price-original .ep-currency{font-size:10px;color:#9ca3af}
.ep-price-discounted{text-align:right}
.ep-amount-sale{font-family:'Inter',sans-serif;font-size:26px;font-weight:800;color:#16a34a;line-height:1}
.ep-price-discounted .ep-currency{font-size:13px;font-weight:700;color:#16a34a}
.ep-savings-tag{background:#dcfce7;color:#15803d;font-size:10px;font-weight:700;padding:2px 7px;border-radius:20px;text-transform:uppercase;letter-spacing:.4px;margin-top:1px}

/* Rich coupon card */
.ep-coupon-rich{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border:1.5px dashed #22c55e;border-radius:12px;margin:4px 16px 10px;padding:10px 13px}
.ep-coupon-savings-row{margin-bottom:7px;padding-bottom:7px;border-bottom:1px dashed #86efac}
.ep-coupon-price-compare{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ep-cpn-orig{font-size:13px;color:#9ca3af;text-decoration:line-through;font-weight:600}
.ep-cpn-arrow{color:#6b7280;font-size:12px}
.ep-cpn-disc{font-size:16px;font-weight:800;color:#15803d;font-family:'Inter',sans-serif}
.ep-cpn-save-badge{background:#15803d;color:#fff;font-size:10px;font-weight:700;padding:2px 8px;border-radius:20px;letter-spacing:.4px}
.ep-coupon-offer-label{font-size:12px;color:#166534;font-weight:600;margin-bottom:6px}
.ep-coupon-rich .ep-coupon-header span{color:#166534}
.ep-coupon-rich .ep-coupon-code{color:#166534}
.ep-coupon-rich .ep-copy-btn{border-color:#86efac;background:#f0fdf4;color:#166534}
.ep-coupon-rich .ep-copy-btn:hover{background:#dcfce7}
