/*
 * HostPika WHMCS Custom Theme — Premium Edition
 * Matches hostpika.com brand identity exactly
 * Primary: hsl(252, 95%, 65%) = #7351FB | Secondary: hsl(220, 70%, 50%) = #2662D9
 */

/* =============================
   GOOGLE FONTS
   ============================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* =============================
   CSS VARIABLES — HostPika Brand
   ============================= */
:root {
  --hp-primary:        #7351FB;            /* hsl(252,95%,65%) */
  --hp-blue:           #2662D9;            /* hsl(220,70%,50%) */
  --hp-gradient:       linear-gradient(135deg, #7351FB 0%, #2662D9 100%);
  --hp-gradient-hover: linear-gradient(135deg, #6340ea 0%, #1d52c8 100%);
  --hp-gradient-90:    linear-gradient(90deg,  #7351FB 0%, #2662D9 100%);
  --hp-glow:           0 0 40px rgba(115,81,251,0.25);
  --hp-glow-lg:        0 0 60px rgba(115,81,251,0.35);
  --hp-shadow-primary: 0 4px 24px rgba(115,81,251,0.35);
  --hp-shadow-blue:    0 4px 24px rgba(38,98,217,0.3);

  /* Accents */
  --hp-green:   #10b981; --hp-green-dark: #059669;
  --hp-amber:   #f59e0b; --hp-amber-dark: #d97706;
  --hp-teal:    #06b6d4; --hp-teal-dark:  #0891b2;
  --hp-purple2: #a855f7; --hp-purple2-dark: #7c3aed;
  --hp-red:     #ef4444; --hp-red-dark:   #dc2626;

  /* Surfaces */
  --hp-bg:       #f0f4ff;
  --hp-card-bg:  #ffffff;
  --hp-border:   #e2e8f0;
  --hp-text:     #0f172a;
  --hp-muted:    #64748b;
  --hp-radius:   20px;
  --hp-radius-lg:28px;
  --hp-radius-xl:36px;
}

/* =============================
   GLOBAL FONT & BASE
   ============================= */
*, *::before, *::after {
  box-sizing: border-box;
}
body, h1, h2, h3, h4, h5, h6, p, a, button, input, select, textarea, label, span, li, td, th {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
body.primary-bg-color {
  background: linear-gradient(160deg, #f0f4ff 0%, #eef2ff 50%, #f5f3ff 100%) !important;
  min-height: 100vh;
}

/* =============================
   SMOOTH TRANSITIONS (global)
   ============================= */
a, button, .btn, .card, .hp-product-card, .hp-help-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* =============================
   HEADER — GLASSMORPHISM REDESIGN
   ============================= */
header.header {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 1px 0 rgba(115,81,251,0.1), 0 4px 24px rgba(0,0,0,0.04) !important;
  border-bottom: 1px solid rgba(115,81,251,0.12) !important;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Topbar — gradient bar at top */
header.header .topbar {
  background: var(--hp-gradient) !important;
  color: #ffffff !important;
  padding: 5px 0 !important;
  font-size: 0.82rem;
}
header.header .topbar *,
header.header .topbar a,
header.header .topbar a:hover,
header.header .topbar .btn,
header.header .topbar button {
  color: #ffffff !important;
  text-decoration: none !important;
}
header.header .topbar .active-client .input-group-text {
  color: rgba(255,255,255,0.75) !important;
  background-color: transparent !important;
  border: 0 !important;
  font-size: 0.8rem !important;
}
header.header .topbar .btn-active-client span {
  border-bottom: 1px dashed rgba(255,255,255,0.5) !important;
  color: #ffffff !important;
  font-weight: 600;
}
header.header .topbar .btn-active-client {
  background: rgba(255,255,255,0.12) !important;
  border-radius: 8px;
  padding: 2px 12px !important;
}
header.header .topbar .btn-active-client:hover {
  background: rgba(255,255,255,0.22) !important;
}
header.header .topbar #accountNotifications {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  border-radius: 8px;
  padding: 2px 10px !important;
}

/* Logo */
header.header .navbar-brand { font-weight: 800; font-size: 1.4rem; }
header.header .logo-img { max-height: 44px !important; max-width: 180px !important; }

/* Nav links */
header.header .navbar a,
header.header .navbar-nav a {
  color: #334155 !important;
  font-weight: 600;
  font-size: 14px !important;
}
header.header .navbar a:hover,
header.header .navbar-nav a:hover { color: var(--hp-primary) !important; text-decoration: none !important; }
header.header .nav-item.active > a { color: var(--hp-primary) !important; font-weight: 700; }
header.header .main-navbar-wrapper { border-top: 1px solid rgba(115,81,251,0.08); }

/* Cart button */
header.header .toolbar .nav-link.cart-btn {
  background: transparent !important;
  border: 1.5px solid var(--hp-border) !important;
  color: #475569 !important;
  border-radius: 10px !important;
}
header.header .toolbar .nav-link.cart-btn:hover {
  background: var(--hp-gradient) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: var(--hp-shadow-primary) !important;
}
header.header .toolbar .nav-link .badge { background: var(--hp-primary) !important; }

/* Search bar */
header.header .search {
  border: 1.5px solid var(--hp-border) !important;
  border-radius: 10px !important;
}
header.header .search:focus-within {
  border-color: var(--hp-primary) !important;
  box-shadow: 0 0 0 3px rgba(115,81,251,0.12);
}

/* Hamburger */
header.header .btn[data-toggle="collapse"] { color: var(--hp-primary) !important; }

/* Language/Currency btn */
header.header .hp-lang-btn,
.hp-header-locale-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 14px !important;
  border-radius: 10px !important;
  border: 1.5px solid rgba(115,81,251,0.2) !important;
  background: rgba(115,81,251,0.05) !important;
  color: #334155 !important;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
header.header .hp-lang-btn:hover,
.hp-header-locale-btn:hover {
  background: var(--hp-gradient) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: var(--hp-shadow-primary) !important;
}
/* ─── FIX: Hide broken flag circle, show globe icon instead ─── */
header.header .hp-lang-btn .iti-flag-wrap,
.hp-header-locale-btn .iti-flag-wrap {
  display: none !important;
}
/* SVG Icon styles (Globe & Hamburger) */
.hp-svg-icon {
  width: 14px;
  height: 14px;
  color: var(--hp-primary);
  transition: color 0.2s ease;
  flex-shrink: 0;
}
header.header .btn[data-toggle="collapse"] .hp-svg-icon {
  width: 18px;
  height: 18px;
}
header.header .hp-lang-btn:hover .hp-svg-icon { 
  color: #ffffff !important; 
}
/* Always show currency label */
header.header .hp-lang-btn .hp-lang-label {
  display: inline !important;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.hp-header-locale-btn .iti-flag { display: none !important; }
.hp-header-locale-btn i { font-size: 12px; opacity: 0.6; }

/* Account dropdown toggle */
header.header .navbar-nav .nav-item .nav-link,
header.header .navbar-nav .nav-item > a.dropdown-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 7px 18px !important;
  border-radius: 10px !important;
  border: 1.5px solid rgba(115,81,251,0.2) !important;
  background: rgba(115,81,251,0.04) !important;
  color: #334155 !important;
  font-weight: 600;
}
header.header .navbar-nav .nav-item .nav-link:hover,
header.header .navbar-nav .nav-item > a.dropdown-toggle:hover,
header.header .navbar-nav .nav-item.show > a.dropdown-toggle,
header.header .navbar-nav .nav-item > a.dropdown-toggle:focus,
header.header .navbar-nav .nav-item > a.dropdown-toggle:active {
  background: var(--hp-gradient) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: var(--hp-shadow-primary) !important;
}

/* Dropdown menu */
header.header .dropdown-menu,
header.header .navbar-nav .dropdown-menu,
.header .navbar-nav > .dropdown > .dropdown-menu,
.header .toolbar .dropdown-menu {
  position: absolute !important;
  float: left !important;
  top: 100% !important;
  border: 1px solid rgba(115,81,251,0.1) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12) !important;
  padding: 8px !important;
  min-width: 210px !important;
  margin-top: 8px !important;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16,1,0.3,1) !important;
  background: #ffffff !important;
  right: 0 !important;
  left: auto !important;
  z-index: 1050 !important;
}
@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
header.header .dropdown-item {
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  display: flex;
  align-items: center;
  gap: 9px;
}
header.header .dropdown-divider { border-color: rgba(115,81,251,0.08); margin: 5px 0; }
header.header .dropdown-item.active,
header.header .dropdown-item:active {
  background: var(--hp-gradient) !important;
  color: #fff !important;
  border-radius: 10px !important;
}
header.header .dropdown-item:hover {
  background: rgba(115,81,251,0.07) !important;
  color: var(--hp-primary) !important;
  padding-left: 18px !important;
}

/* =============================
   ★ PRIMARY BUTTON — Eye-Catching
   ============================= */
.btn-primary,
.btn-primary:visited {
  background: var(--hp-gradient) !important;
  border: none !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 20px rgba(115,81,251,0.4) !important;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover,
.btn-primary:focus {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(115,81,251,0.5) !important;
  opacity: 1 !important;
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

/* Success button */
.btn-success {
  background: linear-gradient(135deg, #059669, #10b981) !important;
  border: none !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(5,150,105,0.35) !important;
}
.btn-success:hover, .btn-success:focus { color: #ffffff !important; transform: translateY(-1px); }

/* =============================
   CARDS — Global
   ============================= */
.card {
  border: 1px solid rgba(115,81,251,0.1) !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}
.card:hover { box-shadow: 0 8px 32px rgba(115,81,251,0.14) !important; }
.card-header {
  background: linear-gradient(135deg, rgba(115,81,251,0.07), rgba(38,98,217,0.05)) !important;
  border-bottom: 1px solid rgba(115,81,251,0.1) !important;
  border-radius: 16px 16px 0 0 !important;
  font-weight: 700;
  color: #1e293b;
}

/* =============================
   BREADCRUMB
   ============================= */
.master-breadcrumb {
  background: linear-gradient(90deg, rgba(115,81,251,0.05), rgba(38,98,217,0.03)) !important;
  border-bottom: 1px solid rgba(115,81,251,0.08);
}
.master-breadcrumb .breadcrumb-item a { color: var(--hp-primary) !important; }
.master-breadcrumb .breadcrumb-item.active { color: var(--hp-muted) !important; }

/* =============================
   FOOTER
   ============================= */
footer.footer {
  background: var(--hp-gradient) !important;
  padding: 16px 0 !important;
  border-top: none !important;
  margin-top: 0 !important;
}
footer.footer .copyright,
footer.footer p.copyright {
  color: rgba(255,255,255,0.88) !important;
  font-size: 0.85rem !important;
  text-align: center !important;
  margin: 0 !important;
  font-weight: 500;
}
footer.footer a,
footer.footer a:visited,
footer.footer a:hover { color: rgba(255,255,255,0.88) !important; text-decoration: none !important; }

/* =============================
   SIDEBAR
   ============================= */
.sidebar .panel-heading,
.sidebar .card-header {
  background: var(--hp-gradient) !important;
  color: #fff !important;
  border-radius: 12px 12px 0 0 !important;
}
.sidebar .card-header .card-title,
.sidebar .card-header h3,
.sidebar .card-header i { color: #fff !important; }
.sidebar .list-group-item:hover { background-color: rgba(115,81,251,0.07) !important; color: var(--hp-primary) !important; }

.sidebar .card-footer {
  background: transparent !important;
  border-top: 1px solid rgba(115,81,251,0.1) !important;
  padding: 12px 16px !important;
}
.sidebar .card-footer .btn,
.sidebar .card-footer a.btn,
.sidebar .card-footer button,
.sidebar .card-body .btn,
.sidebar .card-body a.btn {
  display: block !important; width: 100% !important;
  background: var(--hp-gradient) !important;
  color: #ffffff !important; border: none !important;
  border-radius: 10px !important; font-weight: 700 !important;
  font-size: 13px !important; padding: 10px 16px !important;
  text-align: center !important; text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(115,81,251,0.35) !important;
}
.sidebar .card-footer .btn:hover,
.sidebar .card-footer a.btn:hover,
.sidebar .card-footer button:hover,
.sidebar .card-body .btn:hover,
.sidebar .card-body a.btn:hover {
  opacity: 0.88 !important; transform: translateY(-1px); color: #fff !important;
}
.sidebar .btn:not(.btn-default):not(.btn-link),
.sidebar a.btn:not(.btn-default):not(.btn-link) { color: #fff !important; text-decoration: none !important; }
.sidebar .btn:not(.btn-default):not(.btn-link):hover,
.sidebar a.btn:not(.btn-default):not(.btn-link):hover { color: #fff !important; }

/* Sidebar active */
.sidebar .list-group-item.active,
.sidebar a.list-group-item.active,
.sidebar a.list-group-item-action.active {
  background: var(--hp-gradient) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}
.sidebar a.list-group-item.active *,
.sidebar a.list-group-item-action.active * { color: #ffffff !important; }

/* =============================
   LINKS
   ============================= */
a { color: var(--hp-primary); }
a:hover { color: var(--hp-blue); }
header.header .topbar a,
header.header .topbar a:hover { color: #ffffff !important; text-decoration: none !important; }

/* =============================
   PAGINATION
   ============================= */
.page-item.active .page-link { background: var(--hp-gradient) !important; border-color: transparent !important; }
.page-link { color: var(--hp-primary) !important; }
.page-link:hover { color: var(--hp-blue) !important; }

/* =============================
   BADGES
   ============================= */
.badge-info, .badge-primary { background: var(--hp-gradient) !important; }
.badge-success { background: linear-gradient(135deg,#10b981,#059669) !important; }

/* =============================
   ALERTS
   ============================= */
.alert-info {
  background-color: rgba(115,81,251,0.08) !important;
  border-color: rgba(115,81,251,0.2) !important;
  color: var(--hp-primary) !important;
}

/* =============================
   PROGRESS BARS
   ============================= */
.progress-bar { background: var(--hp-gradient) !important; }

/* =============================
   TABLES
   ============================= */
.table thead th {
  background: linear-gradient(135deg,rgba(115,81,251,0.06),rgba(38,98,217,0.04)) !important;
  color: #1e293b; font-weight: 700;
  border-bottom: 2px solid rgba(115,81,251,0.15) !important;
}
.table-list > tbody > tr:hover > td { background-color: rgba(115,81,251,0.04) !important; }

/* =============================
   MODAL
   ============================= */
.modal-header { background: var(--hp-gradient) !important; color: #fff !important; }
.modal-header .close { color: #fff !important; opacity: 0.8; }
.modal-header .modal-title { color: #fff !important; }

/* =============================
   SCROLLBAR
   ============================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--hp-gradient); border-radius: 10px; }

/* =============================
   GUEST — HIDE PRIMARY NAV
   ============================= */
body.guest-view #mainNavbar ul#nav { display: none !important; }


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  HOMEPAGE — PREMIUM PRODUCT CARDS & SECTIONS                    ║
   ║  Inspired by hostpika.com premium design system                  ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ─── Products Section ─── */
.hp-products-section {
  padding: 64px 0 56px;
  background: linear-gradient(160deg, #f0f4ff 0%, #eef2ff 60%, #f5f3ff 100%);
  position: relative;
  overflow: hidden;
}
.hp-products-section::before {
  content: '';
  position: absolute;
  top: -120px; left: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(115,81,251,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hp-products-section::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(38,98,217,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── Help Section ─── */
.hp-help-section {
  padding: 52px 0 64px;
  background: #ffffff;
  position: relative;
}

/* ─── Section Headers ─── */
.hp-section-header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.hp-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(115,81,251,0.1);
  border: 1px solid rgba(115,81,251,0.2);
  border-radius: 999px;
  color: var(--hp-primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hp-section-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--hp-primary);
  animation: hpPulse 2s ease-in-out infinite;
}
@keyframes hpPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.6; }
}
.hp-section-title {
  font-size: 2.1rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-bottom: 10px !important;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.hp-section-title span {
  background: var(--hp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hp-section-subtitle {
  font-size: 1rem;
  color: var(--hp-muted);
  margin-bottom: 0;
  font-weight: 500;
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  PRODUCT CARD GRID — Premium hostpika.com Style                  ║
   ╚══════════════════════════════════════════════════════════════════╝ */
.hp-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* ─── Base Card ─── */
.hp-product-card {
  background: #ffffff;
  border-radius: var(--hp-radius-xl);
  border: 1.5px solid rgba(115,81,251,0.1);
  box-shadow: 0 4px 20px rgba(15,23,42,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.3s cubic-bezier(0.16,1,0.3,1),
              border-color 0.3s ease !important;
}
.hp-product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--hp-radius-xl);
  background: linear-gradient(135deg, rgba(115,81,251,0.03), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.hp-product-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  box-shadow: 0 24px 64px rgba(115,81,251,0.2), 0 8px 24px rgba(15,23,42,0.08) !important;
  border-color: rgba(115,81,251,0.3) !important;
}
.hp-product-card:hover::after { opacity: 1; }

/* ─── FEATURED CARD (first/highlighted) ─── */
.hp-product-card.hp-card-featured {
  border: 2px solid var(--hp-primary) !important;
  box-shadow: 0 0 0 4px rgba(115,81,251,0.12), 0 12px 40px rgba(115,81,251,0.2) !important;
  transform: scale(1.02);
  z-index: 2;
}
.hp-product-card.hp-card-featured:hover {
  transform: translateY(-8px) scale(1.04) !important;
  box-shadow: 0 0 0 4px rgba(115,81,251,0.15), 0 28px 72px rgba(115,81,251,0.3) !important;
}

/* ─── Accent top bar ─── */
.hp-card-accent-bar {
  height: 5px;
  width: 100%;
  border-radius: 0;
}
.hp-card-accent-1  .hp-card-accent-bar { background: linear-gradient(90deg, #7351FB, #2662D9); }
.hp-card-accent-2  .hp-card-accent-bar { background: linear-gradient(90deg, #059669, #10b981); }
.hp-card-accent-3  .hp-card-accent-bar { background: linear-gradient(90deg, #d97706, #f59e0b); }
.hp-card-accent-4  .hp-card-accent-bar { background: linear-gradient(90deg, #dc2626, #ef4444); }
.hp-card-accent-5  .hp-card-accent-bar { background: linear-gradient(90deg, #0891b2, #06b6d4); }
.hp-card-accent-6  .hp-card-accent-bar { background: linear-gradient(90deg, #7c3aed, #a855f7); }
.hp-card-accent-domain   .hp-card-accent-bar { background: linear-gradient(90deg, #2563eb, #3b82f6); }
.hp-card-accent-transfer .hp-card-accent-bar { background: linear-gradient(90deg, #0891b2, #06b6d4); }

/* ─── Card Body ─── */
.hp-card-body {
  padding: 32px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

/* ─── Icon Wrapper — Gradient Glow ─── */
.hp-card-icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1) !important;
}
.hp-product-card:hover .hp-card-icon-wrap { transform: scale(1.12); }

.hp-card-accent-1 .hp-card-icon-wrap  { background: linear-gradient(135deg, rgba(115,81,251,0.15), rgba(38,98,217,0.1));  box-shadow: 0 6px 24px rgba(115,81,251,0.2); }
.hp-card-accent-2 .hp-card-icon-wrap  { background: linear-gradient(135deg, rgba(5,150,105,0.15), rgba(16,185,129,0.1));   box-shadow: 0 6px 24px rgba(5,150,105,0.2); }
.hp-card-accent-3 .hp-card-icon-wrap  { background: linear-gradient(135deg, rgba(217,119,6,0.15), rgba(245,158,11,0.1));   box-shadow: 0 6px 24px rgba(217,119,6,0.2); }
.hp-card-accent-4 .hp-card-icon-wrap  { background: linear-gradient(135deg, rgba(220,38,38,0.12), rgba(239,68,68,0.09));   box-shadow: 0 6px 24px rgba(220,38,38,0.15); }
.hp-card-accent-5 .hp-card-icon-wrap  { background: linear-gradient(135deg, rgba(8,145,178,0.15), rgba(6,182,212,0.1));    box-shadow: 0 6px 24px rgba(8,145,178,0.2); }
.hp-card-accent-6 .hp-card-icon-wrap  { background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(168,85,247,0.1));  box-shadow: 0 6px 24px rgba(124,58,237,0.2); }
.hp-card-accent-domain   .hp-card-icon-wrap { background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(59,130,246,0.1));  box-shadow: 0 6px 24px rgba(37,99,235,0.2); }
.hp-card-accent-transfer .hp-card-icon-wrap { background: linear-gradient(135deg, rgba(8,145,178,0.15), rgba(6,182,212,0.1));   box-shadow: 0 6px 24px rgba(8,145,178,0.2); }

/* Icon colors */
.hp-card-icon-wrap i {
  font-size: 24px;
  background: var(--hp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hp-card-accent-2 .hp-card-icon-wrap i  { background: linear-gradient(135deg,#059669,#10b981); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hp-card-accent-3 .hp-card-icon-wrap i  { background: linear-gradient(135deg,#d97706,#f59e0b); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hp-card-accent-4 .hp-card-icon-wrap i  { background: linear-gradient(135deg,#dc2626,#ef4444); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hp-card-accent-5 .hp-card-icon-wrap i  { background: linear-gradient(135deg,#0891b2,#06b6d4); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hp-card-accent-6 .hp-card-icon-wrap i  { background: linear-gradient(135deg,#7c3aed,#a855f7); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hp-card-accent-domain   .hp-card-icon-wrap i { background: linear-gradient(135deg,#2563eb,#3b82f6); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hp-card-accent-transfer .hp-card-icon-wrap i { background: linear-gradient(135deg,#0891b2,#06b6d4); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }

/* ─── Card Text ─── */
.hp-card-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-bottom: 10px !important;
  letter-spacing: -0.02em;
}
.hp-card-desc {
  font-size: 0.875rem;
  color: var(--hp-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 24px;
}

/* ─── Featured badge on card ─── */
.hp-card-hot-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 12px;
  background: var(--hp-gradient);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(115,81,251,0.4);
  z-index: 3;
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  PRIMARY CTA BUTTON — Super Eye-Catching                         ║
   ╚══════════════════════════════════════════════════════════════════╝ */
.hp-btn-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px !important;
  background: var(--hp-gradient) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  font-size: 0.8rem !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none !important;
  box-shadow: 0 6px 20px rgba(115,81,251,0.4) !important;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1) !important;
}
/* Shimmer sweep on hover */
.hp-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.hp-btn-primary:hover::before { transform: translateX(100%); }
.hp-btn-primary:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(115,81,251,0.5) !important;
  text-decoration: none !important;
}
.hp-btn-primary:active { transform: scale(0.97) translateY(0) !important; }

/* Per-card accent colors for buttons */
.hp-card-accent-2  .hp-btn-primary { background: linear-gradient(135deg,#059669,#10b981) !important; box-shadow: 0 6px 20px rgba(5,150,105,0.4) !important; }
.hp-card-accent-2  .hp-btn-primary:hover { box-shadow: 0 12px 32px rgba(5,150,105,0.5) !important; }
.hp-card-accent-3  .hp-btn-primary { background: linear-gradient(135deg,#d97706,#f59e0b) !important; box-shadow: 0 6px 20px rgba(217,119,6,0.4) !important; }
.hp-card-accent-3  .hp-btn-primary:hover { box-shadow: 0 12px 32px rgba(217,119,6,0.5) !important; }
.hp-card-accent-4  .hp-btn-primary { background: linear-gradient(135deg,#dc2626,#ef4444) !important; box-shadow: 0 6px 20px rgba(220,38,38,0.4) !important; }
.hp-card-accent-5  .hp-btn-primary { background: linear-gradient(135deg,#0891b2,#06b6d4) !important; box-shadow: 0 6px 20px rgba(8,145,178,0.4) !important; }
.hp-card-accent-6  .hp-btn-primary { background: linear-gradient(135deg,#7c3aed,#a855f7) !important; box-shadow: 0 6px 20px rgba(124,58,237,0.4) !important; }
.hp-card-accent-domain   .hp-btn-primary { background: linear-gradient(135deg,#2563eb,#3b82f6) !important; box-shadow: 0 6px 20px rgba(37,99,235,0.4) !important; }
.hp-card-accent-transfer .hp-btn-primary { background: linear-gradient(135deg,#0891b2,#06b6d4) !important; box-shadow: 0 6px 20px rgba(8,145,178,0.4) !important; }

.hp-btn-arrow {
  font-size: 12px;
  transition: transform 0.25s ease !important;
}
.hp-btn-primary:hover .hp-btn-arrow { transform: translateX(4px); }

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  HELP SECTION — Animated Horizontal Cards                        ║
   ╚══════════════════════════════════════════════════════════════════╝ */
.hp-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 16px;
}
.hp-help-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px !important;
  border-radius: 18px !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.9rem;
  color: #1e293b !important;
  background: #ffffff !important;
  border: 1.5px solid rgba(115,81,251,0.1) !important;
  box-shadow: 0 2px 12px rgba(15,23,42,0.06) !important;
  position: relative;
  overflow: hidden;
}
.hp-help-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
  transition: width 0.3s ease;
}
.hp-help-teal::before    { background: linear-gradient(180deg,#0891b2,#06b6d4); }
.hp-help-amber::before   { background: linear-gradient(180deg,#d97706,#f59e0b); }
.hp-help-indigo::before  { background: linear-gradient(180deg,#4f46e5,#6366f1); }
.hp-help-green::before   { background: linear-gradient(180deg,#059669,#10b981); }
.hp-help-purple::before  { background: var(--hp-gradient); }

.hp-help-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.hp-help-teal   .hp-help-icon { background: rgba(8,145,178,0.1); }
.hp-help-amber  .hp-help-icon { background: rgba(217,119,6,0.1); }
.hp-help-indigo .hp-help-icon { background: rgba(79,70,229,0.1); }
.hp-help-green  .hp-help-icon { background: rgba(5,150,105,0.1); }
.hp-help-purple .hp-help-icon { background: rgba(115,81,251,0.1); }

.hp-help-icon i { font-size: 18px; transition: transform 0.3s ease; }
.hp-help-teal   .hp-help-icon i { color: #0891b2; }
.hp-help-amber  .hp-help-icon i { color: #d97706; }
.hp-help-indigo .hp-help-icon i { color: #4f46e5; }
.hp-help-green  .hp-help-icon i { color: #059669; }
.hp-help-purple .hp-help-icon i { color: var(--hp-primary); }

.hp-help-label { flex: 1; line-height: 1.3; }
.hp-help-arrow { font-size: 12px; color: #94a3b8; transition: transform 0.25s ease, color 0.25s ease !important; }

/* Hover states */
.hp-help-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 36px rgba(15,23,42,0.12) !important;
  border-color: transparent !important;
  text-decoration: none !important;
}
.hp-help-teal:hover    { background: linear-gradient(135deg,#0891b2,#06b6d4) !important; color: #fff !important; }
.hp-help-amber:hover   { background: linear-gradient(135deg,#d97706,#f59e0b) !important; color: #fff !important; }
.hp-help-indigo:hover  { background: linear-gradient(135deg,#4f46e5,#6366f1) !important; color: #fff !important; }
.hp-help-green:hover   { background: linear-gradient(135deg,#059669,#10b981) !important; color: #fff !important; }
.hp-help-purple:hover  { background: var(--hp-gradient) !important; color: #fff !important; }
.hp-help-card:hover .hp-help-icon { background: rgba(255,255,255,0.22) !important; transform: scale(1.08); }
.hp-help-card:hover .hp-help-icon i { color: #ffffff !important; transform: scale(1.1); }
.hp-help-card:hover .hp-help-arrow { color: rgba(255,255,255,0.85); transform: translateX(4px); }
.hp-help-card:hover .hp-help-label { color: #ffffff !important; }
.hp-help-card:hover::before { opacity: 0; }

/* ─── Desktop Header Spacing ─── */
@media (min-width: 993px) {
  header.header .toolbar li[menuItemName="Account"] {
    margin-left: 1.5rem;
  }
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  MOBILE RESPONSIVE — Full Overhaul                               ║
   ║  Breakpoints: 992 | 768 | 576 | 480 | 380                        ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ─── Tablet (≤ 992px) ─── */
@media (max-width: 992px) {

  /* Header: tighten up toolbar spacing */
  header.header .navbar { padding: 10px 0 !important; }
  header.header .navbar-brand { margin-right: 0 !important; }
  header.header .logo-img { max-height: 38px !important; }

  /* Toolbar: compact icon-only buttons */
  header.header .toolbar { gap: 4px !important; }
  header.header .toolbar .nav-item { margin-left: 4px !important; }

  /* Lang/Currency btn — compact on tablet but keep text */
  header.header .hp-lang-btn {
    padding: 5px 10px !important;
    border-radius: 10px !important;
    gap: 4px;
  }
  /* Keep currency label visible — this is important info */
  header.header .hp-lang-btn .hp-lang-label {
    display: inline !important;
    font-size: 11px !important;
    font-weight: 700;
  }

  /* Hamburger button styling */
  header.header .btn[data-toggle="collapse"] {
    padding: 6px 10px !important;
    border: 1.5px solid var(--hp-border) !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #475569 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  header.header .btn[data-toggle="collapse"]:hover,
  header.header .btn[data-toggle="collapse"]:focus,
  header.header .btn[data-toggle="collapse"][aria-expanded="true"] {
    border-color: var(--hp-primary) !important;
    color: var(--hp-primary) !important;
    background: rgba(115,81,251,0.05) !important;
  }
  header.header .btn[data-toggle="collapse"] .hp-svg-icon {
    width: 20px;
    height: 20px;
    color: inherit;
  }

  /* Account Button (Hello, Name) -> User Icon on Mobile */
  header.header .toolbar li[menuItemName="Account"] > a {
    font-size: 0 !important;
    color: transparent !important;
    padding: 6px 10px !important;
    background: transparent !important;
    border: 1.5px solid var(--hp-border) !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0 !important;
    margin-left: 0.25rem !important;
  }
  header.header .toolbar li[menuItemName="Account"] > a span,
  header.header .toolbar li[menuItemName="Account"] > a i,
  header.header .toolbar li[menuItemName="Account"] > a b,
  header.header .toolbar li[menuItemName="Account"] .hp-nav-label {
    display: none !important; /* Force hide all text and icons inside */
  }
  header.header .toolbar li[menuItemName="Account"] > a::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-color: #475569;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") no-repeat center;
  }
  header.header .toolbar li[menuItemName="Account"] > a:hover::before,
  header.header .toolbar li[menuItemName="Account"] > a:focus::before {
    background-color: var(--hp-primary);
  }
  header.header .toolbar li[menuItemName="Account"] > a::after {
    display: none !important; /* Hide the dropdown caret */
  }

  /* Mobile nav collapse: full-width pill menu */
  #mainNavbar {
    background: #fff;
    border-top: 1px solid rgba(115,81,251,0.1);
    border-radius: 0 0 16px 16px;
    padding: 12px 0 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin: 0 -15px;
  }
  #mainNavbar .navbar-nav { padding: 0 12px; gap: 4px; }
  #mainNavbar .nav-item > a {
    display: block;
    padding: 11px 16px !important;
    border-radius: 10px !important;
    font-weight: 600;
    color: #334155 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  #mainNavbar .nav-item > a:hover,
  #mainNavbar .nav-item.active > a {
    background: rgba(115,81,251,0.08) !important;
    color: var(--hp-primary) !important;
  }

  /* Homepage grid */
  .hp-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .hp-help-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Featured card: remove scale so it doesn't overflow */
  .hp-product-card.hp-card-featured { transform: none !important; }
  .hp-product-card.hp-card-featured:hover { transform: translateY(-6px) !important; }

  /* Section padding */
  .hp-products-section { padding: 48px 0 44px; }
  .hp-help-section { padding: 44px 0 52px; }
}

/* ─── Mobile (≤ 768px) ─── */
@media (max-width: 768px) {

  /* Body background — simpler gradient on mobile */
  body.primary-bg-color {
    background: linear-gradient(180deg, #eef2ff 0%, #f5f3ff 100%) !important;
  }

  /* Topbar — smaller text, single line */
  header.header .topbar { font-size: 0.78rem; padding: 4px 0 !important; }
  header.header .topbar .active-client .input-group-prepend { display: none !important; }

  /* Header navbar */
  header.header .navbar { padding: 8px 0 !important; }
  header.header .logo-img { max-height: 34px !important; max-width: 140px !important; }

  /* Account dropdown button — icon only */
  header.header .navbar-nav .nav-item .nav-link,
  header.header .navbar-nav .nav-item > a.dropdown-toggle {
    padding: 7px 10px !important;
    font-size: 13px !important;
  }
  /* Hide "Account" text on mobile, show only icon */
  header.header .hp-account-item .nav-link .d-none,
  header.header .hp-account-item .dropdown-toggle span:not(.fa):not([class*="fa"]) {
    display: none !important;
  }

  /* Cart badge — position properly */
  header.header .toolbar .nav-link.cart-btn {
    padding: 7px 10px !important;
    position: relative;
  }
  header.header .toolbar .nav-link .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 9px !important;
    padding: 2px 4px !important;
    min-width: 16px;
    border-radius: 999px;
  }

  /* Section headers */
  .hp-section-header { margin-bottom: 32px; }
  .hp-section-badge { font-size: 0.65rem; padding: 5px 14px; }
  .hp-section-title { font-size: 1.5rem !important; letter-spacing: -0.02em; }
  .hp-section-subtitle { font-size: 0.9rem; }

  /* Product cards — 2 columns */
  .hp-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .hp-card-body { padding: 22px 16px 18px; text-align: center; }
  .hp-card-icon-wrap { width: 50px; height: 50px; border-radius: 14px; margin-bottom: 14px; }
  .hp-card-icon-wrap i { font-size: 20px; }
  .hp-card-title { font-size: 0.95rem !important; margin-bottom: 6px !important; }
  .hp-card-desc { font-size: 0.8rem; margin-bottom: 16px; }
  .hp-btn-primary { padding: 10px 16px !important; font-size: 0.72rem !important; border-radius: 10px !important; }
  .hp-card-hot-badge { top: 12px; right: 12px; font-size: 0.6rem; padding: 3px 9px; }

  /* Help cards — full width */
  .hp-help-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hp-help-card { padding: 14px 16px !important; gap: 10px; font-size: 0.82rem; }
  .hp-help-icon { width: 36px; height: 36px; border-radius: 10px; }
  .hp-help-icon i { font-size: 15px; }

  /* Main body padding */
  #main-body { padding-top: 16px; }
  #main-body .container { padding-left: 12px !important; padding-right: 12px !important; }

  /* Cards — general WHMCS cards */
  .card { border-radius: 12px !important; }
  .card-header { border-radius: 12px 12px 0 0 !important; }

  /* Tables — horizontal scroll */
  .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table { min-width: 480px; }

  /* Breadcrumb — smaller */
  .master-breadcrumb { padding: 8px 0; font-size: 0.8rem; }

  /* Sidebar on mobile — full width, accordion style */
  .sidebar { margin-bottom: 16px; }

  /* Sections */
  .hp-products-section { padding: 36px 0 32px; }
  .hp-help-section { padding: 32px 0 40px; }

  /* Forms */
  input.form-control,
  select.form-control,
  textarea.form-control {
    font-size: 16px !important; /* prevent zoom on iOS */
    border-radius: 10px !important;
    padding: 10px 14px !important;
    height: auto !important;
    line-height: 1.5 !important;
  }
  /* Fix for inputs with prepend icons (like Promo Code) */
  #order-standard_cart .prepend-icon {
    position: relative !important;
  }
  #order-standard_cart .prepend-icon input.form-control {
    padding-left: 42px !important;
  }
  #order-standard_cart .prepend-icon .field-icon {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 42px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--hp-muted) !important;
    font-size: 16px !important;
    z-index: 5 !important;
    margin: 0 !important;
    line-height: 1 !important;
  }
  #order-standard_cart .prepend-icon .field-icon i {
    color: inherit !important;
    position: static !important;
  }

  /* Buttons — full width on mobile forms */
  .btn { border-radius: 10px !important; }

  /* Footer */
  footer.footer { padding: 14px 0 !important; }
  footer.footer .copyright { font-size: 0.78rem !important; }
}

  /* ─── Small Mobile (≤ 576px) ─── */
@media (max-width: 576px) {

  /* Spacing for TLD logos (e.g. .com, .net) in domain search */
  .tld-logos {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    align-items: center !important;
    margin-top: 25px !important;
    margin-bottom: 15px !important;
  }
  .tld-logos li {
    margin: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .tld-logos li img {
    margin-right: 10px !important;
  }

  /* Header: logo left, only cart + hamburger right */
  header.header .navbar .container { padding-left: 12px !important; padding-right: 12px !important; }
  header.header .logo-img { max-height: 30px !important; max-width: 120px !important; }

  /* Hide currency/lang on very small screens */
  header.header .toolbar .nav-item.mr-2 { display: none !important; }

  /* Account nav: icon only */
  header.header .navbar-nav .nav-item .nav-link span,
  header.header .navbar-nav .nav-item > a.dropdown-toggle span:not(.fas):not(.far):not(.fal):not(.fad) {
    display: none !important;
  }
  header.header .navbar-nav .nav-item .nav-link,
  header.header .navbar-nav .nav-item > a.dropdown-toggle {
    padding: 8px !important;
  }

  /* Product cards — SINGLE COLUMN */
  .hp-product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Card horizontal layout on single column — feels roomier */
  .hp-product-card {
    border-radius: 20px !important;
  }
  .hp-card-accent-bar { height: 4px; }
  .hp-card-body { padding: 20px 18px 16px; }
  .hp-card-icon-wrap { width: 46px; height: 46px; }
  .hp-card-icon-wrap i { font-size: 18px; }
  .hp-card-title { font-size: 1rem !important; }
  .hp-card-desc { font-size: 0.82rem; margin-bottom: 14px; }
  .hp-btn-primary { padding: 11px 20px !important; font-size: 0.75rem !important; letter-spacing: 0.05em; }

  /* Help grid — single column */
  .hp-help-grid { grid-template-columns: 1fr; gap: 8px; }
  .hp-help-card { padding: 13px 16px !important; border-radius: 14px !important; }

  /* Section header */
  .hp-section-title { font-size: 1.35rem !important; }
  .hp-section-header { margin-bottom: 24px; }

  /* Topbar hidden on very small to save space */
  header.header .topbar { display: none !important; }

  /* Tables */
  .table { font-size: 0.82rem; }
  .table td, .table th { padding: 8px 10px !important; }

  /* Modals — full width */
  .modal-dialog { margin: 8px !important; max-width: calc(100% - 16px) !important; }
  .modal-content { border-radius: 16px !important; }

  /* Domain search full width */
  .domain-search-wrap input,
  .domain-search-wrap .btn {
    border-radius: 10px !important;
  }
}

/* ─── Extra Small (≤ 400px) ─── */
@media (max-width: 400px) {
  .hp-section-title { font-size: 1.2rem !important; }
  .hp-card-body { padding: 16px 14px 14px; }
  .hp-btn-primary { font-size: 0.7rem !important; padding: 10px 14px !important; }
  header.header .logo-img { max-height: 28px !important; max-width: 110px !important; }
  #main-body .container { padding-left: 10px !important; padding-right: 10px !important; }
}
