:root{
  --ow-bg: #EEF2F5;
  --ow-surface: #FFFFFF;
  --ow-surface-2: #F6F8FA;
  --ow-text: #1F2A37;
  --ow-muted: #667085;

  --ow-navy: #121E30;
  --ow-navy-2:#0E1726;
  --ow-navy-3:#172A45;
  --ow-line: rgba(15,23,42,.10);

  --ow-teal: #1DB0CD;
  --ow-teal-2:#0EA5B7;
  --ow-green:#23C55E;
  --ow-amber:#F59E0B;
  --ow-red:#EF4444;
  --ow-purple:#A855F7;

  --ow-radius-lg: 18px;
  --ow-radius-md: 14px;
  --ow-shadow: 0 14px 40px rgba(16,24,40,.10);
  --ow-shadow-2: 0 10px 28px rgba(16,24,40,.12);
  --ow-shadow-inset: inset 0 1px 0 rgba(255,255,255,.45);
  --ow-font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

body.ow2{
  margin:0;
  font-family:var(--ow-font);
  background: radial-gradient(1200px 500px at 30% 0%, rgba(29,176,205,.10), transparent 55%),
              radial-gradient(900px 600px at 100% 10%, rgba(168,85,247,.10), transparent 55%),
              var(--ow-bg);
  color:var(--ow-text);
}

.ow2-shell{
  display:flex;
  min-height:100vh;
  gap:22px;
  padding:22px;
  align-items:stretch;
}

.ow2-sidebar{
  width:300px;
  min-height: calc(100vh - 44px);
  position: sticky;
  top: 22px;
  align-self: flex-start;
  border-radius:22px;
  padding:18px;
  background: linear-gradient(180deg, rgba(18,30,48,1), rgba(14,23,38,1));
  color: rgba(255,255,255,.92);
  box-shadow: 0 18px 48px rgba(2,6,23,.35);
  border:1px solid rgba(255,255,255,.08);
  overflow: hidden;
}

.ow2-brand{
  display:flex; align-items:center; gap:12px; padding:6px 6px 14px;
}
.ow2-logo{
  width:46px; height:46px; border-radius:16px;
  background: radial-gradient(12px 12px at 30% 30%, rgba(255,255,255,.35), transparent 60%),
              linear-gradient(135deg, rgba(29,176,205,.75), rgba(168,85,247,.65));
  display:grid; place-items:center;
  font-weight:900; text-transform:uppercase;
}
.ow2-logo span{filter: drop-shadow(0 6px 14px rgba(0,0,0,.35))}
.ow2-brand-title{font-weight:850; letter-spacing:.2px}
.ow2-brand-sub{font-size:12px; opacity:.75; margin-top:2px}

.ow2-profile{
  display:flex; align-items:center; gap:10px;
  padding:12px;
  border-radius:18px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}
.ow2-avatar{
  width:42px; height:42px; border-radius:16px;
  background: rgba(255,255,255,.10);
  display:grid; place-items:center;
  font-weight:800;
}
.ow2-profile-name{font-weight:800}
.ow2-profile-meta{font-size:12px; opacity:.70; margin-top:2px}
.ow2-profile-btn{
  width:40px; height:40px; border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  cursor:pointer;
  display:grid; place-items:center;
  text-decoration:none;
}

.ow2-section{
  margin:16px 8px 10px;
  font-size:11px;
  letter-spacing:.14em;
  opacity:.55;
}

.ow2-nav{display:flex; flex-direction:column; gap:8px; padding-right: 4px;}
.ow2-item{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius:16px;
  text-decoration:none;
  color: rgba(255,255,255,.88);
  border:1px solid transparent;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.ow2-item:hover{
  transform: translateX(2px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}
.ow2-item.active{
  background: linear-gradient(135deg, rgba(29,176,205,.22), rgba(168,85,247,.16));
  border-color: rgba(29,176,205,.22);
}
.ow2-item .ow2-ic{width:22px; display:inline-flex; justify-content:center}

.ow2-item.has-sub{flex-direction:column; align-items:stretch}
.ow2-item-btn{
  display:flex; align-items:center; gap:10px;
  width:100%; background:transparent; border:0; color:inherit; padding:0; cursor:pointer;
}
.ow2-subnav{margin-left:10px; display:none; flex-direction:column; gap:8px; margin-top:8px;}
.ow2-item.open .ow2-subnav{display:flex;}
.ow2-subnav a{
  padding:9px 12px;
  border-radius:14px;
  text-decoration:none;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
.ow2-divider{height:1px; background: rgba(255,255,255,.10); margin:10px 6px}
.ow2-footer{margin-top:18px; display:flex; gap:10px; justify-content:center; font-size:12px; opacity:.70;}
.ow2-footer a{color:inherit; text-decoration:none}
.ow2-footer a:hover{text-decoration:underline}

.ow2-content{flex:1; display:flex; flex-direction:column; gap:16px;}

.ow2-topbar{
  padding:10px 14px;
  border-radius:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background: rgba(255,255,255,.70);
  border:1px solid var(--ow-line);
  backdrop-filter: blur(12px);
  box-shadow: var(--ow-shadow);
}
.ow2-topbar .left{display:flex; align-items:center; gap:10px}
.ow2-topbar .right{display:flex; align-items:center; gap:10px}
.ow2-iconbtn{
  width:40px; height:40px; border-radius:14px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.85);
  box-shadow: var(--ow-shadow-inset);
  display:grid; place-items:center;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.ow2-iconbtn:hover{transform: translateY(-1px); box-shadow: var(--ow-shadow-2)}
.ow2-search{
  flex:1;
  max-width:520px;
  min-width:280px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.85);
  box-shadow: var(--ow-shadow-inset);
}
.ow2-search input{border:0; outline:0; background:transparent; flex:1; font-size:14px;}
.ow2-pill{
  display:flex; align-items:center; gap:8px;
  font-weight:650;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(35,197,94,.28);
  background: rgba(35,197,94,.10);
}
.ow2-primary{
  height:40px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid rgba(29,176,205,.35);
  background: linear-gradient(135deg, rgba(29,176,205,.18), rgba(168,85,247,.14));
  cursor:pointer;
  font-weight:700;
  letter-spacing:.2px;
  display:flex; align-items:center; gap:10px;
  box-shadow: var(--ow-shadow-inset);
  text-decoration:none;
  color:var(--ow-text);
}

.ow2-stack{display:flex; flex-direction:column; gap:6px; align-items:flex-start;}
.ow2-btn{
  height:34px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.85);
  font-weight:700;
  font-size:12.5px;
  letter-spacing:.1px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
  color:var(--ow-text);
  box-shadow: var(--ow-shadow-inset);
}
.ow2-btn-teal{
  border-color: rgba(29,176,205,.45);
  background: linear-gradient(135deg, rgba(29,176,205,.20), rgba(14,165,183,.18));
}
.ow2-btn-ghost{
  border-color: rgba(15,23,42,.12);
  background: rgba(255,255,255,.75);
}

/* Vodacom eSIM order page */
.ow2-esim .content{padding-top:0;}
.ow2-esim-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px;
  border-radius:20px;
  background: linear-gradient(135deg, rgba(29,176,205,.15), rgba(168,85,247,.14));
  border:1px solid var(--ow-line);
  box-shadow: var(--ow-shadow);
  margin-bottom:18px;
}
.ow2-esim-hero h2{margin:0 0 6px; font-weight:800;}
.ow2-esim-hero p{margin:0; color:var(--ow-muted);}
.ow2-badge{
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  color:#0f172a;
  background: rgba(255,255,255,.8);
  border:1px solid rgba(15,23,42,.12);
}
.ow2-card{
  background:var(--ow-surface);
  border:1px solid var(--ow-line);
  border-radius:18px;
  box-shadow: var(--ow-shadow);
}
.ow2-card + .ow2-card{margin-top:16px;}
.ow2-card-header{
  padding:14px 16px;
  border-bottom:1px solid var(--ow-line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-weight:700;
}
.ow2-card-body{padding:16px;}
.ow2-detail{margin:0 0 8px; color:var(--ow-text);}
.ow2-detail strong{color:var(--ow-text);}
.ow2-muted{color:var(--ow-muted); font-size:12px;}
.ow2-balance{
  margin-top:10px;
  padding:12px;
  border-radius:14px;
  background: rgba(16,24,40,.04);
  border:1px solid var(--ow-line);
  font-weight:700;
}
.ow2-plan-grid{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:14px;}
.ow2-plan{display:block; position:relative;}
.ow2-plan input{position:absolute; opacity:0; pointer-events:none;}
.ow2-plan-card{
  display:flex; flex-direction:column; height:100%;
  border:1px solid var(--ow-line);
  border-radius:16px;
  padding:14px;
  background:var(--ow-surface-2);
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.ow2-plan:hover .ow2-plan-card{transform:translateY(-2px); box-shadow: var(--ow-shadow-2);}
.ow2-plan input:checked + .ow2-plan-card{
  border-color: rgba(29,176,205,.6);
  box-shadow: 0 10px 26px rgba(29,176,205,.18);
  background: #fff;
}
.ow2-plan-title{font-weight:800; margin-bottom:6px;}
.ow2-plan-desc{color:var(--ow-muted); font-size:13px; margin-bottom:10px;}
.ow2-plan-meta{display:flex; flex-wrap:wrap; gap:6px;}
.ow2-chip{
  display:inline-flex; align-items:center; gap:6px;
  padding:4px 8px; border-radius:999px;
  font-size:11px; font-weight:700;
  background: rgba(15,23,42,.08);
}
.ow2-chip.teal{background: rgba(29,176,205,.18); color:#0b5a6a;}
.ow2-chip.green{background: rgba(35,197,94,.18); color:#0f7a3a;}
.ow2-plan-footer{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-weight:800;
}
.ow2-plan-price{font-size:16px;}
.ow2-plan-select{
  width:28px; height:28px; border-radius:50%;
  border:2px solid rgba(15,23,42,.18);
  display:grid; place-items:center; font-size:14px;
}
.ow2-plan input:checked + .ow2-plan-card .ow2-plan-select{
  border-color: var(--ow-teal);
  background: var(--ow-teal);
  color:#fff;
}
.ow2-form-actions{display:flex; align-items:center; justify-content:space-between; margin-top:16px;}
.ow2-info{
  padding:12px 14px;
  border-radius:14px;
  background: rgba(29,176,205,.12);
  border:1px solid rgba(29,176,205,.25);
  color:#0b5a6a;
  font-size:13px;
}
.ow2-info-strong{
  border:2px solid rgba(29,176,205,.55);
  box-shadow: 0 6px 16px rgba(29,176,205,.18);
  font-weight:700;
}
.ow2-btn-lg{
  height:44px;
  padding:0 18px;
  border-radius:14px;
  font-weight:800;
  background: linear-gradient(135deg, rgba(29,176,205,.25), rgba(168,85,247,.18));
  border:1px solid rgba(29,176,205,.4);
}

.ow2-modal{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.45);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:2000;
  padding:20px;
}
.ow2-modal.open{display:flex;}
.ow2-modal-card{
  width:100%;
  max-width:520px;
  background:var(--ow-surface);
  border-radius:20px;
  border:1px solid var(--ow-line);
  box-shadow: var(--ow-shadow);
}
.ow2-modal-header{
  padding:16px;
  border-bottom:1px solid var(--ow-line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-weight:800;
}
.ow2-modal-body{padding:16px;}
.ow2-modal-actions{
  padding:16px;
  border-top:1px solid var(--ow-line);
  display:flex;
  justify-content:flex-end;
  gap:10px;
}
.ow2-field{display:flex; flex-direction:column; gap:6px; margin-bottom:12px;}
.ow2-field label{font-weight:700; font-size:12.5px;}
.ow2-field select{
  height:40px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.15);
  padding:0 10px;
}

@media (max-width: 1100px){
  .ow2-plan-grid{grid-template-columns:1fr;}
}

/* normalize legacy page content spacing */
.ow2 .page-content{margin:0; padding:0;}
.ow2 .content.sm-gutter{padding:0;}
.ow2 .page-title{margin-top:6px;}
