/* Desktop: 500x500 */
.hero-ill {
  width: 500px;
  height: 500px;
  background: #000;
  overflow: hidden;
  border-radius: 18px;
  position: relative;
}

.hero-ill video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile: 250x250 */
@media (max-width: 768px) {
  .hero-ill {
    width: auto;
    height: 400px;
  }

  .hero-ill video {
    width: 100%;
    height: 100%;
  }
}

@font-face{font-family:'Kalameh';src:url('../fonts/KalamehWeb-Regular.woff2') format('woff2');font-display:swap}
@font-face{font-family:'KalamehFaNum';src:url('../fonts/KalamehWeb-FaNum-Regular.woff2') format('woff2');font-display:swap}
:root{--bg:#1e1e1e;--card:#232323;--text:#f2f2f2;--muted:#c9c9c9;--border:#303030;--brand:#6a6cff;--accent:#22c55e;--danger:#ef4444;--blue:#3b82f6}
*{box-sizing:border-box}
html,body{margin:0;padding:0;direction:rtl;background:var(--bg);color:var(--text);font-family:'Kalameh','KalamehFaNum',system-ui;overflow-x:hidden}
a{color:#aab2ff;text-decoration:none}
.container{max-width:1200px;margin:0 auto;padding:0 16px}
.center{text-align:center}
.nav{position:sticky;top:0;z-index:100;background:#222;border-bottom:1px solid var(--border)}
.nav .inner{height:72px;display:flex;align-items:center;justify-content:space-between}
.menu{display:flex;gap:10px}
.menu a{padding:10px 12px;border-radius:10px}
.menu a:hover{background:#2a2a2a}
.hamb{display:none;gap:8px}
.hamb button{background:#2a2a2a;border:1px solid var(--border);border-radius:10px;padding:10px;color:var(--text);font-family:'Kalameh','KalamehFaNum',system-ui;font-weight:800}
.mobile-menu{display:none;position:fixed;inset:72px 0 auto 0;background:#222;border-bottom:1px solid var(--border);padding:12px;font-family:'Kalameh','KalamehFaNum',system-ui}
.mobile-menu a{display:block;padding:12px;border-radius:10px;font-family:'Kalameh','KalamehFaNum',system-ui;font-weight:700}
.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center;padding:42px 0;position:relative}
.hero > div:first-child{position:relative;z-index:2}
.hero::before{content:'';position:absolute;top:-50%;right:-10%;width:500px;height:500px;background:radial-gradient(circle,rgba(106,108,255,0.1),transparent 70%);border-radius:50%;pointer-events:none;animation:float 8s ease-in-out infinite;z-index:0;opacity:0.6}
.hero::after{content:'';position:absolute;bottom:-30%;left:-5%;width:400px;height:400px;background:radial-gradient(circle,rgba(34,197,94,0.08),transparent 70%);border-radius:50%;pointer-events:none;animation:float 10s ease-in-out infinite reverse;z-index:0;opacity:0.6}
@keyframes float{0%,100%{transform:translate(0,0)}50%{transform:translate(20px,-20px)}}
.hero-ill{background:linear-gradient(135deg,rgba(106,108,255,0.08),rgba(34,197,94,0.04));border:1px solid var(--border);border-radius:18px;overflow:hidden;position:relative;box-shadow:0 10px 40px rgba(0,0,0,.2);z-index:1}
.hero-ill::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(45deg,transparent 30%,rgba(255,255,255,0.01) 50%,transparent 70%);pointer-events:none}
.hero-ill img{width:100%;display:block;position:relative;z-index:1;opacity:0.9}
.hero h1{margin:0 0 12px;font-size:40px;background:linear-gradient(135deg,#f2f2f2,#c9c9c9);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.lead{margin:6px 0;color:var(--muted);font-size:18px}
.stats{display:flex;gap:12px;justify-content:center;margin:14px 0}
.stat{background:#2a2a2a;border:1px solid var(--border);border-radius:12px;padding:10px 14px}
.blink-dot{color:#22c55e;font-size:18px;animation:blink 1.5s ease-in-out infinite;margin-left:4px}
@keyframes blink{0%,100%{opacity:1}50%{opacity:0.2}}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:12px;border:1px solid transparent;font-weight:800}
.btn-primary{background:#ef4444;color:#fff}
.section{padding:36px 0}
.section h2{font-size:22px;margin:0 0 14px}
.support-banner{max-width:1100px;margin:18px auto;background:rgba(59,130,246,.12);border:1px solid rgba(59,130,246,.35);border-radius:16px;padding:16px 18px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.support-banner .sb-text{color:#dbeafe;display:flex;flex-direction:column;gap:4px;flex:1;min-width:240px}
.support-banner .sb-text strong{font-size:18px}
.support-banner .sb-meta{color:#bfdbfe;font-size:13px}
.support-banner .sb-cta{background:#2563eb;color:#fff;padding:10px 18px;border-radius:12px;font-weight:900;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(37,99,235,.5)}
.flags-marquee{display:flex;gap:12px;overflow-x:auto;padding:10px;border:1px solid var(--border);border-radius:12px;background:var(--card);justify-content:flex-start;scroll-behavior:auto}
.flags-marquee::-webkit-scrollbar{display:none}
.flags-marquee,.apps,.testimonials{direction:ltr}
.flag-mini{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:#262626;white-space:nowrap}
.flag-mini,.app,.testimonial{direction:rtl}
.flag-mini img{width:32px;height:32px;border-radius:50%}
.apps-marquee-container{overflow:hidden;width:100%}
.apps{display:flex;gap:14px;overflow-x:auto;padding:10px;justify-content:flex-start;scroll-behavior:auto}
.apps::-webkit-scrollbar{display:none}
.app{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:12px;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:100px;flex-shrink:0}
.app img{width:64px;height:64px}
.app span{font-size:12px;color:var(--muted);white-space:nowrap}
.pricing-subtitle{color:var(--muted);font-size:16px;margin:8px 0 20px}

/* Pricing Section Styles */
.category-selector, .country-selector {
  margin: 20px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-selector h3, .country-selector h3 {
  margin-bottom: 16px;
  font-size: 18px;
  color: var(--text);
}

.categories {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.category-btn {
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Kalameh', 'KalamehFaNum', system-ui;
  font-weight: 600;
  min-width: 140px;
  font-size: 15px;
}

.category-btn:hover {
  background: #2a2a2a;
  border-color: var(--brand);
}

.category-btn.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.countries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
  max-width: 100%;
}

/* Mobile-friendly custom dropdown used by pricingManager.renderMobileCountryDropdown */
.pm-dd { display:flex; flex-direction:column; align-items:center; width:100%; }
.pm-dd-btn {
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Kalameh','KalamehFaNum',system-ui;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 180px;
  font-size: 15px;
}
.pm-dd-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(106,108,255,0.12); }
.pm-dd-list {
  margin-top: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
  max-width: 360px;
}
.pm-dd-item {
  padding: 8px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text);
}
.pm-dd-item.active, .pm-dd-item:hover { background: #2a2a2a; }

/* Ensure selected label content aligns with category button appearance */
.pm-dd-btn img, .pm-dd-item img { width: 20px; height: 20px; border-radius: 3px; }
.pm-dd-btn .pm-dd-btn-content { display:inline-flex; align-items:center; justify-content:center; gap:8px; }

.country-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 48px;
  font-weight: 500;
  font-size: 14px;
}

.country-flag-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
}

.country-flag {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.flag-emoji {
  font-size: 28px;
  font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  text-align: center;
  line-height: 1;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.country-name {
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  text-align: center;
}

.country-flag-img { display:inline-block; width:28px; height:28px; object-fit:cover; border-radius:4px; flex-shrink:0; }

.traffic-info { display:flex; gap:12px; margin:12px 0; flex-wrap:wrap; }
.traffic-badge { display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:6px; font-weight:600; font-size:13px; white-space:nowrap; }
.traffic-badge-volume { background:linear-gradient(135deg, #667eea 0%, #764ba2 100%); color:#fff; }
.traffic-badge-speed { background:linear-gradient(135deg, #f093fb 0%, #f5576c 100%); color:#fff; }

@media (max-width: 768px) {
  .pm-dd-btn { width: calc(100% - 32px); max-width: 420px; }
  .pm-dd-list { width: calc(100% - 32px); max-width: 420px; }
}

.country-item:hover {
  background: #2a2a2a;
  border-color: var(--accent);
}

.country-item.active {
  background: rgba(34, 197, 94, 0.1);
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.flag-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.flag-item img {
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.flag-emoji {
  font-size: 24px;
  font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
  display: inline-block;
  min-width: 28px;
  text-align: center;
  margin-right: 4px;
  line-height: 1;
}

.duration {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0;
}

.additional-users {
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 6px;
  padding: 8px;
  margin: 12px 0;
}

.additional-users p {
  margin: 0;
  font-size: 13px;
  color: var(--accent);
}

.plans-container {
  margin-top: 20px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  justify-items: center;
  align-items: start;
}

.no-plans {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  padding: 40px 20px;
  grid-column: 1 / -1;
}

.pricing{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;justify-items:center;align-items:start}
.plan{background:var(--card);border:2px solid var(--border);border-radius:16px;padding:18px;max-width:360px;width:100%;display:flex;flex-direction:column;position:relative;transition:all .3s ease}
.plan:hover{transform:translateY(-5px);box-shadow:0 10px 30px rgba(0,0,0,.3)}
.plan-basic{border-color:#6a6cff}
.plan-popular{border-color:#22c55e;box-shadow:0 5px 20px rgba(34,197,94,.2)}
.plan-premium{border-color:#ef4444}
.badge-popular,.badge-save{position:absolute;top:-12px;background:#22c55e;color:#fff;padding:6px 14px;border-radius:20px;font-size:12px;font-weight:800;box-shadow:0 4px 10px rgba(34,197,94,.3)}
.badge-popular{right:20px}
.badge-save{left:20px;background:linear-gradient(135deg,#ef4444,#dc2626)}
.plan h3{margin:0 0 8px;font-size:18px}
.price{font-weight:900;margin:0 0 4px;font-size:24px;color:var(--accent)}
.traffic{color:var(--muted);font-size:14px;margin:0 0 12px;padding-bottom:12px;border-bottom:1px solid var(--border)}
.features{list-style:none;padding:0;margin:12px 0;text-align:right}
.features li{margin:6px 0;display:flex;gap:8px;align-items:flex-start}
.tick{color:var(--accent);font-weight:900}
.plan .actions{display:flex;justify-content:center;margin-top:12px}
.btn-danger{background:#ef4444;color:#fff}

/* Price Display Styles */
.price-container {
  margin: 8px 0;
}

.price.discounted {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.original-price {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
}

.final-price {
  color: var(--accent);
  font-weight: 900;
  font-size: 24px;
}

/* Extra Items Styles */
.extra-items {
  margin: 16px 0;
  padding: 12px;
  background: rgba(106, 108, 255, 0.05);
  border: 1px solid rgba(106, 108, 255, 0.2);
  border-radius: 8px;
}

.extra-items h4 {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: var(--brand);
  font-weight: 700;
}

.extra-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.extra-item:last-child {
  border-bottom: none;
}

.extra-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

/* Loading Styles */
.loading {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Error Styles */
.error {
  text-align: center;
  padding: 40px 20px;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  margin: 20px 0;
}

.error p {
  margin-bottom: 16px;
}
.methods .box{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:18px;max-width:820px;margin:0 auto}
.methods .box p{text-align:center}
.methods .icons{display:flex;gap:16px;flex-wrap:wrap;justify-content:center}
.methods .icons img{width:44px;height:44px}
@media (max-width:768px){.methods .box p{text-align:justify;text-align-last:right}}
.faq{max-width:900px;margin:0 auto}
.ac{background:var(--card);border:1px solid var(--border);border-radius:14px;margin:10px auto;overflow:hidden;max-width:820px}
.ac h3{margin:0;padding:14px 16px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;text-align:right;direction:rtl;gap:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px}
.ac h3 span{flex-shrink:0}
.ac .content{max-height:0;overflow:hidden;transition:max-height .35s ease}
.ac.open .content{max-height:800px}
.ac .content div{padding:0 16px 14px 16px;color:var(--muted);font-size:14px;line-height:1.7}
.footer{margin-top:28px;background:#222;border-top:1px solid var(--border)}
.footer .cols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;padding:24px 0;justify-items:center;text-align:center}
.footer-services a{color:var(--text);text-decoration:none}
.footer-services a:hover{text-decoration:underline}
.badges-row{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.badges-row img{height:56px;object-fit:contain}
.testimonials-marquee-container{overflow:hidden;width:100%;margin-top:16px}
.testimonials{display:flex;gap:16px;overflow-x:auto;padding:10px;justify-content:flex-start;scroll-behavior:auto}
.testimonials::-webkit-scrollbar{display:none}
.testimonial{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:16px;min-width:300px;max-width:350px;flex-shrink:0}
.test-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.test-header strong{color:var(--text);font-size:15px}
.test-badge{background:rgba(34,197,94,.15);color:#22c55e;padding:4px 10px;border-radius:8px;font-size:11px;font-weight:700}
.test-comment{color:var(--muted);font-size:14px;line-height:1.6;text-align:right;background:#2a2a2a;padding:12px;border-radius:10px;border-right:3px solid var(--accent)}
.support-widget{position:fixed;right:18px;bottom:96px;z-index:140}
.support-widget.menu-open .chat-fab{opacity:0;transform:scale(.88);pointer-events:none}
.chat-fab{position:fixed;right:18px;bottom:96px;z-index:140;width:60px;height:60px;border-radius:50%;background:#22c55e;box-shadow:0 10px 30px rgba(0,0,0,.35);cursor:pointer;border:none;display:flex;align-items:center;justify-content:center;gap:4px;transition:all .3s ease;overflow:hidden}
.chat-fab::before{content:'';position:absolute;width:6px;height:6px;background:#fff;border-radius:50%;left:50%;transform:translateX(-50%);box-shadow:-10px 0 0 #fff,10px 0 0 #fff}
.chat-fab::after{content:'';position:absolute;inset:-8px;border-radius:50%;border:3px solid rgba(34,197,94,.7);animation:pulse 1.5s ease-out infinite}
@keyframes pulse{0%{transform:scale(1);opacity:1}100%{transform:scale(1.4);opacity:0}}
.chat-fab:hover{transform:scale(1.1);box-shadow:0 15px 40px rgba(34,197,94,.4)}
.chat-fab img{display:block;width:28px;height:28px;filter:invert(1) brightness(2)}
.online-badge{position:absolute;top:5px;right:5px;width:12px;height:12px;background:#22c55e;border:2px solid #fff;border-radius:50%;animation:blink 1.5s ease-in-out infinite}
.support-menu{position:fixed;right:auto;bottom:auto;background:#222;border:1px solid var(--border);border-radius:14px;min-width:240px;display:none;flex-direction:column;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.5);transition:transform .2s ease,opacity .2s ease;z-index:145}
.support-menu.show{display:flex;animation:slideUp .18s ease}
@keyframes slideUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.support-item{display:flex;align-items:center;gap:12px;padding:14px 16px;color:var(--text);text-decoration:none;transition:background .2s ease}
.support-item:hover{background:#2a2a2a}
.support-item img{width:22px;height:22px;flex-shrink:0}
.support-item svg{color:var(--accent);flex-shrink:0}
.support-item span{font-size:14px;font-weight:600}
.bottom-bar{position:fixed;bottom:12px;left:0;right:0;display:none;z-index:120}
.bottom-wrap{width:100%;max-width:100%;margin:0 auto;background:#222;border:1px solid var(--border);border-radius:16px;display:flex;align-items:center;justify-content:space-around;padding:10px 8px;gap:4px}
.bottom-btn{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 6px;border-radius:12px;color:#fff;min-width:60px;font-size:11px;transition:all .2s ease;border:none;background:transparent;cursor:pointer;font-family:'Kalameh','KalamehFaNum',system-ui;font-weight:700}
.bottom-btn:hover{background:#2a2a2a}
.bottom-btn-primary{background:linear-gradient(135deg,#ef4444,#dc2626);font-weight:700}
.bottom-btn-primary:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);transform:scale(1.05)}
.bottom-btn img{width:20px;height:20px;filter:invert(1) brightness(2)}
.bottom-btn span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:768px){
  body{padding:0 0 86px 0}
  .bottom-bar{display:block}
  .menu{display:none}
  .hamb{display:flex}
  .hero{grid-template-columns:1fr;text-align:center;position:relative;min-height:400px;display:flex;align-items:center;justify-content:center}
  .hero > div:first-child{z-index:10;position:relative}
  .hero-ill{position:absolute;inset:0;z-index:1;opacity:0.3;background:transparent;border:none;box-shadow:none}
  .hero-ill img{opacity:0.4;width:100%;height:100%;object-fit:contain}
  .hero h1{font-size:28px;color:#fff;font-weight:800}
  .hero .lead{font-size:16px;color:#fff;font-weight:600;text-shadow:0 1px 5px rgba(0,0,0,0.3)}
  .pricing{grid-template-columns:1fr;padding:0 8px}
  .plan{max-width:100%;padding:16px}
  .plan h3{font-size:16px}
  .price{font-size:20px}

  /* Mobile Pricing Styles */
  .categories {
    flex-direction: column;
    align-items: center;
  }

  .category-btn {
    width: 100%;
    max-width: 300px;
  }

  .countries {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
  }

  .country-item {
    padding: 6px 8px;
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .flag-item {
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
  }

  .flag-item span {
    font-size: 11px;
  }

  .plans {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .extra-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .extra-price {
    align-self: flex-end;
  }
  .features{font-size:13px}
  .features li{margin:8px 0}
  .testimonial{min-width:280px;max-width:300px}
  .footer{padding-bottom:16px}
  .footer .cols{grid-template-columns:1fr 1fr;gap:20px;text-align:right;padding:20px 16px}
  .footer .cols > div:first-child{order:1;grid-column:1 / -1}
  .footer .cols > div:nth-child(2){order:2}
  .footer .cols > div:nth-child(3){order:3}
  .footer .muted{font-size:14px;line-height:1.6}
  .badges-row{justify-content:flex-start}
  .support-widget{bottom:100px;right:14px}
  .chat-fab{width:50px;height:50px;bottom:100px;right:14px}
  .chat-fab::before{width:5px;height:5px;box-shadow:-8px 0 0 #fff,8px 0 0 #fff}
  .support-banner{flex-direction:column;align-items:flex-start;text-align:right}
  .support-banner .sb-text{width:100%}
  .support-banner .sb-cta{width:100%;justify-content:center}
  .support-banner .sb-icon{width:48px;height:48px}
  .ac h3{font-size:15px}
  .ac .content div{font-size:13px}
}

/* ===== Mobile Country Dropdown (custom) ===== */
.pm-dd {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.pm-dd-btn {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--accent);
  color: var(--text);
  border-radius: 10px;
  padding: 12px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Kalameh','KalamehFaNum',system-ui;
  font-weight: 700;
}

.pm-dd-btn-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ✅ فلگ سمت راست متن (RTL) */
.pm-dd-flag {
  font-size: 18px;
  line-height: 1;
}

.pm-dd-name {
  font-size: 14px;
  white-space: nowrap;
}

.pm-dd-caret {
  opacity: 0.8;
}

.pm-dd-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  background: #1f1f1f;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  z-index: 999;
  max-height: 320px;
  overflow-y: auto;
}

.pm-dd-item {
  padding: 12px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  direction: rtl;            /* RTL */
  justify-content: flex-start;
}

.pm-dd-item:last-child {
  border-bottom: none;
}

.pm-dd-item:hover {
  background: #2a2a2a;
}

.pm-dd-item.active {
  background: rgba(34, 197, 94, 0.10);
}

/* ===============================
   MOBILE – unified wide buttons
   =============================== */
@media (max-width: 768px) {

  /* کانتینرها */
  .category-selector,
  .country-selector,
  .pm-dd {
    width: 100%;
    display: flex;
    align-items: center;
  }

  /* دکمه‌های انتخاب سرویس */
  .category-btn {
    width: calc(100vw - 32px);   /* تقریباً ۲ برابر حالت قبلی */
    max-width: 640px;
  }

  /* دکمه انتخاب کشور */
  .pm-dd-btn {
    width: calc(100vw - 32px);
    max-width: 640px;
    min-height: 54px;
  }

  /* لیست dropdown کشور */
  .pm-dd-list {
    width: calc(100vw - 32px);
    max-width: 640px;
  }

}

